@redneckz/wildless-cms-uni-blocks 0.7.1 → 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 (1487) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +282 -488
  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/CarouselTariffsCard.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/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  28. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  29. package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  30. package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  31. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  32. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  33. package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  34. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  35. package/bundle/components/Tile/Tile.d.ts +0 -1
  36. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  37. package/bundle/components/Video/getPaddings.d.ts +1 -1
  38. package/bundle/icons/IconName.d.ts +6 -4
  39. package/bundle/model/BlockVersion.d.ts +6 -20
  40. package/bundle/model/ButtonVersion.d.ts +3 -3
  41. package/bundle/model/JSXBlock.d.ts +2 -0
  42. package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  43. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  44. package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  45. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  46. package/bundle/ui-kit/List/ListItem.d.ts +1 -2
  47. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  48. package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  49. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  50. package/bundle/utils/getColSpan.d.ts +1 -1
  51. package/bundle/utils/style.d.ts +3 -1
  52. package/cosmos-static/icons/YoutubeIcon.svg +1 -0
  53. package/dist/BlockRenderer/renderBlock.js +4 -3
  54. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  55. package/dist/components/Accordion/Accordion.js +1 -1
  56. package/dist/components/Accordion/Accordion.js.map +1 -1
  57. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  58. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  59. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  60. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  61. package/dist/components/BaseTile/BaseTile.d.ts +1 -4
  62. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  63. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  64. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  65. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  66. package/dist/components/Bonus/Bonus.js +5 -7
  67. package/dist/components/Bonus/Bonus.js.map +1 -1
  68. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  69. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  70. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  71. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  72. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  73. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  74. package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  75. package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  76. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  77. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  78. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  79. package/dist/components/Calculator/Calculator.js +1 -1
  80. package/dist/components/Calculator/Calculator.js.map +1 -1
  81. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  82. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  83. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  84. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  85. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  86. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  87. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  88. package/dist/components/Carousel/Carousel.js +5 -3
  89. package/dist/components/Carousel/Carousel.js.map +1 -1
  90. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  91. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  92. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  93. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  94. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  95. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  96. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  97. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  98. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  99. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  100. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  101. package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  102. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  103. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  104. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  105. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  106. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  107. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  108. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  109. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  110. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  111. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  112. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  113. package/dist/components/Catalog/Catalog.js +1 -1
  114. package/dist/components/Catalog/Catalog.js.map +1 -1
  115. package/dist/components/Catalog/CatalogCard.js +2 -2
  116. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  117. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  118. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  119. package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  120. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  121. package/dist/components/ContentPage/ContentPage.js +2 -2
  122. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  123. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  124. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  125. package/dist/components/Footer/Footer.js +2 -2
  126. package/dist/components/Footer/Footer.js.map +1 -1
  127. package/dist/components/Footer/MediaButton.d.ts +2 -2
  128. package/dist/components/Footer/MediaButton.js +12 -13
  129. package/dist/components/Footer/MediaButton.js.map +1 -1
  130. package/dist/components/Footer/SocialMedia.d.ts +1 -3
  131. package/dist/components/Footer/SocialMedia.js +1 -1
  132. package/dist/components/Footer/SocialMedia.js.map +1 -1
  133. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
  134. package/dist/components/Footer/SocialMedia.mobile.js +1 -1
  135. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  136. package/dist/components/Gallery/Gallery.js +1 -1
  137. package/dist/components/Gallery/Gallery.js.map +1 -1
  138. package/dist/components/Gallery/Gallery.mobile.js +6 -7
  139. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  140. package/dist/components/Gallery/GalleryCardInner.js +8 -11
  141. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  142. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  143. package/dist/components/Gallery/GalleryContainer.js +5 -4
  144. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  145. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  146. package/dist/components/Gallery/GalleryInner.js +5 -5
  147. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  148. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  149. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  150. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  151. package/dist/components/Header/DropdownMenu.js +4 -7
  152. package/dist/components/Header/DropdownMenu.js.map +1 -1
  153. package/dist/components/Header/Header.js +6 -6
  154. package/dist/components/Header/Header.js.map +1 -1
  155. package/dist/components/Header/Header.mobile.js +7 -2
  156. package/dist/components/Header/Header.mobile.js.map +1 -1
  157. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  158. package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  159. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  160. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  161. package/dist/components/Header/HeaderSubMenu.js +2 -2
  162. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  163. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  164. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  165. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  166. package/dist/components/Header/HeaderTop.js +1 -1
  167. package/dist/components/Header/HeaderTop.js.map +1 -1
  168. package/dist/components/Headline/Headline.js +4 -5
  169. package/dist/components/Headline/Headline.js.map +1 -1
  170. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  171. package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  172. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  173. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  174. package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  175. package/dist/components/HorizontalLayout/gapStyles.js +12 -0
  176. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  177. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  178. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  179. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  180. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  181. package/dist/components/LinkDocs/LinkDocs.js +2 -1
  182. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  183. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
  184. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  185. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  186. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  187. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  188. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  189. package/dist/components/LinkList/LinkList.js +1 -1
  190. package/dist/components/LinkList/LinkList.js.map +1 -1
  191. package/dist/components/MiniGallery/MiniGallery.js +1 -1
  192. package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  193. package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
  194. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  195. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  196. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  197. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  198. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  199. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  200. package/dist/components/PictureText/PictureText.js +1 -2
  201. package/dist/components/PictureText/PictureText.js.map +1 -1
  202. package/dist/components/Placeholder/Placeholder.js +2 -1
  203. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  204. package/dist/components/ProductBlock/ProductBlock.js +3 -7
  205. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  206. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
  207. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  208. package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
  209. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  210. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  211. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  212. package/dist/components/ProductGallery/ProductGallery.js +7 -20
  213. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  214. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  215. package/dist/components/ProductTile/ProductTile.js +5 -6
  216. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  217. package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  218. package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  219. package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  220. package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  221. package/dist/components/ProductTile/renderBenefit.js +2 -6
  222. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  223. package/dist/components/PromoTile/PromoTile.js +3 -3
  224. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  225. package/dist/components/Recommendation/Recommendation.js +2 -4
  226. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  227. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  228. package/dist/components/Recommendation/RecommendationCard.js +4 -3
  229. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  230. package/dist/components/RollupItem/RollupItem.js +7 -15
  231. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  232. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  233. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  234. package/dist/components/StepsBlock/StepsBlock.js +3 -6
  235. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  236. package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
  237. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  238. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  239. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  240. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  241. package/dist/components/StepsBlock/renderStepContent.js +2 -7
  242. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  243. package/dist/components/Tabs/renderGroupTab.js +1 -1
  244. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  245. package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  246. package/dist/components/Tabs/tabItemClasses.js +2 -2
  247. package/dist/components/Tabs/tabItemClasses.js.map +1 -1
  248. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  249. package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
  250. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  251. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  252. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  253. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  254. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  255. package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
  256. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  257. package/dist/components/Tile/Tile.d.ts +0 -1
  258. package/dist/components/Tile/Tile.js +5 -10
  259. package/dist/components/Tile/Tile.js.map +1 -1
  260. package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  261. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  262. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  263. package/dist/components/Video/Video.js +2 -4
  264. package/dist/components/Video/Video.js.map +1 -1
  265. package/dist/components/Video/getPaddings.d.ts +1 -1
  266. package/dist/components/Video/getPaddings.js.map +1 -1
  267. package/dist/icons/IconName.d.ts +6 -4
  268. package/dist/icons/IconName.js +2 -0
  269. package/dist/icons/IconName.js.map +1 -1
  270. package/dist/model/BlockVersion.d.ts +6 -20
  271. package/dist/model/BlockVersion.js +0 -33
  272. package/dist/model/BlockVersion.js.map +1 -1
  273. package/dist/model/ButtonVersion.d.ts +3 -3
  274. package/dist/model/JSXBlock.d.ts +2 -0
  275. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  276. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  277. package/dist/ui-kit/BlockWrapper.d.ts +2 -0
  278. package/dist/ui-kit/BlockWrapper.js +11 -3
  279. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  280. package/dist/ui-kit/Button/ArrowButton.js +2 -2
  281. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  282. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  283. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  284. package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  285. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  286. package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  287. package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  288. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  289. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  290. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  291. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  292. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  293. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  294. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  295. package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
  296. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  297. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  298. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  299. package/dist/ui-kit/Heading/Heading.js +2 -5
  300. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  301. package/dist/ui-kit/Icon/Icon.js +3 -8
  302. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  303. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  304. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  305. package/dist/ui-kit/List/List.js +1 -12
  306. package/dist/ui-kit/List/List.js.map +1 -1
  307. package/dist/ui-kit/List/ListItem.d.ts +1 -2
  308. package/dist/ui-kit/List/ListItem.js +1 -8
  309. package/dist/ui-kit/List/ListItem.js.map +1 -1
  310. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  311. package/dist/ui-kit/Location/Location.js +1 -1
  312. package/dist/ui-kit/Location/Location.js.map +1 -1
  313. package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  314. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  315. package/dist/ui-kit/Text/Text.js +1 -1
  316. package/dist/ui-kit/Text/Text.js.map +1 -1
  317. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  318. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  319. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  320. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  321. package/dist/utils/getColSpan.d.ts +1 -1
  322. package/dist/utils/getColSpan.js +1 -1
  323. package/dist/utils/getColSpan.js.map +1 -1
  324. package/dist/utils/style.d.ts +3 -1
  325. package/dist/utils/style.js +4 -1
  326. package/dist/utils/style.js.map +1 -1
  327. package/lib/BlockRenderer/renderBlock.js +4 -3
  328. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  329. package/lib/common.css +1 -1
  330. package/lib/components/Accordion/Accordion.js +1 -1
  331. package/lib/components/Accordion/Accordion.js.map +1 -1
  332. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  333. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  334. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  335. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  336. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  337. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  338. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  339. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  340. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  341. package/lib/components/Bonus/Bonus.js +5 -7
  342. package/lib/components/Bonus/Bonus.js.map +1 -1
  343. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  344. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  345. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  346. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  347. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  348. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  349. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  350. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  351. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  352. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  353. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  354. package/lib/components/Calculator/Calculator.js +1 -1
  355. package/lib/components/Calculator/Calculator.js.map +1 -1
  356. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  357. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  358. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  359. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  360. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  361. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  362. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  363. package/lib/components/Carousel/Carousel.js +5 -3
  364. package/lib/components/Carousel/Carousel.js.map +1 -1
  365. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  366. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  367. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  368. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  369. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  370. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  371. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  372. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  373. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  374. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  375. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  376. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  377. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  378. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  379. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  380. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  381. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  382. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  383. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  384. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  385. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  386. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  387. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  388. package/lib/components/Catalog/Catalog.js +1 -1
  389. package/lib/components/Catalog/Catalog.js.map +1 -1
  390. package/lib/components/Catalog/CatalogCard.js +2 -2
  391. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  392. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  393. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  394. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  395. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  396. package/lib/components/ContentPage/ContentPage.js +2 -2
  397. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  398. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  399. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  400. package/lib/components/Footer/Footer.js +2 -2
  401. package/lib/components/Footer/Footer.js.map +1 -1
  402. package/lib/components/Footer/MediaButton.d.ts +2 -2
  403. package/lib/components/Footer/MediaButton.js +12 -13
  404. package/lib/components/Footer/MediaButton.js.map +1 -1
  405. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  406. package/lib/components/Footer/SocialMedia.js +1 -1
  407. package/lib/components/Footer/SocialMedia.js.map +1 -1
  408. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  409. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  410. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  411. package/lib/components/Gallery/Gallery.js +1 -1
  412. package/lib/components/Gallery/Gallery.js.map +1 -1
  413. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  414. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  415. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  416. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  417. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  418. package/lib/components/Gallery/GalleryContainer.js +5 -4
  419. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  420. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  421. package/lib/components/Gallery/GalleryInner.js +5 -5
  422. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  423. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  424. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  425. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  426. package/lib/components/Header/DropdownMenu.js +4 -7
  427. package/lib/components/Header/DropdownMenu.js.map +1 -1
  428. package/lib/components/Header/Header.js +6 -6
  429. package/lib/components/Header/Header.js.map +1 -1
  430. package/lib/components/Header/Header.mobile.js +7 -2
  431. package/lib/components/Header/Header.mobile.js.map +1 -1
  432. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  433. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  434. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  435. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  436. package/lib/components/Header/HeaderSubMenu.js +2 -2
  437. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  438. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  439. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  440. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  441. package/lib/components/Header/HeaderTop.js +1 -1
  442. package/lib/components/Header/HeaderTop.js.map +1 -1
  443. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  444. package/lib/components/Headline/Headline.js +4 -5
  445. package/lib/components/Headline/Headline.js.map +1 -1
  446. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  447. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  448. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  449. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  450. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  451. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  452. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  453. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  454. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  455. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  456. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  457. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  458. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  459. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  460. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  461. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  462. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  463. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  464. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  465. package/lib/components/LinkList/LinkList.js +1 -1
  466. package/lib/components/LinkList/LinkList.js.map +1 -1
  467. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  468. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  469. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  470. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  471. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  472. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  473. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  474. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  475. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  476. package/lib/components/PictureText/PictureText.js +1 -2
  477. package/lib/components/PictureText/PictureText.js.map +1 -1
  478. package/lib/components/Placeholder/Placeholder.js +2 -1
  479. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  480. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  481. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  482. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  483. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  484. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  485. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  486. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  487. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  488. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  489. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  490. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  491. package/lib/components/ProductTile/ProductTile.js +5 -6
  492. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  493. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  494. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  495. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  496. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  497. package/lib/components/ProductTile/renderBenefit.js +2 -6
  498. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  499. package/lib/components/PromoTile/PromoTile.js +3 -3
  500. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  501. package/lib/components/Recommendation/Recommendation.js +2 -4
  502. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  503. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  504. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  505. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  506. package/lib/components/RollupItem/RollupItem.js +7 -15
  507. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  508. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  509. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  510. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  511. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  512. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  513. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  514. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  515. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  516. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  517. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  518. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  519. package/lib/components/Tabs/renderGroupTab.js +1 -1
  520. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  521. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  522. package/lib/components/Tabs/tabItemClasses.js +2 -2
  523. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  524. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  525. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  526. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  527. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  528. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  529. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  530. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  531. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  532. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  533. package/lib/components/Tile/Tile.d.ts +0 -1
  534. package/lib/components/Tile/Tile.js +5 -10
  535. package/lib/components/Tile/Tile.js.map +1 -1
  536. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  537. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  538. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  539. package/lib/components/Video/Video.js +2 -4
  540. package/lib/components/Video/Video.js.map +1 -1
  541. package/lib/components/Video/getPaddings.d.ts +1 -1
  542. package/lib/components/Video/getPaddings.js.map +1 -1
  543. package/lib/icons/IconName.d.ts +6 -4
  544. package/lib/icons/IconName.js +2 -0
  545. package/lib/icons/IconName.js.map +1 -1
  546. package/lib/model/BlockVersion.d.ts +6 -20
  547. package/lib/model/BlockVersion.js +1 -32
  548. package/lib/model/BlockVersion.js.map +1 -1
  549. package/lib/model/ButtonVersion.d.ts +3 -3
  550. package/lib/model/JSXBlock.d.ts +2 -0
  551. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  552. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  553. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  554. package/lib/ui-kit/BlockWrapper.js +10 -2
  555. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  556. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  557. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  558. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  559. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  560. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  561. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  562. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  563. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  564. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  565. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  566. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  567. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  568. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  569. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  570. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  571. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  572. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  573. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  574. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  575. package/lib/ui-kit/Heading/Heading.js +2 -5
  576. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  577. package/lib/ui-kit/Icon/Icon.js +3 -8
  578. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  579. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  580. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  581. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  582. package/lib/ui-kit/List/List.js +1 -12
  583. package/lib/ui-kit/List/List.js.map +1 -1
  584. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  585. package/lib/ui-kit/List/ListItem.js +1 -8
  586. package/lib/ui-kit/List/ListItem.js.map +1 -1
  587. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  588. package/lib/ui-kit/Location/Location.js +1 -1
  589. package/lib/ui-kit/Location/Location.js.map +1 -1
  590. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  591. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  592. package/lib/ui-kit/Text/Text.js +1 -1
  593. package/lib/ui-kit/Text/Text.js.map +1 -1
  594. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  595. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  596. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  597. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  598. package/lib/utils/getColSpan.d.ts +1 -1
  599. package/lib/utils/getColSpan.js +1 -1
  600. package/lib/utils/getColSpan.js.map +1 -1
  601. package/lib/utils/style.d.ts +3 -1
  602. package/lib/utils/style.js +4 -1
  603. package/lib/utils/style.js.map +1 -1
  604. package/mobile/bundle/bundle.umd.js +147 -161
  605. package/mobile/bundle/bundle.umd.min.js +1 -1
  606. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  607. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  608. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  609. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  610. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  611. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  612. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  613. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  614. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  615. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  616. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  617. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  618. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  619. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  620. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  621. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  622. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  623. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  624. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  625. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  626. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  627. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  628. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  629. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  630. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  631. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  632. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  633. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  634. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  635. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  636. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  637. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  638. package/mobile/bundle/icons/IconName.d.ts +6 -4
  639. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  640. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  641. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  642. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  643. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  644. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  645. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  646. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  647. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  648. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  649. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  650. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  651. package/mobile/bundle/utils/style.d.ts +3 -1
  652. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  653. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  654. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  655. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  656. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  657. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  658. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  659. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  660. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  661. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  662. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  663. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  664. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  665. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  666. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  667. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  668. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  669. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  670. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  671. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  672. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  673. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  674. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  675. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  676. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  677. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  678. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  679. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  680. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  681. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  682. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  683. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  684. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  685. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  686. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  687. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  688. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  689. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  690. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  691. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  692. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  693. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  694. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  695. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  696. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  697. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  698. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  699. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  700. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  701. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  702. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  703. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  704. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  705. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  706. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  707. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  708. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  709. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  710. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  711. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  712. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  713. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  714. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  715. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  716. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  717. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  718. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  719. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  720. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  721. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  722. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  723. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  724. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  725. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  726. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  727. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  728. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  729. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  730. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  731. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  732. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  733. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  734. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  735. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  736. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  737. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  738. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  739. package/mobile/dist/components/Header/Header.js +7 -2
  740. package/mobile/dist/components/Header/Header.js.map +1 -1
  741. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  742. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  743. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  744. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  745. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  746. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  747. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  748. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  749. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  750. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  751. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  752. package/mobile/dist/components/Headline/Headline.js +6 -5
  753. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  754. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  755. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  756. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  757. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  758. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  759. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  760. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  761. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  762. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  763. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  764. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  765. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  766. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  767. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  768. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  769. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  770. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  771. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  772. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  773. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  774. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  775. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  776. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  777. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  778. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  779. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  780. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  781. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  782. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  783. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  784. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  785. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  786. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  787. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  788. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  789. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  790. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  791. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  792. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  793. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  794. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  795. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  796. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  797. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  798. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  799. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  800. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  801. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  802. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  803. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  804. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  805. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  806. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  807. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  808. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  809. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  810. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  811. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  812. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  813. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  814. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  815. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  816. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  817. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  818. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  819. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  820. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  821. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  822. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  823. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  824. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  825. package/mobile/dist/components/Tile/Tile.js +5 -10
  826. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  827. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  828. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  829. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  830. package/mobile/dist/components/Video/Video.js +2 -4
  831. package/mobile/dist/components/Video/Video.js.map +1 -1
  832. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  833. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  834. package/mobile/dist/icons/IconName.d.ts +6 -4
  835. package/mobile/dist/icons/IconName.js +2 -0
  836. package/mobile/dist/icons/IconName.js.map +1 -1
  837. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  838. package/mobile/dist/model/BlockVersion.js +0 -33
  839. package/mobile/dist/model/BlockVersion.js.map +1 -1
  840. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  841. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  842. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  843. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  844. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  845. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  846. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  847. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  848. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  849. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  850. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  851. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  852. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  853. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  854. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  855. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  856. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  857. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  858. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  859. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  860. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  861. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  862. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  863. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  864. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  865. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  866. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  867. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  868. package/mobile/dist/ui-kit/List/List.js +1 -12
  869. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  870. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  871. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  872. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  873. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  874. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  875. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  876. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  877. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  878. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  879. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  880. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  881. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  882. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  883. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  884. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  885. package/mobile/dist/utils/getColSpan.js +1 -1
  886. package/mobile/dist/utils/getColSpan.js.map +1 -1
  887. package/mobile/dist/utils/style.d.ts +3 -1
  888. package/mobile/dist/utils/style.js +4 -1
  889. package/mobile/dist/utils/style.js.map +1 -1
  890. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  891. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  892. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  893. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  894. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  895. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  896. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  897. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  898. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  899. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  900. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  901. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  902. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  903. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  904. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  905. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  906. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  907. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  908. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  909. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  910. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  911. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  912. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  913. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  914. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  915. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  916. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  917. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  918. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  919. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  920. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  921. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  922. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  923. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  924. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  925. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  926. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  927. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  928. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  929. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  930. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  931. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  932. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  933. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  934. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  935. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  936. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  937. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  938. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  939. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  940. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  941. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  942. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  943. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  944. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  945. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  946. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  947. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  948. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  949. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  950. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  951. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  952. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  953. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  954. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  955. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  956. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  957. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  958. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  959. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  960. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  961. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  962. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  963. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  964. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  965. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  966. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  967. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  968. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  969. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  970. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  971. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  972. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  973. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  974. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  975. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  976. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  977. package/mobile/lib/components/Header/Header.js +7 -2
  978. package/mobile/lib/components/Header/Header.js.map +1 -1
  979. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  980. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  981. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  982. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  983. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  984. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  985. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  986. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  987. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  988. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  989. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  990. package/mobile/lib/components/Headline/Headline.js +6 -5
  991. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  992. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  993. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  994. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  995. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  996. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  997. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  998. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  999. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1000. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1001. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1002. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1003. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1004. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1005. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1006. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1007. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1008. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1009. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1010. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1011. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1012. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1013. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1014. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1015. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1016. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1017. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1018. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1019. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1020. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1021. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1022. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1023. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1024. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1025. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1026. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1027. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1028. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1029. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1030. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1031. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1032. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1033. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1034. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1035. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1036. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1037. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1038. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1039. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1040. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1041. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1042. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1043. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1044. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1045. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1046. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1047. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1048. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1049. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1050. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1051. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1052. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1053. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1054. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1055. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1056. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1057. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1058. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1059. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1060. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1061. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1062. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1063. package/mobile/lib/components/Tile/Tile.js +5 -10
  1064. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1065. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1066. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1067. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1068. package/mobile/lib/components/Video/Video.js +2 -4
  1069. package/mobile/lib/components/Video/Video.js.map +1 -1
  1070. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1071. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1072. package/mobile/lib/icons/IconName.d.ts +6 -4
  1073. package/mobile/lib/icons/IconName.js +2 -0
  1074. package/mobile/lib/icons/IconName.js.map +1 -1
  1075. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1076. package/mobile/lib/model/BlockVersion.js +1 -32
  1077. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1078. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1079. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1080. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1081. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1082. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1083. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1084. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1085. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1086. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1087. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1088. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1089. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1090. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1091. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1092. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1093. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1094. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1095. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1096. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1097. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1098. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1099. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1100. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1101. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1102. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1103. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1104. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1105. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1106. package/mobile/lib/ui-kit/List/List.js +1 -12
  1107. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1108. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1109. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1110. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1111. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1112. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1113. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1114. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1115. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1116. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1117. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1118. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1119. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1120. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1121. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1122. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1123. package/mobile/lib/utils/getColSpan.js +1 -1
  1124. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1125. package/mobile/lib/utils/style.d.ts +3 -1
  1126. package/mobile/lib/utils/style.js +4 -1
  1127. package/mobile/lib/utils/style.js.map +1 -1
  1128. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1129. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1130. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1131. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1132. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1133. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1134. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1135. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1136. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1137. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1138. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1139. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1140. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1141. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1142. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1143. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1144. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1145. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1146. package/mobile/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1147. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1148. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1149. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1150. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1151. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1152. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1153. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1154. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1155. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1156. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1157. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1158. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1159. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1160. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1161. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1162. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1163. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1164. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1165. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1166. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1167. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1168. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1169. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1170. package/mobile/src/components/Header/Header.tsx +57 -48
  1171. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1172. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1173. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1174. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1175. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1176. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1177. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1178. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1179. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1180. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1181. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1182. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1183. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1184. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1185. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1186. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1187. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1188. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1189. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1190. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1191. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1192. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1193. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1194. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1195. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1196. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1197. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1198. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1199. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1200. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1201. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1202. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1203. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1204. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1205. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1206. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1207. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1208. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1209. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1210. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1211. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1212. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1213. package/mobile/src/components/Video/Video.tsx +17 -20
  1214. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1215. package/mobile/src/icons/IconName.ts +4 -4
  1216. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1217. package/mobile/src/model/BlockVersion.ts +11 -53
  1218. package/mobile/src/model/ButtonVersion.ts +3 -3
  1219. package/mobile/src/model/JSXBlock.ts +2 -0
  1220. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1221. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1222. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1223. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1224. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1225. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1226. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1227. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1228. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1229. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1230. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1231. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1232. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1233. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1234. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1235. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1236. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1237. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1238. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1239. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1240. package/mobile/src/utils/getColSpan.ts +2 -2
  1241. package/mobile/src/utils/style.ts +7 -2
  1242. package/package.json +1 -1
  1243. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1244. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1245. package/src/components/Accordion/Accordion.tsx +1 -4
  1246. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1247. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1248. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1249. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1250. package/src/components/Bonus/Bonus.tsx +19 -27
  1251. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1252. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1253. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1254. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1255. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1256. package/src/components/Calculator/Calculator.tsx +1 -4
  1257. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1258. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1259. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1260. package/src/components/Carousel/Carousel.example.json +2 -1
  1261. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1262. package/src/components/Carousel/Carousel.tsx +14 -3
  1263. package/src/components/Carousel/CarouselContent.ts +2 -0
  1264. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1265. package/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1266. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1267. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1268. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1269. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1270. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1271. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1272. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1273. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1274. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1275. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1276. package/src/components/Catalog/Catalog.tsx +1 -4
  1277. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1278. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1279. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1280. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1281. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1282. package/src/components/Footer/Footer.tsx +2 -2
  1283. package/src/components/Footer/MediaButton.tsx +27 -25
  1284. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1285. package/src/components/Footer/SocialMedia.tsx +4 -12
  1286. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1287. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1288. package/src/components/Gallery/Gallery.tsx +3 -1
  1289. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1290. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1291. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1292. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1293. package/src/components/Header/DropdownMenu.tsx +41 -47
  1294. package/src/components/Header/Header.mobile.tsx +57 -48
  1295. package/src/components/Header/Header.tsx +21 -17
  1296. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1297. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1298. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1299. package/src/components/Header/HeaderTop.tsx +2 -5
  1300. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1301. package/src/components/Headline/Headline.tsx +11 -11
  1302. package/src/components/Headline/HeadlineContent.ts +0 -2
  1303. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1304. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1305. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1306. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1307. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1308. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1309. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1310. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1311. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1312. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1313. package/src/components/LinkList/LinkList.tsx +1 -1
  1314. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1315. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1316. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1317. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1318. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1319. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1320. package/src/components/PictureText/PictureText.tsx +3 -14
  1321. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1322. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1323. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1324. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1325. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1326. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1327. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1328. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1329. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1330. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1331. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1332. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1333. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1334. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1335. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1336. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1337. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1338. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1339. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1340. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1341. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1342. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1343. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1344. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1345. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1346. package/src/components/Tile/Tile.tsx +22 -42
  1347. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1348. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1349. package/src/components/Video/Video.tsx +17 -20
  1350. package/src/components/Video/getPaddings.ts +1 -1
  1351. package/src/icons/IconName.ts +5 -2
  1352. package/src/icons/YoutubeIcon.svg +3 -0
  1353. package/src/model/BlockVersion.ts +11 -53
  1354. package/src/model/ButtonVersion.ts +3 -3
  1355. package/src/model/JSXBlock.ts +2 -0
  1356. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1357. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1358. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1359. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1360. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1361. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1362. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1363. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1364. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1365. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1366. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1367. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1368. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1369. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1370. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1371. package/src/ui-kit/List/List.tsx +23 -43
  1372. package/src/ui-kit/List/ListItem.tsx +13 -22
  1373. package/src/ui-kit/List/ListProps.ts +0 -7
  1374. package/src/ui-kit/Location/Location.tsx +1 -1
  1375. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1376. package/src/ui-kit/Text/Text.tsx +2 -4
  1377. package/src/ui-kit/Text/TextProps.ts +5 -2
  1378. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1379. package/src/utils/getColSpan.ts +2 -2
  1380. package/src/utils/style.ts +7 -2
  1381. package/tailwind.config.cjs +6 -0
  1382. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1383. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1384. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1385. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1386. package/bundle/model/BorderVersion.d.ts +0 -6
  1387. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1388. package/bundle/utils/style2className.d.ts +0 -1
  1389. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1390. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1391. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1392. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1393. package/dist/components/Headline/Headline.mobile.js +0 -13
  1394. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1395. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1396. package/dist/components/Headline/headlineStyles.js +0 -18
  1397. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1398. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1399. package/dist/components/StepsBlock/renderItems.js +0 -7
  1400. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1401. package/dist/model/BorderVersion.d.ts +0 -6
  1402. package/dist/model/BorderVersion.js +0 -7
  1403. package/dist/model/BorderVersion.js.map +0 -1
  1404. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1405. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1406. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1407. package/dist/utils/style2className.d.ts +0 -1
  1408. package/dist/utils/style2className.js +0 -7
  1409. package/dist/utils/style2className.js.map +0 -1
  1410. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1411. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1412. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1413. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1414. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1415. package/lib/components/Headline/Headline.mobile.js +0 -11
  1416. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1417. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1418. package/lib/components/Headline/headlineStyles.js +0 -16
  1419. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1420. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1421. package/lib/components/StepsBlock/renderItems.js +0 -4
  1422. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1423. package/lib/model/BorderVersion.d.ts +0 -6
  1424. package/lib/model/BorderVersion.js +0 -5
  1425. package/lib/model/BorderVersion.js.map +0 -1
  1426. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1427. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1428. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1429. package/lib/utils/style2className.d.ts +0 -1
  1430. package/lib/utils/style2className.js +0 -4
  1431. package/lib/utils/style2className.js.map +0 -1
  1432. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1433. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1434. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1435. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1436. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1437. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1438. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1439. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1440. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1441. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1442. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1443. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1444. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1445. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1446. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1447. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1448. package/mobile/dist/model/BorderVersion.js +0 -7
  1449. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1450. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1451. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1452. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1453. package/mobile/dist/utils/style2className.d.ts +0 -1
  1454. package/mobile/dist/utils/style2className.js +0 -7
  1455. package/mobile/dist/utils/style2className.js.map +0 -1
  1456. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1457. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1458. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1459. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1460. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1461. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1462. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1463. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1464. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1465. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1466. package/mobile/lib/model/BorderVersion.js +0 -5
  1467. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1468. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1469. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1470. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1471. package/mobile/lib/utils/style2className.d.ts +0 -1
  1472. package/mobile/lib/utils/style2className.js +0 -4
  1473. package/mobile/lib/utils/style2className.js.map +0 -1
  1474. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1475. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1476. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1477. package/mobile/src/model/BorderVersion.ts +0 -10
  1478. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1479. package/mobile/src/utils/style2className.ts +0 -3
  1480. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1481. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1482. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1483. package/src/components/Headline/headlineStyles.ts +0 -25
  1484. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1485. package/src/model/BorderVersion.ts +0 -10
  1486. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1487. package/src/utils/style2className.ts +0 -3
