@redneckz/wildless-cms-uni-blocks 0.6.33 → 0.6.34

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 (1058) hide show
  1. package/bin/migration-scripts/0.6.34.js +51 -0
  2. package/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  3. package/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  4. package/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
  5. package/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
  6. package/bundle/BlockRenderer/renderBlock.d.ts +3 -0
  7. package/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
  8. package/bundle/BlockRenderer/renderChildren.d.ts +10 -0
  9. package/bundle/blocks.schema.json +1 -1
  10. package/bundle/bundle.umd.js +365 -385
  11. package/bundle/bundle.umd.min.js +1 -1
  12. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  13. package/bundle/components/Carousel/Carousel.d.ts +1 -0
  14. package/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
  15. package/bundle/components/Carousel/CarouselContent.d.ts +5 -8
  16. package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
  17. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  18. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  19. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  20. package/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
  21. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  22. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  23. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  24. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  25. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  26. package/bundle/components/Video/Video.d.ts +6 -0
  27. package/bundle/components/Video/VideoContent.d.ts +8 -0
  28. package/bundle/components/Video/getPaddings.d.ts +1 -0
  29. package/bundle/hooks/useCarouselControls.d.ts +5 -3
  30. package/bundle/model/JSXBlock.d.ts +4 -5
  31. package/bundle/model/LinkProps.d.ts +1 -0
  32. package/bundle/model/Picture.d.ts +8 -2
  33. package/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  34. package/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
  35. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  36. package/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  37. package/dist/BlockRenderer/BlockRendererOptions.js +2 -0
  38. package/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
  39. package/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  40. package/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
  41. package/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  42. package/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
  43. package/dist/{model → BlockRenderer}/getParentBlockContent.js +2 -2
  44. package/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
  45. package/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
  46. package/dist/BlockRenderer/getParentBlockDef.js +7 -0
  47. package/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
  48. package/dist/BlockRenderer/renderBlock.d.ts +3 -0
  49. package/dist/BlockRenderer/renderBlock.js +27 -0
  50. package/dist/BlockRenderer/renderBlock.js.map +1 -0
  51. package/dist/BlockRenderer/renderBlockList.d.ts +9 -0
  52. package/dist/BlockRenderer/renderBlockList.js +14 -0
  53. package/dist/BlockRenderer/renderBlockList.js.map +1 -0
  54. package/dist/BlockRenderer/renderChildren.d.ts +10 -0
  55. package/dist/BlockRenderer/renderChildren.js +13 -0
  56. package/dist/BlockRenderer/renderChildren.js.map +1 -0
  57. package/dist/components/Accordion/Accordion.js +2 -1
  58. package/dist/components/Accordion/Accordion.js.map +1 -1
  59. package/dist/components/Accordion/Accordion.mobile.js +2 -1
  60. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  61. package/dist/components/AccordionItem/AccordionItem.js +2 -1
  62. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  63. package/dist/components/AccordionItem/AccordionItem.mobile.js +5 -4
  64. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  65. package/dist/components/Blocks.js +3 -1
  66. package/dist/components/Blocks.js.map +1 -1
  67. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  68. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  69. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  70. package/dist/components/Calculator/Calculator.js +22 -22
  71. package/dist/components/Calculator/Calculator.js.map +1 -1
  72. package/dist/components/Calculator/CalculatorValueBlock.js +1 -3
  73. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  74. package/dist/components/CardTransfer/CardTransfer.js +2 -1
  75. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  76. package/dist/components/Carousel/Carousel.d.ts +1 -0
  77. package/dist/components/Carousel/Carousel.js +16 -14
  78. package/dist/components/Carousel/Carousel.js.map +1 -1
  79. package/dist/components/Carousel/CarouselContainer.d.ts +8 -5
  80. package/dist/components/Carousel/CarouselContainer.js +8 -5
  81. package/dist/components/Carousel/CarouselContainer.js.map +1 -1
  82. package/dist/components/Carousel/CarouselContent.d.ts +5 -8
  83. package/dist/components/Carousel/CarouselContent.js +0 -3
  84. package/dist/components/Carousel/CarouselContent.js.map +1 -1
  85. package/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
  86. package/dist/components/CarouselCard/CarouselCard.js +4 -11
  87. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  88. package/dist/components/CarouselLinks/CarouselLinks.js +7 -7
  89. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  90. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  91. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  92. package/dist/components/Catalog/Catalog.js +8 -11
  93. package/dist/components/Catalog/Catalog.js.map +1 -1
  94. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
  95. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  96. package/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
  97. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  98. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  99. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  100. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  101. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  102. package/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
  103. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  104. package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  105. package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  106. package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  107. package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  108. package/dist/components/ComparisonTable/TableRow.js +1 -1
  109. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  110. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  111. package/dist/components/ComparisonTable/constants.js +1 -1
  112. package/dist/components/ContactsBlock/ContactsBlock.js +1 -3
  113. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  114. package/dist/components/ContentPage/ContentPage.js +13 -7
  115. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  116. package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
  117. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  118. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
  119. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  120. package/dist/components/Footer/Footer.js +1 -1
  121. package/dist/components/Footer/Footer.js.map +1 -1
  122. package/dist/components/Footer/Footer.mobile.js +2 -2
  123. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  124. package/dist/components/Gallery/GalleryCardInner.js +2 -4
  125. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  126. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  127. package/dist/components/Gallery/GalleryContainer.js +1 -3
  128. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  129. package/dist/components/Gallery/GalleryInner.js +9 -12
  130. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  131. package/dist/components/Header/Header.js +1 -1
  132. package/dist/components/Header/Header.js.map +1 -1
  133. package/dist/components/Header/Header.mobile.js +2 -3
  134. package/dist/components/Header/Header.mobile.js.map +1 -1
  135. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
  136. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  137. package/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
  138. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  139. package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
  140. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  141. package/dist/components/OtherProducts/OtherProducts.js +2 -1
  142. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  143. package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
  144. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  145. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  146. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  147. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  148. package/dist/components/Recommendation/Recommendation.js +11 -21
  149. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  150. package/dist/components/RollupItem/RollupItem.js +5 -3
  151. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  152. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  153. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  154. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  155. package/dist/components/TariffsTable/TariffsTable.js +12 -14
  156. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  157. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  158. package/dist/components/TariffsTable/TariffsTableRow.js +2 -2
  159. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  160. package/dist/components/VerticalLayout/VerticalLayout.js +3 -2
  161. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  162. package/dist/components/Video/Video.d.ts +6 -0
  163. package/dist/components/Video/Video.js +12 -0
  164. package/dist/components/Video/Video.js.map +1 -0
  165. package/dist/components/Video/VideoContent.d.ts +8 -0
  166. package/dist/components/Video/VideoContent.js +2 -0
  167. package/dist/components/Video/VideoContent.js.map +1 -0
  168. package/dist/components/Video/getPaddings.d.ts +1 -0
  169. package/dist/components/Video/getPaddings.js +7 -0
  170. package/dist/components/Video/getPaddings.js.map +1 -0
  171. package/dist/hooks/useCarouselControls.d.ts +5 -3
  172. package/dist/hooks/useCarouselControls.js +19 -8
  173. package/dist/hooks/useCarouselControls.js.map +1 -1
  174. package/dist/model/JSXBlock.d.ts +4 -5
  175. package/dist/model/LinkProps.d.ts +1 -0
  176. package/dist/model/Picture.d.ts +8 -2
  177. package/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  178. package/{mobile/dist/react → dist}/setup-fixture.js +4 -4
  179. package/dist/setup-fixture.js.map +1 -0
  180. package/dist/ui-kit/Button/renderArrows.d.ts +6 -4
  181. package/dist/ui-kit/Button/renderArrows.js +3 -2
  182. package/dist/ui-kit/Button/renderArrows.js.map +1 -1
  183. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  184. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  185. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
  186. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  187. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  188. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  189. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  190. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  191. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  192. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  193. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  194. package/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  195. package/lib/BlockRenderer/BlockRendererOptions.js +2 -0
  196. package/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
  197. package/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  198. package/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
  199. package/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  200. package/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
  201. package/lib/BlockRenderer/getParentBlockContent.js +6 -0
  202. package/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
  203. package/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
  204. package/lib/BlockRenderer/getParentBlockDef.js +4 -0
  205. package/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
  206. package/lib/BlockRenderer/renderBlock.d.ts +3 -0
  207. package/lib/BlockRenderer/renderBlock.js +24 -0
  208. package/lib/BlockRenderer/renderBlock.js.map +1 -0
  209. package/lib/BlockRenderer/renderBlockList.d.ts +9 -0
  210. package/lib/BlockRenderer/renderBlockList.js +11 -0
  211. package/lib/BlockRenderer/renderBlockList.js.map +1 -0
  212. package/lib/BlockRenderer/renderChildren.d.ts +10 -0
  213. package/lib/BlockRenderer/renderChildren.js +10 -0
  214. package/lib/BlockRenderer/renderChildren.js.map +1 -0
  215. package/lib/common.css +1 -1
  216. package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
  217. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +3 -2
  218. package/lib/components/Accordion/Accordion.js +2 -1
  219. package/lib/components/Accordion/Accordion.js.map +1 -1
  220. package/lib/components/Accordion/Accordion.mobile.js +2 -1
  221. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  222. package/lib/components/AccordionItem/AccordionItem.js +2 -1
  223. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  224. package/lib/components/AccordionItem/AccordionItem.mobile.js +5 -4
  225. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
  226. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -1
  227. package/lib/components/Blocks.js +3 -1
  228. package/lib/components/Blocks.js.map +1 -1
  229. package/lib/components/Bonus/Bonus.fixture.d.ts +1 -1
  230. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
  231. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  232. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  233. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  234. package/lib/components/BusinessBlock/BusinessBlock.fixture.d.ts +1 -1
  235. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -1
  236. package/lib/components/Calculator/Calculator.js +23 -23
  237. package/lib/components/Calculator/Calculator.js.map +1 -1
  238. package/lib/components/Calculator/CalculatorValueBlock.js +1 -3
  239. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  240. package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -1
  241. package/lib/components/CardTransfer/CardTransfer.js +3 -2
  242. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  243. package/lib/components/Carousel/Carousel.d.ts +1 -0
  244. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
  245. package/lib/components/Carousel/Carousel.js +16 -14
  246. package/lib/components/Carousel/Carousel.js.map +1 -1
  247. package/lib/components/Carousel/CarouselContainer.d.ts +8 -5
  248. package/lib/components/Carousel/CarouselContainer.js +8 -5
  249. package/lib/components/Carousel/CarouselContainer.js.map +1 -1
  250. package/lib/components/Carousel/CarouselContent.d.ts +5 -8
  251. package/lib/components/Carousel/CarouselContent.js +0 -3
  252. package/lib/components/Carousel/CarouselContent.js.map +1 -1
  253. package/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
  254. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +2 -1
  255. package/lib/components/CarouselCard/CarouselCard.js +4 -11
  256. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  257. package/lib/components/CarouselLinks/CarouselLinks.js +7 -7
  258. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  259. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  260. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  261. package/lib/components/Catalog/Catalog.fixture.d.ts +1 -1
  262. package/lib/components/Catalog/Catalog.js +8 -11
  263. package/lib/components/Catalog/Catalog.js.map +1 -1
  264. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +2 -2
  265. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -1
  266. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
  267. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  268. package/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
  269. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  270. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  271. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  272. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  273. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  274. package/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
  275. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  276. package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  277. package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  278. package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  279. package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  280. package/lib/components/ComparisonTable/TableRow.js +1 -1
  281. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  282. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  283. package/lib/components/ComparisonTable/constants.js +1 -1
  284. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -1
  285. package/lib/components/ContactsBlock/ContactsBlock.js +1 -3
  286. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  287. package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -1
  288. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
  289. package/lib/components/ContentPage/ContentPage.js +13 -7
  290. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  291. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -1
  292. package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
  293. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  294. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
  295. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  296. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -1
  297. package/lib/components/Footer/Footer.fixture.d.ts +1 -1
  298. package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -1
  299. package/lib/components/Footer/Footer.js +1 -1
  300. package/lib/components/Footer/Footer.js.map +1 -1
  301. package/lib/components/Footer/Footer.mobile.js +2 -2
  302. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  303. package/lib/components/Gallery/Gallery.fixture.d.ts +1 -1
  304. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -1
  305. package/lib/components/Gallery/GalleryCardInner.js +2 -4
  306. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  307. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  308. package/lib/components/Gallery/GalleryContainer.js +1 -3
  309. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  310. package/lib/components/Gallery/GalleryInner.js +9 -12
  311. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  312. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -1
  313. package/lib/components/Header/Header.fixture.d.ts +1 -1
  314. package/lib/components/Header/Header.fixture.mobile.d.ts +1 -1
  315. package/lib/components/Header/Header.js +1 -1
  316. package/lib/components/Header/Header.js.map +1 -1
  317. package/lib/components/Header/Header.mobile.js +2 -3
  318. package/lib/components/Header/Header.mobile.js.map +1 -1
  319. package/lib/components/Headline/Headline.fixture.d.ts +1 -1
  320. package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -1
  321. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -1
  322. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
  323. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  324. package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -1
  325. package/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
  326. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  327. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -1
  328. package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -1
  329. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -1
  330. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -1
  331. package/lib/components/LinkList/LinkList.fixture.d.ts +1 -1
  332. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -1
  333. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -1
  334. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -1
  335. package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
  336. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  337. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -1
  338. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -1
  339. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +3 -2
  340. package/lib/components/OtherProducts/OtherProducts.js +2 -1
  341. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  342. package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
  343. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  344. package/lib/components/PictureText/PictureText.fixture.d.ts +1 -1
  345. package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -1
  346. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -1
  347. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +2 -1
  348. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -1
  349. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  350. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  351. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  352. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -1
  353. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -1
  354. package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -1
  355. package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -1
  356. package/lib/components/Recommendation/Recommendation.js +11 -21
  357. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  358. package/lib/components/RollupItem/RollupItem.js +5 -3
  359. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  360. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -1
  361. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  362. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -1
  363. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -1
  364. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  365. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  366. package/lib/components/Tabs/Tabs.fixture.d.ts +1 -1
  367. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -1
  368. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -1
  369. package/lib/components/TariffsTable/TariffsTable.js +12 -14
  370. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  371. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  372. package/lib/components/TariffsTable/TariffsTableRow.js +2 -2
  373. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  374. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
  375. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -1
  376. package/lib/components/Tile/Tile.fixture.d.ts +1 -1
  377. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
  378. package/lib/components/VerticalLayout/VerticalLayout.js +3 -2
  379. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  380. package/lib/components/Video/Video.d.ts +6 -0
  381. package/lib/components/Video/Video.fixture.d.ts +8 -0
  382. package/lib/components/Video/Video.js +10 -0
  383. package/lib/components/Video/Video.js.map +1 -0
  384. package/lib/components/Video/VideoContent.d.ts +8 -0
  385. package/lib/components/Video/VideoContent.js +2 -0
  386. package/lib/components/Video/VideoContent.js.map +1 -0
  387. package/lib/components/Video/getPaddings.d.ts +1 -0
  388. package/lib/components/Video/getPaddings.js +4 -0
  389. package/lib/components/Video/getPaddings.js.map +1 -0
  390. package/lib/hooks/useCarouselControls.d.ts +5 -3
  391. package/lib/hooks/useCarouselControls.js +19 -8
  392. package/lib/hooks/useCarouselControls.js.map +1 -1
  393. package/lib/model/JSXBlock.d.ts +4 -5
  394. package/lib/model/LinkProps.d.ts +1 -0
  395. package/lib/model/Picture.d.ts +8 -2
  396. package/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  397. package/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
  398. package/lib/setup-fixture.js.map +1 -0
  399. package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
  400. package/lib/ui-kit/Button/renderArrows.d.ts +6 -4
  401. package/lib/ui-kit/Button/renderArrows.js +3 -2
  402. package/lib/ui-kit/Button/renderArrows.js.map +1 -1
  403. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
  404. package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
  405. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  406. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  407. package/lib/ui-kit/List/List.fixture.d.ts +1 -1
  408. package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
  409. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -1
  410. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -1
  411. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
  412. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  413. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  414. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  415. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  416. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  417. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  418. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  419. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  420. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
  421. package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  422. package/mobile/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  423. package/mobile/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
  424. package/mobile/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
  425. package/mobile/bundle/BlockRenderer/renderBlock.d.ts +3 -0
  426. package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
  427. package/mobile/bundle/BlockRenderer/renderChildren.d.ts +10 -0
  428. package/mobile/bundle/bundle.umd.js +89 -86
  429. package/mobile/bundle/bundle.umd.min.js +1 -1
  430. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  431. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -0
  432. package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
  433. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +5 -8
  434. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
  435. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  436. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  437. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  438. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
  439. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  440. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  441. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  442. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  443. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  444. package/mobile/bundle/components/Video/Video.d.ts +6 -0
  445. package/mobile/bundle/components/Video/VideoContent.d.ts +8 -0
  446. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -0
  447. package/mobile/bundle/hooks/useCarouselControls.d.ts +5 -3
  448. package/mobile/bundle/model/JSXBlock.d.ts +4 -5
  449. package/mobile/bundle/model/LinkProps.d.ts +1 -0
  450. package/mobile/bundle/model/Picture.d.ts +8 -2
  451. package/mobile/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  452. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
  453. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  454. package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  455. package/mobile/dist/BlockRenderer/BlockRendererOptions.js +2 -0
  456. package/mobile/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
  457. package/mobile/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  458. package/mobile/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
  459. package/mobile/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  460. package/mobile/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
  461. package/mobile/dist/{model → BlockRenderer}/getParentBlockContent.js +2 -2
  462. package/mobile/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
  463. package/mobile/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
  464. package/mobile/dist/BlockRenderer/getParentBlockDef.js +7 -0
  465. package/mobile/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
  466. package/mobile/dist/BlockRenderer/renderBlock.d.ts +3 -0
  467. package/mobile/dist/BlockRenderer/renderBlock.js +27 -0
  468. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -0
  469. package/mobile/dist/BlockRenderer/renderBlockList.d.ts +9 -0
  470. package/mobile/dist/BlockRenderer/renderBlockList.js +14 -0
  471. package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -0
  472. package/mobile/dist/BlockRenderer/renderChildren.d.ts +10 -0
  473. package/mobile/dist/BlockRenderer/renderChildren.js +13 -0
  474. package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -0
  475. package/mobile/dist/components/Accordion/Accordion.js +2 -1
  476. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  477. package/mobile/dist/components/AccordionItem/AccordionItem.js +5 -4
  478. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  479. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  480. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  481. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  482. package/mobile/dist/components/Calculator/Calculator.js +22 -22
  483. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  484. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -3
  485. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  486. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -1
  487. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  488. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -0
  489. package/mobile/dist/components/Carousel/Carousel.js +16 -14
  490. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  491. package/mobile/dist/components/Carousel/CarouselContainer.d.ts +8 -5
  492. package/mobile/dist/components/Carousel/CarouselContainer.js +8 -5
  493. package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
  494. package/mobile/dist/components/Carousel/CarouselContent.d.ts +5 -8
  495. package/mobile/dist/components/Carousel/CarouselContent.js +0 -3
  496. package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
  497. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
  498. package/mobile/dist/components/CarouselCard/CarouselCard.js +4 -11
  499. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  500. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +7 -7
  501. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  502. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  503. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  504. package/mobile/dist/components/Catalog/Catalog.js +8 -11
  505. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  506. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  507. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  508. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
  509. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  510. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  511. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  512. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  513. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  514. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
  515. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  516. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  517. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  518. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  519. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  520. package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
  521. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  522. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  523. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  524. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -3
  525. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  526. package/mobile/dist/components/ContentPage/ContentPage.js +13 -7
  527. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  528. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
  529. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  530. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
  531. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  532. package/mobile/dist/components/Footer/Footer.js +2 -2
  533. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  534. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
  535. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  536. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  537. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -3
  538. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  539. package/mobile/dist/components/Gallery/GalleryInner.js +9 -12
  540. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  541. package/mobile/dist/components/Header/Header.js +2 -3
  542. package/mobile/dist/components/Header/Header.js.map +1 -1
  543. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
  544. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  545. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
  546. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  547. package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -1
  548. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  549. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
  550. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  551. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  552. package/mobile/dist/components/Recommendation/Recommendation.js +11 -21
  553. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  554. package/mobile/dist/components/RollupItem/RollupItem.js +5 -3
  555. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  556. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  557. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  558. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -2
  559. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  560. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -2
  561. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  562. package/mobile/dist/components/Video/Video.d.ts +6 -0
  563. package/mobile/dist/components/Video/Video.js +12 -0
  564. package/mobile/dist/components/Video/Video.js.map +1 -0
  565. package/mobile/dist/components/Video/VideoContent.d.ts +8 -0
  566. package/mobile/dist/components/Video/VideoContent.js +2 -0
  567. package/mobile/dist/components/Video/VideoContent.js.map +1 -0
  568. package/mobile/dist/components/Video/getPaddings.d.ts +1 -0
  569. package/mobile/dist/components/Video/getPaddings.js +7 -0
  570. package/mobile/dist/components/Video/getPaddings.js.map +1 -0
  571. package/mobile/dist/hooks/useCarouselControls.d.ts +5 -3
  572. package/mobile/dist/hooks/useCarouselControls.js +19 -8
  573. package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
  574. package/mobile/dist/model/JSXBlock.d.ts +4 -5
  575. package/mobile/dist/model/LinkProps.d.ts +1 -0
  576. package/mobile/dist/model/Picture.d.ts +8 -2
  577. package/mobile/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  578. package/{dist/react → mobile/dist}/setup-fixture.js +4 -4
  579. package/mobile/dist/setup-fixture.js.map +1 -0
  580. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +6 -4
  581. package/mobile/dist/ui-kit/Button/renderArrows.js +3 -2
  582. package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -1
  583. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  584. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  585. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
  586. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  587. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  588. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  589. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  590. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  591. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  592. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  593. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  594. package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
  595. package/mobile/lib/BlockRenderer/BlockRendererOptions.js +2 -0
  596. package/mobile/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
  597. package/mobile/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
  598. package/mobile/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
  599. package/mobile/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
  600. package/mobile/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
  601. package/mobile/lib/BlockRenderer/getParentBlockContent.js +6 -0
  602. package/mobile/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
  603. package/mobile/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
  604. package/mobile/lib/BlockRenderer/getParentBlockDef.js +4 -0
  605. package/mobile/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
  606. package/mobile/lib/BlockRenderer/renderBlock.d.ts +3 -0
  607. package/mobile/lib/BlockRenderer/renderBlock.js +24 -0
  608. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -0
  609. package/mobile/lib/BlockRenderer/renderBlockList.d.ts +9 -0
  610. package/mobile/lib/BlockRenderer/renderBlockList.js +11 -0
  611. package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -0
  612. package/mobile/lib/BlockRenderer/renderChildren.d.ts +10 -0
  613. package/mobile/lib/BlockRenderer/renderChildren.js +10 -0
  614. package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -0
  615. package/mobile/lib/components/Accordion/Accordion.js +2 -1
  616. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  617. package/mobile/lib/components/AccordionItem/AccordionItem.js +5 -4
  618. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  619. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
  620. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  621. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
  622. package/mobile/lib/components/Calculator/Calculator.js +23 -23
  623. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  624. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -3
  625. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  626. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
  627. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  628. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -0
  629. package/mobile/lib/components/Carousel/Carousel.js +16 -14
  630. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  631. package/mobile/lib/components/Carousel/CarouselContainer.d.ts +8 -5
  632. package/mobile/lib/components/Carousel/CarouselContainer.js +8 -5
  633. package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
  634. package/mobile/lib/components/Carousel/CarouselContent.d.ts +5 -8
  635. package/mobile/lib/components/Carousel/CarouselContent.js +0 -3
  636. package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
  637. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
  638. package/mobile/lib/components/CarouselCard/CarouselCard.js +4 -11
  639. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  640. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +7 -7
  641. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  642. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  643. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  644. package/mobile/lib/components/Catalog/Catalog.js +8 -11
  645. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  646. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  647. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  648. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
  649. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  650. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  651. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
  652. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  653. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
  654. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
  655. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  656. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  657. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  658. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
  659. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  660. package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
  661. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  662. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  663. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  664. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -3
  665. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  666. package/mobile/lib/components/ContentPage/ContentPage.js +13 -7
  667. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  668. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
  669. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  670. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
  671. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  672. package/mobile/lib/components/Footer/Footer.js +2 -2
  673. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  674. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
  675. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  676. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  677. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -3
  678. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  679. package/mobile/lib/components/Gallery/GalleryInner.js +9 -12
  680. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  681. package/mobile/lib/components/Header/Header.js +2 -3
  682. package/mobile/lib/components/Header/Header.js.map +1 -1
  683. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
  684. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  685. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
  686. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  687. package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -1
  688. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  689. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
  690. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  691. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  692. package/mobile/lib/components/Recommendation/Recommendation.js +11 -21
  693. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  694. package/mobile/lib/components/RollupItem/RollupItem.js +5 -3
  695. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  696. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
  697. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  698. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -2
  699. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  700. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -2
  701. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  702. package/mobile/lib/components/Video/Video.d.ts +6 -0
  703. package/mobile/lib/components/Video/Video.js +10 -0
  704. package/mobile/lib/components/Video/Video.js.map +1 -0
  705. package/mobile/lib/components/Video/VideoContent.d.ts +8 -0
  706. package/mobile/lib/components/Video/VideoContent.js +2 -0
  707. package/mobile/lib/components/Video/VideoContent.js.map +1 -0
  708. package/mobile/lib/components/Video/getPaddings.d.ts +1 -0
  709. package/mobile/lib/components/Video/getPaddings.js +4 -0
  710. package/mobile/lib/components/Video/getPaddings.js.map +1 -0
  711. package/mobile/lib/hooks/useCarouselControls.d.ts +5 -3
  712. package/mobile/lib/hooks/useCarouselControls.js +19 -8
  713. package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
  714. package/mobile/lib/model/JSXBlock.d.ts +4 -5
  715. package/mobile/lib/model/LinkProps.d.ts +1 -0
  716. package/mobile/lib/model/Picture.d.ts +8 -2
  717. package/mobile/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
  718. package/mobile/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
  719. package/mobile/lib/setup-fixture.js.map +1 -0
  720. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +6 -4
  721. package/mobile/lib/ui-kit/Button/renderArrows.js +3 -2
  722. package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -1
  723. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
  724. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  725. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
  726. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  727. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
  728. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  729. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
  730. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  731. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
  732. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  733. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
  734. package/mobile/src/BlockRenderer/BlockRendererOptions.ts +12 -0
  735. package/mobile/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
  736. package/mobile/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
  737. package/mobile/src/BlockRenderer/getParentBlockDef.ts +6 -0
  738. package/mobile/src/BlockRenderer/renderBlock.tsx +47 -0
  739. package/mobile/src/BlockRenderer/renderBlockList.tsx +33 -0
  740. package/mobile/src/BlockRenderer/renderChildren.ts +25 -0
  741. package/mobile/src/components/Accordion/Accordion.tsx +3 -2
  742. package/mobile/src/components/AccordionItem/AccordionItem.tsx +5 -4
  743. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
  744. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
  745. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
  746. package/mobile/src/components/Calculator/Calculator.tsx +32 -33
  747. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
  748. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -2
  749. package/mobile/src/components/Carousel/Carousel.example.json +2 -2
  750. package/mobile/src/components/Carousel/Carousel.tsx +29 -40
  751. package/mobile/src/components/Carousel/CarouselContainer.tsx +19 -12
  752. package/mobile/src/components/Carousel/CarouselContent.ts +5 -9
  753. package/mobile/src/components/CarouselCard/CarouselCard.tsx +22 -34
  754. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  755. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  756. package/mobile/src/components/Catalog/Catalog.tsx +8 -13
  757. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  758. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
  759. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
  760. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
  761. package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
  762. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -3
  763. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  764. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +6 -8
  765. package/mobile/src/components/ContentPage/ContentPage.tsx +21 -20
  766. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
  767. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
  768. package/mobile/src/components/Footer/Footer.tsx +3 -3
  769. package/mobile/src/components/Gallery/GalleryCardInner.tsx +12 -14
  770. package/mobile/src/components/Gallery/GalleryContainer.tsx +14 -16
  771. package/mobile/src/components/Gallery/GalleryInner.tsx +9 -22
  772. package/mobile/src/components/Header/Header.tsx +3 -4
  773. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
  774. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
  775. package/mobile/src/components/OtherProducts/OtherProducts.tsx +3 -2
  776. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
  777. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  778. package/mobile/src/components/Recommendation/Recommendation.tsx +12 -36
  779. package/mobile/src/components/RollupItem/RollupItem.tsx +9 -7
  780. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
  781. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
  782. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
  783. package/mobile/src/components/Video/Video.tsx +29 -0
  784. package/mobile/src/components/Video/Video.ui.json +12 -0
  785. package/mobile/src/components/Video/VideoContent.ts +9 -0
  786. package/mobile/src/components/Video/getPaddings.ts +6 -0
  787. package/mobile/src/hooks/useCarouselControls.ts +33 -19
  788. package/mobile/src/model/JSXBlock.ts +4 -5
  789. package/mobile/src/model/LinkProps.ts +1 -0
  790. package/mobile/src/model/Picture.ts +8 -2
  791. package/{src/react → mobile/src}/setup-fixture.ts +4 -4
  792. package/mobile/src/ui-kit/Button/renderArrows.tsx +22 -17
  793. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
  794. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
  795. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
  796. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
  797. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
  798. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
  799. package/package.json +1 -1
  800. package/src/BlockRenderer/BlockRendererOptions.ts +12 -0
  801. package/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
  802. package/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
  803. package/src/BlockRenderer/getParentBlockDef.ts +6 -0
  804. package/src/BlockRenderer/renderBlock.tsx +47 -0
  805. package/src/BlockRenderer/renderBlockList.tsx +33 -0
  806. package/src/BlockRenderer/renderChildren.ts +25 -0
  807. package/src/components/Accordion/Accordion.fixture.mobile.tsx +40 -55
  808. package/src/components/Accordion/Accordion.fixture.tsx +79 -52
  809. package/src/components/Accordion/Accordion.mobile.tsx +3 -2
  810. package/src/components/Accordion/Accordion.tsx +3 -2
  811. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +13 -2
  812. package/src/components/AccordionItem/AccordionItem.fixture.tsx +12 -1
  813. package/src/components/AccordionItem/AccordionItem.mobile.tsx +5 -4
  814. package/src/components/AccordionItem/AccordionItem.tsx +3 -2
  815. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
  816. package/src/components/Blocks.ts +3 -1
  817. package/src/components/Bonus/Bonus.fixture.tsx +1 -1
  818. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
  819. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +12 -1
  820. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
  821. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
  822. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -1
  823. package/src/components/Calculator/Calculator.fixture.tsx +1 -1
  824. package/src/components/Calculator/Calculator.tsx +32 -33
  825. package/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
  826. package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -1
  827. package/src/components/CardTransfer/CardTransfer.tsx +3 -2
  828. package/src/components/Carousel/Carousel.example.json +2 -2
  829. package/src/components/Carousel/Carousel.fixture.tsx +38 -45
  830. package/src/components/Carousel/Carousel.tsx +29 -40
  831. package/src/components/Carousel/CarouselContainer.tsx +19 -12
  832. package/src/components/Carousel/CarouselContent.ts +5 -9
  833. package/src/components/CarouselCard/CarouselCard.fixture.tsx +9 -4
  834. package/src/components/CarouselCard/CarouselCard.tsx +22 -34
  835. package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  836. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  837. package/src/components/Catalog/Catalog.fixture.tsx +1 -1
  838. package/src/components/Catalog/Catalog.tsx +8 -13
  839. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
  840. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -2
  841. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
  842. package/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
  843. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
  844. package/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
  845. package/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
  846. package/src/components/ComparisonTable/TableRow.tsx +3 -3
  847. package/src/components/ComparisonTable/constants.ts +1 -1
  848. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +1 -1
  849. package/src/components/ContactsBlock/ContactsBlock.tsx +6 -8
  850. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  851. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  852. package/src/components/ContentPage/ContentPage.tsx +21 -20
  853. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -1
  854. package/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
  855. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
  856. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
  857. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
  858. package/src/components/Footer/Footer.fixture.tsx +1 -1
  859. package/src/components/Footer/Footer.mobile.tsx +3 -3
  860. package/src/components/Footer/Footer.tsx +1 -1
  861. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  862. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  863. package/src/components/Gallery/GalleryCardInner.tsx +12 -14
  864. package/src/components/Gallery/GalleryContainer.tsx +14 -16
  865. package/src/components/Gallery/GalleryInner.tsx +9 -22
  866. package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
  867. package/src/components/Header/Header.fixture.mobile.tsx +1 -1
  868. package/src/components/Header/Header.fixture.tsx +1 -1
  869. package/src/components/Header/Header.mobile.tsx +3 -4
  870. package/src/components/Header/Header.tsx +1 -1
  871. package/src/components/Headline/Headline.fixture.mobile.tsx +1 -1
  872. package/src/components/Headline/Headline.fixture.tsx +1 -1
  873. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -1
  874. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
  875. package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -1
  876. package/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
  877. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -1
  878. package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
  879. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -1
  880. package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -1
  881. package/src/components/LinkList/LinkList.fixture.tsx +1 -1
  882. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  883. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
  884. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
  885. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  886. package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -1
  887. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -1
  888. package/src/components/OtherProducts/OtherProducts.fixture.tsx +86 -76
  889. package/src/components/OtherProducts/OtherProducts.tsx +3 -2
  890. package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +16 -1
  891. package/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
  892. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  893. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
  894. package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
  895. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
  896. package/src/components/ProductBlock/ProductBlock.fixture.tsx +13 -1
  897. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  898. package/src/components/ProductBlock/ProductBlockInner.tsx +26 -22
  899. package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -1
  900. package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
  901. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
  902. package/src/components/Recommendation/Recommendation.fixture.tsx +1 -1
  903. package/src/components/Recommendation/Recommendation.tsx +12 -36
  904. package/src/components/RollupItem/RollupItem.fixture.tsx +44 -11
  905. package/src/components/RollupItem/RollupItem.tsx +9 -7
  906. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
  907. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
  908. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -1
  909. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
  910. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  911. package/src/components/Tabs/Tabs.fixture.tsx +1 -1
  912. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -1
  913. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
  914. package/src/components/TariffsTable/TariffsTable.tsx +21 -38
  915. package/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
  916. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
  917. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
  918. package/src/components/Tile/Tile.fixture.tsx +1 -1
  919. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +126 -47
  920. package/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
  921. package/src/components/Video/Video.fixture.tsx +33 -0
  922. package/src/components/Video/Video.tsx +29 -0
  923. package/src/components/Video/Video.ui.json +12 -0
  924. package/src/components/Video/VideoContent.ts +9 -0
  925. package/src/components/Video/getPaddings.ts +6 -0
  926. package/src/hooks/useCarouselControls.ts +33 -19
  927. package/src/model/JSXBlock.ts +4 -5
  928. package/src/model/LinkProps.ts +1 -0
  929. package/src/model/Picture.ts +8 -2
  930. package/{mobile/src/react → src}/setup-fixture.ts +4 -4
  931. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  932. package/src/ui-kit/Button/renderArrows.tsx +22 -17
  933. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
  934. package/src/ui-kit/Icon/Icon.fixture.tsx +1 -1
  935. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
  936. package/src/ui-kit/List/List.fixture.tsx +1 -1
  937. package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
  938. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -1
  939. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -8
  940. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
  941. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
  942. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
  943. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
  944. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
  945. package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
  946. package/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
  947. package/bundle/components/ContentPage/renderBlock.d.ts +0 -15
  948. package/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
  949. package/bundle/components/ContentPage/renderSlots.d.ts +0 -12
  950. package/bundle/model/getParentBlockContent.d.ts +0 -2
  951. package/bundle/model/getParentBlockDef.d.ts +0 -3
  952. package/bundle/utils/sliceArray.d.ts +0 -1
  953. package/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
  954. package/dist/components/Carousel/CarouselNavButtons.js +0 -36
  955. package/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
  956. package/dist/components/ContentPage/renderBlock.d.ts +0 -15
  957. package/dist/components/ContentPage/renderBlock.js +0 -29
  958. package/dist/components/ContentPage/renderBlock.js.map +0 -1
  959. package/dist/components/ContentPage/renderBlockList.d.ts +0 -14
  960. package/dist/components/ContentPage/renderBlockList.js +0 -11
  961. package/dist/components/ContentPage/renderBlockList.js.map +0 -1
  962. package/dist/components/ContentPage/renderSlots.d.ts +0 -12
  963. package/dist/components/ContentPage/renderSlots.js +0 -15
  964. package/dist/components/ContentPage/renderSlots.js.map +0 -1
  965. package/dist/model/getParentBlockContent.d.ts +0 -2
  966. package/dist/model/getParentBlockContent.js.map +0 -1
  967. package/dist/model/getParentBlockDef.d.ts +0 -3
  968. package/dist/model/getParentBlockDef.js +0 -11
  969. package/dist/model/getParentBlockDef.js.map +0 -1
  970. package/dist/react/setup-fixture.js.map +0 -1
  971. package/dist/utils/sliceArray.d.ts +0 -1
  972. package/dist/utils/sliceArray.js +0 -15
  973. package/dist/utils/sliceArray.js.map +0 -1
  974. package/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
  975. package/lib/components/Carousel/CarouselNavButtons.js +0 -34
  976. package/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
  977. package/lib/components/ContentPage/renderBlock.d.ts +0 -15
  978. package/lib/components/ContentPage/renderBlock.js +0 -26
  979. package/lib/components/ContentPage/renderBlock.js.map +0 -1
  980. package/lib/components/ContentPage/renderBlockList.d.ts +0 -14
  981. package/lib/components/ContentPage/renderBlockList.js +0 -8
  982. package/lib/components/ContentPage/renderBlockList.js.map +0 -1
  983. package/lib/components/ContentPage/renderSlots.d.ts +0 -12
  984. package/lib/components/ContentPage/renderSlots.js +0 -12
  985. package/lib/components/ContentPage/renderSlots.js.map +0 -1
  986. package/lib/model/getParentBlockContent.d.ts +0 -2
  987. package/lib/model/getParentBlockContent.js +0 -6
  988. package/lib/model/getParentBlockContent.js.map +0 -1
  989. package/lib/model/getParentBlockDef.d.ts +0 -3
  990. package/lib/model/getParentBlockDef.js +0 -8
  991. package/lib/model/getParentBlockDef.js.map +0 -1
  992. package/lib/react/setup-fixture.js.map +0 -1
  993. package/lib/utils/sliceArray.d.ts +0 -1
  994. package/lib/utils/sliceArray.js +0 -12
  995. package/lib/utils/sliceArray.js.map +0 -1
  996. package/mobile/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
  997. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -15
  998. package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
  999. package/mobile/bundle/components/ContentPage/renderSlots.d.ts +0 -12
  1000. package/mobile/bundle/model/getParentBlockContent.d.ts +0 -2
  1001. package/mobile/bundle/model/getParentBlockDef.d.ts +0 -3
  1002. package/mobile/bundle/utils/sliceArray.d.ts +0 -1
  1003. package/mobile/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
  1004. package/mobile/dist/components/Carousel/CarouselNavButtons.js +0 -36
  1005. package/mobile/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
  1006. package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -15
  1007. package/mobile/dist/components/ContentPage/renderBlock.js +0 -29
  1008. package/mobile/dist/components/ContentPage/renderBlock.js.map +0 -1
  1009. package/mobile/dist/components/ContentPage/renderBlockList.d.ts +0 -14
  1010. package/mobile/dist/components/ContentPage/renderBlockList.js +0 -11
  1011. package/mobile/dist/components/ContentPage/renderBlockList.js.map +0 -1
  1012. package/mobile/dist/components/ContentPage/renderSlots.d.ts +0 -12
  1013. package/mobile/dist/components/ContentPage/renderSlots.js +0 -15
  1014. package/mobile/dist/components/ContentPage/renderSlots.js.map +0 -1
  1015. package/mobile/dist/model/getParentBlockContent.d.ts +0 -2
  1016. package/mobile/dist/model/getParentBlockContent.js.map +0 -1
  1017. package/mobile/dist/model/getParentBlockDef.d.ts +0 -3
  1018. package/mobile/dist/model/getParentBlockDef.js +0 -11
  1019. package/mobile/dist/model/getParentBlockDef.js.map +0 -1
  1020. package/mobile/dist/react/setup-fixture.js.map +0 -1
  1021. package/mobile/dist/utils/sliceArray.d.ts +0 -1
  1022. package/mobile/dist/utils/sliceArray.js +0 -15
  1023. package/mobile/dist/utils/sliceArray.js.map +0 -1
  1024. package/mobile/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
  1025. package/mobile/lib/components/Carousel/CarouselNavButtons.js +0 -34
  1026. package/mobile/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
  1027. package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -15
  1028. package/mobile/lib/components/ContentPage/renderBlock.js +0 -26
  1029. package/mobile/lib/components/ContentPage/renderBlock.js.map +0 -1
  1030. package/mobile/lib/components/ContentPage/renderBlockList.d.ts +0 -14
  1031. package/mobile/lib/components/ContentPage/renderBlockList.js +0 -8
  1032. package/mobile/lib/components/ContentPage/renderBlockList.js.map +0 -1
  1033. package/mobile/lib/components/ContentPage/renderSlots.d.ts +0 -12
  1034. package/mobile/lib/components/ContentPage/renderSlots.js +0 -12
  1035. package/mobile/lib/components/ContentPage/renderSlots.js.map +0 -1
  1036. package/mobile/lib/model/getParentBlockContent.d.ts +0 -2
  1037. package/mobile/lib/model/getParentBlockContent.js +0 -6
  1038. package/mobile/lib/model/getParentBlockContent.js.map +0 -1
  1039. package/mobile/lib/model/getParentBlockDef.d.ts +0 -3
  1040. package/mobile/lib/model/getParentBlockDef.js +0 -8
  1041. package/mobile/lib/model/getParentBlockDef.js.map +0 -1
  1042. package/mobile/lib/react/setup-fixture.js.map +0 -1
  1043. package/mobile/lib/utils/sliceArray.d.ts +0 -1
  1044. package/mobile/lib/utils/sliceArray.js +0 -12
  1045. package/mobile/lib/utils/sliceArray.js.map +0 -1
  1046. package/mobile/src/components/Carousel/CarouselNavButtons.tsx +0 -51
  1047. package/mobile/src/components/ContentPage/renderBlock.tsx +0 -61
  1048. package/mobile/src/components/ContentPage/renderBlockList.tsx +0 -28
  1049. package/mobile/src/components/ContentPage/renderSlots.tsx +0 -32
  1050. package/mobile/src/model/getParentBlockDef.ts +0 -12
  1051. package/mobile/src/utils/sliceArray.ts +0 -15
  1052. package/src/components/Carousel/CarouselNavButtons.tsx +0 -51
  1053. package/src/components/ContentPage/renderBlock.tsx +0 -61
  1054. package/src/components/ContentPage/renderBlockList.tsx +0 -28
  1055. package/src/components/ContentPage/renderSlots.tsx +0 -32
  1056. package/src/model/.CarouselCardVersion.ts.icloud +0 -0
  1057. package/src/model/getParentBlockDef.ts +0 -12
  1058. package/src/utils/sliceArray.ts +0 -15
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
2
+ import { useCarouselControls } from '../../hooks/useCarouselControls';
3
3
  import { VersionStyleMap } from '../../model/BlockVersion';
