@redneckz/wildless-cms-uni-blocks 0.7.1 → 0.7.3

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 (1501) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +290 -491
  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/SwipeListControl/SwipeListContainer.js +8 -3
  316. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  317. package/dist/ui-kit/Text/Text.js +1 -1
  318. package/dist/ui-kit/Text/Text.js.map +1 -1
  319. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  320. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  321. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  322. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  323. package/dist/utils/getColSpan.d.ts +1 -1
  324. package/dist/utils/getColSpan.js +1 -1
  325. package/dist/utils/getColSpan.js.map +1 -1
  326. package/dist/utils/style.d.ts +3 -1
  327. package/dist/utils/style.js +4 -1
  328. package/dist/utils/style.js.map +1 -1
  329. package/lib/BlockRenderer/renderBlock.js +4 -3
  330. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  331. package/lib/common.css +1 -1
  332. package/lib/components/Accordion/Accordion.js +1 -1
  333. package/lib/components/Accordion/Accordion.js.map +1 -1
  334. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  335. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  336. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  337. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  338. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  339. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  340. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  341. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  342. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  343. package/lib/components/Bonus/Bonus.js +5 -7
  344. package/lib/components/Bonus/Bonus.js.map +1 -1
  345. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  346. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  347. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  348. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  349. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  350. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  351. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  352. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  353. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  354. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  355. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  356. package/lib/components/Calculator/Calculator.js +1 -1
  357. package/lib/components/Calculator/Calculator.js.map +1 -1
  358. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  359. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  360. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  361. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  362. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  363. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  364. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  365. package/lib/components/Carousel/Carousel.js +5 -3
  366. package/lib/components/Carousel/Carousel.js.map +1 -1
  367. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  368. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  369. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  370. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  371. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  372. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  373. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  374. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  375. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  376. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  377. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  378. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  379. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  380. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  381. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  382. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  383. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  384. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  385. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  386. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  387. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  388. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  389. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  390. package/lib/components/Catalog/Catalog.js +1 -1
  391. package/lib/components/Catalog/Catalog.js.map +1 -1
  392. package/lib/components/Catalog/CatalogCard.js +2 -2
  393. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  394. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  395. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  396. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  397. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  398. package/lib/components/ContentPage/ContentPage.js +2 -2
  399. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  400. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  401. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  402. package/lib/components/Footer/Footer.js +2 -2
  403. package/lib/components/Footer/Footer.js.map +1 -1
  404. package/lib/components/Footer/MediaButton.d.ts +2 -2
  405. package/lib/components/Footer/MediaButton.js +12 -13
  406. package/lib/components/Footer/MediaButton.js.map +1 -1
  407. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  408. package/lib/components/Footer/SocialMedia.js +1 -1
  409. package/lib/components/Footer/SocialMedia.js.map +1 -1
  410. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  411. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  412. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  413. package/lib/components/Gallery/Gallery.js +1 -1
  414. package/lib/components/Gallery/Gallery.js.map +1 -1
  415. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  416. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  417. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  418. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  419. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  420. package/lib/components/Gallery/GalleryContainer.js +5 -4
  421. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  422. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  423. package/lib/components/Gallery/GalleryInner.js +5 -5
  424. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  425. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  426. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  427. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  428. package/lib/components/Header/DropdownMenu.js +4 -7
  429. package/lib/components/Header/DropdownMenu.js.map +1 -1
  430. package/lib/components/Header/Header.js +6 -6
  431. package/lib/components/Header/Header.js.map +1 -1
  432. package/lib/components/Header/Header.mobile.js +7 -2
  433. package/lib/components/Header/Header.mobile.js.map +1 -1
  434. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  435. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  436. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  437. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  438. package/lib/components/Header/HeaderSubMenu.js +2 -2
  439. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  440. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  441. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  442. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  443. package/lib/components/Header/HeaderTop.js +1 -1
  444. package/lib/components/Header/HeaderTop.js.map +1 -1
  445. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  446. package/lib/components/Headline/Headline.js +4 -5
  447. package/lib/components/Headline/Headline.js.map +1 -1
  448. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  449. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  450. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  451. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  452. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  453. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  454. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  455. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  456. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  457. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  458. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  459. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  460. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  461. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  462. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  463. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  464. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  465. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  466. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  467. package/lib/components/LinkList/LinkList.js +1 -1
  468. package/lib/components/LinkList/LinkList.js.map +1 -1
  469. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  470. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  471. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  472. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  473. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  474. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  475. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  476. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  477. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  478. package/lib/components/PictureText/PictureText.js +1 -2
  479. package/lib/components/PictureText/PictureText.js.map +1 -1
  480. package/lib/components/Placeholder/Placeholder.js +2 -1
  481. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  482. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  483. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  484. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  485. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  486. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  487. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  488. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  489. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  490. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  491. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  492. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  493. package/lib/components/ProductTile/ProductTile.js +5 -6
  494. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  495. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  496. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  497. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  498. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  499. package/lib/components/ProductTile/renderBenefit.js +2 -6
  500. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  501. package/lib/components/PromoTile/PromoTile.js +3 -3
  502. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  503. package/lib/components/Recommendation/Recommendation.js +2 -4
  504. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  505. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  506. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  507. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  508. package/lib/components/RollupItem/RollupItem.js +7 -15
  509. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  510. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  511. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  512. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  513. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  514. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  515. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  516. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  517. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  518. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  519. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  520. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  521. package/lib/components/Tabs/renderGroupTab.js +1 -1
  522. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  523. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  524. package/lib/components/Tabs/tabItemClasses.js +2 -2
  525. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  526. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  527. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  528. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  529. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  530. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  531. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  532. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  533. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  534. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  535. package/lib/components/Tile/Tile.d.ts +0 -1
  536. package/lib/components/Tile/Tile.js +5 -10
  537. package/lib/components/Tile/Tile.js.map +1 -1
  538. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  539. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  540. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  541. package/lib/components/Video/Video.js +2 -4
  542. package/lib/components/Video/Video.js.map +1 -1
  543. package/lib/components/Video/getPaddings.d.ts +1 -1
  544. package/lib/components/Video/getPaddings.js.map +1 -1
  545. package/lib/icons/IconName.d.ts +6 -4
  546. package/lib/icons/IconName.js +2 -0
  547. package/lib/icons/IconName.js.map +1 -1
  548. package/lib/model/BlockVersion.d.ts +6 -20
  549. package/lib/model/BlockVersion.js +1 -32
  550. package/lib/model/BlockVersion.js.map +1 -1
  551. package/lib/model/ButtonVersion.d.ts +3 -3
  552. package/lib/model/JSXBlock.d.ts +2 -0
  553. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  554. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  555. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  556. package/lib/ui-kit/BlockWrapper.js +10 -2
  557. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  558. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  559. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  560. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  561. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  562. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  563. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  564. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  565. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  566. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  567. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  568. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  569. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  570. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  571. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  572. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  573. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  574. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  575. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  576. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  577. package/lib/ui-kit/Heading/Heading.js +2 -5
  578. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  579. package/lib/ui-kit/Icon/Icon.js +3 -8
  580. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  581. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  582. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  583. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  584. package/lib/ui-kit/List/List.js +1 -12
  585. package/lib/ui-kit/List/List.js.map +1 -1
  586. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  587. package/lib/ui-kit/List/ListItem.js +1 -8
  588. package/lib/ui-kit/List/ListItem.js.map +1 -1
  589. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  590. package/lib/ui-kit/Location/Location.js +1 -1
  591. package/lib/ui-kit/Location/Location.js.map +1 -1
  592. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  593. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  594. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  595. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  596. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.d.ts +12 -0
  597. package/lib/ui-kit/Text/Text.js +1 -1
  598. package/lib/ui-kit/Text/Text.js.map +1 -1
  599. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  600. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  601. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  602. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  603. package/lib/utils/getColSpan.d.ts +1 -1
  604. package/lib/utils/getColSpan.js +1 -1
  605. package/lib/utils/getColSpan.js.map +1 -1
  606. package/lib/utils/style.d.ts +3 -1
  607. package/lib/utils/style.js +4 -1
  608. package/lib/utils/style.js.map +1 -1
  609. package/mobile/bundle/bundle.umd.js +155 -164
  610. package/mobile/bundle/bundle.umd.min.js +1 -1
  611. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  612. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  613. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  614. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  615. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  616. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  617. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  618. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  619. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  620. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  621. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  622. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  623. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  624. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  625. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  626. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  627. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  628. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  629. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  630. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  631. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  632. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  633. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  634. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  635. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  636. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  637. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  638. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  639. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  640. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  641. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  642. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  643. package/mobile/bundle/icons/IconName.d.ts +6 -4
  644. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  645. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  646. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  647. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  648. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  649. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  650. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  651. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  652. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  653. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  654. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  655. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  656. package/mobile/bundle/utils/style.d.ts +3 -1
  657. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  658. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  659. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  660. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  661. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  662. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  663. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  664. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  665. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  666. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  667. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  668. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  669. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  670. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  671. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  672. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  673. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  674. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  675. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  676. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  677. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  678. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  679. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  680. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  681. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  682. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  683. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  684. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  685. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  686. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  687. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  688. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  689. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  690. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  691. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  692. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  693. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  694. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  695. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  696. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  697. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  698. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  699. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  700. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  701. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  702. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  703. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  704. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  705. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  706. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  707. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  708. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  709. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  710. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  711. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  712. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  713. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  714. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  715. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  716. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  717. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  718. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  719. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  720. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  721. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  722. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  723. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  724. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  725. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  726. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  727. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  728. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  729. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  730. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  731. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  732. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  733. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  734. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  735. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  736. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  737. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  738. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  739. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  740. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  741. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  742. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  743. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  744. package/mobile/dist/components/Header/Header.js +7 -2
  745. package/mobile/dist/components/Header/Header.js.map +1 -1
  746. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  747. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  748. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  749. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  750. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  751. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  752. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  753. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  754. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  755. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  756. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  757. package/mobile/dist/components/Headline/Headline.js +6 -5
  758. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  759. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  760. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  761. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  762. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  763. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  764. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  765. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  766. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  767. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  768. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  769. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  770. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  771. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  772. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  773. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  774. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  775. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  776. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  777. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  778. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  779. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  780. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  781. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  782. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  783. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  784. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  785. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  786. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  787. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  788. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  789. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  790. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  791. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  792. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  793. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  794. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  795. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  796. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  797. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  798. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  799. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  800. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  801. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  802. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  803. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  804. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  805. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  806. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  807. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  808. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  809. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  810. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  811. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  812. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  813. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  814. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  815. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  816. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  817. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  818. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  819. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  820. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  821. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  822. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  823. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  824. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  825. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  826. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  827. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  828. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  829. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  830. package/mobile/dist/components/Tile/Tile.js +5 -10
  831. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  832. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  833. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  834. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  835. package/mobile/dist/components/Video/Video.js +2 -4
  836. package/mobile/dist/components/Video/Video.js.map +1 -1
  837. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  838. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  839. package/mobile/dist/icons/IconName.d.ts +6 -4
  840. package/mobile/dist/icons/IconName.js +2 -0
  841. package/mobile/dist/icons/IconName.js.map +1 -1
  842. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  843. package/mobile/dist/model/BlockVersion.js +0 -33
  844. package/mobile/dist/model/BlockVersion.js.map +1 -1
  845. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  846. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  847. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  848. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  849. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  850. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  851. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  852. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  853. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  854. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  855. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  856. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  857. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  858. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  859. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  860. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  861. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  862. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  863. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  864. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  865. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  866. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  867. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  868. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  869. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  870. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  871. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  872. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  873. package/mobile/dist/ui-kit/List/List.js +1 -12
  874. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  875. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  876. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  877. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  878. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  879. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  880. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  881. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  882. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  883. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  884. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  885. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  886. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  887. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  888. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  889. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  890. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  891. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  892. package/mobile/dist/utils/getColSpan.js +1 -1
  893. package/mobile/dist/utils/getColSpan.js.map +1 -1
  894. package/mobile/dist/utils/style.d.ts +3 -1
  895. package/mobile/dist/utils/style.js +4 -1
  896. package/mobile/dist/utils/style.js.map +1 -1
  897. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  898. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  899. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  900. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  901. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  902. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  903. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  904. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  905. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  906. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  907. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  908. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  909. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  910. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  911. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  912. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  913. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  914. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  915. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  916. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  917. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  918. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  919. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  920. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  921. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  922. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  923. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  924. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  925. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  926. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  927. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  928. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  929. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  930. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  931. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  932. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  933. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  934. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  935. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  936. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  937. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  938. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  939. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  940. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  941. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  942. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  943. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  944. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  945. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  946. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  947. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  948. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  949. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  950. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  951. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  952. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  953. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  954. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  955. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  956. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  957. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  958. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  959. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  960. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  961. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  962. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  963. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  964. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  965. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  966. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  967. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  968. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  969. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  970. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  971. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  972. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  973. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  974. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  975. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  976. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  977. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  978. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  979. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  980. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  981. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  982. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  983. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  984. package/mobile/lib/components/Header/Header.js +7 -2
  985. package/mobile/lib/components/Header/Header.js.map +1 -1
  986. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  987. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  988. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  989. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  990. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  991. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  992. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  993. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  994. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  995. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  996. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  997. package/mobile/lib/components/Headline/Headline.js +6 -5
  998. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  999. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  1000. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  1001. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1002. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  1003. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  1004. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  1005. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  1006. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1007. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1008. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1009. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1010. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1011. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1012. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1013. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1014. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1015. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1016. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1017. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1018. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1019. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1020. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1021. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1022. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1023. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1024. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1025. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1026. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1027. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1028. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1029. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1030. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1031. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1032. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1033. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1034. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1035. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1036. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1037. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1038. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1039. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1040. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1041. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1042. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1043. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1044. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1045. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1046. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1047. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1048. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1049. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1050. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1051. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1052. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1053. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1054. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1055. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1056. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1057. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1058. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1059. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1060. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1061. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1062. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1063. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1064. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1065. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1066. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1067. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1068. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1069. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1070. package/mobile/lib/components/Tile/Tile.js +5 -10
  1071. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1072. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1073. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1074. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1075. package/mobile/lib/components/Video/Video.js +2 -4
  1076. package/mobile/lib/components/Video/Video.js.map +1 -1
  1077. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1078. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1079. package/mobile/lib/icons/IconName.d.ts +6 -4
  1080. package/mobile/lib/icons/IconName.js +2 -0
  1081. package/mobile/lib/icons/IconName.js.map +1 -1
  1082. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1083. package/mobile/lib/model/BlockVersion.js +1 -32
  1084. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1085. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1086. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1087. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1088. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1089. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1090. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1091. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1092. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1093. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1094. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1095. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1096. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1097. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1098. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1099. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1100. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1101. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1102. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1103. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1104. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1105. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1106. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1107. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1108. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1109. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1110. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1111. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1112. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1113. package/mobile/lib/ui-kit/List/List.js +1 -12
  1114. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1115. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1116. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1117. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1118. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1119. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1120. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1121. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1122. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1123. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  1124. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1125. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1126. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1127. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1128. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1129. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1130. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1131. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1132. package/mobile/lib/utils/getColSpan.js +1 -1
  1133. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1134. package/mobile/lib/utils/style.d.ts +3 -1
  1135. package/mobile/lib/utils/style.js +4 -1
  1136. package/mobile/lib/utils/style.js.map +1 -1
  1137. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1138. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1139. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1140. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1141. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1142. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1143. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1144. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1145. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1146. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1147. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1148. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1149. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1150. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1151. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1152. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1153. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1154. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1155. package/mobile/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1156. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1157. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1158. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1159. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1160. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1161. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1162. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1163. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1164. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1165. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1166. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1167. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1168. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1169. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1170. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1171. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1172. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1173. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1174. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1175. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1176. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1177. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1178. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1179. package/mobile/src/components/Header/Header.tsx +57 -48
  1180. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1181. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1182. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1183. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1184. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1185. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1186. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1187. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1188. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1189. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1190. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1191. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1192. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1193. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1194. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1195. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1196. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1197. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1198. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1199. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1200. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1201. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1202. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1203. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1204. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1205. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1206. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1207. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1208. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1209. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1210. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1211. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1212. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1213. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1214. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1215. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1216. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1217. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1218. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1219. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1220. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1221. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1222. package/mobile/src/components/Video/Video.tsx +17 -20
  1223. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1224. package/mobile/src/icons/IconName.ts +4 -4
  1225. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1226. package/mobile/src/model/BlockVersion.ts +11 -53
  1227. package/mobile/src/model/ButtonVersion.ts +3 -3
  1228. package/mobile/src/model/JSXBlock.ts +2 -0
  1229. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1230. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1231. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1232. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1233. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1234. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1235. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1236. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1237. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1238. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1239. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1240. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1241. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1242. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1243. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1244. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1245. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1246. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +9 -4
  1247. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1248. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1249. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1250. package/mobile/src/utils/getColSpan.ts +2 -2
  1251. package/mobile/src/utils/style.ts +7 -2
  1252. package/package.json +1 -1
  1253. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1254. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1255. package/src/components/Accordion/Accordion.tsx +1 -4
  1256. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1257. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1258. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1259. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1260. package/src/components/Bonus/Bonus.tsx +19 -27
  1261. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1262. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1263. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1264. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1265. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1266. package/src/components/Calculator/Calculator.tsx +1 -4
  1267. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1268. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1269. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1270. package/src/components/Carousel/Carousel.example.json +2 -1
  1271. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1272. package/src/components/Carousel/Carousel.tsx +14 -3
  1273. package/src/components/Carousel/CarouselContent.ts +2 -0
  1274. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1275. package/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1276. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1277. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1278. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1279. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1280. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1281. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1282. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1283. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1284. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1285. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1286. package/src/components/Catalog/Catalog.tsx +1 -4
  1287. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1288. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1289. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1290. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1291. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1292. package/src/components/Footer/Footer.tsx +2 -2
  1293. package/src/components/Footer/MediaButton.tsx +27 -25
  1294. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1295. package/src/components/Footer/SocialMedia.tsx +4 -12
  1296. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1297. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1298. package/src/components/Gallery/Gallery.tsx +3 -1
  1299. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1300. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1301. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1302. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1303. package/src/components/Header/DropdownMenu.tsx +41 -47
  1304. package/src/components/Header/Header.mobile.tsx +57 -48
  1305. package/src/components/Header/Header.tsx +21 -17
  1306. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1307. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1308. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1309. package/src/components/Header/HeaderTop.tsx +2 -5
  1310. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1311. package/src/components/Headline/Headline.tsx +11 -11
  1312. package/src/components/Headline/HeadlineContent.ts +0 -2
  1313. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1314. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1315. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1316. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1317. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1318. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1319. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1320. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1321. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1322. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1323. package/src/components/LinkList/LinkList.tsx +1 -1
  1324. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1325. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1326. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1327. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1328. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1329. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1330. package/src/components/PictureText/PictureText.tsx +3 -14
  1331. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1332. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1333. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1334. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1335. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1336. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1337. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1338. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1339. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1340. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1341. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1342. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1343. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1344. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1345. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1346. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1347. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1348. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1349. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1350. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +1 -1
  1351. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1352. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1353. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1354. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1355. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1356. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1357. package/src/components/Tile/Tile.tsx +22 -42
  1358. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1359. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1360. package/src/components/Video/Video.tsx +17 -20
  1361. package/src/components/Video/getPaddings.ts +1 -1
  1362. package/src/icons/IconName.ts +5 -2
  1363. package/src/icons/YoutubeIcon.svg +3 -0
  1364. package/src/model/BlockVersion.ts +11 -53
  1365. package/src/model/ButtonVersion.ts +3 -3
  1366. package/src/model/JSXBlock.ts +2 -0
  1367. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1368. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1369. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1370. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1371. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1372. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1373. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1374. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1375. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1376. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1377. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1378. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1379. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1380. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1381. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1382. package/src/ui-kit/List/List.tsx +23 -43
  1383. package/src/ui-kit/List/ListItem.tsx +13 -22
  1384. package/src/ui-kit/List/ListProps.ts +0 -7
  1385. package/src/ui-kit/Location/Location.tsx +1 -1
  1386. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1387. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +9 -4
  1388. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -2
  1389. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +53 -0
  1390. package/src/ui-kit/Text/Text.tsx +2 -4
  1391. package/src/ui-kit/Text/TextProps.ts +5 -2
  1392. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1393. package/src/utils/getColSpan.ts +2 -2
  1394. package/src/utils/style.ts +7 -2
  1395. package/tailwind.config.cjs +6 -0
  1396. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1397. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1398. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1399. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1400. package/bundle/model/BorderVersion.d.ts +0 -6
  1401. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1402. package/bundle/utils/style2className.d.ts +0 -1
  1403. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1404. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1405. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1406. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1407. package/dist/components/Headline/Headline.mobile.js +0 -13
  1408. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1409. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1410. package/dist/components/Headline/headlineStyles.js +0 -18
  1411. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1412. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1413. package/dist/components/StepsBlock/renderItems.js +0 -7
  1414. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1415. package/dist/model/BorderVersion.d.ts +0 -6
  1416. package/dist/model/BorderVersion.js +0 -7
  1417. package/dist/model/BorderVersion.js.map +0 -1
  1418. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1419. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1420. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1421. package/dist/utils/style2className.d.ts +0 -1
  1422. package/dist/utils/style2className.js +0 -7
  1423. package/dist/utils/style2className.js.map +0 -1
  1424. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1425. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1426. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1427. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1428. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1429. package/lib/components/Headline/Headline.mobile.js +0 -11
  1430. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1431. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1432. package/lib/components/Headline/headlineStyles.js +0 -16
  1433. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1434. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1435. package/lib/components/StepsBlock/renderItems.js +0 -4
  1436. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1437. package/lib/model/BorderVersion.d.ts +0 -6
  1438. package/lib/model/BorderVersion.js +0 -5
  1439. package/lib/model/BorderVersion.js.map +0 -1
  1440. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1441. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1442. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1443. package/lib/utils/style2className.d.ts +0 -1
  1444. package/lib/utils/style2className.js +0 -4
  1445. package/lib/utils/style2className.js.map +0 -1
  1446. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1447. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1448. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1449. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1450. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1451. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1452. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1453. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1454. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1455. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1456. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1457. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1458. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1459. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1460. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1461. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1462. package/mobile/dist/model/BorderVersion.js +0 -7
  1463. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1464. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1465. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1466. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1467. package/mobile/dist/utils/style2className.d.ts +0 -1
  1468. package/mobile/dist/utils/style2className.js +0 -7
  1469. package/mobile/dist/utils/style2className.js.map +0 -1
  1470. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1471. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1472. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1473. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1474. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1475. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1476. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1477. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1478. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1479. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1480. package/mobile/lib/model/BorderVersion.js +0 -5
  1481. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1482. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1483. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1484. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1485. package/mobile/lib/utils/style2className.d.ts +0 -1
  1486. package/mobile/lib/utils/style2className.js +0 -4
  1487. package/mobile/lib/utils/style2className.js.map +0 -1
  1488. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1489. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1490. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1491. package/mobile/src/model/BorderVersion.ts +0 -10
  1492. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1493. package/mobile/src/utils/style2className.ts +0 -3
  1494. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1495. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1496. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1497. package/src/components/Headline/headlineStyles.ts +0 -25
  1498. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1499. package/src/model/BorderVersion.ts +0 -10
  1500. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1501. package/src/utils/style2className.ts +0 -3
