@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
@@ -3,6 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useLink } from '../../hooks/useLink.js';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
5
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
6
+ import { style } from '../../utils/style.js';
6
7
  const ICONS_MAP = [
7
8
  {
8
9
  origins: ['t.me', 'telegram.org'],
@@ -29,23 +30,21 @@ const ICONS_MAP = [
29
30
  icon: { icon: 'PlayMarketIcon' },
30
31
  label: 'Google Play',
31
32
  },
33
+ {
34
+ origins: ['youtube.com'],
35
+ icon: { icon: 'YoutubeIcon' },
36
+ label: 'Youtube',
37
+ },
32
38
  ];
33
- const BUTTON_SIZE = {
34
- default: ' w-14 h-14',
35
- small: ' w-12 h-12',
39
+ const buttonSizeStyles = {
40
+ default: 'w-14 h-14',
41
+ small: 'w-12 h-12',
36
42
  };
37
- export const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
43
+ export const MediaButton = JSX(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
38
44
  const link = useLink();
39
45
  const { href, onClick } = link(rest);
40
46
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
41
- if (!icon) {
42
- return null;
43
- }
44
- const classes = version === 'secondary'
45
- ? 'bg-white hover:bg-secondary-hover'
46
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
47
- const isPrimary = version === 'primary' ? 'hover:text-black' : '';
48
- const rounded = isRounded ? 'rounded-full' : 'rounded-md';
49
- return (_jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (_jsx(Img, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
47
+ const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
48
+ return icon ? (_jsx("a", { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], isRounded ? 'rounded-full' : 'rounded-md', 'border-solid border border-main-divider hover:border-transparent', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white group-data-secondary:hover:bg-secondary-hover'), href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: iconWithVersion ? (_jsx(Img, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
50
49
  });
51
50
  //# sourceMappingURL=MediaButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,SAAS,GAIV;IACH;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,IAAI,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;QAC9B,KAAK,EAAE,UAAU;KAClB;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CA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,gBAAgB,CAAC,UAAU,CAAC,EAC5B,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,EACzC,kEAAkE,EAClE,wCAAwC,EACxC,6EAA6E,CAC9E,EACD,IAAI,EAAE,IAAI,gBACE,KAAK,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,OAAO,EAAE,OAAO,YAEf,eAAe,CAAC,CAAC,CAAC,CACjB,KAAC,GAAG,IACF,KAAK,EAAE,eAAe,EACtB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,GACN,CACL,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -1,10 +1,8 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
2
  import { type ButtonSize } from './MediaButton';
4
3
  export interface SocialMediaProps {
5
4
  className?: string;
6
- media?: Omit<LinkProps, 'text'>[];
7
- version?: BlockVersion;
5
+ media?: LinkProps[];
8
6
  isRounded?: boolean;
9
7
  buttonSize?: ButtonSize;
10
8
  }
@@ -1,5 +1,5 @@
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 { MediaButton } from './MediaButton.js';
4
- export const SocialMedia = JSX(({ className = '', media, version, isRounded = false, buttonSize, children }) => (_jsxs("div", { className: "font-sans", children: [_jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { version: version, isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), _jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
4
+ export const SocialMedia = JSX(({ className = '', media, isRounded = false, buttonSize, children }) => (_jsxs("div", { className: "font-sans", children: [_jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), _jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
5
5
  //# sourceMappingURL=SocialMedia.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAmB,WAAW,EAAE,MAAM,eAAe,CAAC;AAU7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,GAAG,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC/E,eAAK,SAAS,EAAC,WAAW,aACxB,cAAK,SAAS,EAAE,gBAAgB,SAAS,EAAE,YACxC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,IAEV,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,KAClB,CAAC,IAJA,MAAM,CAAC,KAAK,CAAC,CAKlB,CACH,CAAC,GACE,EACN,eAAM,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAQ,IAChE,CACP,CACF,CAAC"}
1
+ {"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC;AAS7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,GAAG,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,eAAK,SAAS,EAAC,WAAW,aACxB,cAAK,SAAS,EAAE,gBAAgB,SAAS,EAAE,YACxC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,IAAqB,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,KAAM,CAAC,IAAlE,MAAM,CAAC,KAAK,CAAC,CAAyD,CACzF,CAAC,GACE,EACN,eAAM,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAQ,IAChE,CACP,CACF,CAAC"}
@@ -1,8 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
2
  export interface SocialMediaProps {
4
3
  className?: string;
5
4
  media?: Omit<LinkProps, 'text'>[];
6
- version?: BlockVersion;
7
5
  }
8
6
  export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { MediaButton } from './MediaButton.js';
4
- export const SocialMedia = JSX(({ className = '', media, version }) => (_jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { version: version, ..._ }, String(index)))) })));
4
+ export const SocialMedia = JSX(({ className = '', media }) => (_jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => (_jsx(MediaButton, { ..._ }, String(index)))) })));
5
5
  //# sourceMappingURL=SocialMedia.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQ5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvF,cAAK,SAAS,EAAE,kDAAkD,SAAS,EAAE,YAC1E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,IAAqB,OAAO,EAAE,OAAO,KAAM,CAAC,IAAtC,MAAM,CAAC,KAAK,CAAC,CAA6B,CAC7D,CAAC,GACE,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,cAAK,SAAS,EAAE,kDAAkD,SAAS,EAAE,YAC1E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { GalleryInner } from './GalleryInner.js';
4
- export const Gallery = JSX((props) => _jsx(GalleryInner, { ...props, version: "normal" }));
4
+ export const Gallery = JSX((props) => (_jsx(GalleryInner, { ...props, galleryVersion: "normal" })));
5
5
  //# sourceMappingURL=Gallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE,CAAC,KAAC,YAAY,OAAK,KAAK,EAAE,OAAO,EAAC,QAAQ,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE,CAAC,CAClD,KAAC,YAAY,OAAK,KAAK,EAAE,cAAc,EAAC,QAAQ,GAAG,CACpD,CAAC,CAAC"}
@@ -1,20 +1,17 @@
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';
3
+ import { blockStyles, BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Button } from '../../ui-kit/Button/Button.js';
5
5
  import { Heading } from '../../ui-kit/Heading/Heading.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
8
- export const Gallery = JSX(({ title, description, cards = [], className, orientation = 'horizontal' }) => {
9
- const headingClassName = description ? 'mb-2' : 'mb-5';
10
- return (_jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [_jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? (_jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] }));
11
- });
8
+ export const Gallery = JSX(({ className = '', title, description, cards = [], orientation = 'horizontal', ...rest }) => (_jsxs(BlockWrapper, { className: `relative px-4 py-6 overflow-hidden ${className}`, ...rest, children: [_jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? (_jsx("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] })));
12
9
  function renderCardsLayout(orientation, cards) {
13
10
  return orientation === 'horizontal' ? (_jsx(SwipeListControl, { children: cards?.map(renderCard) })) : (_jsx("div", { className: "grid gap-3.5", children: cards?.map(renderCard) }));
14
11
  }
15
12
  function renderCard(card, key) {
16
13
  return (_jsxs("div", { className: `w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4
17
- ${VersionStyleMap[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [renderImage(card.icon), card.title ? _jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
14
+ ${blockStyles[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [renderImage(card.icon), card.title ? _jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
18
15
  }
19
16
  const renderImage = (image) => image?.src || image?.icon ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-3.5", image: image }) })) : null;
20
17
  function renderButton(button) {
@@ -26,7 +23,9 @@ function renderDescription(card) {
26
23
  const LIST_DOT_STYLE_MAP = {
27
24
  primary: 'bg-primary-text',
28
25
  secondary: 'bg-white',
29
- gray: 'bg-secondary-text',
26
+ gray: 'bg-primary-text',
27
+ transparent: '',
28
+ '': '',
30
29
  };
31
30
  function renderItems(items, isDotted, version = 'primary') {
32
31
  return (_jsx("section", { className: "mt-3", children: items.map((item, i) => (_jsxs("div", { children: [isDotted ? (_jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP[version]}` })) : null, _jsx("span", { className: "text-m font-medium", children: item.title }), _jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.mobile.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAIlF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,WAAW,GAAG,YAAY,EAAE,EAAE,EAAE;IAC5E,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,mBACE,SAAS,EAAE,2EAA2E,SAAS,EAAE,aAEjG,eAAK,SAAS,EAAC,iCAAiC,aAC7C,KAAK,CAAC,CAAC,C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x } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { AlignText } from '../../model/AlignText.js';
4
- import { VersionAdditionalStyleMap } from '../../model/BlockVersion.js';
5
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  import { List } from '../../ui-kit/List/List.js';
8
8
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
9
9
  import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
10
- export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => (_jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted, version) : null, renderAdditionalDescription(additionalDescription, version)] }), button?.text
11
- ? renderButton({
12
- button,
13
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
14
- })
15
- : null] })));
16
- const renderImage = (image, version) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
10
+ export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (_jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription(additionalDescription)] }), renderButtonsSection([button], {
11
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
12
+ })] })));
13
+ const renderImage = (image) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
17
14
  const renderCardTitle = (headlineSmallVersion, title) => title ? _jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
