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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1599) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +346 -500
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  5. package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  6. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  7. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  8. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  9. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  10. package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  11. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  12. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  13. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  14. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  15. package/bundle/components/Footer/MediaButton.d.ts +2 -2
  16. package/bundle/components/Footer/SocialMedia.d.ts +1 -3
  17. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
  18. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  19. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  20. package/bundle/components/Header/DropdownMenu.d.ts +0 -2
  21. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  22. package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  23. package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  24. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  25. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  26. package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  27. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  28. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  29. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  30. package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  31. package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  32. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  33. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  34. package/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  35. package/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  36. package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  37. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  38. package/bundle/components/Tile/Tile.d.ts +0 -1
  39. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  40. package/bundle/components/Video/getPaddings.d.ts +1 -1
  41. package/bundle/icons/IconName.d.ts +6 -4
  42. package/bundle/model/BlockVersion.d.ts +6 -20
  43. package/bundle/model/ButtonVersion.d.ts +3 -3
  44. package/bundle/model/JSXBlock.d.ts +2 -0
  45. package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  46. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  47. package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  48. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  49. package/bundle/ui-kit/List/ListItem.d.ts +1 -2
  50. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  51. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  52. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  53. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  54. package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  55. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  56. package/bundle/utils/getColSpan.d.ts +1 -1
  57. package/bundle/utils/style.d.ts +3 -0
  58. package/cosmos-static/icons/YoutubeIcon.svg +1 -0
  59. package/dist/BlockRenderer/renderBlock.js +4 -3
  60. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  61. package/dist/components/Accordion/Accordion.js +1 -1
  62. package/dist/components/Accordion/Accordion.js.map +1 -1
  63. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  64. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  65. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  66. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  67. package/dist/components/BaseTile/BaseTile.d.ts +1 -4
  68. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  69. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  70. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  71. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  72. package/dist/components/Blocks.js +2 -0
  73. package/dist/components/Blocks.js.map +1 -1
  74. package/dist/components/Bonus/Bonus.js +5 -7
  75. package/dist/components/Bonus/Bonus.js.map +1 -1
  76. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  77. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  78. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  79. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  80. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  81. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  82. package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  83. package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  84. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  85. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  86. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  87. package/dist/components/Calculator/Calculator.js +1 -1
  88. package/dist/components/Calculator/Calculator.js.map +1 -1
  89. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  90. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  91. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  92. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  93. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  94. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  95. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  96. package/dist/components/Carousel/Carousel.js +5 -3
  97. package/dist/components/Carousel/Carousel.js.map +1 -1
  98. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  99. package/dist/components/CarouselCard/CarouselCard.js +3 -3
  100. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  101. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  102. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  103. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  104. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  105. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  106. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  107. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  108. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  109. package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  110. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  111. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  112. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  113. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  114. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  115. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  116. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  117. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  118. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  119. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  120. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  121. package/dist/components/Catalog/Catalog.js +1 -1
  122. package/dist/components/Catalog/Catalog.js.map +1 -1
  123. package/dist/components/Catalog/CatalogCard.js +2 -2
  124. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  125. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  126. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  127. package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  128. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  129. package/dist/components/ContentPage/ContentPage.js +2 -2
  130. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  131. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  132. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  133. package/dist/components/Footer/Footer.js +2 -2
  134. package/dist/components/Footer/Footer.js.map +1 -1
  135. package/dist/components/Footer/MediaButton.d.ts +2 -2
  136. package/dist/components/Footer/MediaButton.js +12 -13
  137. package/dist/components/Footer/MediaButton.js.map +1 -1
  138. package/dist/components/Footer/SocialMedia.d.ts +1 -3
  139. package/dist/components/Footer/SocialMedia.js +1 -1
  140. package/dist/components/Footer/SocialMedia.js.map +1 -1
  141. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
  142. package/dist/components/Footer/SocialMedia.mobile.js +1 -1
  143. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  144. package/dist/components/Gallery/Gallery.js +1 -1
  145. package/dist/components/Gallery/Gallery.js.map +1 -1
  146. package/dist/components/Gallery/Gallery.mobile.js +6 -7
  147. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  148. package/dist/components/Gallery/GalleryCardInner.js +8 -11
  149. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  150. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  151. package/dist/components/Gallery/GalleryContainer.js +5 -4
  152. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  153. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  154. package/dist/components/Gallery/GalleryInner.js +5 -5
  155. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  156. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  157. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  158. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  159. package/dist/components/Header/DropdownMenu.js +4 -7
  160. package/dist/components/Header/DropdownMenu.js.map +1 -1
  161. package/dist/components/Header/Header.js +6 -6
  162. package/dist/components/Header/Header.js.map +1 -1
  163. package/dist/components/Header/Header.mobile.js +7 -2
  164. package/dist/components/Header/Header.mobile.js.map +1 -1
  165. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  166. package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  167. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  168. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  169. package/dist/components/Header/HeaderSubMenu.js +2 -2
  170. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  171. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  172. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  173. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  174. package/dist/components/Header/HeaderTop.js +1 -1
  175. package/dist/components/Header/HeaderTop.js.map +1 -1
  176. package/dist/components/Headline/Headline.js +4 -5
  177. package/dist/components/Headline/Headline.js.map +1 -1
  178. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  179. package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  180. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  181. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  182. package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  183. package/dist/components/HorizontalLayout/gapStyles.js +12 -0
  184. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  185. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  186. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  187. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  188. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  189. package/dist/components/LinkDocs/LinkDocs.js +2 -1
  190. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  191. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
  192. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  193. package/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  194. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  195. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  196. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  197. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  198. package/dist/components/LinkList/LinkList.js +1 -1
  199. package/dist/components/LinkList/LinkList.js.map +1 -1
  200. package/dist/components/MiniGallery/MiniGallery.js +1 -1
  201. package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  202. package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
  203. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  204. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  205. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  206. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  207. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  208. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  209. package/dist/components/PictureText/PictureText.js +1 -2
  210. package/dist/components/PictureText/PictureText.js.map +1 -1
  211. package/dist/components/Placeholder/Placeholder.js +2 -1
  212. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  213. package/dist/components/ProductBlock/ProductBlock.js +3 -7
  214. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  215. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
  216. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  217. package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
  218. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  219. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  220. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  221. package/dist/components/ProductGallery/ProductGallery.js +7 -20
  222. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  223. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  224. package/dist/components/ProductTile/ProductTile.js +5 -6
  225. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  226. package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  227. package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  228. package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  229. package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  230. package/dist/components/ProductTile/renderBenefit.js +2 -6
  231. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  232. package/dist/components/PromoTile/PromoTile.js +3 -3
  233. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  234. package/dist/components/Recommendation/Recommendation.js +2 -4
  235. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  236. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  237. package/dist/components/Recommendation/RecommendationCard.js +4 -3
  238. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  239. package/dist/components/RollupItem/RollupItem.js +7 -15
  240. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  241. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  242. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  243. package/dist/components/StepsBlock/StepsBlock.js +3 -6
  244. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  245. package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
  246. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  247. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  248. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  249. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  250. package/dist/components/StepsBlock/renderStepContent.js +2 -7
  251. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  252. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  253. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
  254. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  255. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  256. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  257. package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  258. package/dist/components/Tabs/renderGroupTab.js +1 -1
  259. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  260. package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  261. package/dist/components/Tabs/tabItemClasses.js +2 -2
  262. package/dist/components/Tabs/tabItemClasses.js.map +1 -1
  263. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  264. package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
  265. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  266. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  267. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  268. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  269. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  270. package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
  271. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  272. package/dist/components/Tile/Tile.d.ts +0 -1
  273. package/dist/components/Tile/Tile.js +5 -10
  274. package/dist/components/Tile/Tile.js.map +1 -1
  275. package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  276. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  277. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  278. package/dist/components/Video/Video.js +2 -4
  279. package/dist/components/Video/Video.js.map +1 -1
  280. package/dist/components/Video/getPaddings.d.ts +1 -1
  281. package/dist/components/Video/getPaddings.js.map +1 -1
  282. package/dist/icons/IconName.d.ts +6 -4
  283. package/dist/icons/IconName.js +2 -0
  284. package/dist/icons/IconName.js.map +1 -1
  285. package/dist/model/BlockVersion.d.ts +6 -20
  286. package/dist/model/BlockVersion.js +0 -33
  287. package/dist/model/BlockVersion.js.map +1 -1
  288. package/dist/model/ButtonVersion.d.ts +3 -3
  289. package/dist/model/JSXBlock.d.ts +2 -0
  290. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  291. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  292. package/dist/ui-kit/BlockWrapper.d.ts +2 -0
  293. package/dist/ui-kit/BlockWrapper.js +11 -3
  294. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  295. package/dist/ui-kit/Button/ArrowButton.js +2 -2
  296. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  297. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  298. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  299. package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  300. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  301. package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  302. package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  303. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  304. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  305. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  306. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  307. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  308. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  309. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  310. package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
  311. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  312. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  313. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  314. package/dist/ui-kit/Heading/Heading.js +2 -5
  315. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  316. package/dist/ui-kit/Icon/Icon.js +3 -8
  317. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  318. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  319. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  320. package/dist/ui-kit/List/List.js +1 -12
  321. package/dist/ui-kit/List/List.js.map +1 -1
  322. package/dist/ui-kit/List/ListItem.d.ts +1 -2
  323. package/dist/ui-kit/List/ListItem.js +1 -8
  324. package/dist/ui-kit/List/ListItem.js.map +1 -1
  325. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  326. package/dist/ui-kit/Location/Location.js +1 -1
  327. package/dist/ui-kit/Location/Location.js.map +1 -1
  328. package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  329. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  330. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  331. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  332. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  333. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  334. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  335. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  336. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  337. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  338. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  339. package/dist/ui-kit/Text/Text.js +1 -1
  340. package/dist/ui-kit/Text/Text.js.map +1 -1
  341. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  342. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  343. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  344. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  345. package/dist/utils/getColSpan.d.ts +1 -1
  346. package/dist/utils/getColSpan.js +1 -1
  347. package/dist/utils/getColSpan.js.map +1 -1
  348. package/dist/utils/style.d.ts +3 -0
  349. package/dist/utils/style.js +8 -0
  350. package/dist/utils/style.js.map +1 -0
  351. package/lib/BlockRenderer/renderBlock.js +4 -3
  352. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  353. package/lib/common.css +1 -1
  354. package/lib/components/Accordion/Accordion.js +1 -1
  355. package/lib/components/Accordion/Accordion.js.map +1 -1
  356. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  357. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  358. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  359. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  360. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  361. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  362. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  363. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  364. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  365. package/lib/components/Blocks.js +2 -0
  366. package/lib/components/Blocks.js.map +1 -1
  367. package/lib/components/Bonus/Bonus.js +5 -7
  368. package/lib/components/Bonus/Bonus.js.map +1 -1
  369. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  370. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  371. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  372. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  373. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  374. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  375. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  376. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  377. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  378. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  379. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  380. package/lib/components/Calculator/Calculator.js +1 -1
  381. package/lib/components/Calculator/Calculator.js.map +1 -1
  382. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  383. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  384. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  385. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  386. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  387. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  388. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  389. package/lib/components/Carousel/Carousel.js +5 -3
  390. package/lib/components/Carousel/Carousel.js.map +1 -1
  391. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  392. package/lib/components/CarouselCard/CarouselCard.js +3 -3
  393. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  394. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  395. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  396. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  397. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  398. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  399. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  400. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  401. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  402. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  403. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  404. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  405. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  406. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  407. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  408. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  409. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  410. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  411. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  412. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  413. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  414. package/lib/components/Catalog/Catalog.js +1 -1
  415. package/lib/components/Catalog/Catalog.js.map +1 -1
  416. package/lib/components/Catalog/CatalogCard.js +2 -2
  417. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  418. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  419. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  420. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  421. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  422. package/lib/components/ContentPage/ContentPage.js +2 -2
  423. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  424. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  425. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  426. package/lib/components/Footer/Footer.js +2 -2
  427. package/lib/components/Footer/Footer.js.map +1 -1
  428. package/lib/components/Footer/MediaButton.d.ts +2 -2
  429. package/lib/components/Footer/MediaButton.js +12 -13
  430. package/lib/components/Footer/MediaButton.js.map +1 -1
  431. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  432. package/lib/components/Footer/SocialMedia.js +1 -1
  433. package/lib/components/Footer/SocialMedia.js.map +1 -1
  434. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  435. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  436. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  437. package/lib/components/Gallery/Gallery.js +1 -1
  438. package/lib/components/Gallery/Gallery.js.map +1 -1
  439. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  440. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  441. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  442. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  443. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  444. package/lib/components/Gallery/GalleryContainer.js +5 -4
  445. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  446. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  447. package/lib/components/Gallery/GalleryInner.js +5 -5
  448. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  449. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  450. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  451. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  452. package/lib/components/Header/DropdownMenu.js +4 -7
  453. package/lib/components/Header/DropdownMenu.js.map +1 -1
  454. package/lib/components/Header/Header.js +6 -6
  455. package/lib/components/Header/Header.js.map +1 -1
  456. package/lib/components/Header/Header.mobile.js +7 -2
  457. package/lib/components/Header/Header.mobile.js.map +1 -1
  458. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  459. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  460. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  461. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  462. package/lib/components/Header/HeaderSubMenu.js +2 -2
  463. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  464. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  465. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  466. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  467. package/lib/components/Header/HeaderTop.js +1 -1
  468. package/lib/components/Header/HeaderTop.js.map +1 -1
  469. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  470. package/lib/components/Headline/Headline.js +4 -5
  471. package/lib/components/Headline/Headline.js.map +1 -1
  472. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  473. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  474. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  475. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  476. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  477. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  478. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  479. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  480. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  481. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  482. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  483. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  484. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  485. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  486. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  487. package/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  488. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  489. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  490. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  491. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  492. package/lib/components/LinkList/LinkList.js +1 -1
  493. package/lib/components/LinkList/LinkList.js.map +1 -1
  494. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  495. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  496. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  497. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  498. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  499. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  500. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  501. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  502. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  503. package/lib/components/PictureText/PictureText.js +1 -2
  504. package/lib/components/PictureText/PictureText.js.map +1 -1
  505. package/lib/components/Placeholder/Placeholder.js +2 -1
  506. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  507. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  508. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  509. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  510. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  511. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  512. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  513. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  514. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  515. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  516. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  517. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  518. package/lib/components/ProductTile/ProductTile.js +5 -6
  519. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  520. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  521. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  522. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  523. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  524. package/lib/components/ProductTile/renderBenefit.js +2 -6
  525. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  526. package/lib/components/PromoTile/PromoTile.js +3 -3
  527. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  528. package/lib/components/Recommendation/Recommendation.js +2 -4
  529. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  530. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  531. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  532. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  533. package/lib/components/RollupItem/RollupItem.js +7 -15
  534. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  535. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  536. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  537. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  538. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  539. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  540. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  541. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  542. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  543. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  544. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  545. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  546. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  547. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +5 -0
  548. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
  549. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  550. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  551. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  552. package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  553. package/lib/components/Tabs/renderGroupTab.js +1 -1
  554. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  555. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  556. package/lib/components/Tabs/tabItemClasses.js +2 -2
  557. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  558. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  559. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  560. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  561. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  562. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  563. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  564. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  565. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  566. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  567. package/lib/components/Tile/Tile.d.ts +0 -1
  568. package/lib/components/Tile/Tile.js +5 -10
  569. package/lib/components/Tile/Tile.js.map +1 -1
  570. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  571. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  572. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  573. package/lib/components/Video/Video.js +2 -4
  574. package/lib/components/Video/Video.js.map +1 -1
  575. package/lib/components/Video/getPaddings.d.ts +1 -1
  576. package/lib/components/Video/getPaddings.js.map +1 -1
  577. package/lib/icons/IconName.d.ts +6 -4
  578. package/lib/icons/IconName.js +2 -0
  579. package/lib/icons/IconName.js.map +1 -1
  580. package/lib/model/BlockVersion.d.ts +6 -20
  581. package/lib/model/BlockVersion.js +1 -32
  582. package/lib/model/BlockVersion.js.map +1 -1
  583. package/lib/model/ButtonVersion.d.ts +3 -3
  584. package/lib/model/JSXBlock.d.ts +2 -0
  585. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  586. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  587. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  588. package/lib/ui-kit/BlockWrapper.js +10 -2
  589. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  590. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  591. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  592. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  593. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  594. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  595. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  596. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  597. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  598. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  599. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  600. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  601. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  602. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  603. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  604. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  605. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  606. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  607. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  608. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  609. package/lib/ui-kit/Heading/Heading.js +2 -5
  610. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  611. package/lib/ui-kit/Icon/Icon.js +3 -8
  612. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  613. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  614. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  615. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  616. package/lib/ui-kit/List/List.js +1 -12
  617. package/lib/ui-kit/List/List.js.map +1 -1
  618. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  619. package/lib/ui-kit/List/ListItem.js +1 -8
  620. package/lib/ui-kit/List/ListItem.js.map +1 -1
  621. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  622. package/lib/ui-kit/Location/Location.js +1 -1
  623. package/lib/ui-kit/Location/Location.js.map +1 -1
  624. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  625. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  626. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  627. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  628. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  629. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
  630. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  631. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  632. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  633. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  634. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  635. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  636. package/lib/ui-kit/Text/Text.js +1 -1
  637. package/lib/ui-kit/Text/Text.js.map +1 -1
  638. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  639. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  640. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  641. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  642. package/lib/utils/getColSpan.d.ts +1 -1
  643. package/lib/utils/getColSpan.js +1 -1
  644. package/lib/utils/getColSpan.js.map +1 -1
  645. package/lib/utils/style.d.ts +3 -0
  646. package/lib/utils/style.js +5 -0
  647. package/lib/utils/style.js.map +1 -0
  648. package/mobile/bundle/bundle.umd.js +168 -169
  649. package/mobile/bundle/bundle.umd.min.js +1 -1
  650. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  651. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  652. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  653. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  654. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  655. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  656. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  657. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  658. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  659. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  660. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  661. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  662. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  663. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  664. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  665. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  666. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  667. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  668. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  669. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  670. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  671. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  672. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  673. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  674. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  675. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  676. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  677. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  678. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  679. package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  680. package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  681. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  682. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  683. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  684. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  685. package/mobile/bundle/icons/IconName.d.ts +6 -4
  686. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  687. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  688. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  689. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  690. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  691. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  692. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  693. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  694. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  695. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  696. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  697. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  698. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  699. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  700. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  701. package/mobile/bundle/utils/style.d.ts +3 -0
  702. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  703. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  704. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  705. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  706. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  707. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  708. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  709. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  710. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  711. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  712. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  713. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  714. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  715. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  716. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  717. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  718. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  719. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  720. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  721. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  722. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  723. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  724. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  725. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  726. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  727. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  728. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  729. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  730. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  731. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  732. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  733. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  734. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  735. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  736. package/mobile/dist/components/CarouselCard/CarouselCard.js +3 -3
  737. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  738. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  739. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  740. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  741. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  742. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  743. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  744. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  745. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  746. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  747. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  748. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  749. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  750. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  751. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  752. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  753. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  754. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  755. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  756. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  757. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  758. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  759. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  760. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  761. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  762. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  763. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  764. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  765. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  766. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  767. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  768. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  769. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  770. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  771. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  772. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  773. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  774. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  775. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  776. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  777. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  778. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  779. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  780. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  781. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  782. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  783. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  784. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  785. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  786. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  787. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  788. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  789. package/mobile/dist/components/Header/Header.js +7 -2
  790. package/mobile/dist/components/Header/Header.js.map +1 -1
  791. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  792. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  793. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  794. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  795. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  796. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  797. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  798. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  799. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  800. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  801. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  802. package/mobile/dist/components/Headline/Headline.js +6 -5
  803. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  804. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  805. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  806. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  807. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  808. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  809. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  810. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  811. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  812. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  813. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  814. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  815. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  816. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  817. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  818. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  819. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  820. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  821. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  822. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  823. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  824. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  825. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  826. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  827. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  828. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  829. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  830. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  831. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  832. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  833. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  834. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  835. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  836. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  837. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  838. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  839. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  840. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  841. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  842. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  843. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  844. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  845. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  846. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  847. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  848. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  849. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  850. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  851. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  852. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  853. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  854. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  855. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  856. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  857. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  858. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  859. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  860. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  861. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  862. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  863. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  864. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  865. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  866. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  867. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +14 -0
  868. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  869. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  870. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  871. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  872. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  873. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  874. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  875. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  876. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  877. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  878. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  879. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  880. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  881. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  882. package/mobile/dist/components/Tile/Tile.js +5 -10
  883. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  884. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  885. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  886. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  887. package/mobile/dist/components/Video/Video.js +2 -4
  888. package/mobile/dist/components/Video/Video.js.map +1 -1
  889. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  890. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  891. package/mobile/dist/icons/IconName.d.ts +6 -4
  892. package/mobile/dist/icons/IconName.js +2 -0
  893. package/mobile/dist/icons/IconName.js.map +1 -1
  894. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  895. package/mobile/dist/model/BlockVersion.js +0 -33
  896. package/mobile/dist/model/BlockVersion.js.map +1 -1
  897. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  898. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  899. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  900. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  901. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  902. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  903. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  904. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  905. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  906. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  907. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  908. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  909. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  910. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  911. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  912. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  913. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  914. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  915. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  916. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  917. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  918. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  919. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  920. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  921. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  922. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  923. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  924. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  925. package/mobile/dist/ui-kit/List/List.js +1 -12
  926. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  927. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  928. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  929. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  930. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  931. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  932. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  933. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  934. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  935. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  936. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  937. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  938. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  939. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  940. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  941. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  942. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  943. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  944. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  945. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  946. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  947. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  948. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  949. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  950. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  951. package/mobile/dist/utils/getColSpan.js +1 -1
  952. package/mobile/dist/utils/getColSpan.js.map +1 -1
  953. package/mobile/dist/utils/style.d.ts +3 -0
  954. package/mobile/dist/utils/style.js +8 -0
  955. package/mobile/dist/utils/style.js.map +1 -0
  956. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  957. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  958. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  959. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  960. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  961. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  962. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  963. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  964. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  965. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  966. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  967. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  968. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  969. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  970. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  971. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  972. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  973. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  974. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  975. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  976. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  977. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  978. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  979. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  980. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  981. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  982. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  983. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  984. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  985. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  986. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  987. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  988. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  989. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  990. package/mobile/lib/components/CarouselCard/CarouselCard.js +3 -3
  991. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  992. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  993. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  994. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  995. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  996. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  997. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  998. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  999. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  1000. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  1001. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  1002. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  1003. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  1004. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  1005. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  1006. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  1007. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  1008. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  1009. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +12 -10
  1010. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  1011. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +1 -1
  1012. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1013. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1014. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  1015. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1016. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  1017. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1018. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  1019. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1020. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  1021. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1022. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  1023. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  1024. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  1025. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  1026. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  1027. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1028. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  1029. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1030. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  1031. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1032. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  1033. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  1034. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1035. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  1036. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  1037. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  1038. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  1039. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1040. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  1041. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  1042. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1043. package/mobile/lib/components/Header/Header.js +7 -2
  1044. package/mobile/lib/components/Header/Header.js.map +1 -1
  1045. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  1046. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  1047. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1048. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  1049. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  1050. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1051. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1052. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  1053. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1054. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  1055. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  1056. package/mobile/lib/components/Headline/Headline.js +6 -5
  1057. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1058. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  1059. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  1060. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1061. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  1062. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  1063. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  1064. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  1065. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1066. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1067. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1068. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1069. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1070. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1071. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +4 -0
  1072. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1073. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1074. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1075. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1076. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1077. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1078. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1079. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1080. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1081. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1082. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1083. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1084. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1085. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1086. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1087. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1088. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1089. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1090. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1091. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1092. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1093. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1094. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1095. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1096. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1097. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1098. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1099. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1100. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1101. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1102. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1103. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1104. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1105. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1106. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1107. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1108. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1109. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1110. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1111. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1112. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1113. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1114. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1115. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1116. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1117. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1118. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1119. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1120. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.d.ts +6 -0
  1121. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +12 -0
  1122. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -0
  1123. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +5 -0
  1124. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js +2 -0
  1125. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.js.map +1 -0
  1126. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1127. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1128. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1129. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1130. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1131. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1132. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1133. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1134. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1135. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1136. package/mobile/lib/components/Tile/Tile.js +5 -10
  1137. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1138. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1139. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1140. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1141. package/mobile/lib/components/Video/Video.js +2 -4
  1142. package/mobile/lib/components/Video/Video.js.map +1 -1
  1143. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1144. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1145. package/mobile/lib/icons/IconName.d.ts +6 -4
  1146. package/mobile/lib/icons/IconName.js +2 -0
  1147. package/mobile/lib/icons/IconName.js.map +1 -1
  1148. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1149. package/mobile/lib/model/BlockVersion.js +1 -32
  1150. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1151. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1152. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1153. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1154. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1155. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1156. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1157. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1158. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1159. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1160. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1161. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1162. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1163. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1164. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1165. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1166. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1167. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1168. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1169. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1170. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1171. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1172. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1173. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1174. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1175. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1176. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1177. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1178. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1179. package/mobile/lib/ui-kit/List/List.js +1 -12
  1180. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1181. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1182. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1183. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1184. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1185. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1186. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1187. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1188. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1189. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
  1190. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -5
  1191. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1192. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +3 -2
  1193. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1194. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  1195. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +12 -3
  1196. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  1197. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +7 -0
  1198. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1199. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1200. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1201. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1202. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1203. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1204. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1205. package/mobile/lib/utils/getColSpan.js +1 -1
  1206. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1207. package/mobile/lib/utils/style.d.ts +3 -0
  1208. package/mobile/lib/utils/style.js +5 -0
  1209. package/mobile/lib/utils/style.js.map +1 -0
  1210. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1211. package/mobile/src/common.css +11 -0
  1212. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1213. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1214. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1215. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1216. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1217. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1218. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1219. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1220. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1221. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1222. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1223. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1224. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1225. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1226. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1227. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1228. package/mobile/src/components/Carousel/Carousel.ui.json +8 -0
  1229. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1230. package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -7
  1231. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1232. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1233. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1234. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1235. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1236. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1237. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
  1238. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1239. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1240. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
  1241. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
  1242. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
  1243. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1244. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1245. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1246. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1247. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1248. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1249. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1250. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1251. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1252. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1253. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1254. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1255. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1256. package/mobile/src/components/Header/Header.tsx +57 -48
  1257. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1258. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1259. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1260. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1261. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1262. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1263. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1264. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1265. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1266. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1267. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1268. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1269. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -0
  1270. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1271. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1272. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1273. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1274. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1275. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1276. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1277. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1278. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1279. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1280. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1281. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1282. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1283. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1284. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1285. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1286. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1287. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1288. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1289. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1290. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1291. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1292. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1293. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
  1294. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
  1295. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
  1296. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
  1297. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1298. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1299. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1300. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1301. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1302. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1303. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1304. package/mobile/src/components/Video/Video.tsx +17 -20
  1305. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1306. package/mobile/src/icons/IconName.ts +4 -4
  1307. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1308. package/mobile/src/model/BlockVersion.ts +11 -53
  1309. package/mobile/src/model/ButtonVersion.ts +3 -3
  1310. package/mobile/src/model/JSXBlock.ts +2 -0
  1311. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1312. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1313. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1314. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1315. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1316. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1317. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1318. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1319. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1320. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1321. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1322. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1323. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1324. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1325. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1326. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1327. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1328. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
  1329. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
  1330. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
  1331. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
  1332. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1333. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1334. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1335. package/mobile/src/utils/getColSpan.ts +2 -2
  1336. package/mobile/src/utils/style.ts +7 -0
  1337. package/package.json +2 -2
  1338. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1339. package/src/common.css +11 -0
  1340. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1341. package/src/components/Accordion/Accordion.tsx +1 -4
  1342. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1343. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1344. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1345. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1346. package/src/components/Blocks.ts +2 -0
  1347. package/src/components/Bonus/Bonus.tsx +19 -27
  1348. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1349. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1350. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1351. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1352. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1353. package/src/components/Calculator/Calculator.tsx +1 -4
  1354. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1355. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1356. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1357. package/src/components/Carousel/Carousel.example.json +2 -1
  1358. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1359. package/src/components/Carousel/Carousel.tsx +14 -3
  1360. package/src/components/Carousel/Carousel.ui.json +8 -0
  1361. package/src/components/Carousel/CarouselContent.ts +2 -0
  1362. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1363. package/src/components/CarouselCard/CarouselCard.tsx +15 -7
  1364. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1365. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1366. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1367. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1368. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1369. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1370. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +3 -7
  1371. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1372. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1373. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +11 -3
  1374. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +3 -3
  1375. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +34 -21
  1376. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +1 -1
  1377. package/src/components/Catalog/Catalog.tsx +1 -4
  1378. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1379. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1380. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1381. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1382. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1383. package/src/components/Footer/Footer.tsx +2 -2
  1384. package/src/components/Footer/MediaButton.tsx +27 -25
  1385. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1386. package/src/components/Footer/SocialMedia.tsx +4 -12
  1387. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1388. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1389. package/src/components/Gallery/Gallery.tsx +3 -1
  1390. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1391. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1392. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1393. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1394. package/src/components/Header/DropdownMenu.tsx +41 -47
  1395. package/src/components/Header/Header.mobile.tsx +57 -48
  1396. package/src/components/Header/Header.tsx +21 -17
  1397. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1398. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1399. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1400. package/src/components/Header/HeaderTop.tsx +2 -5
  1401. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1402. package/src/components/Headline/Headline.tsx +11 -11
  1403. package/src/components/Headline/HeadlineContent.ts +0 -2
  1404. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1405. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1406. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1407. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1408. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1409. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1410. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1411. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1412. package/src/components/LinkDocs/LinkDocsContent.ts +4 -0
  1413. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1414. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1415. package/src/components/LinkList/LinkList.tsx +1 -1
  1416. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1417. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1418. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1419. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1420. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1421. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1422. package/src/components/PictureText/PictureText.tsx +3 -14
  1423. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1424. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1425. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1426. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1427. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1428. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1429. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1430. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1431. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1432. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1433. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1434. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1435. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1436. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1437. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1438. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1439. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1440. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1441. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1442. package/src/components/SwipeListControlBlock/SwipeListControlBlock.example.json +18 -0
  1443. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +27 -0
  1444. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +23 -0
  1445. package/src/components/SwipeListControlBlock/SwipeListControlBlock.ui.json +1 -0
  1446. package/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +6 -0
  1447. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1448. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1449. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1450. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1451. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1452. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1453. package/src/components/Tile/Tile.tsx +22 -42
  1454. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1455. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1456. package/src/components/Video/Video.tsx +17 -20
  1457. package/src/components/Video/getPaddings.ts +1 -1
  1458. package/src/icons/IconName.ts +336 -6
  1459. package/src/icons/YoutubeIcon.svg +3 -0
  1460. package/src/model/BlockVersion.ts +11 -53
  1461. package/src/model/ButtonVersion.ts +3 -3
  1462. package/src/model/JSXBlock.ts +2 -0
  1463. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1464. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1465. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1466. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1467. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1468. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1469. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1470. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1471. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1472. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1473. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1474. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1475. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1476. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1477. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1478. package/src/ui-kit/List/List.tsx +23 -43
  1479. package/src/ui-kit/List/ListItem.tsx +13 -22
  1480. package/src/ui-kit/List/ListProps.ts +0 -7
  1481. package/src/ui-kit/Location/Location.tsx +1 -1
  1482. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1483. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +19 -10
  1484. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +6 -1
  1485. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +6 -2
  1486. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +20 -4
  1487. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +8 -0
  1488. package/src/ui-kit/Text/Text.tsx +2 -4
  1489. package/src/ui-kit/Text/TextProps.ts +5 -2
  1490. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1491. package/src/utils/getColSpan.ts +2 -2
  1492. package/src/utils/style.ts +7 -0
  1493. package/tailwind.config.cjs +6 -0
  1494. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1495. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1496. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1497. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1498. package/bundle/model/BorderVersion.d.ts +0 -6
  1499. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1500. package/bundle/utils/style2className.d.ts +0 -1
  1501. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1502. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1503. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1504. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1505. package/dist/components/Headline/Headline.mobile.js +0 -13
  1506. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1507. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1508. package/dist/components/Headline/headlineStyles.js +0 -18
  1509. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1510. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1511. package/dist/components/StepsBlock/renderItems.js +0 -7
  1512. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1513. package/dist/model/BorderVersion.d.ts +0 -6
  1514. package/dist/model/BorderVersion.js +0 -7
  1515. package/dist/model/BorderVersion.js.map +0 -1
  1516. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1517. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1518. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1519. package/dist/utils/style2className.d.ts +0 -1
  1520. package/dist/utils/style2className.js +0 -7
  1521. package/dist/utils/style2className.js.map +0 -1
  1522. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1523. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1524. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1525. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1526. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1527. package/lib/components/Headline/Headline.mobile.js +0 -11
  1528. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1529. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1530. package/lib/components/Headline/headlineStyles.js +0 -16
  1531. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1532. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1533. package/lib/components/StepsBlock/renderItems.js +0 -4
  1534. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1535. package/lib/model/BorderVersion.d.ts +0 -6
  1536. package/lib/model/BorderVersion.js +0 -5
  1537. package/lib/model/BorderVersion.js.map +0 -1
  1538. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1539. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1540. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1541. package/lib/utils/style2className.d.ts +0 -1
  1542. package/lib/utils/style2className.js +0 -4
  1543. package/lib/utils/style2className.js.map +0 -1
  1544. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1545. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1546. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1547. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1548. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1549. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1550. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1551. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1552. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1553. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1554. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1555. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1556. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1557. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1558. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1559. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1560. package/mobile/dist/model/BorderVersion.js +0 -7
  1561. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1562. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1563. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1564. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1565. package/mobile/dist/utils/style2className.d.ts +0 -1
  1566. package/mobile/dist/utils/style2className.js +0 -7
  1567. package/mobile/dist/utils/style2className.js.map +0 -1
  1568. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1569. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1570. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1571. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1572. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1573. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1574. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1575. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1576. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1577. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1578. package/mobile/lib/model/BorderVersion.js +0 -5
  1579. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1580. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1581. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1582. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1583. package/mobile/lib/utils/style2className.d.ts +0 -1
  1584. package/mobile/lib/utils/style2className.js +0 -4
  1585. package/mobile/lib/utils/style2className.js.map +0 -1
  1586. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1587. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1588. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1589. package/mobile/src/model/BorderVersion.ts +0 -10
  1590. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1591. package/mobile/src/utils/style2className.ts +0 -3
  1592. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1593. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1594. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1595. package/src/components/Headline/headlineStyles.ts +0 -25
  1596. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1597. package/src/model/BorderVersion.ts +0 -10
  1598. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1599. package/src/utils/style2className.ts +0 -3
