@redneckz/wildless-cms-uni-blocks 0.6.50 → 0.7.2

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 (1599) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +346 -500
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  5. package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  6. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  7. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  8. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  9. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  10. package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  11. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  12. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  13. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  14. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  15. package/bundle/components/Footer/MediaButton.d.ts +2 -2
  16. package/bundle/components/Footer/SocialMedia.d.ts +1 -3
  17. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
  18. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  19. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  20. package/bundle/components/Header/DropdownMenu.d.ts +0 -2
  21. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  22. package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  23. package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  24. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  25. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  26. package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  27. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  28. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  29. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  30. package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  31. package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  32. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  33. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  34. package/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  35. package/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  36. package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  37. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  38. package/bundle/components/Tile/Tile.d.ts +0 -1
  39. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  40. package/bundle/components/Video/getPaddings.d.ts +1 -1
  41. package/bundle/icons/IconName.d.ts +6 -4
  42. package/bundle/model/BlockVersion.d.ts +6 -20
  43. package/bundle/model/ButtonVersion.d.ts +3 -3
  44. package/bundle/model/JSXBlock.d.ts +2 -0
  45. package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  46. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  47. package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  48. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  49. package/bundle/ui-kit/List/ListItem.d.ts +1 -2
  50. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  51. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  52. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  53. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  54. package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  55. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  56. package/bundle/utils/getColSpan.d.ts +1 -1
  57. package/bundle/utils/style.d.ts +3 -0
  58. package/cosmos-static/icons/YoutubeIcon.svg +1 -0
  59. package/dist/BlockRenderer/renderBlock.js +4 -3
  60. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  61. package/dist/components/Accordion/Accordion.js +1 -1
  62. package/dist/components/Accordion/Accordion.js.map +1 -1
  63. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  64. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  65. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  66. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  67. package/dist/components/BaseTile/BaseTile.d.ts +1 -4
  68. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  69. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  70. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  71. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  72. package/dist/components/Blocks.js +2 -0
  73. package/dist/components/Blocks.js.map +1 -1
  74. package/dist/components/Bonus/Bonus.js +5 -7
  75. package/dist/components/Bonus/Bonus.js.map +1 -1
  76. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  77. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  78. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  79. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  80. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  81. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  82. package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  83. package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  84. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  85. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  86. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  87. package/dist/components/Calculator/Calculator.js +1 -1
  88. package/dist/components/Calculator/Calculator.js.map +1 -1
  89. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  90. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  91. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  92. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  93. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  94. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  95. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  96. package/dist/components/Carousel/Carousel.js +5 -3
  97. package/dist/components/Carousel/Carousel.js.map +1 -1
  98. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  99. package/dist/components/CarouselCard/CarouselCard.js +3 -3
  100. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  101. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  102. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  103. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  104. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  105. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  106. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  107. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  108. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  109. package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  110. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  111. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  112. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  113. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  114. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  115. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  116. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  117. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  118. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  119. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  120. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  121. package/dist/components/Catalog/Catalog.js +1 -1
  122. package/dist/components/Catalog/Catalog.js.map +1 -1
  123. package/dist/components/Catalog/CatalogCard.js +2 -2
  124. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  125. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  126. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  127. package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  128. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  129. package/dist/components/ContentPage/ContentPage.js +2 -2
  130. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  131. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  132. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  133. package/dist/components/Footer/Footer.js +2 -2
  134. package/dist/components/Footer/Footer.js.map +1 -1
  135. package/dist/components/Footer/MediaButton.d.ts +2 -2
  136. package/dist/components/Footer/MediaButton.js +12 -13
  137. package/dist/components/Footer/MediaButton.js.map +1 -1
  138. package/dist/components/Footer/SocialMedia.d.ts +1 -3
  139. package/dist/components/Footer/SocialMedia.js +1 -1
  140. package/dist/components/Footer/SocialMedia.js.map +1 -1
  141. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
  142. package/dist/components/Footer/SocialMedia.mobile.js +1 -1
  143. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  144. package/dist/components/Gallery/Gallery.js +1 -1
  145. package/dist/components/Gallery/Gallery.js.map +1 -1
  146. package/dist/components/Gallery/Gallery.mobile.js +6 -7
  147. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  148. package/dist/components/Gallery/GalleryCardInner.js +8 -11
  149. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  150. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  151. package/dist/components/Gallery/GalleryContainer.js +5 -4
  152. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  153. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  154. package/dist/components/Gallery/GalleryInner.js +5 -5
  155. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  156. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  157. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  158. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  159. package/dist/components/Header/DropdownMenu.js +4 -7
  160. package/dist/components/Header/DropdownMenu.js.map +1 -1
  161. package/dist/components/Header/Header.js +6 -6
  162. package/dist/components/Header/Header.js.map +1 -1
  163. package/dist/components/Header/Header.mobile.js +7 -2
  164. package/dist/components/Header/Header.mobile.js.map +1 -1
  165. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  166. package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  167. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  168. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  169. package/dist/components/Header/HeaderSubMenu.js +2 -2
  170. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  171. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  172. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  173. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  174. package/dist/components/Header/HeaderTop.js +1 -1
  175. package/dist/components/Header/HeaderTop.js.map +1 -1
  176. package/dist/components/Headline/Headline.js +4 -5
  177. package/dist/components/Headline/Headline.js.map +1 -1
  178. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  179. package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  180. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  181. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  182. package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  183. package/dist/components/HorizontalLayout/gapStyles.js +12 -0
  184. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  185. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  186. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  187. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  188. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  189. package/dist/components/LinkDocs/LinkDocs.js +2 -1
  190. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  191. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
  192. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  193. package/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  194. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  195. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  196. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  197. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  198. package/dist/components/LinkList/LinkList.js +1 -1
  199. package/dist/components/LinkList/LinkList.js.map +1 -1
  200. package/dist/components/MiniGallery/MiniGallery.js +1 -1
  201. package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  202. package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
  203. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  204. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  205. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  206. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  207. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  208. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  209. package/dist/components/PictureText/PictureText.js +1 -2
  210. package/dist/components/PictureText/PictureText.js.map +1 -1
  211. package/dist/components/Placeholder/Placeholder.js +2 -1
  212. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  213. package/dist/components/ProductBlock/ProductBlock.js +3 -7
  214. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  215. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
  216. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  217. package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
  218. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  219. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  220. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  221. package/dist/components/ProductGallery/ProductGallery.js +7 -20
  222. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  223. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  224. package/dist/components/ProductTile/ProductTile.js +5 -6
  225. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  226. package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  227. package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  228. package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  229. package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  230. package/dist/components/ProductTile/renderBenefit.js +2 -6
  231. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  232. package/dist/components/PromoTile/PromoTile.js +3 -3
  233. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  234. package/dist/components/Recommendation/Recommendation.js +2 -4
  235. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  236. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  237. package/dist/components/Recommendation/RecommendationCard.js +4 -3
  238. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  239. package/dist/components/RollupItem/RollupItem.js +7 -15
  240. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  241. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  242. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  243. package/dist/components/StepsBlock/StepsBlock.js +3 -6
  244. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  245. package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
  246. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  247. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  248. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  249. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  250. package/dist/components/StepsBlock/renderStepContent.js +2 -7
  251. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  252. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  253. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
  254. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  255. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  256. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  257. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  258. package/dist/components/Tabs/renderGroupTab.js +1 -1
  259. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  260. package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  261. package/dist/components/Tabs/tabItemClasses.js +2 -2
  262. package/dist/components/Tabs/tabItemClasses.js.map +1 -1
  263. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  264. package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
  265. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  266. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  267. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  268. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  269. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  270. package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
  271. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  272. package/dist/components/Tile/Tile.d.ts +0 -1
  273. package/dist/components/Tile/Tile.js +5 -10
  274. package/dist/components/Tile/Tile.js.map +1 -1
  275. package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  276. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  277. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  278. package/dist/components/Video/Video.js +2 -4
  279. package/dist/components/Video/Video.js.map +1 -1
  280. package/dist/components/Video/getPaddings.d.ts +1 -1
  281. package/dist/components/Video/getPaddings.js.map +1 -1
  282. package/dist/icons/IconName.d.ts +6 -4
  283. package/dist/icons/IconName.js +2 -0
  284. package/dist/icons/IconName.js.map +1 -1
  285. package/dist/model/BlockVersion.d.ts +6 -20
  286. package/dist/model/BlockVersion.js +0 -33
  287. package/dist/model/BlockVersion.js.map +1 -1
  288. package/dist/model/ButtonVersion.d.ts +3 -3
  289. package/dist/model/JSXBlock.d.ts +2 -0
  290. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  291. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  292. package/dist/ui-kit/BlockWrapper.d.ts +2 -0
  293. package/dist/ui-kit/BlockWrapper.js +11 -3
  294. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  295. package/dist/ui-kit/Button/ArrowButton.js +2 -2
  296. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  297. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  298. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  299. package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  300. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  301. package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  302. package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  303. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  304. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  305. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  306. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  307. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  308. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  309. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  310. package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
  311. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  312. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  313. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  314. package/dist/ui-kit/Heading/Heading.js +2 -5
  315. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  316. package/dist/ui-kit/Icon/Icon.js +3 -8
  317. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  318. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  319. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  320. package/dist/ui-kit/List/List.js +1 -12
  321. package/dist/ui-kit/List/List.js.map +1 -1
  322. package/dist/ui-kit/List/ListItem.d.ts +1 -2
  323. package/dist/ui-kit/List/ListItem.js +1 -8
  324. package/dist/ui-kit/List/ListItem.js.map +1 -1
  325. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  326. package/dist/ui-kit/Location/Location.js +1 -1
  327. package/dist/ui-kit/Location/Location.js.map +1 -1
  328. package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  329. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  330. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  331. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  332. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  333. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  334. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  335. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  336. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  337. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  338. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  339. package/dist/ui-kit/Text/Text.js +1 -1
  340. package/dist/ui-kit/Text/Text.js.map +1 -1
  341. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  342. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  343. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  344. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  345. package/dist/utils/getColSpan.d.ts +1 -1
  346. package/dist/utils/getColSpan.js +1 -1
  347. package/dist/utils/getColSpan.js.map +1 -1
  348. package/dist/utils/style.d.ts +3 -0
  349. package/dist/utils/style.js +8 -0
  350. package/dist/utils/style.js.map +1 -0
  351. package/lib/BlockRenderer/renderBlock.js +4 -3
  352. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  353. package/lib/common.css +1 -1
  354. package/lib/components/Accordion/Accordion.js +1 -1
  355. package/lib/components/Accordion/Accordion.js.map +1 -1
  356. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  357. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  358. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  359. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  360. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  361. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  362. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  363. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  364. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  365. package/lib/components/Blocks.js +2 -0
  366. package/lib/components/Blocks.js.map +1 -1
  367. package/lib/components/Bonus/Bonus.js +5 -7
  368. package/lib/components/Bonus/Bonus.js.map +1 -1
  369. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  370. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  371. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  372. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  373. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  374. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  375. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  376. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  377. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  378. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  379. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  380. package/lib/components/Calculator/Calculator.js +1 -1
  381. package/lib/components/Calculator/Calculator.js.map +1 -1
  382. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  383. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  384. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  385. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  386. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  387. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  388. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  389. package/lib/components/Carousel/Carousel.js +5 -3
  390. package/lib/components/Carousel/Carousel.js.map +1 -1
  391. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  392. package/lib/components/CarouselCard/CarouselCard.js +3 -3
  393. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  394. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  395. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  396. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  397. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  398. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  399. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  400. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  401. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  402. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  403. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  404. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  405. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  406. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  407. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  408. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  409. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  410. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  411. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  412. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  413. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  414. package/lib/components/Catalog/Catalog.js +1 -1
  415. package/lib/components/Catalog/Catalog.js.map +1 -1
  416. package/lib/components/Catalog/CatalogCard.js +2 -2
  417. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  418. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  419. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  420. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  421. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  422. package/lib/components/ContentPage/ContentPage.js +2 -2
  423. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  424. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  425. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  426. package/lib/components/Footer/Footer.js +2 -2
  427. package/lib/components/Footer/Footer.js.map +1 -1
  428. package/lib/components/Footer/MediaButton.d.ts +2 -2
  429. package/lib/components/Footer/MediaButton.js +12 -13
  430. package/lib/components/Footer/MediaButton.js.map +1 -1
  431. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  432. package/lib/components/Footer/SocialMedia.js +1 -1
  433. package/lib/components/Footer/SocialMedia.js.map +1 -1
  434. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  435. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  436. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  437. package/lib/components/Gallery/Gallery.js +1 -1
  438. package/lib/components/Gallery/Gallery.js.map +1 -1
  439. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  440. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  441. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  442. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  443. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  444. package/lib/components/Gallery/GalleryContainer.js +5 -4
  445. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  446. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  447. package/lib/components/Gallery/GalleryInner.js +5 -5
  448. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  449. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  450. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  451. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  452. package/lib/components/Header/DropdownMenu.js +4 -7
  453. package/lib/components/Header/DropdownMenu.js.map +1 -1
  454. package/lib/components/Header/Header.js +6 -6
  455. package/lib/components/Header/Header.js.map +1 -1
  456. package/lib/components/Header/Header.mobile.js +7 -2
  457. package/lib/components/Header/Header.mobile.js.map +1 -1
  458. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  459. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  460. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  461. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  462. package/lib/components/Header/HeaderSubMenu.js +2 -2
  463. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  464. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  465. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  466. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  467. package/lib/components/Header/HeaderTop.js +1 -1
  468. package/lib/components/Header/HeaderTop.js.map +1 -1
  469. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  470. package/lib/components/Headline/Headline.js +4 -5
  471. package/lib/components/Headline/Headline.js.map +1 -1
  472. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  473. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  474. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  475. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  476. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  477. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  478. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  479. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  480. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  481. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  482. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  483. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  484. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  485. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  486. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  487. package/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  488. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  489. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  490. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  491. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  492. package/lib/components/LinkList/LinkList.js +1 -1
  493. package/lib/components/LinkList/LinkList.js.map +1 -1
  494. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  495. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  496. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  497. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  498. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  499. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  500. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  501. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  502. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  503. package/lib/components/PictureText/PictureText.js +1 -2
  504. package/lib/components/PictureText/PictureText.js.map +1 -1
  505. package/lib/components/Placeholder/Placeholder.js +2 -1
  506. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  507. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  508. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  509. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  510. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  511. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  512. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  513. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  514. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  515. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  516. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  517. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  518. package/lib/components/ProductTile/ProductTile.js +5 -6
  519. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  520. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  521. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  522. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  523. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  524. package/lib/components/ProductTile/renderBenefit.js +2 -6
  525. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  526. package/lib/components/PromoTile/PromoTile.js +3 -3
  527. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  528. package/lib/components/Recommendation/Recommendation.js +2 -4
  529. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  530. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  531. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  532. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  533. package/lib/components/RollupItem/RollupItem.js +7 -15
  534. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  535. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  536. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  537. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  538. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  539. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  540. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  541. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  542. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  543. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  544. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  545. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  546. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  547. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +5 -0
  548. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
  549. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  550. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  551. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  552. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  553. package/lib/components/Tabs/renderGroupTab.js +1 -1
  554. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  555. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  556. package/lib/components/Tabs/tabItemClasses.js +2 -2
  557. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  558. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  559. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  560. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  561. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  562. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  563. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  564. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  565. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  566. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  567. package/lib/components/Tile/Tile.d.ts +0 -1
  568. package/lib/components/Tile/Tile.js +5 -10
  569. package/lib/components/Tile/Tile.js.map +1 -1
  570. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  571. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  572. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  573. package/lib/components/Video/Video.js +2 -4
  574. package/lib/components/Video/Video.js.map +1 -1
  575. package/lib/components/Video/getPaddings.d.ts +1 -1
  576. package/lib/components/Video/getPaddings.js.map +1 -1
  577. package/lib/icons/IconName.d.ts +6 -4
  578. package/lib/icons/IconName.js +2 -0
  579. package/lib/icons/IconName.js.map +1 -1
  580. package/lib/model/BlockVersion.d.ts +6 -20
  581. package/lib/model/BlockVersion.js +1 -32
  582. package/lib/model/BlockVersion.js.map +1 -1
  583. package/lib/model/ButtonVersion.d.ts +3 -3
  584. package/lib/model/JSXBlock.d.ts +2 -0
  585. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  586. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  587. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  588. package/lib/ui-kit/BlockWrapper.js +10 -2
  589. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  590. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  591. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  592. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  593. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  594. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  595. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  596. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  597. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  598. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  599. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  600. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  601. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  602. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  603. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  604. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  605. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  606. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  607. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  608. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  609. package/lib/ui-kit/Heading/Heading.js +2 -5
  610. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  611. package/lib/ui-kit/Icon/Icon.js +3 -8
  612. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  613. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  614. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  615. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  616. package/lib/ui-kit/List/List.js +1 -12
  617. package/lib/ui-kit/List/List.js.map +1 -1
  618. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  619. package/lib/ui-kit/List/ListItem.js +1 -8
  620. package/lib/ui-kit/List/ListItem.js.map +1 -1
  621. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  622. package/lib/ui-kit/Location/Location.js +1 -1
  623. package/lib/ui-kit/Location/Location.js.map +1 -1
  624. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  625. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  626. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  627. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  628. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  629. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
  630. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  631. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  632. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  633. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  634. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  635. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  636. package/lib/ui-kit/Text/Text.js +1 -1
  637. package/lib/ui-kit/Text/Text.js.map +1 -1
  638. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  639. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  640. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  641. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  642. package/lib/utils/getColSpan.d.ts +1 -1
  643. package/lib/utils/getColSpan.js +1 -1
  644. package/lib/utils/getColSpan.js.map +1 -1
  645. package/lib/utils/style.d.ts +3 -0
  646. package/lib/utils/style.js +5 -0
  647. package/lib/utils/style.js.map +1 -0
  648. package/mobile/bundle/bundle.umd.js +168 -169
  649. package/mobile/bundle/bundle.umd.min.js +1 -1
  650. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  651. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  652. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  653. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  654. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  655. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  656. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  657. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  658. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  659. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  660. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  661. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  662. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  663. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  664. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  665. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  666. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  667. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  668. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  669. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  670. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  671. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  672. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  673. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  674. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  675. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  676. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  677. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  678. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  679. package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  680. package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  681. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  682. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  683. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  684. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  685. package/mobile/bundle/icons/IconName.d.ts +6 -4
  686. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  687. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  688. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  689. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  690. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  691. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  692. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  693. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  694. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  695. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  696. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  697. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  698. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  699. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  700. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  701. package/mobile/bundle/utils/style.d.ts +3 -0
  702. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  703. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  704. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  705. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  706. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  707. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  708. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  709. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  710. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  711. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  712. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  713. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  714. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  715. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  716. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  717. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  718. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  719. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  720. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  721. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  722. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  723. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  724. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  725. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  726. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  727. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  728. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  729. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  730. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  731. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  732. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  733. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  734. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  735. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  736. package/mobile/dist/components/CarouselCard/CarouselCard.js +3 -3
  737. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  738. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  739. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  740. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  741. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  742. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  743. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  744. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  745. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  746. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  747. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  748. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  749. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  750. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  751. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  752. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  753. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  754. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  755. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  756. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  757. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  758. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  759. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  760. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  761. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  762. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  763. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  764. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  765. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  766. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  767. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  768. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  769. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  770. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  771. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  772. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  773. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  774. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  775. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  776. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  777. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  778. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  779. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  780. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  781. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  782. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  783. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  784. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  785. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  786. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  787. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  788. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  789. package/mobile/dist/components/Header/Header.js +7 -2
  790. package/mobile/dist/components/Header/Header.js.map +1 -1
  791. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  792. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  793. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  794. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  795. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  796. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  797. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  798. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  799. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  800. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  801. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  802. package/mobile/dist/components/Headline/Headline.js +6 -5
  803. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  804. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  805. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  806. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  807. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  808. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  809. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  810. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  811. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  812. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  813. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  814. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  815. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  816. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  817. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  818. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  819. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  820. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  821. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  822. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  823. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  824. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  825. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  826. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  827. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  828. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  829. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  830. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  831. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  832. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  833. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  834. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  835. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  836. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  837. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  838. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  839. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  840. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  841. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  842. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  843. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  844. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  845. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  846. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  847. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  848. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  849. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  850. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  851. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  852. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  853. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  854. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  855. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  856. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  857. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  858. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  859. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  860. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  861. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  862. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  863. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  864. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  865. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  866. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  867. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
  868. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  869. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  870. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  871. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  872. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  873. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  874. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  875. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  876. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  877. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  878. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  879. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  880. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  881. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  882. package/mobile/dist/components/Tile/Tile.js +5 -10
  883. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  884. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  885. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  886. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  887. package/mobile/dist/components/Video/Video.js +2 -4
  888. package/mobile/dist/components/Video/Video.js.map +1 -1
  889. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  890. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  891. package/mobile/dist/icons/IconName.d.ts +6 -4
  892. package/mobile/dist/icons/IconName.js +2 -0
  893. package/mobile/dist/icons/IconName.js.map +1 -1
  894. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  895. package/mobile/dist/model/BlockVersion.js +0 -33
  896. package/mobile/dist/model/BlockVersion.js.map +1 -1
  897. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  898. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  899. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  900. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  901. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  902. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  903. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  904. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  905. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  906. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  907. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  908. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  909. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  910. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  911. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  912. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  913. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  914. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  915. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  916. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  917. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  918. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  919. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  920. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  921. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  922. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  923. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  924. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  925. package/mobile/dist/ui-kit/List/List.js +1 -12
  926. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  927. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  928. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  929. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  930. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  931. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  932. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  933. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  934. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  935. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  936. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  937. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  938. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  939. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  940. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  941. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  942. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  943. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  944. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  945. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  946. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  947. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  948. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  949. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  950. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  951. package/mobile/dist/utils/getColSpan.js +1 -1
  952. package/mobile/dist/utils/getColSpan.js.map +1 -1
  953. package/mobile/dist/utils/style.d.ts +3 -0
  954. package/mobile/dist/utils/style.js +8 -0
  955. package/mobile/dist/utils/style.js.map +1 -0
  956. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  957. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  958. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  959. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  960. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  961. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  962. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  963. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  964. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  965. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  966. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  967. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  968. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  969. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  970. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  971. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  972. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  973. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  974. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  975. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  976. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  977. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  978. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  979. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  980. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  981. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  982. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  983. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  984. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  985. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  986. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  987. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  988. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  989. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  990. package/mobile/lib/components/CarouselCard/CarouselCard.js +3 -3
  991. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  992. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  993. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  994. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  995. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  996. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  997. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  998. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  999. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  1000. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  1001. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  1002. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  1003. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  1004. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  1005. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  1006. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  1007. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  1008. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  1009. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  1010. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  1011. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  1012. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1013. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1014. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  1015. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1016. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  1017. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1018. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  1019. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1020. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  1021. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1022. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  1023. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  1024. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  1025. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  1026. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  1027. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1028. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  1029. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1030. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  1031. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1032. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  1033. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  1034. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1035. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  1036. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  1037. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  1038. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  1039. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1040. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  1041. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  1042. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1043. package/mobile/lib/components/Header/Header.js +7 -2
  1044. package/mobile/lib/components/Header/Header.js.map +1 -1
  1045. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1046. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  1047. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1048. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  1049. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  1050. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1051. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1052. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  1053. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1054. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  1055. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  1056. package/mobile/lib/components/Headline/Headline.js +6 -5
  1057. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1058. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  1059. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  1060. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1061. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  1062. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  1063. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  1064. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  1065. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1066. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1067. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1068. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1069. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1070. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1071. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  1072. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1073. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1074. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1075. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1076. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1077. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1078. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1079. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1080. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1081. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1082. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1083. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1084. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1085. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1086. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1087. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1088. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1089. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1090. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1091. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1092. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1093. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1094. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1095. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1096. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1097. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1098. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1099. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1100. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1101. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1102. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1103. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1104. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1105. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1106. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1107. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1108. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1109. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1110. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1111. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1112. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1113. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1114. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1115. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1116. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1117. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1118. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1119. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1120. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  1121. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
  1122. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  1123. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  1124. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  1125. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  1126. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1127. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1128. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1129. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1130. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1131. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1132. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1133. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1134. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1135. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1136. package/mobile/lib/components/Tile/Tile.js +5 -10
  1137. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1138. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1139. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1140. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1141. package/mobile/lib/components/Video/Video.js +2 -4
  1142. package/mobile/lib/components/Video/Video.js.map +1 -1
  1143. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1144. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1145. package/mobile/lib/icons/IconName.d.ts +6 -4
  1146. package/mobile/lib/icons/IconName.js +2 -0
  1147. package/mobile/lib/icons/IconName.js.map +1 -1
  1148. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1149. package/mobile/lib/model/BlockVersion.js +1 -32
  1150. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1151. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1152. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1153. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1154. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1155. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1156. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1157. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1158. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1159. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1160. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1161. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1162. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1163. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1164. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1165. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1166. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1167. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1168. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1169. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1170. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1171. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1172. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1173. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1174. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1175. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1176. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1177. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1178. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1179. package/mobile/lib/ui-kit/List/List.js +1 -12
  1180. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1181. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1182. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1183. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1184. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1185. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1186. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1187. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1188. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1189. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  1190. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  1191. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1192. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  1193. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1194. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  1195. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  1196. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  1197. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  1198. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1199. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1200. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1201. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1202. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1203. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1204. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1205. package/mobile/lib/utils/getColSpan.js +1 -1
  1206. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1207. package/mobile/lib/utils/style.d.ts +3 -0
  1208. package/mobile/lib/utils/style.js +5 -0
  1209. package/mobile/lib/utils/style.js.map +1 -0
  1210. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1211. package/mobile/src/common.css +11 -0
  1212. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1213. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1214. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1215. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1216. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1217. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1218. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1219. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1220. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1221. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1222. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1223. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1224. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1225. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1226. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1227. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1228. package/mobile/src/components/Carousel/Carousel.ui.json +8 -0
  1229. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1230. package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -7
  1231. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1232. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1233. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1234. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1235. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1236. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1237. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
  1238. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1239. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1240. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
  1241. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
  1242. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
  1243. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1244. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1245. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1246. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1247. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1248. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1249. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1250. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1251. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1252. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1253. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1254. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1255. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1256. package/mobile/src/components/Header/Header.tsx +57 -48
  1257. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1258. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1259. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1260. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1261. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1262. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1263. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1264. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1265. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1266. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1267. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1268. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1269. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -0
  1270. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1271. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1272. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1273. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1274. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1275. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1276. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1277. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1278. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1279. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1280. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1281. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1282. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1283. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1284. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1285. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1286. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1287. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1288. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1289. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1290. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1291. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1292. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1293. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
  1294. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
  1295. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
  1296. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
  1297. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1298. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1299. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1300. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1301. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1302. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1303. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1304. package/mobile/src/components/Video/Video.tsx +17 -20
  1305. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1306. package/mobile/src/icons/IconName.ts +4 -4
  1307. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1308. package/mobile/src/model/BlockVersion.ts +11 -53
  1309. package/mobile/src/model/ButtonVersion.ts +3 -3
  1310. package/mobile/src/model/JSXBlock.ts +2 -0
  1311. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1312. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1313. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1314. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1315. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1316. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1317. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1318. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1319. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1320. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1321. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1322. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1323. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1324. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1325. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1326. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1327. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1328. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
  1329. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
  1330. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
  1331. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
  1332. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1333. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1334. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1335. package/mobile/src/utils/getColSpan.ts +2 -2
  1336. package/mobile/src/utils/style.ts +7 -0
  1337. package/package.json +2 -2
  1338. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1339. package/src/common.css +11 -0
  1340. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1341. package/src/components/Accordion/Accordion.tsx +1 -4
  1342. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1343. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1344. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1345. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1346. package/src/components/Blocks.ts +2 -0
  1347. package/src/components/Bonus/Bonus.tsx +19 -27
  1348. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1349. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1350. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1351. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1352. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1353. package/src/components/Calculator/Calculator.tsx +1 -4
  1354. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1355. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1356. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1357. package/src/components/Carousel/Carousel.example.json +2 -1
  1358. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1359. package/src/components/Carousel/Carousel.tsx +14 -3
  1360. package/src/components/Carousel/Carousel.ui.json +8 -0
  1361. package/src/components/Carousel/CarouselContent.ts +2 -0
  1362. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1363. package/src/components/CarouselCard/CarouselCard.tsx +15 -7
  1364. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1365. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1366. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1367. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1368. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1369. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1370. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
  1371. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1372. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1373. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
  1374. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +3 -3
  1375. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
  1376. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
  1377. package/src/components/Catalog/Catalog.tsx +1 -4
  1378. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1379. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1380. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1381. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1382. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1383. package/src/components/Footer/Footer.tsx +2 -2
  1384. package/src/components/Footer/MediaButton.tsx +27 -25
  1385. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1386. package/src/components/Footer/SocialMedia.tsx +4 -12
  1387. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1388. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1389. package/src/components/Gallery/Gallery.tsx +3 -1
  1390. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1391. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1392. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1393. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1394. package/src/components/Header/DropdownMenu.tsx +41 -47
  1395. package/src/components/Header/Header.mobile.tsx +57 -48
  1396. package/src/components/Header/Header.tsx +21 -17
  1397. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1398. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1399. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1400. package/src/components/Header/HeaderTop.tsx +2 -5
  1401. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1402. package/src/components/Headline/Headline.tsx +11 -11
  1403. package/src/components/Headline/HeadlineContent.ts +0 -2
  1404. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1405. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1406. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1407. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1408. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1409. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1410. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1411. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1412. package/src/components/LinkDocs/LinkDocsContent.ts +4 -0
  1413. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1414. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1415. package/src/components/LinkList/LinkList.tsx +1 -1
  1416. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1417. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1418. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1419. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1420. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1421. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1422. package/src/components/PictureText/PictureText.tsx +3 -14
  1423. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1424. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1425. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1426. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1427. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1428. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1429. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1430. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1431. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1432. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1433. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1434. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1435. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1436. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1437. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1438. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1439. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1440. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1441. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1442. package/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
  1443. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +27 -0
  1444. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
  1445. package/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
  1446. package/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
  1447. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1448. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1449. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1450. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1451. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1452. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1453. package/src/components/Tile/Tile.tsx +22 -42
  1454. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1455. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1456. package/src/components/Video/Video.tsx +17 -20
  1457. package/src/components/Video/getPaddings.ts +1 -1
  1458. package/src/icons/IconName.ts +336 -6
  1459. package/src/icons/YoutubeIcon.svg +3 -0
  1460. package/src/model/BlockVersion.ts +11 -53
  1461. package/src/model/ButtonVersion.ts +3 -3
  1462. package/src/model/JSXBlock.ts +2 -0
  1463. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1464. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1465. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1466. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1467. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1468. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1469. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1470. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1471. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1472. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1473. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1474. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1475. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1476. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1477. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1478. package/src/ui-kit/List/List.tsx +23 -43
  1479. package/src/ui-kit/List/ListItem.tsx +13 -22
  1480. package/src/ui-kit/List/ListProps.ts +0 -7
  1481. package/src/ui-kit/Location/Location.tsx +1 -1
  1482. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1483. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
  1484. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +6 -1
  1485. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
  1486. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
  1487. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
  1488. package/src/ui-kit/Text/Text.tsx +2 -4
  1489. package/src/ui-kit/Text/TextProps.ts +5 -2
  1490. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1491. package/src/utils/getColSpan.ts +2 -2
  1492. package/src/utils/style.ts +7 -0
  1493. package/tailwind.config.cjs +6 -0
  1494. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1495. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1496. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1497. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1498. package/bundle/model/BorderVersion.d.ts +0 -6
  1499. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1500. package/bundle/utils/style2className.d.ts +0 -1
  1501. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1502. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1503. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1504. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1505. package/dist/components/Headline/Headline.mobile.js +0 -13
  1506. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1507. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1508. package/dist/components/Headline/headlineStyles.js +0 -18
  1509. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1510. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1511. package/dist/components/StepsBlock/renderItems.js +0 -7
  1512. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1513. package/dist/model/BorderVersion.d.ts +0 -6
  1514. package/dist/model/BorderVersion.js +0 -7
  1515. package/dist/model/BorderVersion.js.map +0 -1
  1516. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1517. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1518. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1519. package/dist/utils/style2className.d.ts +0 -1
  1520. package/dist/utils/style2className.js +0 -7
  1521. package/dist/utils/style2className.js.map +0 -1
  1522. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1523. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1524. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1525. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1526. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1527. package/lib/components/Headline/Headline.mobile.js +0 -11
  1528. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1529. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1530. package/lib/components/Headline/headlineStyles.js +0 -16
  1531. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1532. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1533. package/lib/components/StepsBlock/renderItems.js +0 -4
  1534. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1535. package/lib/model/BorderVersion.d.ts +0 -6
  1536. package/lib/model/BorderVersion.js +0 -5
  1537. package/lib/model/BorderVersion.js.map +0 -1
  1538. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1539. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1540. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1541. package/lib/utils/style2className.d.ts +0 -1
  1542. package/lib/utils/style2className.js +0 -4
  1543. package/lib/utils/style2className.js.map +0 -1
  1544. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1545. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1546. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1547. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1548. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1549. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1550. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1551. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1552. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1553. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1554. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1555. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1556. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1557. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1558. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1559. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1560. package/mobile/dist/model/BorderVersion.js +0 -7
  1561. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1562. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1563. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1564. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1565. package/mobile/dist/utils/style2className.d.ts +0 -1
  1566. package/mobile/dist/utils/style2className.js +0 -7
  1567. package/mobile/dist/utils/style2className.js.map +0 -1
  1568. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1569. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1570. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1571. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1572. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1573. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1574. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1575. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1576. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1577. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1578. package/mobile/lib/model/BorderVersion.js +0 -5
  1579. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1580. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1581. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1582. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1583. package/mobile/lib/utils/style2className.d.ts +0 -1
  1584. package/mobile/lib/utils/style2className.js +0 -4
  1585. package/mobile/lib/utils/style2className.js.map +0 -1
  1586. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1587. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1588. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1589. package/mobile/src/model/BorderVersion.ts +0 -10
  1590. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1591. package/mobile/src/utils/style2className.ts +0 -3
  1592. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1593. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1594. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1595. package/src/components/Headline/headlineStyles.ts +0 -25
  1596. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1597. package/src/model/BorderVersion.ts +0 -10
  1598. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1599. package/src/utils/style2className.ts +0 -3