18
15
  const renderDescription = (description, title) => description ? _jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
19
- const renderAdditionalDescription = (additionalDescription, version) => additionalDescription ? (_jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
20
- const renderItems = (items, isDotted, version = 'primary') => (_jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
16
+ const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
17
+ const renderItems = (items, isDotted) => (_jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
21
18
  //# sourceMappingURL=GalleryCardInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,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E,CACrE,qBAAqB,CAAC,CAAC,CAAC,CACtB,cAAK,SAAS,EAAE,6DAA6D,YAC1E,qBAAqB,GAClB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,WAAW,GAAG,CAAC,KAAyB,EAAE,QAAiB,EAAE,EAAE,CAAC,CACpE,KAAC,IAAI,IACH,SAAS,EAAC,kEAAkE,EAC5E,aAAa,EAAC,WAAW,EACzB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC"}
@@ -6,6 +6,6 @@ export interface GalleryContainerProps extends GalleryInnerProps {
6
6
  }
7
7
  export interface GalleryCardData {
8
8
  card: GalleryCardProps;
9
- version: GalleryVersion;
9
+ galleryVersion: GalleryVersion;
10
10
  }
11
11
  export declare const GalleryContainer: import("@redneckz/uni-jsx").UNIComponent<GalleryContainerProps, any, any>;
@@ -1,12 +1,13 @@
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';
3
+ import { blockStyles } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Headline } from '../Headline/Headline.js';
5
5
  import { cardStyleMap, cardWidthMap, galleryLengthForScrollMap } from './constants.js';
6
6
  import { GalleryCardInner } from './GalleryCardInner.js';
7
- export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (_jsxs("div", { children: [_jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
8
- function renderCard({ card, version }, i) {
7
+ export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (_jsxs("div", { children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
8
+ function renderCard({ card, galleryVersion }, i) {
9
9
  return (_jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
10
- items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
10
+ items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
11
+ } w-full col-span-4`, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
11
12
  }
12
13
  //# sourceMappingURL=GalleryContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAatD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,eAAe,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/JSXBlock';
3
3
  import type { GalleryContent } from './GalleryContent';
4
4
  export interface GalleryInnerProps extends GalleryContent, UniBlockProps {
5
- version?: GalleryVersion;
5
+ galleryVersion?: GalleryVersion;
6
6
  }
7
7
  export declare const GalleryInner: import("@redneckz/uni-jsx").UNIComponent<GalleryInnerProps, any, any>;
@@ -2,20 +2,20 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
5
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
6
6
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
7
7
  import { galleryLengthForScrollMap } from './constants.js';
8
8
  import { GalleryContainer } from './GalleryContainer.js';
9
- export const GalleryInner = JSX(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
9
+ export const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
10
10
  const [activeIndex, controls] = useCarouselControls({
11
11
  itemCount: cards?.length,
12
- visibleItemCount: galleryLengthForScrollMap[version],
12
+ visibleItemCount: galleryLengthForScrollMap[galleryVersion],
13
13
  });
14
14
  const { isScrollAvailable } = controls;
15
- return (_jsxs(BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [_jsx(GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), renderArrows({
15
+ return (_jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [_jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
16
16
  ...controls,
17
17
  btnClass: ['left-8', 'right-8'],
18
18
  className: 'top-1/2',
19
- }), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? renderButton({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
19
+ }), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
20
20
  });
21
21
  //# sourceMappingURL=GalleryInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,yBAAyB,CAAC,OAAO,CAAC;KACrD,CAAC,CAAC;IACH,MAAM,EAAE,iB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,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7E,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,yBAAyB,CAAC,cAAc,CAAC;KAC5D,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,mDAAmD,SAAS,EAAE,KACrE,IAAI,aAER,KAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,KACpB,IAAI,GACR,EACD,YAAY,CAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,EACD,iBAAiB,CAAC,CAAC,CAAC,CACnB,0BACE,cAAK,SAAS,EAAC,+DAA+D,GAAG,EACjF,cAAK,SAAS,EAAC,8DAA8D,GAAG,IAC5E,CACP,CAAC,CAAC,CAAC,IAAI,EACP,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
5
  import { Headline } from '../Headline/Headline.js';
6
- export const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
6
+ export const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (_jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
7
7
  const renderCalendar = (calendar) => {
8
8
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
9
9
  const colSize = 100 / colCount;
@@ -1 +1 @@
1
- {"version":3,"file":"GracePeriod.js","sourceRoot":"","sources":["../../../src/components/GracePeriod/GracePeriod.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAShD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7D,MAAC,YAAY,IAAC,SAAS,EAAE,2BAA2B,SAAS,EAAE,KAAM,IAAI,aACvE,KAAC,QAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACD,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9B,CAChB,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,QAAwB,EAAE,EAAE;IAClD,MAAM,QAAQ,GACZ,QAAQ,CAAC,MAAM,CACb,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAC5B,YAAY,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,GAAG,YAAY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aAEjC,cAAK,SAAS,EAAC,MAAM,YAAE,iBAAiB,CAAC,CAAC,CAAC,GAAO,EAClD,eAAK,SAAS,EAAC,qCAAqC,aAClD,yBAAO,CAAC,CAAC,IAAI,GAAQ,YACrB,eAAM,SAAS,EAAC,mBAAmB,YAAE,CAAC,CAAC,SAAS,GAAQ,IACpD,KARD,aAAa,GAAG,EAAE,CASnB,CACP,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAA6B,EAAE,OAAe,EAAE,EAAE,CAC1E,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,cAA4B,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,OAAO,GAAG,EAAE,YAC5D,CAAC,CAAC,IAAI,IADC,aAAa,CAAC,EAAE,CAEpB,CACP,CAAC,CAAC;AAEL,MAAM,iBAAiB,GAAG,CAAC,IAA6B,EAAE,EAAE,CAC1D,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACb,cAEE,SAAS,EAAC,sFAAsF,YAEhG,KAAC,GAAG,IAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,IAHnC,cAAc,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAI5B,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
@@ -1,10 +1,8 @@
1
- import type { BgColorVersion } from '../../model/BgColorVersion';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
2
  interface DropdownMenuProps {
4
3
  className?: string;
5
4
  items: LinkProps[];
6
5
  activeItem?: LinkProps;
7
- bgColor?: BgColorVersion;
8
6
  }
9
7
  export declare const DropdownMenu: import("@redneckz/uni-jsx").UNIComponent<DropdownMenuProps, any, any>;
10
8
  export {};
@@ -3,17 +3,14 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useLink } from '../../hooks/useLink.js';
5
5
  import { useOutsideClick } from '../../hooks/useOutsideClick.js';
6
- const DOT_BG_COLORS_MAP = {
7
- 'bg-white': 'bg-primary-text',
8
- transparent: 'bg-white',
9
- };
10
- export const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
6
+ export const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
11
7
  const link = useLink();
12
8
  const [visible, setVisible] = useState(false);
13
9
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
14
10
  const handleClickOutside = useCallback(() => setVisible(false), []);
15
11
  const ref = useOutsideClick(handleClickOutside);
16
- return (_jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [_jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), _jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (_jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
12
+ return (_jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [_jsx("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
13
+ .fill(null)
14
+ .map((_, i) => (_jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), _jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (_jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
17
15
  });
18
- const renderDot = (bgColor, i) => (_jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
19
16
  //# sourceMappingURL=DropdownMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.js","sourceRoot":"","sources":["../../../src/components/Header/DropdownMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAI9D,MAAM,iBAAiB,GAAmC;IACxD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,UAAU;CACxB,CAAC;AASF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IACjD,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAElE,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IACpE,MAAM,GAAG,GAAG,eAAe,CA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BACrE,CAAC,OAAO,YAEpB,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACvB,YAEE,SAAS,EAAE,6CACT,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAC9C,EAAE,KACE,IAAI,CAAC,IAAI,CAAC,YAEb,IAAI,CAAC,IAAI,IANL,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,CAAC,CAOzB,CACL,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -9,15 +9,15 @@ import { Logo } from '../../ui-kit/Logo/Logo.js';
9
9
  import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
10
10
  import { HeaderSecondaryMenu } from './HeaderSecondaryMenu.js';
11
11
  import { HeaderSubMenu } from './HeaderSubMenu.js';
12
- const BORDER_COLORS = {
13
- 'bg-white': 'bg-main-divider',
14
- transparent: 'bg-main-divider opacity-30',
12
+ const BG_COLOR_TO_BLOCK_VERSION = {
13
+ 'bg-white': 'primary',
14
+ transparent: 'transparent',
15
15
  };
16
- export const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
16
+ export const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
17
17
  const router = useRouter();
18
18
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
19
19
  const activeTopItem = topItems?.find(isTopItemActive(router));
20
- const topMenu = topItems?.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
21
- return (_jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: _jsxs("div", { className: "container", children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, _jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), _jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (_jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
20
+ const topMenu = topItems?.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, ..._ }, String(i))));
21
+ return (_jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, version: version, ...rest, children: _jsxs("div", { className: "container", children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, _jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), _jsx("div", { className: `mt-6 h-px bg-main-divider${version === 'transparent' ? ' opacity-30' : ''}` }), showSubMenu && activeTopItem?.items?.length ? (_jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
22
22
  });
23
23
  //# sourceMappingURL=Header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC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D,OAAO,EACR,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,SAAS,EACnB,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW,GACxB,IACE,EACN,cACE,SAAS,EAAE,4BAA4B,OAAO,KAAK,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,GACvF,EACD,WAAW,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAC7C,KAAC,aAAa,IAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAI,CACjD,CAAC,CAAC,CAAC,IAAI,IACJ,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -6,13 +6,18 @@ import { projectSettings } from '../../ProjectSettings.js';
6
6
  import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
7
7
  import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
8
8
  import { useSWRResource } from '../../services/sitemap/useSWRResource.js';
9
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
9
10
  import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
10
11
  import { AccordionItemsList } from '../Accordion/AccordionItemsList.js';
11
12
  import { AccordionItem } from '../AccordionItem/AccordionItem.js';
12
13
  import { LinkList } from '../LinkList/LinkList.js';
13
14
  import { HeaderBurger } from './HeaderBurger.js';
14
15
  import { HeaderTop } from './HeaderTop.js';
15
- export const Header = JSX(({ className = '', bgColor = 'bg-white', ...rest }) => {
16
+ const BG_COLOR_TO_BLOCK_VERSION = {
17
+ 'bg-white': 'primary',
18
+ transparent: 'transparent',
19
+ };
20
+ export const Header = JSX(({ bgColor = 'bg-white', version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
16
21
  const router = useRouter();
17
22
  const fallback = rest.options?.page?.fallback;
18
23
  const { topItems, dispositions, defaultLocation, logo } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
@@ -21,6 +26,6 @@ export const Header = JSX(({ className = '', bgColor = 'bg-white', ...rest }) =>
21
26
  const activeSubItem = findActiveSubItem(router)(subItems);
22
27
  const [burgerMenuShow, setBurgerMenuShow] = useState(false);
23
28
  const handleBurgerMenuShow = useCallback(() => setBurgerMenuShow((_) => !_), []);
24
- return (_jsxs("header", { className: `${bgColor} ${className}`, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, bgColor: bgColor, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: _jsx(AccordionItemsList, { children: topItems?.map((item, i) => (_jsx(AccordionItem, { label: item.text, children: _jsx(LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
29
+ return (_jsxs(BlockWrapper, { tag: "header", version: version, ...rest, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: _jsx(AccordionItemsList, { children: topItems?.map((item, i) => (_jsx(AccordionItem, { label: item.text, children: _jsx(LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
25
30
  });
26
31
  //# sourceMappingURL=Header.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3F,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,QAAQ,GAAyB,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC;IACpE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,IAAI,EAAE,GAAG,cAAc,CACtE,eAAe,CAAC,OAAO,IAAI,SAAS,EACpC,QAAQ,CACT,CAAC;IAE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F,EACL,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,YAAY,IACX,OAAO,EAAE,oBAAoB,EAC7B,aAAa,EAAE,YAAY,EAC3B,eAAe,EAAE,eAAe,YAEhC,KAAC,kBAAkB,cAChB,QAAQ,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC1B,KAAC,aAAa,IAAiB,KAAK,EAAE,IAAI,CAAC,IAAI,YAC7C,KAAC,QAAQ,IAAC,SAAS,EAAE,IAAI,CAAC,KAAK,GAAI,IADjB,MAAM,CAAC,CAAC,CAAC,CAEb,CACjB,CAAC,GACiB,GACR,CAChB,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,9 +1,9 @@
1
- import type { BgColorVersion } from '../../model/BgColorVersion';
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ForeignOffice } from '../../services/sitemap/SitemapProps';
3
3
  interface HeaderSecondaryMenuContent {
4
+ version?: BlockVersion;
4
5
  defaultLocation?: string;
5
6
  officesLink?: string;
6
- bgColor?: BgColorVersion;
7
7
  foreignOffices?: ForeignOffice[];
8
8
  }
9
9
  export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
@@ -1,32 +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 { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useLocation } from '../../hooks/useLocation.js';
5
5
  import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { Location } from '../../ui-kit/Location/Location.js';
7
7
  import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
8
8
  import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton.js';
9
- const COLORS_MAP = {
10
- 'bg-white': 'text-primary-text hover:text-primary-main',
11
- transparent: 'text-white',
12
- };
13
- const LINKS_COLORS_MAP = {
14
- 'bg-white': 'text-secondary-light hover:text-secondary-hover',
15
- transparent: 'text-white',
16
- };
17
- const LINKS_ICON_VERSION_MAP = {
18
- 'bg-white': 'black',
19
- transparent: 'white',
20
- };
21
- export const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', foreignOffices, bgColor = 'bg-white', }) => {
9
+ export const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
22
10
  const [isShowLocationModal, setShowLocationModal] = useState(false);
23
11
  const [location, onChangeLocation] = useLocation(defaultLocation);
24
- const showLocationModal = () => {
12
+ const showLocationModal = useCallback(() => {
25
13
  setShowLocationModal(true);
26
- };
27
- const hideLocationModal = () => {
14
+ }, []);
15
+ const hideLocationModal = useCallback(() => {
28
16
  setShowLocationModal(false);
29
- };
30
- return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal, bgColor: bgColor }), officesLink ? (_jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor })) : null, _jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-8 min-h-8`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) }), isShowLocationModal ? (_jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
17
+ }, []);
18
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
19
+ return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal }), officesLink ? (_jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432" })) : null, _jsx(HeaderSecondaryMenuButton, { className: "mr-5 group/btn text-primary-text hover:text-primary-main group-data-transparent:text-white", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Img, { image: { icon: 'LoupeIcon', iconVersion }, className: "h-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0 pointer-events-none", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: "group/btn min-w-8 min-h-8 text-secondary-light hover:text-secondary-hover group-data-transparent:text-white", ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Img, { image: { icon: 'GridIcon', iconVersion }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0", asSVG: true }) }), isShowLocationModal ? (_jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
31
20
  });
32
21
  //# sourceMappingURL=HeaderSecondaryMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAaxE,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,2CAA2C;IACvD,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,gBAAgB,GAAmC;IACvD,UAAU,EAAE,iDAAiD;IAC7D,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,sBAA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