@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,46 +1,33 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
5
  import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
8
- const productBlockStyleMap = {
9
- primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
10
- secondary: { title: 'text-white', text: 'text-white/80' },
11
- };
12
6
  export const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
13
7
  const galleryNav = slides.map((s) => s.nav);
14
8
  const galleryBlocks = slides.map((s) => s.productBlock);
15
9
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
16
10
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
17
- return (_jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative font-sans w-100 mb-6 ${className}
18
- ${VersionStyleMap[version]}`, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
11
+ return (_jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
19
12
  slide,
20
13
  i,
21
14
  isActive: Boolean(i === activeSlideIndex),
22
15
  onClick: () => handleActiveSlideIndex(i),
23
- version,
24
16
  })) })] }));
25
17
  });
26
18
  function renderProductBlock(block, i) {
27
- const { version } = block;
28
- const additionalClass = version ? productBlockStyleMap[version].title : '';
29
- return (_jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { className: `pl-12 z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
19
+ return (_jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
30
20
  }
31
- function renderNavButton({ slide, i, isActive, onClick, version }) {
21
+ function renderNavButton({ slide, i, isActive, onClick }) {
32
22
  const btnClassName = isActive
33
23
  ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
34
- : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
35
- ${VersionStyleMap[version]}`;
24
+ : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
36
25
  const btnTitleClassName = isActive
37
26
  ? 'text-primary-text !text-h6 p-2'
38
- : `text-l pb-1 ${productBlockStyleMap[version].title}`;
27
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
39
28
  const btnDescClassName = isActive
40
29
  ? 'text-secondary-text text-l-light'
41
- : `text-m-light ${productBlockStyleMap[version].text}`;
42
- return (_jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
43
- ${btnClassName} ${BorderVersionStyleMap[version]}
44
- `, children: _jsxs("div", { className: "border-0 px-6", children: [_jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), _jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
30
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
31
+ return (_jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: _jsxs("div", { className: "border-0 px-6", children: [_jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), _jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
45
32
  }
46
33
  //# sourceMappingURL=ProductGallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkBtE,MAAM,oBAAoB,GAAoC;IAC5D,OAAO,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,qBAAqB,EAAE;IACtE,SAAS,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,eAAe,EAAE;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChE,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,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EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IACjF,IARD,MAAM,CAAC,CAAC,CAAC,CASP,CACV,CAAC;AACJ,CAAC"}
@@ -2,6 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
3
3
  /** @title Кнопка под слайдом */
4
4
  export interface ProductGalleryNav {
5
+ /** @title Заголовок */
5
6
  title: string;
6
7
  /** @title Описание */
7
8
  description: string;
@@ -1,22 +1,21 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
5
+ import { style } from '../../utils/style.js';
6
6
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
7
7
  import { Headline } from '../Headline/Headline.js';
8
8
  import { renderAdditionalDescription } from './renderAdditionalDescription.js';
9
9
  import { renderBenefit } from './renderBenefit.js';
10
10
  import { renderImage } from './renderImage.js';
11
- export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative min-h-[364px]
12
- ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [_jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [_jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "text-left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage(image, isImageOnRightSide)] })));
13
- function renderBenefits(benefits, version, image) {
11
+ export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => (_jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px]', getTileRightPadding(className), className), ...rest, children: [_jsxs("div", { className: style('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [_jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image), renderButtonsSection(buttons, { className: 'mt-5 z-10 text-l' })] }), renderImage(image, isImageOnRightSide)] })));
12
+ function renderBenefits(benefits, image) {
14
13
  if (!benefits.length) {
15
14
  return null;
16
15
  }
17
16
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
18
17
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
19
18
  return (_jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
20
- ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
19
+ ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
21
20
  }
22
21
  //# sourceMappingURL=ProductTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mC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AC,CAAC,CAAC,CAAC,IAAI,GACjD,CACP,CAAC;AACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { Picture } from '../../model/Picture';
4
- export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture, version?: BlockVersion): JSX.Element | null;
3
+ export declare function renderAdditionalDescription(additionalDescription?: string, image?: Picture): JSX.Element | null;
@@ -1,15 +1,11 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
3
- const DESCRIPTION_STYLE_MAP = {
4
- primary: 'text-secondary-text',
5
- secondary: 'text-white',
6
- };
7
- export function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
3
+ export function renderAdditionalDescription(additionalDescription, image) {
8
4
  if (!additionalDescription) {
9
5
  return null;
10
6
  }
11
7
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
12
8
  const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
13
- return (_jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: _jsx(Paragraph, { size: "text-m", font: "font-light", color: DESCRIPTION_STYLE_MAP[version], children: additionalDescription }) }));
9
+ return (_jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: _jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription }) }));
14
10
  }