@@ -238,14 +238,15 @@
238
238
 
239
239
  const DEFAULT_SLOT_NAME = null;
240
240
 
241
- function style2className(style) {
242
- return style ? style.filter(Boolean).join(' ') : '';
243
- }
241
+ const style = (...atoms) => atoms
242
+ .flatMap((_) => _)
243
+ .filter(Boolean)
244
+ .join(' ');
244
245
 
245
246
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
246
247
 
247
248
  const DEFAULT_ANCESTORS = [];
248
- const DEFAULT_STYLE = ['col-span-12'];
249
+ const defaultStyle = 'col-span-12';
249
250
  function renderBlock(block, options) {
250
251
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', } = options;
251
252
  const { type } = block;
@@ -254,7 +255,8 @@
254
255
  }
255
256
  const BlockComponent = type && blocksRegistry[type];
256
257
  return blockDecorator({
257
- blockClassName: `scroll-mt-12 ${className} ${style2className(block.style || DEFAULT_STYLE)}`,
258
+ blockClassName: style('scroll-mt-12', // TODO scroll-mt-12 ? here?
259
+ className, block.style || defaultStyle),
258
260
  block,
259
261
  ancestors,
260
262
  // Adjusted by decorator block and blockClassName
@@ -393,7 +395,14 @@
393
395
  return ref;
394
396
  }
395
397
 
396
- const BlockWrapper = JSX(({ className, block, tag = 'section', role, children }) => {
398
+ const blockStyles = {
399
+ primary: 'bg-white text-primary-text',
400
+ secondary: 'bg-primary-main text-white',
401
+ gray: 'bg-main-divider text-primary-text',
402
+ transparent: 'bg-transparent text-primary-text',
403
+ '': '',
404
+ };
405
+ const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
397
406
  const Tag = tag;
398
407
  const ref = useBlockIntersectionObserver(block);
399
408
  const [isVisible, setVisible] = useState(true);
@@ -406,10 +415,10 @@
406
415
  setVisible(true);
407
416
  }
408
417
  }), [block]);