@@ -1,21 +1,18 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { AlignText } from '../../model/AlignText.js';
4
- import { VersionAdditionalStyleMap } from '../../model/BlockVersion.js';
5
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  import { List } from '../../ui-kit/List/List.js';
8
8
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
9
9
  import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
10
- export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => (_jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted, version) : null, renderAdditionalDescription(additionalDescription, version)] }), button?.text
11
- ? renderButton({
12
- button,
13
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
14
- })
15
- : null] })));
16
- const renderImage = (image, version) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
10
+ export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (_jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription(additionalDescription)] }), renderButtonsSection([button], {
11
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
12
+ })] })));
13
+ const renderImage = (image) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
17
14
  const renderCardTitle = (headlineSmallVersion, title) => title ? _jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
18
15
  const renderDescription = (description, title) => description ? _jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
19
- const renderAdditionalDescription = (additionalDescription, version) => additionalDescription ? (_jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
20
- const renderItems = (items, isDotted, version = 'primary') => (_jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
16
+ const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
17
+ const renderItems = (items, isDotted) => (_jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
21
18
  //# sourceMappingURL=GalleryCardInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBA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E,KAAC,IAAI,IACH,SAAS,EAAC,kEAAkE,EAC5E,aAAa,EAAC,WAAW,EACzB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC"}
@@ -6,6 +6,6 @@ export interface GalleryContainerProps extends GalleryInnerProps {
6
6
  }
7
7
  export interface GalleryCardData {
8
8
  card: GalleryCardProps;
9
- version: GalleryVersion;
9
+ galleryVersion: GalleryVersion;
10
10
  }
11
11
  export declare const GalleryContainer: import("@redneckz/uni-jsx").UNIComponent<GalleryContainerProps, any, any>;
@@ -1,12 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
3
+ import { blockStyles } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Headline } from '../Headline/Headline.js';
5
5
  import { cardStyleMap, cardWidthMap, galleryLengthForScrollMap } from './constants.js';
6
6
  import { GalleryCardInner } from './GalleryCardInner.js';
7
- export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (_jsxs("div", { children: [_jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
8
- function renderCard({ card, version }, i) {
7
+ export const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (_jsxs("div", { children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
8
+ function renderCard({ card, galleryVersion }, i) {
9
9
  return (_jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
10
- items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
10
+ items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
11
+ } w-full col-span-4`, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
11
12
  }
12
13
  //# sourceMappingURL=GalleryContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAatD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,eAAe,GAAG,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnF,0BACE,KAAC,QAAQ,OAAK,IAAI,EAAE,SAAS,EAAC,MAAM,EAAC,eAAe,EAAE,e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Ac,GAAG,QAAQ,EACzB,WAAW,EACX,KAAK,EACL,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,0BACE,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,GAChC,EACF,cACE,SAAS,EAAE,aACT,KAAK,EAAE,MAAM,IAAI,yBAAyB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAClF,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,YAAY,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,kBACE,SAAS,EAAE;wBACO,YAAY,CAAC,cAAc,CAAC,IAC5C,WAAW,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,CAAC,8CAA8C;QACvF,oBAAoB,EAEpB,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,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>;
@@ -2,20 +2,20 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
5
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
6
6
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
7
7
  import { galleryLengthForScrollMap } from './constants.js';
8
8
  import { GalleryContainer } from './GalleryContainer.js';
9
- export const GalleryInner = JSX(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
9
+ export const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
10
10
  const [activeIndex, controls] = useCarouselControls({
11
11
  itemCount: cards?.length,
12
- visibleItemCount: galleryLengthForScrollMap[version],
12
+ visibleItemCount: galleryLengthForScrollMap[galleryVersion],
13
13
  });
14
14
  const { isScrollAvailable } = controls;
15
- return (_jsxs(BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [_jsx(GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), renderArrows({
15
+ return (_jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [_jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
16
16
  ...controls,
17
17
  btnClass: ['left-8', 'right-8'],
18
18
  className: 'top-1/2',
19
- }), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? renderButton({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
19
+ }), isScrollAvailable ? (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
20
20
  });
21
21
  //# sourceMappingURL=GalleryInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,yBAAyB,CAAC,OAAO,CAAC;KACrD,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,wFAAwF,SAAS,EAAE,KAC1G,IAAI,aAER,KAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE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C;KAC5D,CAAC,CAAC;IACH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,mDAAmD,SAAS,EAAE,KACrE,IAAI,aAER,KAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,KACpB,IAAI,GACR,EACD,YAAY,CAAC;gBACZ,GAAG,QAAQ;gBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,EACD,iBAAiB,CAAC,CAAC,CAAC,CACnB,0BACE,cAAK,SAAS,EAAC,+DAA+D,GAAG,EACjF,cAAK,SAAS,EAAC,8DAA8D,GAAG,IAC5E,CACP,CAAC,CAAC,CAAC,IAAI,EACP,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
5
  import { Headline } from '../Headline/Headline.js';
6
- export const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
6
+ export const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (_jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
7
7
  const renderCalendar = (calendar) => {
8
8
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
9
9
  const colSize = 100 / colCount;
@@ -1 +1 @@
1
- {"version":3,"file":"GracePeriod.js","sourceRoot":"","sources":["../../../src/components/GracePeriod/GracePeriod.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAShD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7D,MAAC,YAAY,IAAC,SAAS,EAAE,2BAA2B,SAAS,EAAE,KAAM,IAAI,aACvE,KAAC,QAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,KACf,IAAI,GACR,EACD,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9B,CAChB,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,QAAwB,EAAE,EAAE;IAClD,MAAM,QAAQ,GACZ,QAAQ,CAAC,MAAM,CACb,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,CAC5B,YAAY,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,EACrF,CAAC,CACF,IAAI,CAAC,CAAC;IACT,MAAM,OAAO,GAAG,GAAG,GAAG,QAAQ,CAAC;IAE/B,MAAM,cAAc,GAAG,QAAQ;SAC5B,MAAM,CAAC,CAAC,CAAC,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,GAAQ,IACpD,KARD,aAAa,GAAG,EAAE,CASnB,CACP,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAA6B,EAAE,OAAe,EAAE,EAAE,CAC1E,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,cAA4B,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,OAAO,GAAG,EAAE,YAC5D,CAAC,CAAC,IAAI,IADC,aAAa,CAAC,EAAE,CAEpB,CACP,CAAC,CAAC;AAEL,MAAM,iBAAiB,GAAG,CAAC,IAA6B,EAAE,EAAE,CAC1D,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACb,cAEE,SAAS,EAAC,sFAAsF,YAEhG,KAAC,GAAG,IAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,IAHnC,cAAc,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAI5B,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
@@ -1,10 +1,8 @@
1
- import type { BgColorVersion } from '../../model/BgColorVersion';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
2
  interface DropdownMenuProps {
4
3
  className?: string;
5
4
  items: LinkProps[];
6
5
  activeItem?: LinkProps;
7
- bgColor?: BgColorVersion;
8
6
  }
9
7
  export declare const DropdownMenu: import("@redneckz/uni-jsx").UNIComponent<DropdownMenuProps, any, any>;
10
8
  export {};
@@ -3,17 +3,14 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useLink } from '../../hooks/useLink.js';
5
5
  import { useOutsideClick } from '../../hooks/useOutsideClick.js';
6
- const DOT_BG_COLORS_MAP = {
7
- 'bg-white': 'bg-primary-text',
8
- transparent: 'bg-white',
9
- };
10
- export const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
6
+ export const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
11
7
  const link = useLink();
12
8
  const [visible, setVisible] = useState(false);
13
9
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
14
10
  const handleClickOutside = useCallback(() => setVisible(false), []);
15
11
  const ref = useOutsideClick(handleClickOutside);
16
- return (_jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [_jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), _jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (_jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
12
+ return (_jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [_jsx("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
13
+ .fill(null)
14
+ .map((_, i) => (_jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), _jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (_jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
17
15
  });
18
- const renderDot = (bgColor, i) => (_jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
19
16
  //# sourceMappingURL=DropdownMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenu.js","sourceRoot":"","sources":["../../../src/components/Header/DropdownMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAI9D,MAAM,iBAAiB,GAAmC;IACxD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,UAAU;CACxB,CAAC;AASF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IACjD,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAElE,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IACpE,MAAM,GAAG,GAAG,eAAe,CAAiB,kBAAkB,CAAC,CAAC;IAEhE,OAAO,CACL,eACE,SAAS,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EAClF,GAAG,EAAE,GAAG,aAER,iBACE,SAAS,EAAC,2DAA2D,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,KACE,IAAI,CAAC,IAAI,CAAC,YAEb,IAAI,CAAC,IAAI,IANL,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,CAAC,CAOzB,CACL,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -9,15 +9,15 @@ import { Logo } from '../../ui-kit/Logo/Logo.js';
9
9
  import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
10
10
  import { HeaderSecondaryMenu } from './HeaderSecondaryMenu.js';
11
11
  import { HeaderSubMenu } from './HeaderSubMenu.js';
12
- const BORDER_COLORS = {
13
- 'bg-white': 'bg-main-divider',
14
- transparent: 'bg-main-divider opacity-30',
12
+ const BG_COLOR_TO_BLOCK_VERSION = {
13
+ 'bg-white': 'primary',
14
+ transparent: 'transparent',
15
15
  };
16
- export const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
16
+ export const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
17
17
  const router = useRouter();
18
18
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
19
19
  const activeTopItem = topItems?.find(isTopItemActive(router));
20
- const topMenu = topItems?.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
21
- return (_jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: _jsxs("div", { className: "container", children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, _jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), _jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (_jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
20
+ const topMenu = topItems?.map((_, i) => (_jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, ..._ }, String(i))));
21
+ return (_jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, version: version, ...rest, children: _jsxs("div", { className: "container", children: [_jsxs("div", { className: "flex items-center", children: [_jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, _jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), _jsx("div", { className: `mt-6 h-px bg-main-divider${version === 'transparent' ? ' opacity-30' : ''}` }), showSubMenu && activeTopItem?.items?.length ? (_jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
22
22
  });
23
23
  //# sourceMappingURL=Header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,i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KAAK,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,GACvF,EACD,WAAW,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAC7C,KAAC,aAAa,IAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAI,CACjD,CAAC,CAAC,CAAC,IAAI,IACJ,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -6,13 +6,18 @@ import { projectSettings } from '../../ProjectSettings.js';
6
6
  import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
7
7
  import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
8
8
  import { useSWRResource } from '../../services/sitemap/useSWRResource.js';
9
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
9
10
  import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
10
11
  import { AccordionItemsList } from '../Accordion/AccordionItemsList.js';
11
12
  import { AccordionItem } from '../AccordionItem/AccordionItem.js';
12
13
  import { LinkList } from '../LinkList/LinkList.js';
13
14
  import { HeaderBurger } from './HeaderBurger.js';
14
15
  import { HeaderTop } from './HeaderTop.js';
15
- export const Header = JSX(({ className = '', bgColor = 'bg-white', ...rest }) => {
16
+ const BG_COLOR_TO_BLOCK_VERSION = {
17
+ 'bg-white': 'primary',
18
+ transparent: 'transparent',
19
+ };
20
+ export const Header = JSX(({ bgColor = 'bg-white', version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
16
21
  const router = useRouter();
17
22
  const fallback = rest.options?.page?.fallback;
18
23
  const { topItems, dispositions, defaultLocation, logo } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
@@ -21,6 +26,6 @@ export const Header = JSX(({ className = '', bgColor = 'bg-white', ...rest }) =>
21
26
  const activeSubItem = findActiveSubItem(router)(subItems);
22
27
  const [burgerMenuShow, setBurgerMenuShow] = useState(false);
23
28
  const handleBurgerMenuShow = useCallback(() => setBurgerMenuShow((_) => !_), []);
24
- return (_jsxs("header", { className: `${bgColor} ${className}`, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, bgColor: bgColor, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: _jsx(AccordionItemsList, { children: topItems?.map((item, i) => (_jsx(AccordionItem, { label: item.text, children: _jsx(LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
29
+ return (_jsxs(BlockWrapper, { tag: "header", version: version, ...rest, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: _jsx(AccordionItemsList, { children: topItems?.map((item, i) => (_jsx(AccordionItem, { label: item.text, children: _jsx(LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
25
30
  });
26
31
  //# sourceMappingURL=Header.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CA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CAAC,EAAE,EAAE,CAAC,CAC1B,KAAC,aAAa,IAAiB,KAAK,EAAE,IAAI,CAAC,IAAI,YAC7C,KAAC,QAAQ,IAAC,SAAS,EAAE,IAAI,CAAC,KAAK,GAAI,IADjB,MAAM,CAAC,CAAC,CAAC,CAEb,CACjB,CAAC,GACiB,GACR,CAChB,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,9 +1,9 @@
1
- import type { BgColorVersion } from '../../model/BgColorVersion';
1
+ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ForeignOffice } from '../../services/sitemap/SitemapProps';
3
3
  interface HeaderSecondaryMenuContent {
4
+ version?: BlockVersion;
4
5
  defaultLocation?: string;
5
6
  officesLink?: string;
6
- bgColor?: BgColorVersion;
7
7
  foreignOffices?: ForeignOffice[];
8
8
  }
9
9
  export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
@@ -1,32 +1,21 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useLocation } from '../../hooks/useLocation.js';
5
5
  import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { Location } from '../../ui-kit/Location/Location.js';
7
7
  import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
8
8
  import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton.js';
9
- const COLORS_MAP = {
10
- 'bg-white': 'text-primary-text hover:text-primary-main',
11
- transparent: 'text-white',
12
- };
13
- const LINKS_COLORS_MAP = {
14
- 'bg-white': 'text-secondary-light hover:text-secondary-hover',
15
- transparent: 'text-white',
16
- };
17
- const LINKS_ICON_VERSION_MAP = {
18
- 'bg-white': 'black',
19
- transparent: 'white',
20
- };
21
- export const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', foreignOffices, bgColor = 'bg-white', }) => {
9
+ export const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
22
10
  const [isShowLocationModal, setShowLocationModal] = useState(false);
23
11
  const [location, onChangeLocation] = useLocation(defaultLocation);
24
- const showLocationModal = () => {
12
+ const showLocationModal = useCallback(() => {
25
13
  setShowLocationModal(true);
26
- };
27
- const hideLocationModal = () => {
14
+ }, []);
15
+ const hideLocationModal = useCallback(() => {
28
16
  setShowLocationModal(false);
29
- };
30
- return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal, bgColor: bgColor }), officesLink ? (_jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor })) : null, _jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-8 min-h-8`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) }), isShowLocationModal ? (_jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
17
+ }, []);
18
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
19
+ return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal }), officesLink ? (_jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432" })) : null, _jsx(HeaderSecondaryMenuButton, { className: "mr-5 group/btn text-primary-text hover:text-primary-main group-data-transparent:text-white", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Img, { image: { icon: 'LoupeIcon', iconVersion }, className: "h-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0 pointer-events-none", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: "group/btn min-w-8 min-h-8 text-secondary-light hover:text-secondary-hover group-data-transparent:text-white", ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Img, { image: { icon: 'GridIcon', iconVersion }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0", asSVG: true }) }), isShowLocationModal ? (_jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
31
20
  });
32
21
  //# sourceMappingURL=HeaderSecondaryMenu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAaxE,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,2CAA2C;IACvD,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,gBAAgB,GAAmC;IACvD,UAAU,EAAE,iDAAiD;IAC7D,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,sBAAsB,GAAwC;IAClE,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,OAAO;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EACC,SAAS,EACT,WAAW,EACX,eAAe,GAAG,QAAQ,EAC1B,cAAc,EACd,OAAO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,EAAC,4DAA4D,EACtE,cAAc,EAAC,6DAA6D,EAC5E,KAAK,SACL,GACwB,EAC3B,mBAAmB,CAAC,CAAC,CAAC,CACrB,KAAC,QAAQ,IACP,eAAe,EAAE,QAAQ,EACzB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,iBAAiB,GACxB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,5 @@
1
- import type { BgColorVersion } from '../../model/BgColorVersion';
2
1
  import type { LinkProps } from '../../model/LinkProps';
3
2
  export interface HeaderSubMenuProps {
4
3
  subItems?: LinkProps[];
5
- bgColor?: BgColorVersion;
6
4
  }
7
5
  export declare const HeaderSubMenu: import("@redneckz/uni-jsx").UNIComponent<HeaderSubMenuProps, any, any>;
@@ -5,7 +5,7 @@ import { useRouter } from '../../hooks/useRouter.js';
5
5
  import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
6
6
  import { DropdownMenu } from './DropdownMenu.js';
7
7
  import { HeaderSubMenuItem } from './HeaderSubMenuItem.js';
8
- export const HeaderSubMenu = JSX(({ subItems = [], bgColor }) => {
8
+ export const HeaderSubMenu = JSX(({ subItems = [] }) => {
9
9
  const router = useRouter();
10
10
  const activeSubItem = findActiveSubItem(router)(subItems);
11
11
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
@@ -17,7 +17,7 @@ export const HeaderSubMenu = JSX(({ subItems = [], bgColor }) => {
17
17
  ? handleIntersectionActivation(index)
18
18
  : handleIntersectionDeactivation(index));
19
19
  }), [subItems]);
20
- return (_jsxs("nav", { className: "relative mt-6", children: [_jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (_jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, bgColor: bgColor, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (_jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem, bgColor: bgColor })) : null] }));
20
+ return (_jsxs("nav", { className: "relative mt-6", children: [_jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (_jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (_jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null] }));
21
21
  });
22
22
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
23
23
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSubMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAOxD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,QAAQ,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,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A4B,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;AACpG,MAAM,8BAA8B,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import { type IntersectionObserverOptions } from '../../hooks/useIntersectionObserver';
2
- import type { BgColorVersion } from '../../model/BgColorVersion';
3
2
  import type { LinkProps } from '../../model/LinkProps';
4
3
  export interface HeaderSubMenuItemProps extends LinkProps {
5
4
  className?: string;
6
5
  active?: boolean;
7
- bgColor?: BgColorVersion;
8
6
  observerOptions?: IntersectionObserverOptions;
9
7
  onVisibilityChange?: (isIntersecting: boolean) => void;
10
8
  }
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useIntersectionObserver, } from '../../hooks/useIntersectionObserver.js';
5
5
  import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
6
- export const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOptions, onVisibilityChange, children, ...linkProps }) => {
6
+ export const HeaderSubMenuItem = JSX(({ className, active, observerOptions, onVisibilityChange, children, ...linkProps }) => {
7
7
  const observerCallback = useCallback((entries) => {
8
8
  if (!entries.length || !onVisibilityChange) {
9
9
  return;
@@ -13,6 +13,6 @@ export const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOpti
13
13
  onVisibilityChange(entry.isIntersecting);
14
14
  }, [onVisibilityChange]);
15
15
  const ref = useIntersectionObserver(observerCallback, observerOptions);
16
- return (_jsx("span", { ref: ref, children: _jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...linkProps, children: children }) }));
16
+ return (_jsx("span", { ref: ref, children: _jsx(HeaderItem, { className: className, active: active, ...linkProps, children: children }) }));
17
17
  });