@@ -1,20 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
4
  import { Breadcrumb } from '../../ui-kit/Breadcrumb.js';
6
5
  import { joinList } from '../../utils/joinList.js';
7
6
  import { ProductBlockInner } from './ProductBlockInner.js';
8
7
  import { renderBackwardButton } from './renderBackwardButton.js';
9
- const breadcrumbsStyleMap = {
10
- primary: 'text-secondary-text',
11
- secondary: 'text-white/80',
12
- };
8
+ const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
13
9
  export const ProductBlock = JSX((props) => {
14
10
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
15
11
  const buttonVersion = version === 'primary' ? version : 'white';
16
- 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
12
+ return (_jsxs(BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
17
13
  ? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
18
- : 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 })] }));
14
+ : 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 })] }));
19
15
  });
20
16
  //# sourceMappingURL=ProductBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAC5F,MAAM,aAAa,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAA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AE,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAC5F,MAAM,aAAa,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,EAAE,EACrF,OAAO,EAAE,OAAO,KACZ,IAAI,aAEP,cAAc,EAAE,IAAI;gBACnB,CAAC,CAAC,oBAAoB,CAAC,cAAc,EAAE,aAAa,EAAE,eAAe,CAAC;gBACtE,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,cAAK,SAAS,EAAC,oBAAoB,YAChC,QAAQ,CAAC,eAAM,SAAS,EAAE,QAAQ,eAAe,EAAE,kBAAU,CAAC,CAC7D,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CACjC,KAAC,UAAU,IAAiB,SAAS,EAAE,eAAe,KAAM,UAAU,IAArD,MAAM,CAAC,CAAC,CAAC,CAAgD,CAC3E,CAAC,CACH,GACG,CACP,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,iBAAiB,IAAC,OAAO,EAAE,OAAO,KAAM,IAAI,GAAI,IACpC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { ProductBlockInner } from './ProductBlockInner.js';