@@ -6,19 +6,18 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Button_1 = require("../../ui-kit/Button/Button");
7
7
  const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
8
8
  const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
9
- const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
10
9
  const Heading_1 = require("../../ui-kit/Heading/Heading");
11
10
  const Icon_1 = require("../../ui-kit/Icon/Icon");
12
11
  const Img_1 = require("../../ui-kit/Img/Img");
13
12
  const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
13
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
14
+ const style_1 = require("../../utils/style");
14
15
  const VISIBLE_CELLS_COUNT = 1;
15
16
  exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
16
17
  const cellsNode = cardCells.map(renderCardInfo);
17
18
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
18
19
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
19
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8 flex flex-col
20
- ${getHitStyle(isHighlighting)}
21
- ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleCells, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton : null })) : null] }));
20
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative border border-gray min-w-[322px] p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleCells, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton : null })) : null] }));
22
21
  });
23
22
  const renderIconBlock = (icon) => ((0, jsx_runtime_1.jsxs)("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(icon), asSVG: true }) : null] }));
24
23
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-7';
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,uDAAoD;AACpD,6DAA0D;AAE1D,2EAAwE;AACxE,uEAAoE;AACpE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,gEAA6D;AAS7D,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAEjB,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnF,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChD,MAAM,YAAY,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC;IAC7D,MAAM,WAAW,G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BAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,mCAE7E,IACR,CACP,CAAC"}
1
+ {"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAKxC,4DAAyD;AACzD,uDAAoD;AACpD,6DAA0D;AAE1D,2EAAwE;AACxE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,gEAA6D;AAC7D,uEAAoE;AACpE,6CAA0C;AAK1C,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAEjB,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACnF,MAAM,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChD,MAAM,YAAY,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC;IAC7D,MAAM,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAEzD,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,6DAA6D,EAC7D,WAAW,CAAC,cAAc,CAAC,EAC3B,SAAS,CACV,KACG,IAAI,aAEP,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,EACvC,eAAe,CAAC,IAAI,CAAC,EACrB,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,SAAS,EAAC,kBAAkB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,MAA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AC,mBAAmB,EAC7B,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,CAAS,EAAS,EAAE,CAAC,CACtE,iCAAqB,SAAS,EAAC,mCAAmC,aAC/D,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,6CAA6C,YAAE,IAAI,CAAC,KAAK,GAAO,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,gCAAgC,YAAE,IAAI,CAAC,WAAW,GAAO,CACzE,CAAC,CAAC,CAAC,IAAI,KANA,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC;AAEF,MAAM,aAAa,GAAG,GAAU,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,+IAA+I,aAC5J,uBAAC,WAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAC1E,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,mCAE7E,IACR,CACP,CAAC"}
@@ -15,7 +15,7 @@ exports.Catalog = (0, uni_jsx_1.JSX)(({ cards = [], className = '', title, descr
15
15
  itemCount: cards?.length,
16
16
  visibleItemCount: CARD_VIEW_COUNT,
17
17
  });
18
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => (0, jsx_runtime_1.jsx)(CatalogCard_1.CatalogCard, { ...card }, String(i))) : null }), (0, renderArrows_1.renderArrows)({
18
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => (0, jsx_runtime_1.jsx)(CatalogCard_1.CatalogCard, { ...card }, String(i))) : null }), (0, renderArrows_1.renderArrows)({
19
19
  ...controls,
20
20
  btnClass: ['left-8', 'right-8'],
21
21
  className: 'top-1/2 z-10 mt-6',
@@ -1 +1 @@
1
- {"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,mDAAgD;AAChD,+CAA4C;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEV,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gB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E,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,oCAAoC,SAAS,EAAE,KAAM,IAAI,aAChF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACF,gCACE,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,UAAU,KAAK,EAAE,EAClE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAC,yBAAW,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CAAC,CAAC,CAAC,CAAC,IAAI,GACrF,EACL,IAAA,2BAAY,EAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,mBAAmB;aAC/B,CAAC,EACF,gCAAK,SAAS,EAAE,GAAG,kBAAkB,+BAA+B,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,kBAAkB,8BAA8B,GAAI,IAC1D,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,13 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.CatalogCard = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
5
+ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
6
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const cardStyleMap = {
9
9
  black: 'bg-black',
10
10
  white: 'bg-white',
11
11
  };
12
- exports.CatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors }) => ((0, jsx_runtime_1.jsxs)("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [(0, jsx_runtime_1.jsx)("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? (0, jsx_runtime_1.jsxs)("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? (0, ButtonSection_1.renderButton)({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
12
+ exports.CatalogCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, price, button, colors }) => ((0, jsx_runtime_1.jsxs)("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [(0, jsx_runtime_1.jsx)("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? (0, jsx_runtime_1.jsxs)("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { buttonClassName: 'mt-5 w-full' })] })));
13
13
  const renderColorOption = (color, i) => ((0, jsx_runtime_1.jsx)("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
14
14
  //# sourceMappingURL=CatalogCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,0DAAuD;AACvD,8CAA2C;AAQ3C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACxE,qCACE,SAAS,EAAE,gGAAgG,SAAS,EAAE,EACtH,IAAI,EAAC,UAAU,aAEd,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,E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AAE,EAAE,CAAC,CACxE,qCACE,SAAS,EAAE,gGAAgG,SAAS,EAAE,EACtH,IAAI,EAAC,UAAU,aAEd,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACrF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,iCAAK,SAAS,EAAC,4CAA4C,aACzD,gCAAK,SAAS,EAAC,QAAQ,wGAAwB,EAC9C,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,iCAAK,SAAS,EAAC,mBAAmB,aAAE,KAAK,oBAAc,CAAC,CAAC,CAAC,IAAI,EACtE,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,IAC3D,CACX,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,iCAEE,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
@@ -2,12 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ContactsBlock = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockVersion_1 = require("../../model/BlockVersion");
6
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
6
  const Button_1 = require("../../ui-kit/Button/Button");
8
7
  const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
9
8
  const Headline_1 = require("../Headline/Headline");
10
- exports.ContactsBlock = (0, uni_jsx_1.JSX)(({ className = '', contacts, info, version = 'secondary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `${BlockVersion_1.VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
11
- const renderBlocks = (info, version) => ((0, jsx_runtime_1.jsx)("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
12
- const renderBlocksColumn = ({ column, index, version }) => column ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => ((0, jsx_runtime_1.jsxs)("div", { className: "mt-6 first:mt-0", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left", bgColorHeadline: version }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-1.5 opacity-80", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
9
+ exports.ContactsBlock = (0, uni_jsx_1.JSX)(({ className = '', contacts, info, version = 'secondary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex p-12 ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
10
+ const renderBlocks = (info) => ((0, jsx_runtime_1.jsx)("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
11
+ const renderBlocksColumn = ({ column, index }) => column ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => ((0, jsx_runtime_1.jsxs)("div", { className: "mt-6 first:mt-0", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-1.5 opacity-80", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
13
12
  //# sourceMappingURL=ContactsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAE3D,4DAAyD;AACzD,uDAAoD;AACpD,gEAA6D;AAC7D,mDAAgD;AAWnC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACtE,wBAAC,2BAAY,IAAC,SAAS,EAAE,GAAG,8BAAe,CAAC,OAAO,CAAC,cAAc,SAAS,EAAE,KAAM,IAAI,aACpF,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EACjD,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CA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KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,KAAK,EAAC,WAAW,GACjB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,mBAAmB,YAChC,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YACvC,qBAAqB,GACZ,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,KAfpB,MAAM,CAAC,GAAG,CAAC,CAgB3C,CACP,CAAC,IAnB6D,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,CAoBjF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const renderBlockList_1 = require("../../BlockRenderer/renderBlockList");
6
6
  const useBlockRouterProvider_1 = require("../../services/BlockRouter/useBlockRouterProvider");
7
- const style2className_1 = require("../../utils/style2className");
7
+ const style_1 = require("../../utils/style");
8
8
  const LikeControl_1 = require("../LikeControl/LikeControl");
9
9
  exports.ContentPage = (0, uni_jsx_1.JSX)((props) => {
10
10
  const { className = '', blocksRegistry, blockDecorator, data = {} } = props;
@@ -17,7 +17,7 @@ exports.ContentPage = (0, uni_jsx_1.JSX)((props) => {
17
17
  parent: data,
18
18
  };
19
19
  (0, useBlockRouterProvider_1.useBlockRouterProvider)();
20
- return ((0, jsx_runtime_1.jsxs)("section", { className: `relative ${(0, style2className_1.style2className)(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: (0, renderBlockList_1.renderBlocksList)(slots?.header, {
20
+ return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('relative', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: (0, renderBlockList_1.renderBlocksList)(slots?.header, {
21
21
  ...options,
22
22
  slotName: 'header',
23
23
  }) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: "container grid grid-cols-12 gap-1", children: [(0, renderBlockList_1.renderBlocksList)(blocks, options), slots?.footer
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAAuE;AAKvE,8FAA2F;AAC3F,iEAA8D;AAC9D,4DAAyD;AAQ5C,QAAA,WAAW,GAA+B,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACrF,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE5E,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAEnF,MAAM,OAAO,GAAyB;QACpC,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,IAAI;QACV,cAAc;QACd,cAAc;QACd,MAAM,EAAE,IAAI;KACb,CAAC;IAEF,IAAA,+CAAsB,GAAE,CAAC;IAEzB,OAAO,CACL,qCACE,SAAS,EAAE,YAAY,IAAA,iCAAe,EAAC,SAAS,CAAC,IAAI,SAAS,EAAE,gBACpD,YAAY,aAEvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,wCAAwC,YACpD,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE;oBAC/B,GAAG,OAAO;oBACV,QAAQ,EAAE,QAAQ;iBACnB,CA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,cAAc;QACd,cAAc;QACd,MAAM,EAAE,IAAI;KACb,CAAC;IAEF,IAAA,+CAAsB,GAAE,CAAC;IAEzB,OAAO,CACL,qCAAS,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,gBAAc,YAAY,aAClF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,wCAAwC,YACpD,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE;oBAC/B,GAAG,OAAO;oBACV,QAAQ,EAAE,QAAQ;iBACnB,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,iCAAK,SAAS,EAAC,mCAAmC,aAC/C,IAAA,kCAAgB,EAAC,MAAM,EAAE,OAAO,CAAC,EACjC,KAAK,EAAE,MAAM;wBACZ,CAAC,CAAC,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE;4BAC9B,GAAG,OAAO;4BACV,QAAQ,EAAE,QAAQ;yBACnB,CAAC;wBACJ,CAAC,CAAC,IAAI,IACJ,EACL,WAAW,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,IAAI,IACjC,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,mBAAW,CAAC,aAAa,GAAG,EAAE,CAAC;AAC/B,mBAAW,CAAC,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAE/C,SAAS,iBAAiB;IACxB,OAAO,CACL,gCAAK,SAAS,EAAC,qEAAqE,YAClF,uBAAC,yBAAW,IAAC,SAAS,EAAC,mDAAmD,GAAG,GACzE,CACP,CAAC;AACJ,CAAC"}
@@ -17,7 +17,7 @@ exports.ExchangeRateTile = (0, uni_jsx_1.JSX)(({ className = '', title = 'Кур
17
17
  currencyRatesBuy.unshift({ currency: { currency: CurrencyProps_1.Currency.RUB } });
18
18
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
19
19
  currencyRatesSell.push({ currency: { currency: CurrencyProps_1.Currency.RUB } });
20
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border min-h-80 ${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: (0, jsx_runtime_1.jsxs)("div", { className: "flex", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-14 pt-4", children: [currencyRates ? ((0, jsx_runtime_1.jsx)(CurrencyTable_1.CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, (0, jsx_runtime_1.jsx)(CurrentLocation_1.CurrentLocation, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? ((0, jsx_runtime_1.jsx)(ExchangeCurrencyCalculator_1.ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
20
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `p-9 box-border min-h-80 ${className}`, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: (0, jsx_runtime_1.jsxs)("div", { className: "flex", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-14 pt-4", children: [currencyRates ? ((0, jsx_runtime_1.jsx)(CurrencyTable_1.CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, (0, jsx_runtime_1.jsx)(CurrentLocation_1.CurrentLocation, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? ((0, jsx_runtime_1.jsx)(ExchangeCurrencyCalculator_1.ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
21
21
  });
22
22
  const getCurrencyRates = (currencies) => {
23
23
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,mDAAgD;AAChD,mDAA2C;AAC3C,mDAAgD;AAChD,uDAAoD;AACpD,6EAAgG;AAEhG,yEAAsE;AAIzD,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,oBAAoB,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,mDAAwB,GAAE,CAAC;IAErD,MAAM,aAAa,GAAG,gBAAgB,CAAC,aAAa,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;IAEhF,MAAM,gBAAgB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;IACxE,gBAAgB,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,wBAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAEnE,MAAM,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAC1E,iBAAiB,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,wBAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IAEjE,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,gEAAgE,SAAS,EAAE,KAClF,IAAI,YAER,uBAAC,mBAAQ,IACP,KAAK,EACH,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,kCAAkC,GAAG,YAGzF,iCAAK,SAAS,EAAC,MAAM,aACnB,iCAAK,SAAS,EAAC,YAAY,aACxB,aAAa,CAAC,CAAC,CAAC,CACf,uBAAC,6BAAa,IAAC,SAAS,EAAC,WAAW,EAAC,qBAAqB,EAAE,aAAa,GAAI,CAC9E,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,iCAAe,IAAC,OAAO,EAAE,aAAa,EAAE,OAAO,GAAI,IAChD,EACL,aAAa,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7E,uBAAC,uDAA0B,IACzB,SAAS,EAAC,MAAM,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,GACd,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,UAAmC,EAAE,EAAE;IAC/D,OAAO,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AACzF,CAAC,CAAC"}
1
+ {"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,mDAAgD;AAChD,mDAA2C;AAC3C,mDAAgD;AAChD,uDAAoD;AACpD,6EAAgG;AAEhG,yEAAsE;AAIzD,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,aAAa,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7E,uBAAC,uDAA0B,IACzB,SAAS,EAAC,MAAM,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,GACd,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,UAAmC,EAAE,EAAE;IAC/D,OAAO,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AACzF,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { IconVersion } from '../../model/IconVersion';
2
2
  export declare type ButtonSize = 'default' | 'small';
3
3
  interface MediaButtonProps {
4
4
  href?: string;
5
- version?: BlockVersion;
6
5
  isRounded?: boolean;
7
6
  buttonSize?: ButtonSize;
7
+ iconVersion?: IconVersion;
8
8
  }
9
9
  export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
10
10
  export {};
@@ -5,6 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const useLink_1 = require("../../hooks/useLink");
6
6
  const Img_1 = require("../../ui-kit/Img/Img");
7
7
  const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
8
+ const style_1 = require("../../utils/style");
8
9
  const ICONS_MAP = [
9
10
  {
10
11
  origins: ['t.me', 'telegram.org'],
@@ -31,23 +32,21 @@ const ICONS_MAP = [
31
32
  icon: { icon: 'PlayMarketIcon' },
32
33
  label: 'Google Play',
33
34
  },
35
+ {
36
+ origins: ['youtube.com'],
37
+ icon: { icon: 'YoutubeIcon' },
38
+ label: 'Youtube',
39
+ },
34
40
  ];
35
- const BUTTON_SIZE = {
36
- default: ' w-14 h-14',
37
- small: ' w-12 h-12',
41
+ const buttonSizeStyles = {
42
+ default: 'w-14 h-14',
43
+ small: 'w-12 h-12',
38
44
  };
39
- exports.MediaButton = (0, uni_jsx_1.JSX)(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
45
+ exports.MediaButton = (0, uni_jsx_1.JSX)(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
40
46
  const link = (0, useLink_1.useLink)();
41
47
  const { href, onClick } = link(rest);
42
48
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
43
- if (!icon) {
44
- return null;
45
- }
46
- const classes = version === 'secondary'
47
- ? 'bg-white hover:bg-secondary-hover'
48
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
49
- const isPrimary = version === 'primary' ? 'hover:text-black' : '';
50
- const rounded = isRounded ? 'rounded-full' : 'rounded-md';
51
- return ((0, jsx_runtime_1.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 ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
49
+ const iconWithVersion = icon ? { ...(0, getIconWithVersion_1.getIconWithVersion)(icon), iconVersion } : null;
50
+ return icon ? ((0, jsx_runtime_1.jsx)("a", { className: (0, style_1.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 ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
52
51
  });
53
52
  //# sourceMappingURL=MediaButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAG9C,8CAA2C;AAC3C,uEAAoE;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,CAAC;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,KAAK,EAAE,eAAe;KACvB;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;QAC3B,KAAK,EAAE,WAAW;KACnB;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QAChC,KAAK,EAAE,aAAa;KACrB;CACF,CAAC;AAWF,MAAM,WAAW,GAAG;IAClB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,SAAS,GAAG,KAAK,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE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I,CAAC,IAAI,CAAC,CAAC;IAErC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GACnB,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAChF,MAAM,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAEnF,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,8BACE,SAAS,EAAE,IAAA,aAAK,EACd,yDAAyD,EACzD,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,uBAAC,SAAG,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,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>;
@@ -3,5 +3,5 @@ exports.SocialMedia = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const MediaButton_1 = require("./MediaButton");
6
- exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media, version }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => ((0, jsx_runtime_1.jsx)(MediaButton_1.MediaButton, { version: version, ..._ }, String(index)))) })));
6
+ exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => ((0, jsx_runtime_1.jsx)(MediaButton_1.MediaButton, { ..._ }, String(index)))) })));
7
7
  //# sourceMappingURL=SocialMedia.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,+CAA4C;AAQ/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvF,gCAAK,SAAS,EAAE,kDAAkD,SAAS,EAAE,YAC1E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,yBAAW,IAAqB,OAAO,EAAE,OAAO,KAAM,CAAC,IAAtC,MAAM,CAAC,KAAK,CAAC,CAA6B,CAC7D,CAAC,GACE,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+CAA4C;AAO/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,gCAAK,SAAS,EAAE,kDAAkD,SAAS,EAAE,YAC1E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,yBAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
@@ -2,21 +2,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Gallery = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockVersion_1 = require("../../model/BlockVersion");
5
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Button_1 = require("../../ui-kit/Button/Button");
7
7
  const Heading_1 = require("../../ui-kit/Heading/Heading");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
9
  const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
10
- exports.Gallery = (0, uni_jsx_1.JSX)(({ title, description, cards = [], className, orientation = 'horizontal' }) => {
11
- const headingClassName = description ? 'mb-2' : 'mb-5';
12
- return ((0, jsx_runtime_1.jsxs)("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center mb-5", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${headingClassName}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] }));
13
- });
10
+ exports.Gallery = (0, uni_jsx_1.JSX)(({ className = '', title, description, cards = [], orientation = 'horizontal', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative px-4 py-6 overflow-hidden ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center mb-5", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-m max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards)] })));
14
11
  function renderCardsLayout(orientation, cards) {
15
12
  return orientation === 'horizontal' ? ((0, jsx_runtime_1.jsx)(SwipeListControl_1.SwipeListControl, { children: cards?.map(renderCard) })) : ((0, jsx_runtime_1.jsx)("div", { className: "grid gap-3.5", children: cards?.map(renderCard) }));
16
13
  }
17
14
  function renderCard(card, key) {
18
15
  return ((0, jsx_runtime_1.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
19
- ${BlockVersion_1.VersionStyleMap[card.version ?? 'primary']}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [renderImage(card.icon), card.title ? (0, jsx_runtime_1.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));
16
+ ${BlockWrapper_1.blockStyles[card.version ?? 'primary']}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [renderImage(card.icon), card.title ? (0, jsx_runtime_1.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));
20
17
  }
21
18
  const renderImage = (image) => image?.src || image?.icon ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-3.5", image: image }) })) : null;
22
19
  function renderButton(button) {
@@ -28,7 +25,9 @@ function renderDescription(card) {
28
25
  const LIST_DOT_STYLE_MAP = {
29
26
  primary: 'bg-primary-text',
30
27
  secondary: 'bg-white',
31
- gray: 'bg-secondary-text',
28
+ gray: 'bg-primary-text',
29
+ transparent: '',
30
+ '': '',
32
31
  };
33
32
  function renderItems(items, isDotted, version = 'primary') {
34
33
  return ((0, jsx_runtime_1.jsx)("section", { className: "mt-3", children: items.map((item, i) => ((0, jsx_runtime_1.jsxs)("div", { children: [isDotted ? ((0, jsx_runtime_1.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, (0, jsx_runtime_1.jsx)("span", { className: "text-m font-medium", children: item.title }), (0, jsx_runtime_1.jsx)("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAG3D,uDAAoD;AAEpD,0DAAuD;AACvD,8CAA2C;AAE3C,qFAAkF;AAIrE,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,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,qCACE,SAAS,EAAE,2EAA2E,SAAS,EAAE,aAEjG,iCAAK,SAAS,EAAC,iCAAiC,aAC7C,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAE,eAAe,gBAAgB,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,C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CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAC3D,EAAE,YAED,IAAI,CAAC,WAAW,GACb,CACP,CAAC;AACJ,CAAC;AAED,MAAM,kBAAkB,GAAiC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,SAAS,WAAW,CAClB,KAAyB,EACzB,QAAkB,EAClB,UAAwB,SAAS;IAEjC,OAAO,CACL,oCAAS,SAAS,EAAC,MAAM,YACtB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,4CACG,QAAQ,CAAC,CAAC,CAAC,CACV,gCACE,SAAS,EAAE,+DAA+D,kBAAkB,CAAC,OAAO,CAAC,EAAE,GACvG,CACH,CAAC,CAAC,CAAC,IAAI,EACR,iCAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,CAAC,KAAK,GAAQ,EACxD,iCAAM,SAAS,EAAE,eAAe,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,EAAE,YACjF,IAAI,CAAC,IAAI,GACL,KATC,MAAM,CAAC,CAAC,CAAC,CAUb,CACP,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
@@ -3,21 +3,18 @@ exports.GalleryCardInner = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const AlignText_1 = require("../../model/AlignText");
6
- const BlockVersion_1 = require("../../model/BlockVersion");
7
- const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
6
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
+ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
9
  const List_1 = require("../../ui-kit/List/List");
10
10
  const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
11
11
  const headlineVersionStyles_1 = require("../Headline/headlineVersionStyles");
12
- exports.GalleryCardInner = (0, uni_jsx_1.JSX)(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => ((0, jsx_runtime_1.jsxs)("div", { className: `h-full flex flex-col justify-between ${AlignText_1.AlignText[align]}`, children: [(0, jsx_runtime_1.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
13
- ? (0, ButtonSection_1.renderButton)({
14
- button,
15
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
16
- })
17
- : null] })));
18
- const renderImage = (image, version) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: (0, getIconWithVersion_1.getIconWithVersion)(image, version), asSVG: true })) : null] }));
12
+ exports.GalleryCardInner = (0, uni_jsx_1.JSX)(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText_1.AlignText[align]}`, tag: "div", ...rest, children: [(0, jsx_runtime_1.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)] }), (0, renderButtonsSection_1.renderButtonsSection)([button], {
13
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
14
+ })] })));
15
+ const renderImage = (image) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center", children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-5", image: image }) : null, image?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: (0, getIconWithVersion_1.getIconWithVersion)(image), asSVG: true })) : null] }));
19
16
  const renderCardTitle = (headlineSmallVersion, title) => title ? (0, jsx_runtime_1.jsx)("div", { className: headlineVersionStyles_1.HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
20
17
  const renderDescription = (description, title) => description ? (0, jsx_runtime_1.jsx)("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
21
- const renderAdditionalDescription = (additionalDescription, version) => additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: `text-m-light mt-auto ${BlockVersion_1.VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
22
- const renderItems = (items, isDotted, version = 'primary') => ((0, jsx_runtime_1.jsx)(List_1.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 }));
18
+ const renderAdditionalDescription = (additionalDescription) => additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
19
+ const renderItems = (items, isDotted) => ((0, jsx_runtime_1.jsx)(List_1.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 }));
23
20
  //# sourceMappingURL=GalleryCardInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAw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AC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC"}
1
+ {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,uEAAoE;AACpE,6EAA2E;AAG9D,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,KAAK,EACL,oBAAoB,GAAG,IAAI,EAC3B,WAAW,EACX,qBAAqB,EACrB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,WAAW,GAAG,IAAI,EAClB,QAAQ,GAAG,IAAI,EACf,KAAK,GAAG,QAAQ,EAChB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,wCAAwC,qBAAS,CAAC,KAAK,CAAC,EAAE,EACrE,GAAG,EAAC,KAAK,KACL,IAAI,aAER,iCAAK,SAAS,EAAC,sBAAsB,aAClC,WAAW,CAAC,IAAI,CAAC,EACjB,eAAe,CAAC,oBAAoB,EAAE,KAAK,CAAC,EAC5C,iBAAiB,CAAC,WAAW,EAAE,KAAK,CAAC,EACrC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EACnD,2BAA2B,CAAC,qBAAqB,CAAC,IAC/C,EACL,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE;YAC9B,eAAe,EAAE,QAAQ,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE;SAClE,CAAC,IACW,CAChB,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,CACvC,iCAAK,SAAS,EAAC,qBAAqB,aACj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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>;
@@ -2,13 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.GalleryContainer = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockVersion_1 = require("../../model/BlockVersion");
5
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Headline_1 = require("../Headline/Headline");
7
7
  const constants_1 = require("./constants");
8
8
  const GalleryCardInner_1 = require("./GalleryCardInner");
9
- exports.GalleryContainer = (0, uni_jsx_1.JSX)(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), (0, jsx_runtime_1.jsx)("div", { className: `flex mt-8 ${cards?.length <= constants_1.galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * constants_1.cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
10
- function renderCard({ card, version }, i) {
9
+ exports.GalleryContainer = (0, uni_jsx_1.JSX)(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), (0, jsx_runtime_1.jsx)("div", { className: `flex mt-8 ${cards?.length <= constants_1.galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * constants_1.cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
10
+ function renderCard({ card, galleryVersion }, i) {
11
11
  return ((0, jsx_runtime_1.jsx)("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
12
- items-stretch ${constants_1.cardStyleMap[version]} ${BlockVersion_1.VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: (0, jsx_runtime_1.jsx)(GalleryCardInner_1.GalleryCardInner, { ...card }) }, String(i)));
12
+ items-stretch ${constants_1.cardStyleMap[galleryVersion]} ${BlockWrapper_1.blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
13
+ } w-full col-span-4`, role: "listitem", children: (0, jsx_runtime_1.jsx)(GalleryCardInner_1.GalleryCardInner, { ...card }) }, String(i)));
13
14
  }
14
15
  //# sourceMappingURL=GalleryContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAA2D;AAE3D,mDAAgD;AAChD,2CAAoF;AACpF,yDAAsD;AAazC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,eAAe,GAAG,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnF,4CACE,uBAAC,mBAAQ,OAAK,IAAI,EAAE,SAAS,EAAC,MAAM,EAAC,eAAe,EAAE,eAAe,GAAI,EACzE,gCACE,SAAS,EAAE,aACT,KAAK,EAAE,MAAM,IAAI,qCAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC3E,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,wBAAY,CAAC,OAAO,CAAC,KAAK,EAAE,EAC7E,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,GACtD,IACF,CACP,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAmB,EAAE,CAAS;IAC/D,OAAO,CACL,oCACE,SAAS,EAAE;wBACO,wBAAY,CAAC,OAAO,CAAC,IACrC,8BAAe,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAC3C,oBAAoB,EAEpB,IAAI,EAAC,UAAU,YAEf,uBAAC,mCAAgB,OAAK,IAAI,GAAI,IAHzB,MAAM,CAAC,CAAC,CAAC,CAIN,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAwD;AACxD,mDAAgD;AAChD,2CAAoF;AACpF,yDAAsD;AAazC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,eAAe,GAAG,GAAG,EACrB,KAAK,GAAG,EAAE,EACV,cAAc,GAAG,QAAQ,EACzB,WAAW,EACX,KAAK,EACL,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,4CACE,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,GAChC,EACF,gCACE,SAAS,EAAE,aACT,KAAK,EAAE,MAAM,IAAI,qCAAyB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAClF,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,wBAAY,CAAC,cAAc,CAAC,KAAK,EAAE,EACpF,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC,GAC7D,IACF,CACP,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAmB,EAAE,CAAS;IACtE,OAAO,CACL,oCACE,SAAS,EAAE;wBACO,wBAAY,CAAC,cAAc,CAAC,IAC5C,0BAAW,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,CAAC,8CAA8C;QACvF,oBAAoB,EAEpB,IAAI,EAAC,UAAU,YAEf,uBAAC,mCAAgB,OAAK,IAAI,GAAI,IAHzB,MAAM,CAAC,CAAC,CAAC,CAIN,CACX,CAAC;AACJ,CAAC"}
@@ -2,6 +2,6 @@ import type { GalleryVersion } from '../../model/GalleryVersion';
2
2
  import type { UniBlockProps } from '../../model/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>;
@@ -4,20 +4,20 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const useCarouselControls_1 = require("../../hooks/useCarouselControls");
6
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
- const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
7
+ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
8
8
  const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
9
9
  const constants_1 = require("./constants");
10
10
  const GalleryContainer_1 = require("./GalleryContainer");
11
- exports.GalleryInner = (0, uni_jsx_1.JSX)(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
11
+ exports.GalleryInner = (0, uni_jsx_1.JSX)(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
12
12
  const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
13
13
  itemCount: cards?.length,
14
- visibleItemCount: constants_1.galleryLengthForScrollMap[version],
14
+ visibleItemCount: constants_1.galleryLengthForScrollMap[galleryVersion],
15
15
  });
16
16
  const { isScrollAvailable } = controls;
17
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(GalleryContainer_1.GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), (0, renderArrows_1.renderArrows)({
17
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(GalleryContainer_1.GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), (0, renderArrows_1.renderArrows)({
18
18
  ...controls,
19
19
  btnClass: ['left-8', 'right-8'],
20
20
  className: 'top-1/2',
21
- }), isScrollAvailable ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), (0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? (0, ButtonSection_1.renderButton)({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
21
+ }), isScrollAvailable ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), (0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, (0, renderButtonsSection_1.renderButtonsSection)([button], { className: 'mt-8 mx-auto' })] }));
22
22
  });
23
23
  //# sourceMappingURL=GalleryInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAGtE,4DAAyD;AACzD,qEAAiE;AACjE,mEAAgE;AAChE,2CAAwD;AACxD,yDAAsD;AAOzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,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,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,qCAAyB,CAAC,OAAO,CAAC;KACrD,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,wFAAwF,SAAS,EAAE,KAC1G,IAAI,aAER,uBAAC,mCAAgB,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,KAAM,IAAI,GAAI,EACvF,IAAA,2BAAY,EAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,EACD,iBAAiB,CAAC,CAAC,CAAC,CACnB,4CACE,gCAAK,SAAS,EAAC,+DAA+D,GAAG,EACjF,gCAAK,SAAS,EAAC,8DAA8D,GAAG,IAC5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ACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Img_1 = require("../../ui-kit/Img/Img");
7
7
  const Headline_1 = require("../Headline/Headline");
8
- exports.GracePeriod = (0, uni_jsx_1.JSX)(({ className = '', title, description, calendar, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
8
+ exports.GracePeriod = (0, uni_jsx_1.JSX)(({ className = '', title, description, calendar, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
9
9
  const renderCalendar = (calendar) => {
10
10
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
11
11
  const colSize = 100 / colCount;
@@ -1 +1 @@
1
- {"version":3,"file":"GracePeriod.js","sourceRoot":"","sources":["../../../src/components/GracePeriod/GracePeriod.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAA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C,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 {};
@@ -5,17 +5,14 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useLink_1 = require("../../hooks/useLink");
7
7
  const useOutsideClick_1 = require("../../hooks/useOutsideClick");
8
- const DOT_BG_COLORS_MAP = {
9
- 'bg-white': 'bg-primary-text',
10
- transparent: 'bg-white',
11
- };
12
- exports.DropdownMenu = (0, uni_jsx_1.JSX)(({ className = '', items, activeItem, bgColor }) => {
8
+ exports.DropdownMenu = (0, uni_jsx_1.JSX)(({ className = '', items, activeItem }) => {
13
9
  const link = (0, useLink_1.useLink)();
14
10
  const [visible, setVisible] = (0, hooks_1.useState)(false);
15
11
  const handleToggle = (0, hooks_1.useCallback)(() => setVisible((_) => !_), []);
16
12
  const handleClickOutside = (0, hooks_1.useCallback)(() => setVisible(false), []);
17
13
  const ref = (0, useOutsideClick_1.useOutsideClick)(handleClickOutside);
18
- return ((0, jsx_runtime_1.jsxs)("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [(0, jsx_runtime_1.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) }), (0, jsx_runtime_1.jsx)("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => ((0, jsx_runtime_1.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)))) })] }));
14
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [(0, jsx_runtime_1.jsx)("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
15
+ .fill(null)
16
+ .map((_, i) => ((0, jsx_runtime_1.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)))) }), (0, jsx_runtime_1.jsx)("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => ((0, jsx_runtime_1.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)))) })] }));
19
17
  });
20
- const renderDot = (bgColor, i) => ((0, jsx_runtime_1.jsx)("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
21
18
  //# sourceMappingURL=DropdownMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.js","sourceRoot":"","sources":["../../../src/components/Header/DropdownMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iDAA8C;AAC9C,iEAA8D;AAI9D,MAAM,iBAAiB,GAAmC;IACxD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,UAAU;CACxB,CAAC;AASW,QAAA,YAAY,GA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