4
4
  import { BorderVersionStyleMap } from '../../model/BorderVersion';
5
5
  import type { UniBlockProps } from '../../model/JSXBlock';
@@ -10,14 +10,17 @@ import { RecommendationCard } from './RecommendationCard';
10
10
  import type { RecommendationContent } from './RecommendationContent';
11
11
 
12
12
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
13
- const CARD_FULL_VIEW_COUNT = 2;
13
+ const CARD_VIEW_COUNT = 2;
14
14
  const CARD_SHIFT = 525;
15
15
 
16
16
  export interface RecommendationProps extends RecommendationContent, UniBlockProps {}
17
17
 
18
18
  export const Recommendation = JSX<RecommendationProps>(
19
19
  ({ recommendations = [], className = '', title, version = 'primary', ...rest }) => {
20
- const [activeCardIndex, setActiveCardIndex] = useState(0);
20
+ const [activeIndex, controls] = useCarouselControls({
21
+ itemCount: recommendations.length,
22
+ visibleItemCount: CARD_VIEW_COUNT,
23
+ });
21
24
 
22
25
  return (
23
26
  <BlockWrapper
@@ -28,10 +31,10 @@ export const Recommendation = JSX<RecommendationProps>(
28
31
  <div>
29
32
  <div
30
33
  className="flex duration-1000 gap-3.5"
31
- style={{ transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }}
34
+ style={{ transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }}
32
35
  role="list"
33
36
  >
34
- {recommendations?.length
37
+ {recommendations.length
35
38
  ? recommendations.map((card, i) => (
36
39
  <RecommendationCard
37
40
  key={String(i)}
@@ -42,10 +45,10 @@ export const Recommendation = JSX<RecommendationProps>(
42
45
  ))
43
46
  : null}
44
47
  </div>
45
- {renderNavButtons({
46
- cardsCount: recommendations.length,
47
- activeCardIndex,
48
- setActiveCardIndex,
48
+ {renderArrows({
49
+ ...controls,
50
+ btnClass: ['left-8', 'right-8'],
51
+ className: 'top-1/2 mt-3',
49
52
  })}
50
53
  </div>
51
54
  <div
@@ -62,30 +65,3 @@ export const Recommendation = JSX<RecommendationProps>(
62
65
  );
63
66
  },
64
67
  );
65
-
66
- const renderNavButtons = ({
67
- cardsCount,
68
- activeCardIndex,
69
- setActiveCardIndex,
70
- }: {
71
- cardsCount: number;
72
- activeCardIndex: number;
73
- setActiveCardIndex: (index: number) => void;
74
- }) => {
75
- const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
76
- const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
77
- const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
78
- const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
79
- const showPrevButton = isUseSlider && activeCardIndex > 0;
80
-
81
- return (
82
- <div>
83
- {renderArrows({
84
- handler: [handlePrevClick, handleNextClick],
85
- isShown: [showPrevButton, showNextButton],
86
- btnClass: ['left-8', 'right-8'],
87
- className: 'top-1/2 mt-3',
88
- })}
89
- </div>
90
- );
91
- };
@@ -1,23 +1,56 @@
1
+ import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
2
+ import { Blocks } from '../Blocks';
1
3
  import { RollupItem } from '../RollupItem/RollupItem';
2
- import { TextBlock } from '../TextBlock/TextBlock';
3
4
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
4
5
 
5
- const TEXT_BLOCK_ACCORDION_BLOCK = <TextBlock className="col-span-12" {...TEXT_BLOCK} />;
6
+ const options = {
7
+ blocksRegistry: Blocks,
8
+ } as BlockRendererOptions;
6
9
 
7
10
  export default {
8
11
  default: (
9
- <RollupItem label="Rollup button 1">
10
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
11
- </RollupItem>
12
+ <RollupItem
13
+ label="Rollup button 1"
14
+ isExpanded={true}
15
+ block={{
16
+ type: 'RollupItem',
17
+ blocks: [
18
+ { type: 'TextBlock', content: TEXT_BLOCK },
19
+ { type: 'TextBlock', content: TEXT_BLOCK },
20
+ ],
21
+ }}
22
+ options={options}
23
+ />
12
24
  ),
13
25
  secondary: (
14
- <RollupItem label="Rollup button 2" version="secondary" isFoldButtonOnTop={false}>
15
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
16
- </RollupItem>
26
+ <RollupItem
27
+ label="Rollup button 2"
28
+ version="secondary"
29
+ isFoldButtonOnTop={false}
30
+ isExpanded={true}
31
+ block={{
32
+ type: 'RollupItem',
33
+ blocks: [
34
+ { type: 'TextBlock', content: TEXT_BLOCK },
35
+ { type: 'TextBlock', content: TEXT_BLOCK },
36
+ ],
37
+ }}
38
+ options={options}
39
+ />
17
40
  ),
18
41
  'secondary default-open': (
19
- <RollupItem isExpanded={true} version="secondary" label="Rollup button 2">
20
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
21
- </RollupItem>
42
+ <RollupItem
43
+ version="secondary"
44
+ label="Rollup button 2"
45
+ isExpanded={true}
46
+ block={{
47
+ type: 'RollupItem',
48
+ blocks: [
49
+ { type: 'TextBlock', content: TEXT_BLOCK },
50
+ { type: 'TextBlock', content: TEXT_BLOCK },
51
+ ],
52
+ }}
53
+ options={options}
54
+ />
22
55
  ),
23
56
  };
@@ -1,4 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { renderChildren } from '../../BlockRenderer/renderChildren';
2
3
  import type { BlockVersion } from '../../model/BlockVersion';
3
4
  import type { JSXBlock } from '../../model/JSXBlock';
4
5
  import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
@@ -17,10 +18,10 @@ interface RollupFoldablePartProps extends FoldablePartProps {
17
18
 
18
19
  interface FoldButtonProps {
19
20
  label?: string;
20
- icon: IconName;
21
+ icon?: IconName;
22
+ isUnfolded?: boolean;
21
23
  onClick?: () => void;
22
24
  onToggle?: () => void;
23
- isUnfolded?: boolean;
24
25
  }
25
26
 
26
27
  export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
@@ -30,7 +31,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
30
31
  isExpanded,
31
32
  isFoldButtonOnTop = true,
32
33
  version = 'primary',
33
- children,
34
+ ...rest
34
35
  }) => (
35
36
  <div className={`border-b border-solid border-main-divider w-full ${className}`}>
36
37
  <Foldable
@@ -42,7 +43,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
42
43
  className={`grid grid-cols-12 gap-1 border-box`}
43
44
  isUnfolded={isUnfolded}
44
45
  >
45
- {children}
46
+ {renderChildren(rest)}
46
47
  </FoldableSection>
47
48
  </div>
48
49
  )}
@@ -57,18 +58,19 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
57
58
  RollupItem.childrenTypes = [];
58
59
 
59
60
  const renderFoldButton = ({ isUnfolded, onToggle, label, version }: RollupFoldablePartProps) => {
60
- const icons: IconName[] = ['PlusIcon', 'MinusIcon'];
61
+ const iconsPrimary: IconName[] = ['PlusIcon', 'MinusIcon'];
62
+ const iconsSecondary: IconName[] = ['ArrowDownIcon', 'ArrowUpIcon'];
61
63
  const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
62
64
 
63
65
  return version === 'primary' ? (
64
66
  <FoldButton
65
- icon={icons[Number(isUnfolded)]}
67
+ icon={iconsPrimary[Number(isUnfolded)]}
66
68
  label={labels[Number(isUnfolded)]}
67
69
  onClick={onToggle}
68
70
  />
69
71
  ) : (
70
72
  <DefaultFoldButton
71
- icon={icons[Number(isUnfolded)]}
73
+ icon={iconsSecondary[Number(isUnfolded)]}
72
74
  label={labels[Number(isUnfolded)]}
73
75
  onClick={onToggle}
74
76
  />
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import { SafeDepositRental } from './SafeDepositRental';
3
3
 
4
4
  export default {
@@ -4,8 +4,4 @@ import type { TitleProps } from '../../model/HeadlineType';
4
4
  /**
5
5
  * @title Аренда сейфовых ячеек
6
6
  */
7
- export type SafeDepositRentalContent = Footnote &
8
- TitleProps & {
9
- /** @title Сноска */
10
- footnote?: string;
11
- };
7
+ export type SafeDepositRentalContent = Footnote & TitleProps;
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import { StepsBlock } from './StepsBlock';
3
3
 
4
4
  const steps = [
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import type { StepsBlockProps } from './StepsBlock';
3
3
  import { StepsBlock } from './StepsBlock';
4
4
  import type { Step } from './StepsBlockContent';
@@ -33,7 +33,7 @@ export const StepsBlock = JSX<StepsBlockProps>(
33
33
  className={[
34
34
  'box-border py-[50px] font-sans',
35
35
  shortGaps ? 'px-20' : 'px-[70px]',
36
- 'flex flex-col items-center',
36
+ 'flex flex-col items-center overflow-hidden',
37
37
  styleMap.background,
38
38
  styleMap.title,
39
39
  className,
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import { Tabs } from './Tabs';
3
3
 
4
4
  export default {
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import { TARIFFS_TABLE_FIXTURE_EXAMPLE } from './dataFixture';
3
3
  import { TariffsTable } from './TariffsTable';
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../react/setup-fixture';
1
+ import '../../setup-fixture';
2
2
  import {
3
3
  columns,
4
4
  columnsTable,
@@ -34,24 +34,14 @@ export const TariffsTable = JSX<TariffsTableProps>(
34
34
  header,
35
35
  data: colData.map((col) => col?.[i] || []),
36
36
  }));
37
-
38
- const columnsLength = colData.length;
39
-
37
+ const itemCount = colData.length;
40
38
  const [activeIndex, controls] = useCarouselControls({
41
- itemsCount: colData.length,
39
+ itemCount: itemCount,
42
40
  visibleItemCount: COLS_LENGTH_FOR_SCROLL,
43
41
  });
44
-
45
- const isScrollAvailable = colData.length > COLS_LENGTH_FOR_SCROLL;
46
-
42
+ const { isScrollAvailable } = controls;
47
43
  const rows = (rowData || []).map((row, i) => (
48
- <TariffsTableRow
49
- key={String(i)}
50
- row={row}
51
- activeCardIndex={activeIndex}
52
- rowIdx={i}
53
- {...rest}
54
- />
44
+ <TariffsTableRow key={String(i)} row={row} activeIndex={activeIndex} rowIdx={i} {...rest} />
55
45
  ));
56
46
  const [visibleRows, hiddenRows] =
57
47
  hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
@@ -59,7 +49,7 @@ export const TariffsTable = JSX<TariffsTableProps>(
59
49
  return (
60
50
  <BlockWrapper
61
51
  className={`bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${
62
- columnsLength > 1 ? 'pr-0' : ''
52
+ itemCount > 1 ? 'pr-0' : ''
63
53
  } ${className}`}
64
54
  {...rest}
65
55
  >
@@ -99,27 +89,20 @@ function renderDescription(description?: string) {
99
89
  return description ? <div className="mb-9 text-center text-l">{description}</div> : null;
100
90
  }
101
91
 
102
- const Wrapper = JSX<WrapperProps>(({ children, controls, isScrollAvailable }) => {
103
- const { inc, dec, canDec, canInc } = controls;
104
-
105
- return (
106
- <div role="table">
107
- <div className="relative">
108
- {children}
109
- {isScrollAvailable ? (
110
- <div>
111
- {renderArrows({
112
- handler: [inc, dec],
113
- isShown: [canDec, canInc],
114
- btnClass: ['top-[108px]', 'top-11'],
115
- className: 'right-7',
116
- })}
117
- </div>
118
- ) : null}
119
- </div>
120
- {isScrollAvailable ? (
121
- <div className="absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" />
122
- ) : null}
92
+ const Wrapper = JSX<WrapperProps>(({ children, controls, isScrollAvailable }) => (
93
+ <div role="table">
94
+ <div className="relative">
95
+ {children}
96
+ {isScrollAvailable
97
+ ? renderArrows({
98
+ ...controls,
99
+ btnClass: ['top-[108px]', 'top-[44px]'],
100
+ className: 'right-7',
101
+ })
102
+ : null}
123
103
  </div>
124
- );
125
- });
104
+ {isScrollAvailable ? (
105
+ <div className="absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" />
106
+ ) : null}
107
+ </div>
108
+ ));
@@ -12,12 +12,12 @@ import { TariffsTableRowContainer } from './TariffsTableRowContainer';
12
12
 
13
13
  export interface TariffsTableRowProps extends UniBlockProps {
14
14
  row: Data;
15
- activeCardIndex: number;
15
+ activeIndex: number;
16
16
  rowIdx: number;
17
17
  }
18
18
 
19
19
  export const TariffsTableRow = JSX<TariffsTableRowProps>(
20
- ({ row: { header, data }, activeCardIndex, rowIdx, ...rest }) => {
20
+ ({ row: { header, data }, activeIndex, rowIdx, ...rest }) => {
21
21
  const [tableInner, setTableInner] = useState<TariffsTableInnerContent | undefined>(undefined);
22
22
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState<number | undefined>(undefined);
23
23
 
@@ -45,7 +45,7 @@ export const TariffsTableRow = JSX<TariffsTableRowProps>(
45
45
  </div>
46
46
  {data?.length ? (
47
47
  <TableCarouselContainer
48
- activeCardIndex={activeCardIndex}
48
+ activeIndex={activeIndex}
49
49
  columnWidth={COLUMN_WIDTH}
50
50
  version="tariff"
51
51
  >
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import '../../react/setup-fixture';
2
+ import '../../setup-fixture';
3
3
  import { TextBlock } from './TextBlock';
4
4
  import type { TextBlockContent } from './TextBlockContent';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import '../../react/setup-fixture';
2
+ import '../../setup-fixture';
3
3
  import { TextBlock } from './TextBlock';
4
4
  import type { TextBlockContent } from './TextBlockContent';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import '../../react/setup-fixture';
2
+ import '../../setup-fixture';
3
3
  import { Tile } from './Tile';
4
4
  import type { TileContent } from './TileContent';
5
5
 
@@ -1,15 +1,11 @@
1
- import '../../react/setup-fixture';
2
- import { LinkDocs } from '../LinkDocs/LinkDocs';
1
+ import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
2
+ import '../../setup-fixture';
3
+ import { Blocks } from '../Blocks';
3
4
  import { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
4
- import { ProductTile } from '../ProductTile/ProductTile';
5
5
  import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
6
- import { RollupItem } from '../RollupItem/RollupItem';
7
- import { TextBlock } from '../TextBlock/TextBlock';
8
6
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
9
7
  import { VerticalLayout } from './VerticalLayout';
10
8
 
11
- const PRODUCT_TILES_OTHER_BLOCK = <ProductTile {...PRODUCT_TILE} />;
12
- const TEXT_BLOCK_ACCORDION_BLOCK = <TextBlock className="col-span-12" {...TEXT_BLOCK} />;
13
9
  export const linkDocsExample: LinkDocsContent = {
14
10
  description: 'Ответы на часто задаваемые вопросы',
15
11
  documents: [
@@ -18,69 +14,152 @@ export const linkDocsExample: LinkDocsContent = {
18
14
  { text: 'GlassIcon', href: '/abc3/map.jpeg' },
19
15
  ],
20
16
  };
17
+
18
+ const options = {
19
+ blocksRegistry: Blocks,
20
+ } as BlockRendererOptions;
21
+
21
22
  export default {
22
23
  default: (
23
24
  <div className="container grid grid-cols-12">
24
- <VerticalLayout className="col-span-12">
25
- {PRODUCT_TILES_OTHER_BLOCK}
26
- {PRODUCT_TILES_OTHER_BLOCK}
27
- </VerticalLayout>
25
+ <VerticalLayout
26
+ className="col-span-12"
27
+ block={{
28
+ type: 'VerticalLayout',
29
+ blocks: [
30
+ { type: 'ProductTile', content: PRODUCT_TILE },
31
+ { type: 'ProductTile', content: PRODUCT_TILE },
32
+ ],
33
+ }}
34
+ options={options}
35
+ />
28
36
  </div>
29
37
  ),
30
38
  'transparent center': (
31
39
  <div className="container grid grid-cols-12">
32
- <VerticalLayout align="center" version="transparent" className="col-span-12">
33
- {PRODUCT_TILES_OTHER_BLOCK}
34
- {PRODUCT_TILES_OTHER_BLOCK}
35
- </VerticalLayout>
40
+ <VerticalLayout
41
+ className="col-span-12"
42
+ align="center"
43
+ version="transparent"
44
+ block={{
45
+ type: 'VerticalLayout',
46
+ blocks: [
47
+ { type: 'ProductTile', content: PRODUCT_TILE },
48
+ { type: 'ProductTile', content: PRODUCT_TILE },
49
+ ],
50
+ }}
51
+ options={options}
52
+ />
36
53
  </div>
37
54
  ),
38
55
  'secondary right': (
39
56
  <div className="container grid grid-cols-12">
40
- <VerticalLayout align="right" version="secondary" className="col-span-12">
41
- {PRODUCT_TILES_OTHER_BLOCK}
42
- {PRODUCT_TILES_OTHER_BLOCK}
43
- </VerticalLayout>
57
+ <VerticalLayout
58
+ className="col-span-12"
59
+ align="right"
60
+ version="secondary"
61
+ block={{
62
+ type: 'VerticalLayout',
63
+ blocks: [
64
+ { type: 'ProductTile', content: PRODUCT_TILE },
65
+ { type: 'ProductTile', content: PRODUCT_TILE },
66
+ ],
67
+ }}
68
+ options={options}
69
+ />
44
70
  </div>
45
71
  ),
46
72
  'secondary gap-XL': (
47
73
  <div className="container grid grid-cols-12">
48
- <VerticalLayout gap="XL" align="left" version="secondary" className="col-span-12">
49
- {PRODUCT_TILES_OTHER_BLOCK}
50
- {PRODUCT_TILES_OTHER_BLOCK}
51
- </VerticalLayout>
74
+ <VerticalLayout
75
+ className="col-span-12"
76
+ gap="XL"
77
+ align="left"
78
+ version="secondary"
79
+ block={{
80
+ type: 'VerticalLayout',
81
+ blocks: [
82
+ { type: 'ProductTile', content: PRODUCT_TILE },
83
+ { type: 'ProductTile', content: PRODUCT_TILE },
84
+ ],
85
+ }}
86
+ options={options}
87
+ />
52
88
  </div>
53
89
  ),
54
90
  rollup: (
55
91
  <div className="container grid grid-cols-12">
56
- <VerticalLayout align="left" className="col-span-12" version="primary">
57
- <RollupItem label="Rollup button 1">
58
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
59
- </RollupItem>
60
- <RollupItem isExpanded={true} label="Rollup button 1">
61
- <LinkDocs className="col-span-12" {...linkDocsExample} />
62
- </RollupItem>
63
- </VerticalLayout>
92
+ <VerticalLayout
93
+ align="left"
94
+ className="col-span-12"
95
+ version="primary"
96
+ block={{
97
+ type: 'VerticalLayout',
98
+ blocks: [
99
+ {
100
+ type: 'RollupItem',
101
+ content: {
102
+ label: 'Rollup button 1',
103
+ },
104
+ blocks: [
105
+ { type: 'TextBlock', content: TEXT_BLOCK },
106
+ { type: 'TextBlock', content: TEXT_BLOCK },
107
+ ],
108
+ },
109
+ {
110
+ type: 'RollupItem',
111
+ content: {
112
+ label: 'Rollup button 2',
113
+ isExpanded: true,
114
+ },
115
+ blocks: [{ type: 'LinkDocs', content: linkDocsExample }],
116
+ },
117
+ ],
118
+ }}
119
+ options={options}
120
+ />
64
121
  </div>
65
122
  ),
66
123
  'rollup secondary': (
67
124
  <div className="container grid grid-cols-12">
68
- <VerticalLayout gap="XS" align="left" version="transparent" className="col-span-12">
69
- <RollupItem
70
- label="Rollup button 1 with TEXT_BLOCK"
71
- version="secondary"
72
- isFoldButtonOnTop={false}
73
- >
74
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
75
- </RollupItem>
76
- <RollupItem
77
- label="Rollup button 2 with TEXT_BLOCK"
78
- version="secondary"
79
- isFoldButtonOnTop={false}
80
- >
81
- {[TEXT_BLOCK_ACCORDION_BLOCK, TEXT_BLOCK_ACCORDION_BLOCK]}
82
- </RollupItem>
83
- </VerticalLayout>
125
+ <VerticalLayout
126
+ gap="XS"
127
+ align="left"
128
+ version="transparent"
129
+ className="col-span-12"
130
+ block={{
131
+ type: 'VerticalLayout',
132
+ blocks: [
133
+ {
134
+ type: 'RollupItem',
135
+ content: {
136
+ label: 'Rollup button 1 with TEXT_BLOCK',
137
+ version: 'secondary',
138
+ isFoldButtonOnTop: false,
139
+ isExpanded: true,
140
+ },
141
+ blocks: [
142
+ { type: 'TextBlock', content: TEXT_BLOCK },
143
+ { type: 'TextBlock', content: TEXT_BLOCK },
144
+ ],
145
+ },
146
+ {
147
+ type: 'RollupItem',
148
+ content: {
149
+ label: 'Rollup button 2 with TEXT_BLOCK',
150
+ version: 'secondary',
151
+ isFoldButtonOnTop: false,
152
+ isExpanded: true,
153
+ },
154
+ blocks: [
155
+ { type: 'TextBlock', content: TEXT_BLOCK },
156
+ { type: 'TextBlock', content: TEXT_BLOCK },
157
+ ],
158
+ },
159
+ ],
160
+ }}
161
+ options={options}
162
+ />
84
163
  </div>
85
164
  ),
86
165
  };
@@ -1,4 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { renderChildren } from '../../BlockRenderer/renderChildren';
2
3
  import type { AlignType } from '../../model/AlignType';
3
4
  import { BlockVersionWithTransparent } from '../../model/BlockVersion';
4
5
  import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
@@ -30,7 +31,7 @@ const backgroundStyleMap: Record<BlockVersionWithTransparent, string> = {
30
31
  };
31
32
 
32
33
  export const VerticalLayout: JSXBlock<VerticalLayoutProps> = JSX<VerticalLayoutProps>(
33
- ({ className = '', children, gap = '', align = 'left', version = 'transparent', ...rest }) => (
34
+ ({ className = '', gap = '', align = 'left', version = 'transparent', ...rest }) => (
34
35
  <BlockWrapper
35
36
  className={[
36
37
  'flex flex-col',
@@ -41,7 +42,7 @@ export const VerticalLayout: JSXBlock<VerticalLayoutProps> = JSX<VerticalLayoutP
41
42
  ].join(' ')}
42
43
  {...rest}
43
44
  >
44
- {children}
45
+ {renderChildren(rest)}
45
46
  </BlockWrapper>
46
47
  ),
47
48
  );