5
5
  export const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
6
- const { className = '', version = 'primary' } = props;
7
- return (_jsx("section", { className: `font-sans bg-white px-4 py-6 ${VersionStyleMap[version]} ${className}`, children: _jsx(ProductBlockInner, { ...props }) }));
6
+ const { className = '', ...rest } = props;
7
+ return (_jsx(BlockWrapper, { className: `px-4 py-6 ${className}`, ...rest, children: _jsx(ProductBlockInner, { ...props }) }));
8
8
  });
9
9
  //# sourceMappingURL=ProductBlock.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC/F,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,CACL,kBAAS,SAAS,EAAE,gCAAgC,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YACzF,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ProductBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC/F,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1C,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,YACzD,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACnB,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
3
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
5
  import { List } from '../../ui-kit/List/List.js';
6
+ import { style } from '../../utils/style.js';
6
7
  import { BaseTile } from '../BaseTile/BaseTile.js';
7
8
  import { Headline } from '../Headline/Headline.js';
8
9
  import { renderBenefit } from './renderBenefit.js';
9
- export const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
10
+ export const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
10
11
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
11
12
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
12
- 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(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(Img, { className: "mt-[-50px]", image: image })] }));
13
+ 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(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(Img, { className: "mt-[-50px]", image: image })] }));
13
14
  });