409
- return isVisible ? (jsx(Tag, { className: className, role: role, ...(block?.anchor ? { id: block.anchor, ref } : {}), children: children })) : null;
418
+ return isVisible ? (jsx(Tag, { className: style('group', blockStyles[version], className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children })) : null;
410
419
  });
411
420
 
412
- const HEADING_STYLE_MAP = {
421
+ const styles$4 = {
413
422
  h0: 'text-h0',
414
423
  h1: 'text-h1',
415
424
  h2: 'text-h2',
@@ -418,26 +427,23 @@
418
427
  h5: 'text-h5',
419
428
  h6: 'text-h6', // 20
420
429
  };
421
- const Heading = JSX((props) => {
422
- const { className = '', headingType = 'h3', title, as: Tag = 'h3' } = props;
423
- return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
424
- });
430
+ const Heading = JSX(({ className = '', headingType = 'h3', as: Tag = 'h3', title, children }) => (jsx(Tag, { className: `font-sans m-0 ${styles$4[headingType]} ${className}`, children: title || children })));
425
431
 
426
- const Paragraph = JSX(({ size, color, align, font, children }) => (jsx("p", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
432
+ const Paragraph = JSX(({ children, ...style }) => (jsx("p", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
427
433
 
428
434
  const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
429
435
 
430
- const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
436
+ const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
431
437
  Accordion.childrenTypes = ['AccordionItem'];
432
438
 
433
- const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
439
+ const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
434
440
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
435
441
  const onToggle = useCallback(() => {
436
442
  setIsUnfolded((_) => !_);
437
443
  }, []);
438
444
  const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
439
445
  const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
440
- return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
446
+ return isFoldButtonOnTop ? (jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
441
447
  });
442
448
 
443
449
  const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
@@ -461,17 +467,11 @@
461
467
  const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
462
468
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
463
469
  if (asSVG && iconVersion !== 'normal') {
464
- return (jsx(Background, { className: className, children: jsxs("svg", { className: [
465
- getSvgSize(className, imgProps.width),
466
- svgUseStyleMap[iconVersion],
467
- imageClassName,
468
- getInvertStyle(iconVersion),
469
- ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
470
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
470
471
  }
471
472
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
472
473
  });
473
- const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
474
- const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
474
+ const getSvgSize = (width) => (width ? '' : 'w-full h-full');
475
475
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
476
476
 
477
477
  const sourcesComparator = (a, b) => {
@@ -518,66 +518,21 @@
518
518
  return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
519
519
  });
520
520
 
521
- const Text = JSX(({ size, color, align, font, children }) => (jsx("span", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
521
+ const Text = JSX(({ children, ...style }) => (jsx("span", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
522
522
 
523
523
  const icons$1 = ['PlusIcon', 'MinusIcon'];
524
- const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton$1, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
524
+ const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
525
525
  AccordionItem.childrenTypes = [];
526
- const FoldButton$1 = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
526
+ const FoldButton = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
527
527
 
528
- const VersionStyleMap = {
529
- primary: 'bg-white text-primary-text',
530
- secondary: 'bg-primary-main text-white',
531
- };
532
- const VersionAdditionalStyleMap = {
533
- primary: 'text-secondary-text',
534
- secondary: 'text-white',
535
- };
536
- const VersionWithGrayStyleMap = {
537
- primary: 'bg-white text-primary-text',
538
- secondary: 'bg-primary-main text-white',
539
- gray: 'bg-main-divider text-primary-text',
540
- };
541
- const GapStyleMap = {
542
- XXL: 'gap-12',
543
- XL: 'gap-10',
544
- L: 'gap-8',
545
- M: 'gap-4',
546
- S: 'gap-2',
547
- XS: 'gap-1',
548
- '': '',
549
- };
550
- const LayoutBackgroundStyleMap = {
551
- transparent: '',
552
- primary: 'bg-white',
553
- secondary: 'bg-primary-main',
554
- };
555
-
556
- const getIconWithVersion = (icon, version = 'primary') => ({
557
- ...icon,
558
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
559
- });
560
-
561
- const benefitsTextStyleMap = {
562
- primary: '',
563
- secondary: 'text-white',
564
- };
565
- const benefitsDescriptionStyleMap = {
566
- primary: 'text-secondary-text',
567
- secondary: 'text-white opacity-80',
568
- };
569
- const benefitsIconStyleMap = {
570
- primary: 'bg-main-divider text-primary-main',
571
- secondary: 'bg-white/30 text-black',
572
- };
573
- const BenefitsBlock = JSX(({ className = '', title, benefitList, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${VersionStyleMap[version]}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
574
- const renderStep = (version) => (benefit, i) => {
528
+ const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
529
+ const renderStep = (benefit, i) => {
575
530
  const description = benefit.description;
576
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: getIconWithVersion(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? (jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription$5(description, version)] })] }, String(i)));
531
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$5(description)] })] }, String(i)));
577
532
  };
578
- const renderDescription$5 = (description, version) => {
533
+ const renderDescription$5 = (description) => {
579
534
  const benefitType = description?.benefitType || null;
580
- return description && benefitType ? (jsx("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`, children: benefitType === 'list'
535
+ return description && benefitType ? (jsx("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
581
536
  ? renderListBenefit(description)
582
537
  : renderTextBenefit(description) })) : null;
583
538
  };
@@ -697,6 +652,8 @@
697
652
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
698
653
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
699
654
  link: '',
655
+ transparent: '',
656
+ '': '',
700
657
  };
701
658
  const DisabledStyle = 'bg-main-divider text-main-disabled';
702
659
  const buttonDisabledStyleMap = {
@@ -704,13 +661,17 @@
704
661
  secondary: DisabledStyle,
705
662
  white: DisabledStyle,
706
663
  link: '',
664
+ transparent: '',
665
+ '': '',
707
666
  };
708
667
  const buttonStyle = 'text-center font-sans select-none';
709
668
  const iconStyleMap = {
710
- primary: 'group-hover:brightness-0 group-hover:invert',
711
- secondary: 'group-hover:brightness-0 group-hover:invert',
712
- white: 'group-hover:brightness-0 group-hover:invert',
669
+ primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
670
+ secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
671
+ white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
713
672
  link: '',
673
+ transparent: '',
674
+ '': '',
714
675
  };
715
676
 
716
677
  const ButtonInner = JSX((props) => {
@@ -724,7 +685,7 @@
724
685
  }
725
686
  const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
726
687
  return [
727
- 'group flex items-center justify-center',
688
+ 'group/btn flex items-center justify-center',
728
689
  isWithText(props) ? withTextStyle : 'h-12 w-12',
729
690
  rounded ? 'rounded-full' : '',
730
691
  ].join(' ');
@@ -756,37 +717,14 @@
756
717
  const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
757
718
  const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
758
719
 
759
- const ButtonSection = JSX(({ className = '', buttons }) => buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton({ button, index })) })) : null);
760
- function renderButton({ button, buttonClassName, index }) {
761
- const { icon, iconRight, version, text, ...rest } = button;
720
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
721
+ const renderButton = (buttonClassName = '') => (button, index) => {
722
+ const { text, icon, iconRight, version, ...rest } = button || {};
762
723
  const iconVersion = version === 'secondary' ? 'color' : 'white';
763
- const leftIcon = renderButtonIcon({ ...icon, iconVersion: iconVersion });
764
- const rightIcon = renderButtonIcon({ ...iconRight, iconVersion: iconVersion });
765
- return text ? (jsx(Button, { className: buttonClassName, appendLeft: leftIcon, appendRight: rightIcon, version: version, text: text, ...rest }, index ? String(index) : '')) : null;
766
- }
767
- const renderButtonIcon = (icon) => {
768
- if (!icon?.icon && !icon?.src) {
769
- return null;
770
- }
771
- const iconWidth = icon?.size?.width ? `${icon.size.width}` : '24';
772
- return jsx(ImgInner, { image: icon, width: iconWidth, height: "24", asSVG: true });
773
- };
774
-
775
- const headlineStyles = {
776
- transparent: {
777
- wrapper: 'bg-transparent',
778
- titleColor: 'text-primary-text',
779
- },
780
- primary: {
781
- wrapper: 'bg-white',
782
- titleColor: 'text-primary-text',
783
- },
784
- secondary: {
785
- wrapper: 'bg-primary-main',
786
- titleColor: 'text-white',
787
- descriptionColor: 'text-white/80',
788
- },
724
+ return text ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
789
725
  };
726
+ const DEFAULT_ICON_W = 24;
727
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
790
728
 
791
729
  const headlineVersionStyles = {
792
730
  XXL: {
@@ -832,20 +770,17 @@
832
770
  XS: 'text-xs-light',
833
771
  };
834
772
 
835
- const Headline = JSX(({ className = '', title, description, headlineVersion = 'XL', bgColorHeadline = 'transparent', align = 'text-center', as, ...rest }) => {
836
- const style = headlineStyles[bgColorHeadline];
837
- const specificStyle = headlineVersionStyles[headlineVersion];
838
- return (jsxs(BlockWrapper, { className: `flex flex-col p-12 ${specificStyle.wrapper} ${style.wrapper} ${className}`, ...rest, children: [title ? (jsx(Heading, { className: `whitespace-pre-wrap ${style.titleColor} ${align}`, ...specificStyle?.title, as: as || specificStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: style.descriptionColor || style.titleColor, size: specificStyle.descriptionSize, align: align, children: description })) : null] }));
773
+ const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, version = '', ...rest }) => {
774
+ const versionStyle = headlineVersionStyles[headlineVersion];
775
+ return (jsxs(BlockWrapper, { className: style('flex flex-col p-12', versionStyle.wrapper, className), version: version, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
839
776
  });
840
777
 
841
778
  const Bonus = JSX((props) => {
842
779
  const { className = '', title, description, bonusItems, ...rest } = props;
843
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
844
- ? bonusItems.map((_, i) => {
845
- return (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? jsx(ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
846
- ? renderBonusItemContent(_.bonusItemContent)
847
- : null] }) }, String(i)));
848
- })
780
+ return (jsx(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
781
+ ? bonusItems.map((_, i) => (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), renderButtonsSection(_?.buttons)] }), _.bonusItemContent?.bonusType
782
+ ? renderBonusItemContent(_.bonusItemContent)
783
+ : null] }) }, String(i))))
849
784
  : null })] }) }));