18
18
  //# sourceMappingURL=HeaderSubMenuItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSubMenuItem.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,uBAAuB,GAExB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAUhE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IAC9F,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,OAAoC,EAAE,EAAE;QACvC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE;YAC1C,OAAO;SACR;QAED,2CAA2C;QAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE1C,kBAAkB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC3C,CAAC,EACD,CAAC,kBAAkB,CAAC,CACrB,CAAC;IACF,MAAM,GAAG,GAAG,uBAAuB,CAAkB,gBAAgB,EAAE,eAAe,CAAC,CAAC;IAExF,OAAO,CACL,eAAM,GAAG,EAAE,GAAG,YACZ,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAM,SAAS,YAC9E,QAAQ,GACE,GACR,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"HeaderSubMenuItem.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,uBAAuB,GAExB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAShE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IACrF,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,OAAoC,EAAE,EAAE;QACvC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE;YAC1C,OAAO;SACR;QAED,2CAA2C;QAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE1C,kBAAkB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC3C,CAAC,EACD,CAAC,kBAAkB,CAAC,CACrB,CAAC;IACF,MAAM,GAAG,GAAG,uBAAuB,CAAkB,gBAAgB,EAAE,eAAe,CAAC,CAAC;IAExF,OAAO,CACL,eAAM,GAAG,EAAE,GAAG,YACZ,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,KAAM,SAAS,YAC5D,QAAQ,GACE,GACR,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Img } from '../../ui-kit/Img/Img.js';