14
15
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
15
16
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAA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C,CACf,KAAC,IAAI,IACH,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAC,UAAU,EACxB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,EACV,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,oBAAoB,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC/D,IACF,EACL,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,kBAAkB,GAAG,CAAC,EAAE,EAAE,CAC5D,cACE,kBAAkB,GAAG,CAAC;IACpB,CAAC,CAAC,wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,kBA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E,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,kBAAkB,GAAG,CAAC,EAAE,EAAE,CAC5D,cACE,kBAAkB,GAAG,CAAC;IACpB,CAAC,CAAC,wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
@@ -1,20 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
4
5
  import { Img } from '../../ui-kit/Img/Img.js';
5
6
  import { List } from '../../ui-kit/List/List.js';
7
+ import { Text } from '../../ui-kit/Text/Text.js';
6
8
  import { BaseTile } from '../BaseTile/BaseTile.js';
7
9
  import { Headline } from '../Headline/Headline.js';
8
10
  import { renderBenefit } from './renderBenefit.js';
9
- export const ProductBlockInner = JSX(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, ...rest }) => {
10
- return (_jsxs("div", { className: `w-full ${className}`, children: [_jsxs("div", { children: [label ? renderLabel(label, version) : null, _jsx(Headline, { className: "!p-0 max-w-[600px]", bgColorHeadline: version, headlineVersion: headlineVersion, ...rest }), _jsxs(BaseTile, { buttons: buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? (_jsx("div", { className: "mt-3", children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (_jsx(List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage(image)] }));
11
- });
11
+ export const ProductBlockInner = JSX(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, title, description, ...rest }) => (_jsxs(BlockWrapper, { className: `w-full ${className}`, version: version, ...rest, children: [_jsxs("div", { children: [label ? renderLabel(label) : null, _jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), _jsxs(BaseTile, { buttons: renderButtonsSection(buttons, { className: 'mt-5', isVertical: true }), children: [benefits?.filter((_) => _.label)?.length ? (_jsx("div", { className: "mt-3", children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (_jsx(List, { className: "mt-3 text-m", items: items, isDotted: isDotted })) : null] })] }), renderImage(image)] })));
12
12
  function renderImage(image) {
13
13
  return image?.src ? (_jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
14
14
  }
15
- const labelStyleMap = {
16
- primary: 'text-primary-main border-secondary-hover',
17
- secondary: 'text-white/80',
18
- };
19
- const renderLabel = (label, version) => (_jsx("div", { className: `px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${labelStyleMap[version]}`, children: label }));
15
+ const renderLabel = (label) => (_jsx("div", { className: "w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover", children: _jsx(Text, { color: "text-primary-main group-data-secondary:text-white/80", children: label }) }));
20
16
  //# sourceMappingURL=ProductBlockInner.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9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AAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,IACC,IACP,EACL,WAAW,CAAC,KAAK,CAAC,IACf,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,KAAC,GAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,0CAA0C;IACnD,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,OAAqB,EAAE,EAAE,CAAC,CAC5D,cACE,SAAS,EAAE,6DAA6D,aAAa,CAAC,OAAO,CAAC,EAAE,YAE/F,KAAK,GACF,CACP,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAA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;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,KAAC,GAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CACrC,cAAK,SAAS,EAAC,kFAAkF,YAC/F,KAAC,IAAI,IAAC,KAAK,EAAC,sDAAsD,YAAE,KAAK,GAAQ,GAC7E,CACP,CAAC"}
@@ -1,46 +1,33 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
5
  import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
8
- const productBlockStyleMap = {
9
- primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
10
- secondary: { title: 'text-white', text: 'text-white/80' },
11
- };
12
6
  export const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
13
7
  const galleryNav = slides.map((s) => s.nav);
14
8
  const galleryBlocks = slides.map((s) => s.productBlock);
15
9
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
16
10
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
17
- return (_jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative font-sans w-100 mb-6 ${className}
18
- ${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({
11
+ 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({
19
12
  slide,
20
13
  i,
21
14
  isActive: Boolean(i === activeSlideIndex),
22
15
  onClick: () => handleActiveSlideIndex(i),
23
- version,
24
16
  })) })] }));
25
17
  });
26
18
  function renderProductBlock(block, i) {
27
- const { version } = block;
28
- const additionalClass = version ? productBlockStyleMap[version].title : '';
29
- 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)));
19
+ 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)));
30
20
  }