850
785
  });
851
786
  const renderBonusItemContent = (bonusItemContent) => (jsx("div", { children: bonusItemContent.bonusType === 'count'
@@ -854,7 +789,7 @@
854
789
  const renderBonusCount = (_) => (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
855
790
  const renderBonusImage = (_) => _.image ? jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
856
791
 
857
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
792
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
858
793
  const renderBonusBenefit = ({ icon, label, description }, i) => {
859
794
  return (jsxs("div", { className: "flex flex-col items-center text-h6", children: [description ? jsx("span", { children: description }) : null, icon ? jsx(ImgInner, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, jsx("div", { children: label ? jsx("span", { children: label }) : null })] }, String(i)));
860
795
  };
@@ -873,19 +808,16 @@
873
808
 
874
809
  const BusinessCard = JSX((props) => {
875
810
  const { title, image, cardItems, button } = props;
876
- return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
811
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
877
812
  });
878
813
  const renderItem = (item, key) => {
879
814
  const { icon, text } = item;
880
815
  return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
881
816
  };
882
817
 
883
- const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
818
+ const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
884
819
 
885
- const ButtonBlock = JSX((props) => {
886
- const { className, button, ...rest } = props;
887
- return (jsx(BlockWrapper, { className: className, ...rest, children: button ? renderButton({ button }) : null }));
888
- });
820
+ const ButtonBlock = JSX(({ button, ...rest }) => (jsx(BlockWrapper, { ...rest, children: renderButtonsSection([button]) })));
889
821
 
890
822
  const useCarouselControls = (props) => {
891
823
  const { itemCount, visibleItemCount, isCyclic } = props;
@@ -918,9 +850,9 @@
918
850
  return false;
919
851
  }
920
852
 
921
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
853
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
922
854
  ? 'bg-secondary-light text-secondary-text'
923
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
855
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
924
856
  const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
925
857
  const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
926
858
 
@@ -981,10 +913,6 @@
981
913
 
982
914
  const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-l-light text-secondary-text", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "gradient-color-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
983
915
 
984
- function renderButtonSection(buttons) {
985
- return buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
986
- }
987
-
988
916
  const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
989
917
 
990
918
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
@@ -1152,7 +1080,7 @@
1152
1080
  moneyValue: restExpenseValue,
1153
1081
  step: 500,
1154
1082
  isShowItems: false,
1155
- }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1083
+ }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1156
1084
  });
1157
1085
 
1158
1086
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
@@ -1168,7 +1096,7 @@
1168
1096
  },
1169
1097
  ];
1170
1098
  const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
1171
- return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
1099
+ return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover/box:border-primary-hover
1172
1100
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
1173
1101
  ${checked ? 'border-black' : 'border-gray'}
1174
1102
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
@@ -1250,7 +1178,7 @@
1250
1178
  monthsValue,
1251
1179
  };
1252
1180
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
1253
- return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1181
+ return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1254
1182
  });
1255
1183
 
1256
1184
  const useDepositCalculatorParams = (userInputParams, sourceBookDir) => {
@@ -1305,7 +1233,7 @@
1305
1233
  ...calculatorParams,
1306
1234
  }, handleMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
1307
1235
  ...calculatorParams,
1308
- }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1236
+ }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1309
1237
  });
1310
1238
 
1311
1239
  const EmbeddableCalcBlocks = {
@@ -1333,7 +1261,7 @@
1333
1261
  itemCount: calculatorTabs?.length,
1334
1262
  visibleItemCount: COLUMNS_FOR_SCROLL,
1335
1263
  });
1336
- return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1264
+ return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative w-100 ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1337
1265
  ? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
1338
1266
  : null, renderArrows({
1339
1267
  ...controls,
@@ -1437,7 +1365,7 @@
1437
1365
  ? getDisabledButtonClasses({ version: button?.version })
1438
1366
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1439
1367
  const link = useLink();
1440
- return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1368
+ return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1441
1369
  });
1442
1370
 
1443
1371
  const mapChildren = (mapper) => (children) => {
@@ -1458,7 +1386,7 @@
1458
1386
  });
1459
1387
 
1460
1388
  const childStyleMap = ['min-w-[100%]', 'min-w-[50%]', 'min-w-[33.33%]', 'min-w-[25%]'];