15
11
  //# sourceMappingURL=renderAdditionalDescription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAG7D,MAAM,qBAAqB,GAAoC;IAC7D,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACzC,qBAA8B,EAC9B,KAAe,EACf,UAAwB,SAAS;IAEjC,IAAI,CAAC,qBAAqB,EAAE;QAC1B,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,gBAAgB,EAAE,YAC/C,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,YAC7E,qBAAqB,GACZ,GACR,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"renderAdditionalDescription.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderAdditionalDescription.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,UAAU,2BAA2B,CAAC,qBAA8B,EAAE,KAAe;IACzF,IAAI,CAAC,qBAAqB,EAAE;QAC1B,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,gBAAgB,EAAE,YAC/C,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,GACR,CACP,CAAC;AACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { Benefit } from './ProductTileContent';
4
- export declare const renderBenefit: (version?: BlockVersion) => (benefit: Benefit, i: number) => JSX.Element | JSX.Element[] | null;
3
+ export declare const renderBenefit: (benefit: Benefit, i: number) => JSX.Element | JSX.Element[] | null;
@@ -2,11 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { RichText } from '../../ui-kit/RichText/RichText.js';
3
3
  import { Text } from '../../ui-kit/Text/Text.js';
4
4
  import { assertUnreachable } from '../../utils/assertUnreachable.js';
5
- const LABEL_STYLE_MAP = {
6
- primary: 'text-secondary-text',
7
- secondary: 'text-white',
8
- };
9
- export const renderBenefit = (version = 'primary') =>
5
+ export const renderBenefit =
10
6
  // Linter doesn't understand that switch processes all cases
11
7
  // eslint-disable-next-line consistent-return