31
- function renderNavButton({ slide, i, isActive, onClick, version }) {
21
+ function renderNavButton({ slide, i, isActive, onClick }) {
32
22
  const btnClassName = isActive
33
23
  ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
34
- : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
35
- ${VersionStyleMap[version]}`;
24
+ : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
36
25
  const btnTitleClassName = isActive
37
26
  ? 'text-primary-text !text-h6 p-2'
38
- : `text-l pb-1 ${productBlockStyleMap[version].title}`;
27
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
39
28
  const btnDescClassName = isActive
40
29
  ? 'text-secondary-text text-l-light'
41
- : `text-m-light ${productBlockStyleMap[version].text}`;
42
- 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
43
- ${btnClassName} ${BorderVersionStyleMap[version]}
44
- `, 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)));
30
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
31
+ 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)));
45
32
  }
46
33
  //# sourceMappingURL=ProductGallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,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,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAkB;IACtE,MAAM,YAAY,GAAG,QAAQ;QAC3B,CAAC,CAAC,yDAAyD;QAC3D,CAAC,CAAC,wGAAwG,CAAC;IAC7G,MAAM,iBAAiB,GAAG,QAAQ;QAChC,CAAC,CAAC,gCAAgC;QAClC,CAAC,CAAC,iEAAiE,CAAC;IACtE,MAAM,gBAAgB,GAAG,QAAQ;QAC/B,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,qEAAqE,CAAC;IAE1E,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE,0IAA0I,YAAY,EAAE,YAEnK,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAE,aAAa,iBAAiB,EAAE,YAAG,KAAK,EAAE,KAAK,GAAO,EACtE,cAAK,SAAS,EAAE,uBAAuB,gBAAgB,EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IACjF,IARD,MAAM,CAAC,CAAC,CAAC,CASP,CACV,CAAC;AACJ,CAAC"}