1461
- const SwipeListContainer = JSX(({ className = '', containerRef, activeIndex, visibleItemCount = 0, gap = 0, padding = 0, snapAlign = 'snap-center', children, onVisibleItemsChange, onVisibleIndicesChange, }) => {
1389
+ const SwipeListContainer = JSX(({ className = '', containerRef, activeIndex, visibleItemCount = 0, gap = 0, padding = 0, listType = 'horizontal-list', snapAlign = 'snap-center', children, onVisibleItemsChange, onVisibleIndicesChange, }) => {
1462
1390
  const observerOptions = {
1463
1391
  sensitivity: 1,
1464
1392
  rootRef: containerRef,
@@ -1472,10 +1400,12 @@
1472
1400
  onVisibleIndicesChange && onVisibleIndicesChange(getVisibleIndices(itemsVisibilityList));
1473
1401
  }, [onVisibleItemsChange, onVisibleIndicesChange]);
1474
1402
  const additionPadding = visibleItemCount > 0 ? gap * Number(visibleItemCount) - 1 : 0;
1475
- return (jsx("div", { className: `box-border overflow-auto flex horizontal-list no-scrollbar ${className}`, style: {
1476
- ...getContainerStyle(padding, additionPadding),
1477
- gap: `${gap}px`,
1478
- }, role: "list", ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: `${snapAlign} ${visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''}`, style: getContainerStyle(padding / 4), activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
1403
+ const isHorizontalList = listType === 'horizontal-list';
1404
+ const containerStyle = {
1405
+ ...(isHorizontalList ? getContainerStyle(padding, additionPadding) : {}),
1406
+ gap: `${gap}px`,
1407
+ };
1408
+ return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, role: "list", ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', listType === 'vertical-list' ? 'h-full' : ''), style: isHorizontalList ? getContainerStyle(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
1479
1409
  });
1480
1410
  // Styles used to compensate outer container padding to get rid of clipping effect
1481
1411
  const getContainerStyle = (padding, additionalPadding = 0) => ({
@@ -1557,16 +1487,16 @@
1557
1487
  };
1558
1488
 
1559
1489
  const ITEMS_GAP = 4;
1560
- const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
1490
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px] pointer-events-none';
1561
1491
  const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
1562
- const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
1492
+ const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, isPadding = true, ...rest }) => {
1563
1493
  const { blocks: childBlocks } = rest.block || {};
1564
1494
  const count = itemCount || childBlocks?.length || 0;
1565
1495
  const [containerRef, scroll] = useSwipeListScroll({
1566
1496
  itemCount: count,
1567
1497
  isCyclic,
1568
1498
  });
1569
- return (jsx(BlockWrapper, { className: `font-sans p-12 ${className}`, ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1499
+ return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1570
1500
  });
1571
1501
  Carousel.childrenTypes = [
1572
1502
  'CarouselCard',
@@ -1579,42 +1509,37 @@
1579
1509
  'CarouselInvestmentCard',
1580
1510
  ];
1581
1511
  const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
1512
+ const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
1582
1513
 
1583
1514
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
1584
1515
  const CARD_WIDTH_MAP = {
1585
- normal: 'min-w-[1007px]',
1516
+ normal: 'min-w-[970px]',
1586
1517
  mini: 'min-w-[355px]',
1587
1518
  };
1588
- const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), button ? jsx("div", { className: "mt-6", children: renderButton({ button }) }) : null] })] }) })));
1519
+ const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), renderButtonsSection([button], { className: 'mt-14' })] })] }) })));
1589
1520
 
1590
1521
  const cardStyleMap$2 = {
1591
1522
  black: 'bg-black',
1592
1523
  white: 'bg-white',
1593
1524
  };
1594
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1525
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${className}`, role: "listitem", ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1595
1526
  const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
1596
1527
 
1597
- const BorderVersionStyleMap = {
1598
- primary: 'border-gray',
1599
- secondary: 'border-white/50',
1600
- };
1601
-
1602
1528
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
1603
1529
 
1604
1530
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
1605
1531
  const cardColumnsModeStyleMap = {
1606
- 1: 'flex gap-y-2 flex-col',
1607
- 2: 'flex gap-y-2 gap-x-10 flex-wrap',
1532
+ 1: 'flex-col',
1533
+ 2: 'gap-x-10 flex-wrap',
1608
1534
  };
1609
- const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, version = 'primary', ...rest }) => {
1535
+ const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => {
1610
1536
  const tileTitle = title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1611
1537
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1612
1538
  return (jsx(BlockWrapper, { className: [
1613
- 'relative text-left border border-solid box-border p-9 w-[697px]',
1614
- VersionStyleMap[version],
1615
- BorderVersionStyleMap[version],
1539
+ 'relative box-border text-left p-9 w-[697px]',
1540
+ 'border border-solid border-gray group-data-secondary:border-white/50',
1616
1541
  className,
1617
- ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: VersionAdditionalStyleMap[version], children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1542
+ ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 flex gap-y-2 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1618
1543
  });
1619
1544
  const renderCardList = (cardsList, columnsMode) => {
1620
1545
  const CARDS_COUNT_MAP = [4, 9];
@@ -1624,45 +1549,33 @@
1624
1549
 
1625
1550
  const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
1626
1551
  text-l-light bg-white text-primary-text flex w-[316px]
1627
- justify-between items-center group-hover:text-primary-main z-10`;
1552
+ justify-between items-center group-hover/link:text-primary-main z-10`;
1628
1553
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
1629
1554
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
1630
1555
  if (!text) {
1631
1556
  return null;
1632
1557
  }
1633
- return (jsxs("div", { className: `relative group cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1558
+ return (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1634
1559
  });
1635
1560
 
1636
1561
  const MAX_LINKS_COUNT = 12;
1637
- const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
1638
- return (jsxs(BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { title: title, as: "h1", description: description, align: "text-left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1562
+ const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, version = 'secondary', ...rest }) => {
1563
+ return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, version: version, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1639
1564
  });
1640
1565
  const renderLinks = (links) => {
1641
1566
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
1642
- return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1567
+ return (jsx(Carousel, { version: "", className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1643
1568
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
1644
1569
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
1645
1570
  };
1646
1571
 
1647
- const LIST_DOT_STYLE_MAP = {
1648
- primary: 'bg-primary-text',
1649
- secondary: 'bg-white',
1650
- gray: 'bg-secondary-text',
1651
- };
1652
1572
  const DOT_SIZE_MAP = {
1653
1573
  L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
1654
1574
  M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
1655
1575
  S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
1656
1576
  };
1657
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
1658
- return (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] }));
1659
- });
1577
+ const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] })));
1660
1578
 
1661
- const TEXT_STYLE_MAP = {
1662
- primary: 'text-primary-text',
1663
- secondary: 'text-white',
1664
- gray: 'text-secondary-text',
1665
- };
1666
1579
  const TEXT_SIZE_MAP = {
1667
1580
  S: 'text-l-light',
1668
1581
  M: 'text-h6',
@@ -1673,35 +1586,24 @@
1673
1586
  M: 'ml-3',
1674
1587
  L: 'ml-4',
1675
1588
  };
1676
- const List = JSX((props) => {
1677
- const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
1678
- if (!items?.length) {
1679
- return null;
1680
- }
1681
- return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
1682
- });
1589
+ const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
1683
1590
 
1684
- const descriptionStyleMap = {
1685
- primary: 'text-secondary-text',
1686
- secondary: 'text-white/80',
1687
- };
1688
- const BORDER_STYLE = 'box-border border-solid border border-gray ';
1689
- const CarouselProductCard = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'center', }) => {
1690
- return (jsxs("section", { className: [
1691
- 'flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6',
1692
- BORDER_STYLE,
1693
- AlignText[align],
1694
- VersionStyleMap[version],
1695
- ].join(' '), role: "listitem", children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon, version), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$2(items, isDotted, version), renderAdditionalDescription$2(additionalDescription, version)] }), renderButton({ button, buttonClassName: 'mt-6' })] }));
1591
+ const CarouselProductCard = JSX(({ className = '', title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'text-center', ...rest }) => {
1592
+ return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6', 'box-border border-solid border border-gray', align, className), role: "listitem", version: version, ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$1(items, isDotted, version), renderAdditionalDescription$2(additionalDescription)] }), renderButtonsSection([button], { buttonClassName: 'mt-6 w-full' })] }));
1696
1593
  });
1697
- const renderImage$4 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
1594
+ const renderImage$4 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
1698
1595
  const renderCardTitle$1 = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
1699
1596
  const renderDescription$4 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
1700
- const renderAdditionalDescription$2 = (additionalDescription, version = 'primary') => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
1701
- const renderItems$2 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version })) : null;
1597
+ const renderAdditionalDescription$2 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
1598
+ const renderItems$1 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
1702
1599
 
1703
- const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-end", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
1704
- const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1600
+ const getIconWithVersion = (icon, version = 'primary') => ({
1601
+ ...icon,
1602
+ iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
1603
+ });
1604
+
1605
+ const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], ...rest }) => (jsxs(BlockWrapper, { className: `border border-gray flex min-w-[536px] ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) }) : null] })] })));
1606
+ const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1705
1607
 
1706
1608
  const ICONS_MAP = [
1707
1609
  {
@@ -1729,57 +1631,51 @@
1729
1631
  icon: { icon: 'PlayMarketIcon' },
1730
1632
  label: 'Google Play',
1731
1633
  },
1634
+ {
1635
+ origins: ['youtube.com'],
1636
+ icon: { icon: 'YoutubeIcon' },
1637
+ label: 'Youtube',
1638
+ },
1732
1639
  ];
1733
- const BUTTON_SIZE = {
1734
- default: ' w-14 h-14',
1735
- small: ' w-12 h-12',
1640
+ const buttonSizeStyles = {
1641
+ default: 'w-14 h-14',
1642
+ small: 'w-12 h-12',
1736
1643
  };
1737
- const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
1644
+ const MediaButton = JSX(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
1738
1645
  const link = useLink();
1739
1646
  const { href, onClick } = link(rest);
1740
1647
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1741
- if (!icon) {
1742
- return null;
1743
- }
1744
- const classes = version === 'secondary'
1745
- ? 'bg-white hover:bg-secondary-hover'
1746
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
1747
- const isPrimary = version === 'primary' ? 'hover:text-black' : '';
1748
- const rounded = isRounded ? 'rounded-full' : 'rounded-md';
1749
- return (jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1648
+ const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
1649
+ return icon ? (jsx("a", { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], isRounded ? 'rounded-full' : 'rounded-md', 'border-solid border border-main-divider hover:border-transparent', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white group-data-secondary:hover:bg-secondary-hover'), href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: iconWithVersion ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
1750
1650
  });
1751
1651
 
1752
- const SocialMedia = JSX(({ className = '', media, version, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1652
+ const SocialMedia = JSX(({ className = '', media, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1753
1653
 
1754
- const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
1654
+ const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, ...rest }) => {
1755
1655
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1756
1656
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1757
- return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
1758
- ${BorderVersionStyleMap[getOmitVersion(version)]}
1759
- ${VersionWithGrayStyleMap[version]}
1760
- ${className}`, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
1657
+ const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
1658
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, renderButtonsSection([button], { className: 'pt-2 mt-16' })] }) }) }));
1761
1659
  });
1762
- const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
1763
-
1764
- const VISIBLE_ROWS_COUNT = 1;
1765
- const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, rows = [], ...rest }) => {
1766
- const rowsNode = rows.map(renderCardInfo);
1767
- const visibleRows = rowsNode.slice(0, VISIBLE_ROWS_COUNT);
1768
- const hiddenRows = rowsNode.slice(VISIBLE_ROWS_COUNT);
1769
- return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8
1770
- ${getHitStyle(isHighlighting)}
1771
- ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, rows.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton$1 : null })) : null] }));
1660
+
1661
+ const VISIBLE_CELLS_COUNT = 1;
1662
+ const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
1663
+ const cellsNode = cardCells.map(renderCardInfo);
1664
+ const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
1665
+ const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
1666
+ return (jsxs(BlockWrapper, { className: style('relative border border-gray min-w-[322px] p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
1772
1667
  });
1773
- const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-9';
1668
+ const renderIconBlock = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
1669
+ const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-7';
1774
1670
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
1775
1671
  const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
1776
- const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx("div", { className: "text-center", children: "\u0425\u0438\u0442" })] }));
1672
+ const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
1777
1673
 
1778
1674
  const cardStyleMap$1 = {
1779
1675
  black: 'bg-black',
1780
1676
  white: 'bg-white',
1781
1677
  };
1782
- const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1678
+ const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1783
1679
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
1784
1680
 
1785
1681
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
@@ -1790,7 +1686,7 @@
1790
1686
  itemCount: cards?.length,
1791
1687
  visibleItemCount: CARD_VIEW_COUNT$1,
1792
1688
  });
1793
- return (jsxs(BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1689
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1794
1690
  ...controls,
1795
1691
  btnClass: ['left-8', 'right-8'],
1796
1692
  className: 'top-1/2 z-10 mt-6',
@@ -1798,13 +1694,13 @@
1798
1694
  });
1799
1695
 
1800
1696
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
1801
- const BORDER_CLASSES$1 = 'border-gray border-solid border';
1697
+ const BORDER_CLASSES = 'border-gray border-solid border';
1802
1698
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
1803
1699
  const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
1804
1700
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
1805
1701
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
1806
1702
 
1807
- const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES$1} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1703
+ const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1808
1704
 
1809
1705
  const carouselContainerClassesMap = {
1810
1706
  comparison: 'flex gap-4 duration-1000',
@@ -1817,7 +1713,7 @@
1817
1713
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeIndex }) => (jsxs(TableRowContainer, { children: [jsx("div", { className: FIRST_CELL_CLASSES$1, role: "columnheader" }), jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$2, children: colHeaders.map((header, i) => (jsx(HeaderCell, { ...header }, String(i)))) })] })));
1818
1714
 