12
8
  (benefit, i) => {
@@ -18,7 +14,7 @@ export const renderBenefit = (version = 'primary') =>
18
14
  case 'default':
19
15
  return [
20
16
  _jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
21
- _jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
17
+ _jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
22
18
  ];
23
19
  case 'rte':
24
20
  return _jsx(RichText, { __html: benefit.__html });
@@ -1 +1 @@
1
- {"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderBenefit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,eAAe,GAAoC;IACvD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GACxB,CAAC,UAAwB,SAAS,EAAE,EAAE;AACtC,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IAC9B,MAAM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C,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB;gBACP,KAAC,IAAI,IAEH,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,wCAAwC,YAE7C,OAAO,CAAC,WAAW,IALf,QAAQ,CAAC,EAAE,CAMX;aACR,CAAC;QACJ,KAAK,KAAK;YACR,OAAO,KAAC,QAAQ,IAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CAAC;QAC9C;YACE,iBAAiB,CAAC,OAAO,CAAC,CAAC;KAC9B;AACH,CAAC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { VersionStyleMap } from '../../model/BlockVersion.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
5
+ import { style } from '../../utils/style.js';
6
6
  import { BaseTile } from '../BaseTile/BaseTile.js';
7
7
  import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
8
8
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
9
9
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
10
10
  import { Headline } from '../Headline/Headline.js';
11
- export const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (_jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { title: title ? (_jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "text-left", as: "h2", ...rest })) : null, buttons: buttons?.length ? _jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) })));
11
+ export const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => (_jsx(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: _jsx(BaseTile, { title: title ? (_jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: getTileHeadingType(className), align: "text-left", as: as || 'h2' })) : null, buttons: renderButtonsSection(buttons), children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) })));
12
12
  function formatDate(date) {
13
13
  const dateObj = new Date(date);
14
14
  const dateFormat = {
@@ -1 +1 @@
1
- {"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,yBAAyB,EACjC,IAAI,EACJ,WAAW,EACX,OAAO,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QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,cAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IACvC,GACG,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
8
6
  import { Heading } from '../../ui-kit/Heading/Heading.js';
@@ -15,8 +13,8 @@ export const Recommendation = JSX(({ recommendations = [], className = '', title
15
13
  itemCount: recommendations.length,
16
14
  visibleItemCount: CARD_VIEW_COUNT,
17
15
  });
18
- return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
19
- ? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
16
+ return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${className}`, version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
17
+ ? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
20
18
  : null }), renderArrows({
21
19
  ...controls,
22
20
  btnClass: ['left-8', 'right-8'],
@@ -1 +1 @@
1
- {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,eAAe,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,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,MAAM,YAEV,eAAe,CAAC,MAAM;4BACrB,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,KAAC,kBAAkB,IAEjB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,kDAAkD,KACxD,IAAI,IAHH,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;4BACJ,CAAC,CAAC,IAAI,GACJ,EACL,YAAY,CAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,cACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,cACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { RecommendationCardTypes } from './RecommendationContent';
3
- export interface RecommendationCardProps extends RecommendationCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
3
+ export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {
6
4
  }
7
5
  export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,14 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
4
5
  import { Heading } from '../../ui-kit/Heading/Heading.js';
5
6
  import { Img } from '../../ui-kit/Img/Img.js';
6
7
  import { List } from '../../ui-kit/List/List.js';
7
8
  import { BaseTile } from '../BaseTile/BaseTile.js';
8
9
  import { SocialMedia } from '../Footer/SocialMedia.js';
9
- export const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
10
+ export const RecommendationCard = JSX(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
10
11
  const tileTitle = title ? (_jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
11
12
  const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
12
- return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (_jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null, button?.text ? (_jsx("div", { className: "pt-2", children: renderButton({ button, buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
13
+ return (_jsx(BlockWrapper, { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", ...rest, children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia ? _jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, button?.text ? (_jsx("div", { className: "pt-2", children: renderButtonsSection([button], { buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
13
14
  });
14
15
  //# sourceMappingURL=RecommendationCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAQpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE;IACrF,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,KAAC,GAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,kBACE,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,YAEf,KAAC,QAAQ,IAAC,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,YAC3E,eAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,MAAM,YAAE,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,WAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,CAC7E,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,cAAK,SAAS,EAAC,MAAM,YAAE,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,GAAO,CACtF,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAA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B,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,CAAC,GAC9D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,27 +1,19 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
4
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
5
  import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
5
6
  import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
6
7
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
7
8
  import { Img } from '../../ui-kit/Img/Img.js';
8
9
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
9
- export const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (_jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx("div", { className: "box-border", children: _jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
10
+ export const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (_jsx(BlockWrapper, { className: `border-b border-solid border-main-divider w-full ${className}`, tag: "div", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx("div", { className: "box-border", children: _jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
10
11
  RollupItem.childrenTypes = {
11
- exclude: [
12
- 'RollupItem',
13
- 'Accordion',
14
- 'AccordionItem',
15
- 'OtherProducts',
16
- 'OtherProductsItem',
17
- 'VerticalLayout',
18
- ],
12
+ exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
19
13
  };
20
- const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
21
- const iconsPrimary = ['PlusIcon', 'MinusIcon'];
22
- const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
23
- const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
24
- return version === 'primary' ? (_jsx(FoldButton, { icon: iconsPrimary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle })) : (_jsx(DefaultFoldButton, { icon: iconsSecondary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
14
+ const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
15
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
16
+ return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : (_jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
25
17
  };
26
- const FoldButton = JSX(({ label, icon, onClick }) => (_jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [_jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? _jsx(Img, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] })));
18
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (_jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onToggle, children: [_jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? _jsx(Img, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
27
19
  //# sourceMappingURL=RollupItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAgBpE,MAAM,CAAC,MAAM,UAAU,GAA8B,GAAG,CACtD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,YAAY,EACpB,UAAU,EACV,iBAAiB,GAAG,IAAI,EACxB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,cAAK,SAAS,EAAE,oDAAoD,SAAS,EAAE,YAC7E,KAAC,QAAQ,IACP,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,cAAK,SAAS,EAAC,YAAY,YACzB,KAAC,eAAe,IACd,SAAS,EAAE,oCAAoC,EAC/C,UAAU,EAAE,UAAU,YAErB,cAAc,CAAC,IAAI,CAAC,GACL,GACd,CACP,EACD,gBAAgB,EAAE,CAAC,EAAE,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GAAQ,EAC1D,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IACjF,CACV,CAAC"}
@@ -24,7 +24,7 @@ export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest
24
24
  const branches = useSafeBoxes(selectedRegion);
25
25
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
26
26
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
27
- return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
27
+ return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
28
28
  });
29
29
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
30
30
  //# sourceMappingURL=SafeDepositRental.js.map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AQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAC,SAAS,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,WAAW,GAAG,CAAC,CAAC,CAAC,IAAI,IACzE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CAC7E,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
@@ -19,14 +19,11 @@ export const StepsBlock = JSX(({ className = '', showLines = true, steps = [], b
19
19
  const titleMargin = title ? 'mt-9' : '';
20
20
  const paddingX = getPaddingX(steps.length);
21
21
  return (_jsxs(BlockWrapper, { className: [
22
- 'box-border py-12 font-sans',
22
+ 'box-border py-12',
23
23
  shortGaps ? 'px-20' : 'px-[70px]',
24
24
  'flex flex-col items-center overflow-hidden',
25
- styleMap.background,
26
- styleMap.title,
27
25
  className,
28
- ].join(' '), ...rest, children: [title ? (_jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (_jsxs("div", { className: `box-border ${titleMargin}`, children: [_jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(_jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), _jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? _jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
26
+ ].join(' '), version: version, ...rest, children: [title ? (_jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (_jsxs("div", { className: `box-border ${titleMargin}`, children: [_jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(_jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), _jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? _jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
29
27
  });
30
- const renderStepIcon = (styleMap, version) => ({ icon }, i) => (_jsx("div", { className: "flex flex-col items-center text-center", children: _jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center
31
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (_jsx(Img, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
28
+ const renderStepIcon = (styleMap, version) => ({ icon }, i) => (_jsx("div", { className: "flex flex-col items-center text-center", children: _jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center ${styleMap.iconBackground}`, children: checkIsIconRenderable(icon) ? (_jsx(Img, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
32
29
  //# sourceMappingURL=StepsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,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"}
@@ -1,5 +1,6 @@
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 { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
3
4
  import { Heading } from '../../ui-kit/Heading/Heading.js';
4
5
  import { Img } from '../../ui-kit/Img/Img.js';
5
6
  import { checkIsIconRenderable } from '../../utils/checkIsIconRenderable.js';
@@ -13,10 +14,9 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
13
14
  normal: 'min-h-[70px]',
14
15
  small: 'min-h-12',
15
16
  };
16
- export const StepsBlock = JSX(({ className, title, description, showLines = true, steps, size = 'normal', version = 'primary', }) => {
17
+ export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => {
17
18
  const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
18
- return (_jsxs("section", { className: `box-border font-sans bg-white px-4 py-6 flex flex-col
19
- ${styleMap.background} ${styleMap.title} ${className || ''}`, children: [title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${styleMap.title}`, title: title })) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStepTitle(size, version, showLines)) }) })) : null] }));
19
+ return (_jsxs(BlockWrapper, { className: `box-border px-4 py-6 flex flex-col ${className}`, version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStepTitle(size, version, showLines)) }) })) : null] }));
20
20
  });
21
21
  const renderStepTitle = (size, version, showLines) => (step, i, steps) => {
22
22
  const isLastStep = steps.length - 1 === i;
@@ -29,6 +29,6 @@ const renderIconArea = (size, version) => (step, i) => {
29
29
  const iconAreaSize = STEPS_SIZE_MAP[size];
30
30
  const iconSize = size === 'normal' ? '38' : '27';
31
31
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
32
- return (_jsx("div", { className: `${iconAreaSize} ${styleMap.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: _jsx("span", { className: `font-medium flex self-center ${styleMap.title} ${iconTextSize}`, children: checkIsIconRenderable(step?.icon) ? (_jsx(Img, { image: getIconWithVersion({ ...step.icon }, version), width: iconSize, height: iconSize, asSVG: true })) : (_jsx("span", { children: i + 1 })) }) }));
32
+ return (_jsx("div", { className: `${iconAreaSize} ${styleMap.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: _jsx("span", { className: `font-medium flex self-center ${iconTextSize}`, children: checkIsIconRenderable(step?.icon) ? (_jsx(Img, { image: getIconWithVersion({ ...step.icon }, version), width: iconSize, height: iconSize, asSVG: true })) : (_jsx("span", { children: i + 1 })) }) }));
33
33
  };
34
34
  //# sourceMappingURL=StepsBlock.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,MAAM,cAAc,GAAgC;IAClD,MAAM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AC;IAE1C,MAAM,QAAQ,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,MAAM,YAAY,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAE5E,OAAO,CACL,cACE,SAAS,EAAE,GAAG,YAAY,IAAI,QAAQ,CAAC,cAAc,4DAA4D,YAEjH,eAAM,SAAS,EAAE,gCAAgC,YAAY,EAAE,YAC5D,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACnC,KAAC,GAAG,IACF,KAAK,EAAE,kBAAkB,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,EACpD,KAAK,EAAE,QAAQ,EACf,MAAM,EAAE,QAAQ,EAChB,KAAK,SACL,CACH,CAAC,CAAC,CAAC,CACF,yBAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,7 +1,5 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  export declare type StyleType = {
3
- background: string;
4
- title: string;
5
3
  description: string;
6
4
  iconText: string;
7
5
  iconBackground: string;
@@ -1,7 +1,5 @@
1
1
  export const STEPS_BLOCK_STYLE_MAPS = {
2
2
  primary: {
3
- background: 'bg-white',
4
- title: 'text-primary-text',
5
3
  description: '!text-secondary-text text-l-light',
6
4
  iconText: 'text-secondary-text',
7
5
  iconBackground: 'bg-main-divider',
@@ -9,8 +7,29 @@ export const STEPS_BLOCK_STYLE_MAPS = {
9
7
  dot: 'bg-secondary-text',
10
8
  },
11
9
  secondary: {
12
- background: 'bg-primary-main',
13
- title: 'text-white',
10
+ description: '!text-white/80 text-l-light',
11
+ iconText: 'text-white',
12
+ iconBackground: 'bg-white/30',
13
+ iconConnector: 'bg-white',
14
+ dot: 'bg-white/80',
15
+ },
16
+ gray: {
17
+ // TODO Replace this Map with group-data-*
18
+ description: '!text-white/80 text-l-light',
19
+ iconText: 'text-white',
20
+ iconBackground: 'bg-white/30',
21
+ iconConnector: 'bg-white',
22
+ dot: 'bg-white/80',
23
+ },
24
+ transparent: {
25
+ description: '!text-white/80 text-l-light',
26
+ iconText: 'text-white',
27
+ iconBackground: 'bg-white/30',
28
+ iconConnector: 'bg-white',
29
+ dot: 'bg-white/80',
30
+ },
31
+ '': {
32
+ // TODO Replace this Map with group-data-*
14
33
  description: '!text-white/80 text-l-light',
15
34
  iconText: 'text-white',
16
35
  iconBackground: 'bg-white/30',
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,sBAAsB,GAAoC;IACrE,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,oBAAoB;QACnC,GAAG,EAAE,mBAAmB;KACzB;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
1
+ {"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,sBAAsB,GAAoC;IACrE,OAAO,EAAE;QACP,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,oBAAoB;QACnC,GAAG,EAAE,mBAAmB;KACzB;IACD,SAAS,EAAE;QACT,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,IAAI,EAAE;QACJ,0CAA0C;QAC1C,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,WAAW,EAAE;QACX,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,EAAE,EAAE;QACF,0CAA0C;QAC1C,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
@@ -1,18 +1,13 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Button } from '../../ui-kit/Button/Button.js';
3
- import { renderItems } from './renderItems.js';
3
+ import { List } from '../../ui-kit/List/List.js';
4
4
  export const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
5
5
  const { label, description, button, items, isDotted } = step;
6
6
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
7
7
  return (_jsxs("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [_jsxs("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), _jsxs("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
8
8
  description,
9
9
  className: styleMap.description,
10
- }), renderItems({
11
- items,
12
- isDotted,
13
- version,
14
- className: getItemsClasses({ className: 'text-left', description, styleMap }),
15
- })] })] }), button?.text && !isMainButton ? (_jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
10
+ }), _jsx(List, { className: getItemsClasses({ className: 'text-left', description, styleMap }), items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (_jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
16
11
  };
17
12
  const renderStepLabel = (label) => label ? _jsx("div", { className: "text-h6", children: label }) : null;
18
13
  const renderStepDescription = ({ description, className = '', }) => (description ? _jsx("div", { className: className, children: description }) : null);