@@ -2,6 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
3
3
  /** @title Кнопка под слайдом */
4
4
  export interface ProductGalleryNav {
5
+ /** @title Заголовок */
5
6
  title: string;
6
7
  /** @title Описание */
7
8
  description: string;
@@ -1,22 +1,21 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
5
+ import { style } from '../../utils/style.js';
6
6
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
7
7
  import { Headline } from '../Headline/Headline.js';
8
8
  import { renderAdditionalDescription } from './renderAdditionalDescription.js';
9
9
  import { renderBenefit } from './renderBenefit.js';
10
10
  import { renderImage } from './renderImage.js';
11
- export 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]
12
- ${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(image, isImageOnRightSide)] })));
13
- function renderBenefits(benefits, version, image) {
11
+ export 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(image, isImageOnRightSide)] })));
12
+ function renderBenefits(benefits, image) {
14
13
  if (!benefits.length) {
15
14
  return null;
16
15
  }
17
16
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
18
17
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
19
18
  return (_jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
20
- ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
19
+ ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
21
20
  }
22
21
  //# sourceMappingURL=ProductTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,kBAAkB,GAAG,IAAI,EACzB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IACX,SAAS,EAAE;YACL,eAAe,CAAC,OAAO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,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,EAC/B,2BAA2B,CAAC,qBAAqB,EAAE,KAAK,CAAC,EACzD,oBAAoB,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,IAC7D,EACL,WAAW,CAAC,KAAK,EAAE,kBAAkB,CAAC,IAC1B,CAChB,CACF,CAAC;AAEF,SAAS,cAAc,CAAC,QAAmB,EAAE,KAAe;IAC1D,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;QACpB,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,aAAa,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvE,OAAO,CACL,cACE,SAAS,EAAE;UACP,aAAa,EAAE,YAElB,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,GACjD,CACP,CAAC;AACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { Picture } from '../../model/Picture';
4
- export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture, version?: BlockVersion): JSX.Element | null;
3
+ export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture): JSX.Element | null;
@@ -1,15 +1,11 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
3
- const DESCRIPTION_STYLE_MAP = {
4
- primary: 'text-secondary-text',
5
- secondary: 'text-white',
6
- };
7
- export function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
3
+ export function renderAdditionalDescription(additionalDescription, image) {
8
4
  if (!additionalDescription) {
9
5
  return null;
10
6
  }
11
7
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
12
8
  const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
13
- 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 }) }));
9
+ 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 }) }));
14
10
  }