1819
1715
  const TableCell = JSX(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
1820
- const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES$1} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1716
+ const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1821
1717
  const cellClasses = `mx-7 h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
1822
1718
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner$1(item, i, isFillGradient)) }) }));
1823
1719
  });
@@ -1860,15 +1756,15 @@
1860
1756
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
1861
1757
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
1862
1758
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
1863
- return (jsxs(BlockWrapper, { className: `bg-white font-sans py-12 pl-12 overflow-hidden text-primary-text relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1759
+ return (jsxs(BlockWrapper, { className: `py-12 pl-12 overflow-hidden relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1864
1760
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
1865
1761
  : null] }));
1866
1762
  });
1867
1763
  const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1868
1764
 
1869
- const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `${VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
1870
- const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
1871
- const renderBlocksColumn = ({ column, index, version }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left", bgColorHeadline: version }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1765
+ const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `flex p-12 ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
1766
+ const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
1767
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1872
1768
 
1873
1769
  const renderErrorContent = (error) => {
1874
1770
  if (error?.errorContentType === 'Image' && error?.image) {
@@ -1970,7 +1866,7 @@
1970
1866
  setSelectedItem(value || { key: '', text: '' });
1971
1867
  }, [value]);
1972
1868
  return (jsxs("div", { className: `${className}`, ref: wrapperRef, children: [label ? jsx("span", { className: "mb-2 flex text-primary-text", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
1973
- ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
1869
+ ${getBorderStyle$1(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
1974
1870
  });
1975
1871
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
1976
1872
  const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
@@ -1978,7 +1874,7 @@
1978
1874
  choiceOption(option);
1979
1875
  }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
1980
1876
  };
1981
- const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1877
+ const getBorderStyle$1 = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1982
1878
 
1983
1879
  function renderInput(props) {
1984
1880
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
@@ -2093,7 +1989,7 @@
2093
1989
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2094
1990
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2095
1991
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2096
- return (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
1992
+ return (jsx(BlockWrapper, { className: `p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2097
1993
  });
2098
1994
  const getCurrencyRates = (currencies) => {
2099
1995
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2216,10 +2112,10 @@
2216
2112
  const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-5", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-2.5", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
2217
2113
 
2218
2114
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
2219
- const Footer = JSX(({ className, ...rest }) => {
2115
+ const Footer = JSX(({ className = '', ...rest }) => {
2220
2116
  const fallback = rest.options?.page?.fallback;
2221
2117
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
2222
- return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 bg-white font-sans ${className || ''}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2118
+ return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 ${className}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2223
2119
  });
2224
2120
 
2225
2121
  const galleryLengthForScrollMap = {
@@ -2235,40 +2131,38 @@
2235
2131
  mini: 276,
2236
2132
  };
2237
2133
 
2238
- const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => (jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems$1(items, isDotted, version) : null, renderAdditionalDescription$1(additionalDescription, version)] }), button?.text
2239
- ? renderButton({
2240
- button,
2241
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
2242
- })
2243
- : null] })));
2244
- const renderImage$2 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
2134
+ const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2135
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
2136
+ })] })));
2137
+ const renderImage$2 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
2245
2138
  const renderCardTitle = (headlineSmallVersion, title) => title ? jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2246
2139
  const renderDescription$3 = (description, title) => description ? jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
2247
- const renderAdditionalDescription$1 = (additionalDescription, version) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
2248
- const renderItems$1 = (items, isDotted, version = 'primary') => (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
2140
+ const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
2141
+ const renderItems = (items, isDotted) => (jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
2249
2142
 
2250
- const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
2251
- function renderCard({ card, version }, i) {
2143
+ const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (jsxs("div", { children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
2144
+ function renderCard({ card, galleryVersion }, i) {
2252
2145
  return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
2253
- items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2146
+ items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
2147
+ } w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2254
2148
  }
2255
2149
 
2256
- const GalleryInner = JSX(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
2150
+ const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
2257
2151
  const [activeIndex, controls] = useCarouselControls({
2258
2152
  itemCount: cards?.length,
2259
- visibleItemCount: galleryLengthForScrollMap[version],
2153
+ visibleItemCount: galleryLengthForScrollMap[galleryVersion],
2260
2154
  });
2261
2155
  const { isScrollAvailable } = controls;
2262
- return (jsxs(BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), renderArrows({
2156
+ return (jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
2263
2157
  ...controls,
2264
2158
  btnClass: ['left-8', 'right-8'],
2265
2159
  className: 'top-1/2',
2266
- }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? renderButton({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
2160
+ }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
2267
2161
  });
2268
2162
 
2269
- const Gallery = JSX((props) => jsx(GalleryInner, { ...props, version: "normal" }));
2163
+ const Gallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "normal" })));
2270
2164
 
2271
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
2165
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
2272
2166
  const renderCalendar = (calendar) => {
2273
2167
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
2274
2168
  const colSize = 100 / colCount;
@@ -2302,27 +2196,17 @@
2302
2196
  checkIsHrefSameOrigin(topItem.href, router) ||
2303
2197
  Boolean(projectSettings.BASE_PATH?.startsWith(topItem.href || '/'));
2304
2198
 
2305
- const TEXT_CLASSES$2 = 'font-sans text-s-light';
2306
- const LINK_CLASSES$1 = 'inline-block border border-solid bg-transparent text-center no-underline';
2307
- const TopItem = JSX(({ className = '', active, flat, ariaLabel, bgColor = 'bg-white', children, ...rest }) => {
2199
+ const TopItem = JSX(({ className = '', active, flat, ariaLabel, children, ...rest }) => {
2308
2200
  const link = useLink();
2309
2201
  const { href, target, text, onClick } = link(rest);
2310
- return (jsx("a", { className: `${getLinkClasses(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextClasses$1(bgColor, active, flat), children: text || children }) }));
2202
+ return (jsx("a", { className: `${getLinkStyle(active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextStyle$1(active, flat), children: text || children }) }));
2311
2203
  });
2312
- const getLinkClasses = (bgColor, active = false, flat = false) => {
2313
- let classes = 'border-transparent';
2314
- if (active) {
2315
- classes = `rounded-md ${bgColor === 'bg-white' ? 'border-primary-main' : 'border-white'}`;
2316
- }
2317
- return `${classes} ${LINK_CLASSES$1} ${flat ? '' : 'px-4 py-2'}`;
2318
- };
2319
- const getTextClasses$1 = (bgColor, active = false, flat = false) => {
2320
- if (bgColor === 'transparent') {
2321
- return `text-white hover:text-primary-hover ${TEXT_CLASSES$2}`;
2322
- }
2323
- const nonActiveAtoms = `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
2324
- return `${active ? 'text-primary-main' : nonActiveAtoms} ${TEXT_CLASSES$2}`;
2325
- };
2204
+ const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
2205
+ ? 'rounded-md border-primary-main group-data-transparent:border-white'
2206
+ : 'border-transparent', flat ? '' : 'px-4 py-2');
2207
+ const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s-light', active
2208
+ ? 'text-primary-main'
2209
+ : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2326
2210
 
2327
2211
  const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
2328
2212
  function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
@@ -2416,7 +2300,7 @@
2416
2300
  onChangeLocation && onChangeLocation(region);
2417
2301
  close && close();
2418
2302
  }, children: region.name || '' }) }, region.id));
2419
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2303
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2420
2304
  const ForeignOffice = JSX(({ icon, ...rest }) => {
2421
2305
  const link = useLink();
2422
2306
  const { text, target, href, onClick } = link(rest);
@@ -2425,28 +2309,17 @@
2425
2309
 
2426
2310
  const HeaderSecondaryMenuButton = JSX(({ className = '', children, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 p-0 w-6 h-6 flex items-center bg-inherit cursor-pointer ${className}`, disabled: true, "aria-label": ariaLabel, children: children })));
2427
2311
 
2428
- const COLORS_MAP = {
2429
- 'bg-white': 'text-primary-text hover:text-primary-main',
2430
- transparent: 'text-white',
2431
- };
2432
- const LINKS_COLORS_MAP = {
2433
- 'bg-white': 'text-secondary-light hover:text-secondary-hover',
2434
- transparent: 'text-white',
2435
- };
2436
- const LINKS_ICON_VERSION_MAP = {
2437
- 'bg-white': 'black',
2438
- transparent: 'white',
2439
- };
2440
- const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', foreignOffices, bgColor = 'bg-white', }) => {
2312
+ const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
2441
2313
  const [isShowLocationModal, setShowLocationModal] = useState(false);
2442
2314
  const [location, onChangeLocation] = useLocation(defaultLocation);
2443
- const showLocationModal = () => {
2315
+ const showLocationModal = useCallback(() => {
2444
2316
  setShowLocationModal(true);
2445
- };
2446
- const hideLocationModal = () => {
2317
+ }, []);
2318
+ const hideLocationModal = useCallback(() => {
2447
2319
  setShowLocationModal(false);
2448
- };
2449
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal, bgColor: bgColor }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor })) : null, jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-8 min-h-8`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2320
+ }, []);
2321
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
2322
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432" })) : null, jsx(HeaderSecondaryMenuButton, { className: "mr-5 group/btn text-primary-text hover:text-primary-main group-data-transparent:text-white", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion }, className: "h-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: "group/btn min-w-8 min-h-8 text-secondary-light hover:text-secondary-hover group-data-transparent:text-white", ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0", asSVG: true }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2450
2323
  });
2451
2324
 
2452
2325
  const findActiveSubItem = (router) => (items = []) => {
@@ -2456,42 +2329,26 @@
2456
2329
  : undefined;
2457
2330
  };
2458
2331
 
2459
- const DOT_BG_COLORS_MAP = {
2460
- 'bg-white': 'bg-primary-text',
2461
- transparent: 'bg-white',
2462
- };
2463
- const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
2332
+ const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
2464
2333
  const link = useLink();
2465
2334
  const [visible, setVisible] = useState(false);
2466
2335
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
2467
2336
  const handleClickOutside = useCallback(() => setVisible(false), []);
2468
2337
  const ref = useOutsideClick(handleClickOutside);
2469
- return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2338
+ return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
2339
+ .fill(null)
2340
+ .map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2470
2341
  });
2471
- const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
2472
2342
 
2473
- const TEXT_CLASSES$1 = 'font-sans text-l-light';
2474
- const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-0.5';
2475
- const HeaderItem = JSX(({ className = '', active, bgColor = 'bg-white', dataItemName, children, ...rest }) => {
2343
+ const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
2476
2344
  const link = useLink();
2477
2345
  const { href, target, text, onClick } = link(rest);
2478
- return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
2346
+ return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? jsx("div", { className: getBorderStyle(active) }) : null] }));
2479
2347
  });
2480
- const getTextClasses = (bgColor, active = false) => {
2481
- let classes = 'text-white';
2482
- if (bgColor === 'bg-white') {
2483
- classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
2484
- }
2485
- return `${classes} ${TEXT_CLASSES$1}`;
2486
- };
2487
- const getBorderClasses = (bgColor, active = false) => {
2488
- if (!active) {
2489
- return BORDER_CLASSES;
2490
- }
2491
- return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
2492
- };
2348
+ const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2349
+ const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
2493
2350
 
2494
- const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2351
+ const HeaderSubMenuItem = JSX(({ className, active, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2495
2352
  const observerCallback = useCallback((entries) => {
2496
2353
  if (!entries.length || !onVisibilityChange) {
2497
2354
  return;
@@ -2501,10 +2358,10 @@
2501
2358
  onVisibilityChange(entry.isIntersecting);
2502
2359
  }, [onVisibilityChange]);
2503
2360
  const ref = useIntersectionObserver(observerCallback, observerOptions);
2504
- return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...linkProps, children: children }) }));
2361
+ return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, ...linkProps, children: children }) }));
2505
2362
  });
2506
2363
 
2507
- const HeaderSubMenu = JSX(({ subItems = [], bgColor }) => {
2364
+ const HeaderSubMenu = JSX(({ subItems = [] }) => {
2508
2365
  const router = useRouter();
2509
2366
  const activeSubItem = findActiveSubItem(router)(subItems);
2510
2367
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
@@ -2516,35 +2373,34 @@
2516
2373
  ? handleIntersectionActivation(index)
2517
2374
  : handleIntersectionDeactivation(index));
2518
2375
  }), [subItems]);
2519
- return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, bgColor: bgColor, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem, bgColor: bgColor })) : null] }));
2376
+ return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null] }));
2520
2377
  });
2521
2378
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
2522
2379
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
2523
2380
 
2524
- const BORDER_COLORS = {
2525
- 'bg-white': 'bg-main-divider',
2526
- transparent: 'bg-main-divider opacity-30',
2381
+ const BG_COLOR_TO_BLOCK_VERSION = {
2382
+ 'bg-white': 'primary',
2383
+ transparent: 'transparent',
2527
2384
  };
2528
- const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
2385
+ const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
2529
2386
  const router = useRouter();
2530
2387
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2531
2388
  const activeTopItem = topItems?.find(isTopItemActive(router));
2532
- const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
2533
- return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2389
+ const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, ..._ }, String(i))));
2390
+ return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), jsx("div", { className: `mt-6 h-px bg-main-divider${version === 'transparent' ? ' opacity-30' : ''}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
2534
2391
  });