4
4
  import { Logo } from '../../ui-kit/Logo/Logo.js';
5
- export const HeaderTop = JSX(({ onClick, bgColor, logo }) => (_jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-12", children: [_jsxs("div", { className: "flex items-center", children: [_jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: _jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24", asSVG: true }) }), _jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo })] }), _jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-s border-0 bg-transparent cursor-pointer`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
5
+ export const HeaderTop = JSX(({ onClick, bgColor, logo }) => (_jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-12", children: [_jsxs("div", { className: "flex items-center", children: [_jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: _jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24", asSVG: true }) }), _jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo })] }), _jsx("button", { className: "text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent", children: "\u0412\u043E\u0439\u0442\u0438" })] })));
6
6
  //# sourceMappingURL=HeaderTop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderTop.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderTop.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CA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c,YAEzB,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,EACtF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACK,EACT,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,GAAI,IACnD,EACN,iBAAQ,SAAS,EAAC,oIAAoI,+CAE7I,IACL,CACP,CAAC,CAAC"}
@@ -2,8 +2,6 @@
2
2
  import '../../setup-fixture';
3
3
  import type { HeadlineContent } from './HeadlineContent';
4
4
  export declare const HEADLINE: HeadlineContent;
5
- export declare const HEADLINE_PRIMARY: HeadlineContent;
6
- export declare const HEADLINE_SECONDARY: HeadlineContent;
7
5
  declare const _default: {
8
6
  default: JSX.Element;
9
7
  'default left alignment': JSX.Element;
@@ -3,11 +3,10 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
4
  import { Heading } from '../../ui-kit/Heading/Heading.js';
5
5
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
6
- import { headlineStyles } from './headlineStyles.js';
6
+ import { style } from '../../utils/style.js';
7
7
  import { headlineVersionStyles } from './headlineVersionStyles.js';
8
- export const Headline = JSX(({ className = '', title, description, headlineVersion = 'XL', bgColorHeadline = 'transparent', align = 'text-center', as, ...rest }) => {
9
- const style = headlineStyles[bgColorHeadline];
10
- const specificStyle = headlineVersionStyles[headlineVersion];
11
- return (_jsxs(BlockWrapper, { className: `flex flex-col p-12 ${specificStyle.wrapper} ${style.wrapper} ${className}`, ...rest, children: [title ? (_jsx(Heading, { className: `whitespace-pre-wrap ${style.titleColor} ${align}`, ...specificStyle?.title, as: as || specificStyle?.title.as, title: title })) : null, description ? (_jsx(Paragraph, { color: style.descriptionColor || style.titleColor, size: specificStyle.descriptionSize, align: align, children: description })) : null] }));
8
+ export const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, version = '', ...rest }) => {
9
+ const versionStyle = headlineVersionStyles[headlineVersion];
10
+ return (_jsxs(BlockWrapper, { className: style('flex flex-col p-12', versionStyle.wrapper, className), version: version, ...rest, children: [title ? (_jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (_jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
12
11
  });
13
12
  //# sourceMappingURL=Headline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,eAAe,GAAG,IAAI,EACtB,eAAe,GAAG,aAAa,EAC/B,KAAK,GAAG,aAAa,EACrB,EAAE,EACF,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;IAC9C,MAAM,aAAa,GAAG,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAE7D,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,sBAAsB,aAAa,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O,CACL,MAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,oBAAoB,EAAE,YAAY,CAAC,OAAO,EAAE,SAAS,CAAC,EACvE,OAAO,EAAE,OAAO,KACZ,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IACN,SAAS,EAAE,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,KAC1C,YAAY,EAAE,KAAK,EACvB,EAAE,EAAE,EAAE,IAAI,YAAY,EAAE,KAAK,CAAC,EAAE,EAChC,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,SAAS,IACR,KAAK,EAAC,oCAAoC,EAC1C,IAAI,EAAE,YAAY,CAAC,eAA2B,EAC9C,KAAK,EAAE,KAAK,YAEX,WAAW,GACF,CACb,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
2
1
  import type { HeadlineProps } from '../../model/HeadlineType';
3
2
  import type { Picture } from '../../model/Picture';
4
3
  import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
@@ -10,7 +9,6 @@ export declare type HeadlineContent = HeadlineProps & {
10
9
  /** @title Изображение (моб.) */
11
10
  image?: Picture;
12
11
  align?: TextAlign;
13
- bgColorHeadline?: BlockVersionWithTransparent;
14
12
  /** @hidden */
15
13
  as?: HeadingTagType;
16
14
  };
@@ -1,20 +1,10 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
4
- import { GapStyleMap, LayoutBackgroundStyleMap } from '../../model/BlockVersion.js';
5
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
- export const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', options, ...rest }) => {
7
- const paddingStyle = isPadding ? 'p-12' : '';
8
- return (_jsx(BlockWrapper, { className: [
9
- 'grid grid-cols-12',
10
- paddingStyle,
11
- GapStyleMap[gap],
12
- LayoutBackgroundStyleMap[version],
13
- className,
14
- ]
15
- .filter(Boolean)
16
- .join(' '), ...rest, children: renderChildren({ ...rest, options: options }) }));
17
- });
5
+ import { style } from '../../utils/style.js';
6
+ import { gapStyles } from './gapStyles.js';
7
+ export const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', ...rest }) => (_jsx(BlockWrapper, { className: style('grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, ...rest, children: renderChildren(rest) })));
18
8
  HorizontalLayout.childrenTypes = {
19
9
  exclude: ['HorizontalLayout'],
20
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../src/components/HorizontalLayout/HorizontalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,gBAAgB,GAAoC,GAAG,CAClE,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,IAAI,EACV,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,aAAa,EACvB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAE7C,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE;YACT,mBAAmB;YACnB,YAAY;YACZ,WAAW,CAAC,GAAG,CAAC;YAChB,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