15
11
  //# sourceMappingURL=renderAdditionalDescription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAG7D,MAAM,qBAAqB,GAAoC;IAC7D,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACzC,qBAA8B,EAC9B,KAAe,EACf,UAAwB,SAAS;IAEjC,IAAI,CAAC,qBAAqB,EAAE;QAC1B,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,gBAAgB,EAAE,YAC/C,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,YAC7E,qBAAqB,GACZ,GACR,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,UAAU,2BAA2B,CAAC,qBAA8B,EAAE,KAAe;IACzF,IAAI,CAAC,qBAAqB,EAAE;QAC1B,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,gBAAgB,EAAE,YAC/C,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,GACR,CACP,CAAC;AACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { Benefit } from './ProductTileContent';
4
- export declare const renderBenefit: (version?: BlockVersion) => (benefit: Benefit, i: number) => JSX.Element | JSX.Element[] | null;
3
+ export declare const renderBenefit: (benefit: Benefit, i: number) => JSX.Element | JSX.Element[] | null;
@@ -2,11 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { RichText } from '../../ui-kit/RichText/RichText.js';
3
3
  import { Text } from '../../ui-kit/Text/Text.js';
4
4
  import { assertUnreachable } from '../../utils/assertUnreachable.js';
5
- const LABEL_STYLE_MAP = {
6
- primary: 'text-secondary-text',
7
- secondary: 'text-white',
8
- };
9
- export const renderBenefit = (version = 'primary') =>
5
+ export const renderBenefit =
10
6
  // Linter doesn't understand that switch processes all cases
11
7
  // eslint-disable-next-line consistent-return