2535
2392
 
2536
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', options, ...rest }) => {
2537
- const paddingStyle = isPadding ? 'p-12' : '';
2538
- return (jsx(BlockWrapper, { className: [
2539
- 'grid grid-cols-12',
2540
- paddingStyle,
2541
- GapStyleMap[gap],
2542
- LayoutBackgroundStyleMap[version],
2543
- className,
2544
- ]
2545
- .filter(Boolean)
2546
- .join(' '), ...rest, children: renderChildren({ ...rest, options: options }) }));
2547
- });
2393
+ const gapStyles = {
2394
+ XXL: 'gap-12',
2395
+ XL: 'gap-10',
2396
+ L: 'gap-8',
2397
+ M: 'gap-4',
2398
+ S: 'gap-2',
2399
+ XS: 'gap-1',
2400
+ '': '',
2401
+ };
2402
+
2403
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', ...rest }) => (jsx(BlockWrapper, { className: style('grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, ...rest, children: renderChildren(rest) })));
2548
2404
  HorizontalLayout.childrenTypes = {
2549
2405
  exclude: ['HorizontalLayout'],
2550
2406
  };
@@ -2604,7 +2460,7 @@
2604
2460
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
2605
2461
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
2606
2462
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
2607
- return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2463
+ return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative w-100 ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2608
2464
  title: item?.title,
2609
2465
  i,
2610
2466
  isActive: Boolean(i === activeSlideIndex),
@@ -2648,7 +2504,7 @@
2648
2504
  if (investmentZeroColumn) {
2649
2505
  colums.unshift(investmentZeroColumn);
2650
2506
  }
2651
- return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2507
+ return (jsx(BlockWrapper, { className: `px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2652
2508
  });
2653
2509
  const renderInvestmentColumn = (column, i, arr) => {
2654
2510
  const isSecondColumn = i === 1;
@@ -2689,23 +2545,23 @@
2689
2545
  return index !== -1 ? href.substring(index + 1) : '';
2690
2546
  };
2691
2547
 
2692
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
2548
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover/item:text-primary-main", doc: doc, icon: icon })));
2693
2549
 
2694
2550
  const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
2695
- return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
2551
+ return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
2696
2552
  });
2697
2553
 
2698
2554
  const linkColumnsModeStyleMap = {
2699
2555
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
2700
2556
  single: 'flex gap-3.5 flex-col',
2701
2557
  };
2702
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 bg-white ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2558
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2703
2559
 
2704
- const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, version: "mini" })));
2560
+ const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "mini" })));
2705
2561
 
2706
2562
  const getColSpan = (className) => {
2707
2563
  const colSpanPrefix = 'col-span-';
2708
- const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2564
+ const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2709
2565
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
2710
2566
  };
2711
2567
 
@@ -2723,17 +2579,14 @@
2723
2579
  }
2724
2580
 
2725
2581
  const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
2726
- const textColorClass = version === 'primary' ? 'text-primary-text' : '';
2727
2582
  const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
2728
- const buttonsWithClass = buttons?.map((_) => ({ ..._, className: 'min-w-[168px]' }));
2729
- return (jsxs(BlockWrapper, { className: `flex justify-between font-sans p-12 box-border relative min-h-80
2730
- ${getTileMinHeight(className)}
2731
- ${VersionStyleMap[version]}
2732
- ${className}`, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full
2733
- ${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttonsWithClass, className: "flex gap-4 mt-8", ...rest })) : null, children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList$1(version, items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2583
+ return (jsxs(BlockWrapper, { className: `flex justify-between p-12 box-border relative min-h-80 ${getTileMinHeight(className)} ${className}`, version: version, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full ${AlignText[alignTitle]}` })) : null, buttons: renderButtonsSection(buttons, {
2584
+ className: 'mt-8',
2585
+ buttonClassName: 'min-w-[168px]',
2586
+ }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList(items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2734
2587
  });
2735
- const renderList$1 = (version, items) => {
2736
- return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2588
+ const renderList = (items) => {
2589
+ return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2737
2590
  };
2738
2591
  const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
2739
2592
 
@@ -3139,7 +2992,7 @@
3139
2992
  return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", asSVG: true, className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
3140
2993
  });
3141
2994
 
3142
- const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
2995
+ const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
3143
2996
  const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: getIconWithVersion(itemList.icon) })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
3144
2997
 
3145
2998
  const OtherProducts = JSX(({ className = '', ...rest }) => (jsx(BlockWrapper, { className: `font-sans text-primary-text ${className}`, ...rest, children: renderChildren(rest) })));
@@ -3180,24 +3033,13 @@
3180
3033
  });
3181
3034
  OtherProductsItem.childrenTypes = []; // All types of blocks are suitable
3182
3035
 
3183
- const ParagraphBlock = JSX((props) => {
3184
- const { className, text, size, color, align, font, ...rest } = props;
3185
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsx(Paragraph, { size: size, color: color, align: align, font: font, children: text }) }));
3186
- });
3036
+ const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
3187
3037
 
3188
- const titleStyleMap = {
3189
- primary: 'text-primary-text',
3190
- secondary: 'text-white',
3191
- };
3192
- const descStyleMap = {
3193
- primary: 'text-secondary-text',
3194
- secondary: 'text-white',
3195
- };
3196
3038
  const BenefitItem = JSX((props) => {
3197
3039
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
3198
3040
  const listItemAlign = description ? 'items-start' : 'items-center';
3199
3041
  const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
3200
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
3042
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
3201
3043
  });
3202
3044
  function getBenefitIconBgStyle(version, benefitsVersion) {
3203
3045
  let bgColorStyle = 'bg-primary-main text-black';
@@ -3210,7 +3052,7 @@
3210
3052
  return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
3211
3053
  }
3212
3054
 
3213
- const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, ...rest }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3055
+ const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3214
3056
  const renderBenefit$2 = (version) => (benefit, i) => (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
3215
3057
  function renderInsuranceSumMonth(sum, monthLimit) {
3216
3058
  return sum || monthLimit ? (jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
@@ -3250,7 +3092,7 @@
3250
3092
 
3251
3093
  const GOLDEN_RATIO = 1.618;
3252
3094
  const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
3253
- return (jsxs(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className), ...rest }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3095
+ return (jsxs(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className) }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3254
3096
  });
3255
3097
  const renderShimmer = (size = 3) => goldenSequence(100, size)
3256
3098
  .map((_) => Math.floor(_))
@@ -3266,10 +3108,10 @@
3266
3108
 
3267
3109
  const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
3268
3110
 
3269
- const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
3111
+ const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
3270
3112
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
3271
3113
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
3272
- return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "text-left", ...rest }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3114
+ return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3273
3115
  });
3274
3116
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
3275
3117
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -3283,68 +3125,50 @@
3283
3125
  return (jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
3284
3126
  }
3285
3127
 
3286
- const breadcrumbsStyleMap = {
3287
- primary: 'text-secondary-text',
3288
- secondary: 'text-white/80',
3289
- };
3128
+ const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
3290
3129
  const ProductBlock = JSX((props) => {
3291
3130
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
3292
3131
  const buttonVersion = version === 'primary' ? version : 'white';
3293
- return (jsxs(BlockWrapper, { className: `font-sans overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [backwardButton?.text
3132
+ return (jsxs(BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
3294
3133
  ? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
3295
- : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbsStyleMap[version], ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3134
+ : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3296
3135
  });
3297
3136
 
3298
- const productBlockStyleMap = {
3299
- primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
3300
- secondary: { title: 'text-white', text: 'text-white/80' },
3301
- };
3302
3137
  const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
3303
3138
  const galleryNav = slides.map((s) => s.nav);
3304
3139
  const galleryBlocks = slides.map((s) => s.productBlock);
3305
3140
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3306
3141
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3307
- return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative font-sans w-100 mb-6 ${className}
3308
- ${VersionStyleMap[version]}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3142
+ return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3309
3143
  slide,
3310
3144
  i,
3311
3145
  isActive: Boolean(i === activeSlideIndex),
3312
3146
  onClick: () => handleActiveSlideIndex(i),
3313
- version,
3314
3147
  })) })] }));
3315
3148
  });
3316
3149
  function renderProductBlock(block, i) {
3317
- const { version } = block;
3318
- const additionalClass = version ? productBlockStyleMap[version].title : '';
3319
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: `pl-12 z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3150
+ return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3320
3151
  }
3321
- function renderNavButton({ slide, i, isActive, onClick, version }) {
3152
+ function renderNavButton({ slide, i, isActive, onClick }) {
3322
3153
  const btnClassName = isActive
3323
3154
  ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
3324
- : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
3325
- ${VersionStyleMap[version]}`;
3155
+ : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
3326
3156
  const btnTitleClassName = isActive
3327
3157
  ? 'text-primary-text !text-h6 p-2'
3328
- : `text-l pb-1 ${productBlockStyleMap[version].title}`;
3158
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
3329
3159
  const btnDescClassName = isActive
3330
3160
  ? 'text-secondary-text text-l-light'
3331
- : `text-m-light ${productBlockStyleMap[version].text}`;
3332
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
3333
- ${btnClassName} ${BorderVersionStyleMap[version]}
3334
- `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3161
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
3162
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3335
3163
  }
3336
3164
 
3337
- const DESCRIPTION_STYLE_MAP = {
3338
- primary: 'text-secondary-text',
3339
- secondary: 'text-white',
3340
- };
3341
- function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
3165
+ function renderAdditionalDescription(additionalDescription, image) {
3342
3166
  if (!additionalDescription) {
3343
3167
  return null;
3344
3168
  }
3345
3169
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3346
3170
  const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3347
- return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: DESCRIPTION_STYLE_MAP[version], children: additionalDescription }) }));
3171
+ return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription }) }));
3348
3172
  }
3349
3173
 