12
8
  (benefit, i) => {
@@ -18,7 +14,7 @@ export const renderBenefit = (version = 'primary') =>
18
14
  case 'default':
19
15
  return [
20
16
  _jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
21
- _jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
17
+ _jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
22
18
  ];
23
19
  case 'rte':
24
20
  return _jsx(RichText, { __html: benefit.__html });
@@ -1 +1 @@
1
- {"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderBenefit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,eAAe,GAAoC;IACvD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GACxB,CAAC,UAAwB,SAAS,EAAE,EAAE;AACtC,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAEzB,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,KAAK,CAAC,EAAE;QAC3C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,SAAS;YACZ,OAAO;gBACL,KAAC,IAAI,IAAoB,IAAI,EAAC,SAAS,YACpC,OAAO,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB;gBACP,KAAC,IAAI,IAAmB,IAAI,EAAC,cAAc,EAAC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,YACxE,OAAO,CAAC,WAAW,IADX,QAAQ,CAAC,EAAE,CAEf;aACR,CAAC;QACJ,KAAK,KAAK;YACR,OAAO,KAAC,QAAQ,IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CAAC;QAC9C;YACE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KAC9B;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderBenefit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,CAAC,MAAM,aAAa;AACxB,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAEzB,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,KAAK,CAAC,EAAE;QAC3C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,SAAS;YACZ,OAAO;gBACL,KAAC,IAAI,IAAoB,IAAI,EAAC,SAAS,YACpC,OAAO,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB;gBACP,KAAC,IAAI,IAEH,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,wCAAwC,YAE7C,OAAO,CAAC,WAAW,IALf,QAAQ,CAAC,EAAE,CAMX;aACR,CAAC;QACJ,KAAK,KAAK;YACR,OAAO,KAAC,QAAQ,IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CAAC;QAC9C;YACE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KAC9B;AACH,CAAC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
5
+ import { style } from '../../utils/style.js';
6
6
  import { BaseTile } from '../BaseTile/BaseTile.js';
7
7
  import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
8
8
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
9
9
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
10
10
  import { Headline } from '../Headline/Headline.js';
11
- export 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 })] }) }) })));
11
+ export 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 })] }) }) })));
12
12
  function formatDate(date) {
13
13
  const dateObj = new Date(date);
14
14
  const dateFormat = {
@@ -1 +1 @@
1
- {"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/Prom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time";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
8
6
  import { Heading } from '../../ui-kit/Heading/Heading.js';
@@ -15,8 +13,8 @@ export const Recommendation = JSX(({ recommendations = [], className = '', title
15
13
  itemCount: recommendations.length,
16
14
  visibleItemCount: CARD_VIEW_COUNT,
17
15
  });
18
- 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
19
- ? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
16
+ 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
17
+ ? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
20
18
  : null }), renderArrows({
21
19
  ...controls,
22
20
  btnClass: ['left-8', 'right-8'],
@@ -1 +1 @@
1
- {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EA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G,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,KAAC,kBAAkB,IAEjB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qBAAqB,CAAC,OAAO,CAAC,KACrC,IAAI,IAHH,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;4BACJ,CAAC,CAAC,IAAI,GACJ,EACL,YAAY,CAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,cACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,cACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,eAAe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,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { RecommendationCardTypes } from './RecommendationContent';
3
- export interface RecommendationCardProps extends RecommendationCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
3
+ export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {
6
4
  }
7
5
  export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,14 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
4
5
  import { Heading } from '../../ui-kit/Heading/Heading.js';
5
6
  import { Img } from '../../ui-kit/Img/Img.js';
6
7
  import { List } from '../../ui-kit/List/List.js';
7
8
  import { BaseTile } from '../BaseTile/BaseTile.js';
8
9
  import { SocialMedia } from '../Footer/SocialMedia.js';
9
- export const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
10
+ export const RecommendationCard = JSX(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
10
11
  const tileTitle = title ? (_jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
11
12
  const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
12
- 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] }) }) }));
13
+ 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] }) }) }));
13
14
  });
14
15
  //# sourceMappingURL=RecommendationCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAQpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,C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E,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,GAAO,CACtF,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAKpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrF,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,KAAC,GAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,KACX,IAAI,YAER,KAAC,QAAQ,IAAC,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,YAC3E,eAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,MAAM,YAAE,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,cAAK,SAAS,EAAC,MAAM,YAClB,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,GAC9D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,27 +1,19 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
4
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
5
  import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
5
6
  import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
6
7
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
7
8
  import { Img } from '../../ui-kit/Img/Img.js';
8
9
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
9
- export 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 }) }) })));
10
+ export 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 }) }) })));
10
11
  RollupItem.childrenTypes = {
11
- exclude: [
12
- 'RollupItem',
13
- 'Accordion',
14
- 'AccordionItem',
15
- 'OtherProducts',
16
- 'OtherProductsItem',
17
- 'VerticalLayout',
18
- ],
12
+ exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
19
13
  };
20
- const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
21
- const iconsPrimary = ['PlusIcon', 'MinusIcon'];
22
- const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
23
- const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
24
- 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 }));
14
+ const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
15
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
16
+ return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : (_jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
25
17
  };
26
- 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(Img, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] })));
18
+ 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(Img, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
27
19
  //# sourceMappingURL=RollupItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,GAAG,EAAE,MAAM,sB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CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAErE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,CAC1F,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAQF,MAAM,uBAAuB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAA0B,EAAE,EAAE,CAAC,CACrF,kBACE,SAAS,EAAC,oHAAoH,EAC9H,OAAO,EAAE,QAAQ,aAEjB,eAAM,SAAS,EAAC,4BAA4B,YAAE,KAAK,GAAQ,EAC1D,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IACjF,CACV,CAAC"}
@@ -24,7 +24,7 @@ export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest
24
24
  const branches = useSafeBoxes(selectedRegion);
25
25
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
26
26
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
27
- 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] }));
27
+ 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] }));
28
28
  });
29
29
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
30
30
  //# sourceMappingURL=SafeDepositRental.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAU,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIpD,MAA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M,MAAM,GAAG,cAAc,CAAC,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC,cAAc,CAAC,IAAI,QAAQ,CAAC,CAAC;IAEhG,OAAO,CACL,MAAC,YAAY,IAAC,SAAS,EAAE,SAAS,KAAM,IAAI,aAC1C,eAAK,SAAS,EAAC,YAAY,aACxB,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IACN,KAAK,EAAE,KAAK,EACZ,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAC,sCAAsC,GAChD,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,qBAAqB,IACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,EAAE,GAAG,gBAAgB,EAAE,cAAc,EAAE,EAC7C,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,4BAA4B,GACtC,EACD,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAC,SAAS,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,WAAW,GAAG,CAAC,CAAC,CAAC,IAAI,IACzE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CAC7E,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
@@ -19,14 +19,11 @@ export const StepsBlock = JSX(({ className = '', showLines = true, steps = [], b
19
19
  const titleMargin = title ? 'mt-9' : '';
20
20
  const paddingX = getPaddingX(steps.length);
21
21
  return (_jsxs(BlockWrapper, { className: [
22
- 'box-border py-12 font-sans',
22
+ 'box-border py-12',
23
23
  shortGaps ? 'px-20' : 'px-[70px]',
24
24
  'flex flex-col items-center overflow-hidden',
25
- styleMap.background,
26
- styleMap.title,
27
25
  className,
28
- ].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] }));
26
+ ].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] }));
29
27
  });
30
- 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
31
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (_jsx(Img, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
28
+ 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(Img, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
32
29
  //# sourceMappingURL=StepsBlock.js.map