3350
3174
  const RichText = JSX((props) => {
@@ -3356,11 +3180,7 @@
3356
3180
  throw new Error(x);
3357
3181
  }
3358
3182
 
3359
- const LABEL_STYLE_MAP = {
3360
- primary: 'text-secondary-text',
3361
- secondary: 'text-white',
3362
- };
3363
- const renderBenefit = (version = 'primary') =>
3183
+ const renderBenefit =
3364
3184
  // Linter doesn't understand that switch processes all cases
3365
3185
  // eslint-disable-next-line consistent-return
3366
3186
  (benefit, i) => {
@@ -3372,7 +3192,7 @@
3372
3192
  case 'default':
3373
3193
  return [
3374
3194
  jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
3375
- jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
3195
+ jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
3376
3196
  ];
3377
3197
  case 'rte':
3378
3198
  return jsx(RichText, { __html: benefit.__html });
@@ -3388,19 +3208,18 @@
3388
3208
  return (jsx(ImgInner, { className: `absolute ${isImageOnRightSide ? 'right-0' : 'left-0'} bottom-0`, image: image }));
3389
3209
  }
3390
3210
 
3391
- const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative min-h-[364px]
3392
- ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "text-left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage$1(image, isImageOnRightSide)] })));
3393
- function renderBenefits(benefits, version, image) {
3211
+ const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px]', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image), renderButtonsSection(buttons, { className: 'mt-5 z-10 text-l' })] }), renderImage$1(image, isImageOnRightSide)] })));
3212
+ function renderBenefits(benefits, image) {
3394
3213
  if (!benefits.length) {
3395
3214
  return null;
3396
3215
  }
3397
3216
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3398
3217
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3399
3218
  return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
3400
- ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
3219
+ ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
3401
3220
  }
3402
3221
 
3403
- const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "text-left", as: "h2", ...rest })) : null, buttons: buttons?.length ? jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3222
+ const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: getTileHeadingType(className), align: "text-left", as: as || 'h2' })) : null, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3404
3223
  function formatDate(date) {
3405
3224
  const dateObj = new Date(date);
3406
3225
  const dateFormat = {
@@ -3411,10 +3230,10 @@
3411
3230
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
3412
3231
  }
3413
3232
 
3414
- const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
3233
+ const RecommendationCard = JSX(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
3415
3234
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
3416
3235
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
3417
- return (jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButton({ button, buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3236
+ return (jsx(BlockWrapper, { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButtonsSection([button], { buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3418
3237
  });
3419
3238
 
3420
3239
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -3425,8 +3244,8 @@
3425
3244
  itemCount: recommendations.length,
3426
3245
  visibleItemCount: CARD_VIEW_COUNT,
3427
3246
  });
3428
- return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3429
- ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
3247
+ return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${className}`, version: version, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3248
+ ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
3430
3249
  : null }), renderArrows({
3431
3250
  ...controls,
3432
3251
  btnClass: ['left-8', 'right-8'],
@@ -3439,24 +3258,15 @@
3439
3258
  return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html }) }));
3440
3259
  });
3441
3260
 
3442
- const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
3261
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `border-b border-solid border-main-divider w-full ${className}`, tag: "div", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
3443
3262
  RollupItem.childrenTypes = {
3444
- exclude: [
3445
- 'RollupItem',
3446
- 'Accordion',
3447
- 'AccordionItem',
3448
- 'OtherProducts',
3449
- 'OtherProductsItem',
3450
- 'VerticalLayout',
3451
- ],
3263
+ exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
3452
3264
  };
3453
- const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
3454
- const iconsPrimary = ['PlusIcon', 'MinusIcon'];
3455
- const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
3456
- const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
3457
- return version === 'primary' ? (jsx(FoldButton, { icon: iconsPrimary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle })) : (jsx(DefaultFoldButton, { icon: iconsSecondary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
3265
+ const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
3266
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
3267
+ return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
3458
3268
  };
3459
- const FoldButton = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] })));
3269
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onToggle, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
3460
3270
 
3461
3271
  const SAFEBOXES_URL = '/api/v1/safeboxes';
3462
3272
  const EMPTY_VALUE = [];
@@ -3586,26 +3396,19 @@
3586
3396
  const branches = useSafeBoxes(selectedRegion);
3587
3397
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
3588
3398
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
3589
- return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3399
+ return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3590
3400
  });
3591
3401
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
3592
3402
 
3593
3403
  const checkIsIconRenderable = (icon) => Boolean(icon?.icon || icon?.src);
3594
3404
 
3595
- const renderItems = ({ items, isDotted = true, version = 'primary', className = '', }) => items ? (jsx(List, { className: className, version: version, items: items, listItemSize: "M", isDotted: isDotted })) : null;
3596
-
3597
3405
  const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
3598
3406
  const { label, description, button, items, isDotted } = step;
3599
3407
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
3600
3408
  return (jsxs("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [jsxs("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), jsxs("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
3601
3409
  description,
3602
3410
  className: styleMap.description,
3603
- }), renderItems({
3604
- items,
3605
- isDotted,
3606
- version,
3607
- className: getItemsClasses({ className: 'text-left', description, styleMap }),
3608
- })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3411
+ }), jsx(List, { className: getItemsClasses({ className: 'text-left', description, styleMap }), items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3609
3412
  };
3610
3413
  const renderStepLabel = (label) => label ? jsx("div", { className: "text-h6", children: label }) : null;
3611
3414
  const renderStepDescription = ({ description, className = '', }) => (description ? jsx("div", { className: className, children: description }) : null);
@@ -3614,8 +3417,6 @@
3614
3417
 
3615
3418
  const STEPS_BLOCK_STYLE_MAPS = {
3616
3419
  primary: {
3617
- background: 'bg-white',
3618
- title: 'text-primary-text',
3619
3420
  description: '!text-secondary-text text-l-light',
3620
3421
  iconText: 'text-secondary-text',
3621
3422
  iconBackground: 'bg-main-divider',
@@ -3623,8 +3424,29 @@
3623
3424
  dot: 'bg-secondary-text',
3624
3425
  },
3625
3426
  secondary: {
3626
- background: 'bg-primary-main',
3627
- title: 'text-white',
3427
+ description: '!text-white/80 text-l-light',
3428
+ iconText: 'text-white',
3429
+ iconBackground: 'bg-white/30',
3430
+ iconConnector: 'bg-white',
3431
+ dot: 'bg-white/80',
3432
+ },
3433
+ gray: {
3434
+ // TODO Replace this Map with group-data-*
3435
+ description: '!text-white/80 text-l-light',
3436
+ iconText: 'text-white',
3437
+ iconBackground: 'bg-white/30',
3438
+ iconConnector: 'bg-white',
3439
+ dot: 'bg-white/80',
3440
+ },
3441
+ transparent: {
3442
+ description: '!text-white/80 text-l-light',
3443
+ iconText: 'text-white',
3444
+ iconBackground: 'bg-white/30',
3445
+ iconConnector: 'bg-white',
3446
+ dot: 'bg-white/80',
3447
+ },
3448
+ '': {
3449
+ // TODO Replace this Map with group-data-*
3628
3450
  description: '!text-white/80 text-l-light',
3629
3451
  iconText: 'text-white',
3630
3452
  iconBackground: 'bg-white/30',
@@ -3643,23 +3465,66 @@
3643
3465
  const titleMargin = title ? 'mt-9' : '';
3644
3466
  const paddingX = getPaddingX(steps.length);
3645
3467
  return (jsxs(BlockWrapper, { className: [
3646
- 'box-border py-12 font-sans',
3468
+ 'box-border py-12',
3647
3469
  shortGaps ? 'px-20' : 'px-[70px]',
3648
3470
  'flex flex-col items-center overflow-hidden',
3649
- styleMap.background,
3650
- styleMap.title,
3651
3471
  className,
3652
- ].join(' '), ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3472
+ ].join(' '), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3473
+ });
3474
+ const renderStepIcon = (styleMap, version) => ({ icon }, i) => (jsx("div", { className: "flex flex-col items-center text-center", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center ${styleMap.iconBackground}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3475
+
3476
+ const containerStyles = {
3477
+ 'horizontal-list': 'mx-auto mt-5 w-fit',
3478
+ 'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
3479
+ };
3480
+ const activeDotStyles = {
3481
+ 'horizontal-list': 'w-6',
3482
+ 'vertical-list': 'h-6',
3483
+ };
3484
+ const dotStyle = 'cursor-pointer bg-primary-main rounded-full transition-width duration-300';
3485
+ const inactiveDotStyle = 'w-2 h-2 opacity-30';
3486
+ const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list' }) => {
3487
+ const handleClick = (idx) => {
3488
+ if (idx !== activeIndex && containerRef?.current) {
3489
+ containerRef.current.children[idx]?.scrollIntoView({
3490
+ behavior: 'smooth',
3491
+ block: 'nearest',
3492
+ });
3493
+ }
3494
+ };
3495
+ return dotCount ? (jsx("div", { className: `flex gap-2 ${containerStyles[listType]}`, children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
3496
+ });
3497
+
3498
+ const DEFAULT_GAP = 14;
3499
+ /*
3500
+ Horizontal padding used on a container above SwipeListControl.
3501
+ Same value used on a SwipeListControlChildren container to compensate it
3502
+ and get rid of a clipping effect caused by overflow: hidden.
3503
+ */
3504
+ const DEFAULT_PADDING = 16;
3505
+ const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
3506
+ const itemCount = Array.isArray(children) ? children.length : 0;
3507
+ const [containerRef, scroll] = useSwipeListScroll({
3508
+ itemCount,
3509
+ onVisibleIndicesChange,
3510
+ });
3511
+ const [activeIndex] = scroll.visibleIndicesRange;
3512
+ return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, children: children }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType })) : null] }));
3653
3513
  });
3654
- const renderStepIcon = (styleMap, version) => ({ icon }, i) => (jsx("div", { className: "flex flex-col items-center text-center", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center
3655
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3514
+
3515
+ const SwipeListControlBlock = JSX(({ gap, listType, padding, showDots, options, ...rest }) => {
3516
+ return (jsx(BlockWrapper, { ...rest, children: jsx(SwipeListControl, { gap: gap, listType: listType, padding: padding, showDots: showDots, children: renderChildren({ ...rest, options }) }) }));
3517
+ });
3518
+ SwipeListControlBlock.childrenTypes = {
3519
+ exclude: ['SwipeListControlBlock'],
3520
+ };
3656
3521
 
3657
3522
  const LINK_CLASSES = 'h-12 flex-1 flex items-center justify-center cursor-pointer';
3658
3523
  const ACTIVE_LINK_CLASSES = 'bg-primary-main';
3659
- const INACTIVE_LINK_CLASSES = 'group bg-white';
3524
+ const INACTIVE_LINK_CLASSES = 'group/btn bg-white';
3660
3525
  const TEXT_CLASSES = 'font-sans text-m';
3661
3526
  const ACTIVE_TEXT_CLASSES = 'text-white';
3662
- const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover:text-primary-main';
3527
+ const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover/btn:text-primary-main';
3663
3528
 
3664
3529
  const LinkTab = JSX((props) => {
3665
3530
  const { tab, currentTab } = props;
@@ -3671,7 +3536,7 @@
3671
3536
 
3672
3537
  const BADGE_CLASSES = 'min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
3673
3538
  const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
3674
- const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
3539
+ const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover/btn:text-primary-main';
3675
3540
  const renderGroupTab = ({ page, currentTab, showCounter, onClick }) => (tab, i) => {
3676
3541
  const active = currentTab === tab;
3677
3542
  const count = tab.ref && page?.blocks
@@ -3732,16 +3597,15 @@
3732
3597
  return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
3733
3598
  });
3734
3599
 
3735
- const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, ...buttonProps }, idx) => renderButton({
3736
- button: { rounded, ...buttonProps },
3737
- buttonClassName: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`,
3738
- })) })) : null;
3600
+ const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
3601
+ buttonClassName: 'w-12 h-12',
3602
+ });
3739
3603
  const renderLabelDescriptionCellData = ({ label, description }) => {
3740
3604
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
3741
3605
  return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
3742
3606
  };
3743
3607
  const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
3744
- const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
3608
+ const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
3745
3609
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
3746
3610
  displayTable({ dataUrl, pdfUrl });
3747
3611
  } })) : null);
@@ -3888,7 +3752,7 @@
3888
3752
  });
3889
3753
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
3890
3754
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
3891
- return (jsxs(BlockWrapper, { className: `bg-white font-sans p-12 overflow-hidden text-primary-text relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3755
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3892
3756
  });
3893
3757
  function renderTitle$1({ title, description }) {
3894
3758
  return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -3925,14 +3789,10 @@
3925
3789
  });
3926
3790
  const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
3927
3791
 
3928
- const Tile = JSX((props) => {
3929
- const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
3930
- const headingClassName = version === 'primary' ? 'text-primary-text' : '';
3931
- return (jsx(BlockWrapper, { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3", ...rest })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
3932
- });
3933
- function renderList({ version, isDotted, listItemSize }, items) {
3934
- return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
3935
- }
3792
+ const Tile = JSX(({ title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, ...rest }) => (jsx(BlockWrapper, { className: `overflow-hidden p-9 pr-3 box-border ${getTileRightPadding(className)} ${getTileMinHeight(className)} ${className}`, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
3793
+ className: 'mt-8',
3794
+ buttonClassName: 'min-w-[158px]',
3795
+ }), image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })));
3936
3796
 
3937
3797
  const alignStyle = {
3938
3798
  left: 'items-start',
@@ -3940,30 +3800,15 @@
3940
3800
  right: 'items-end',
3941
3801
  };
3942
3802
  const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
3943
- const paddingStyle = isPadding ? 'p-12' : '';
3944
3803
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
3945
- return (jsx(BlockWrapper, { className: [
3946
- 'flex flex-col [&>*]:max-w-full',
3947
- paddingStyle,
3948
- GapStyleMap[gap],
3949
- align && alignStyle[align],
3950
- LayoutBackgroundStyleMap[version],
3951
- className,
3952
- ]
3953
- .filter(Boolean)
3954
- .join(' '), ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
3804
+ return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
3955
3805
  });
3956
- VerticalLayout.childrenTypes = {
3957
- exclude: ['VerticalLayout'],
3958
- };
3806
+ VerticalLayout.childrenTypes = [];
3959
3807
 
3960
3808
  const MIN_COL_SPAN = 10;
3961
3809
  const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
3962
3810
 
3963
- const Video = JSX((props) => {
3964
- const { title, src, previewImg, className = '', ...rest } = props;
3965
- return (jsxs(BlockWrapper, { className: `bg-white ${getPaddings(className)} ${className}`, ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] }));
3966
- });
3811
+ const Video = JSX(({ className, title, src, previewImg, ...rest }) => (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] })));
3967
3812
 
3968
3813
  const Blocks = {
3969
3814
  Accordion,
@@ -4017,6 +3862,7 @@
4017
3862
  RollupItem,
4018
3863
  SafeDepositRental,
4019
3864
  StepsBlock,
3865
+ SwipeListControlBlock,
4020
3866
  Tabs,
4021
3867
  TariffsTable,
4022
3868
  TextBlock,
@@ -4134,7 +3980,7 @@
4134
3980
  parent: data,
4135
3981
  };
4136
3982
  useBlockRouterProvider();
4137
- return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
3983
+ return (jsxs("section", { className: style('relative', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
4138
3984
  ...options,
4139
3985
  slotName: 'header',
4140
3986
  }) })) : null, jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderBlocksList(blocks, options), slots?.footer
@@ -4150,7 +3996,7 @@
4150
3996
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
4151
3997
  }
4152
3998
 
4153
- const packageVersion = "0.6.50";
3999
+ const packageVersion = "0.7.2";
4154
4000
 
4155
4001
  exports.Blocks = Blocks;
4156
4002
  exports.ContentPage = ContentPage;