@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,22 +1,8 @@
1
- import { GapVersion } from '../components/HorizontalLayout/HorizontalLayoutContent';
2
1
  /**
3
- * @title Цвет блока
4
- * @enumNames ["Основная", "Второстепенная"]
2
+ * @title Тема блока
3
+ * @enumNames ["Основная", "Второстепенная", "Серая", "Прозрачная", "Наследуемая"]
5
4
  */
6
- export declare type BlockVersion = 'primary' | 'secondary';
7
- /**
8
- * @title Цвет блока
9
- * @enumNames ["Прозрачная", "Основная", "Второстепенная"]
10
- */
11
- export declare type BlockVersionWithTransparent = 'transparent' | 'primary' | 'secondary';
12
- /**
13
- * @title Цвет блока
14
- * @enumNames [ "Основная", "Второстепенная", "Серая"]
15
- */
16
- export declare type BlockVersionWithGray = 'primary' | 'secondary' | 'gray';
17
- export declare const VersionStyleMap: Record<BlockVersion, string>;
18
- export declare const VersionAdditionalStyleMap: Record<BlockVersion, string>;
19
- export declare const VersionWithTransparentStyleMap: Record<BlockVersionWithTransparent, string>;
20
- export declare const VersionWithGrayStyleMap: Record<BlockVersionWithGray, string>;
21
- export declare const GapStyleMap: Record<GapVersion, string>;
22
- export declare const LayoutBackgroundStyleMap: Record<BlockVersionWithTransparent, string>;
5
+ export declare type BlockVersion = 'primary' | 'secondary' | 'gray' | 'transparent' | '';
6
+ declare type BlockVersionAtom<A extends string> = '' | `group-data-${BlockVersion}:${A}`;
7
+ export declare type BlockVersionMolecule<A extends string> = '' | A | BlockVersionAtom<A> | `${A} ${BlockVersionAtom<A>}` | `${BlockVersionAtom<A>} ${BlockVersionAtom<A>}` | `${BlockVersionAtom<A>} ${BlockVersionAtom<A>} ${BlockVersionAtom<A>}`;
8
+ export {};
@@ -1,33 +1,2 @@
1
- export const VersionStyleMap = {
2
- primary: 'bg-white text-primary-text',
3
- secondary: 'bg-primary-main text-white',
4
- };
5
- export const VersionAdditionalStyleMap = {
6
- primary: 'text-secondary-text',
7
- secondary: 'text-white',
8
- };
9
- export const VersionWithTransparentStyleMap = {
10
- transparent: '',
11
- primary: 'bg-white text-primary-text',
12
- secondary: 'bg-primary-main text-white',
13
- };
14
- export const VersionWithGrayStyleMap = {
15
- primary: 'bg-white text-primary-text',
16
- secondary: 'bg-primary-main text-white',
17
- gray: 'bg-main-divider text-primary-text',
18
- };
19
- export const GapStyleMap = {
20
- XXL: 'gap-12',
21
- XL: 'gap-10',
22
- L: 'gap-8',
23
- M: 'gap-4',
24
- S: 'gap-2',
25
- XS: 'gap-1',
26
- '': '',
27
- };
28
- export const LayoutBackgroundStyleMap = {
29
- transparent: '',
30
- primary: 'bg-white',
31
- secondary: 'bg-primary-main',
32
- };
1
+ export {};
33
2
  //# sourceMappingURL=BlockVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockVersion.js","sourceRoot":"","sources":["../../src/model/BlockVersion.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,MAAM,eAAe,GAAiC;IAC3D,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAiC;IACrE,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgD;IACzF,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAyC;IAC3E,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,IAAI,EAAE,mCAAmC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,GAAG,EAAE,QAAQ;IACb,EAAE,EAAE,QAAQ;IACZ,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAgD;IACnF,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
1
+ {"version":3,"file":"BlockVersion.js","sourceRoot":"","sources":["../../src/model/BlockVersion.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @title Цвет кнопки
3
- * @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка"]
2
+ * @title Тема кнопки
3
+ * @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Наследуемая"]
4
4
  * @default primary
5
5
  */
6
- export declare type ButtonVersion = 'primary' | 'secondary' | 'white' | 'link';
6
+ export declare type ButtonVersion = 'primary' | 'secondary' | 'white' | 'link' | 'transparent' | '';
@@ -1,10 +1,12 @@
1
1
  import type { UNIComponent } from '@redneckz/uni-jsx';
2
2
  import type { BlockRendererOptions } from '../BlockRenderer/BlockRendererOptions';
3
3
  import type { SlotName } from './BlockDecorator';
4
+ import type { BlockVersion } from './BlockVersion';
4
5
  import type { BlockDef } from './ContentPageDef';
5
6
  import type { VNode } from './VNode';
6
7
  export interface UniBlockProps {
7
8
  className?: string;
9
+ version?: BlockVersion;
8
10
  block?: BlockDef;
9
11
  options?: BlockRendererOptions;
10
12
  }
@@ -2,19 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
4
4
  import { Img } from '../Img/Img.js';
5
- const titleStyleMap = {
6
- primary: 'text-primary-text',
7
- secondary: 'text-white',
8
- };
9
- const descStyleMap = {
10
- primary: 'text-secondary-text',
11
- secondary: 'text-white',
12
- };
13
5
  export const BenefitItem = JSX((props) => {
14
6
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
15
7
  const listItemAlign = description ? 'items-start' : 'items-center';
16
8
  const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
17
- return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? _jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (_jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
9
+ return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? (_jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (_jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
18
10
  });
19
11
  function getBenefitIconBgStyle(version, benefitsVersion) {
20
12
  let bgColorStyle = 'bg-primary-main text-black';
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAIF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAsB,CAAC,KAAK,EAAE,EAAE;IAC5D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,QAAQ,GAC3B,GAAG,KAAK,CAAC;IACV,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;IACnE,MAAM,WAAW,GAAG,eAAe,KAAK,OAAO,CAAC,CAAC,CAAC,WAA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ED,OAAO,qFAAqF,YAAY,EAAE,CAAC;AAC7G,CAAC"}
@@ -1,7 +1,9 @@
1
+ import type { BlockVersion } from '../model/BlockVersion';
1
2
  import type { UniBlockProps } from '../model/JSXBlock';
2
3
  interface BlockWrapperProps extends UniBlockProps {
3
4
  tag?: keyof HTMLElementTagNameMap;
4
5
  role?: string;
5
6
  }
7
+ export declare const blockStyles: Record<BlockVersion, string>;
6
8
  export declare const BlockWrapper: import("@redneckz/uni-jsx").UNIComponent<BlockWrapperProps, any, any>;
7
9
  export {};
@@ -3,7 +3,15 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { EventBus } from '../EventBus/EventBus.js';
5
5
  import { useBlockIntersectionObserver } from '../services/BlockRouter/useBlockIntersectionObserver.js';
6
- export const BlockWrapper = JSX(({ className, block, tag = 'section', role, children }) => {
6
+ import { style } from '../utils/style.js';
7
+ export const blockStyles = {
8
+ primary: 'bg-white text-primary-text',
9
+ secondary: 'bg-primary-main text-white',
10
+ gray: 'bg-main-divider text-primary-text',
11
+ transparent: 'bg-transparent text-primary-text',
12
+ '': '',
13
+ };
14
+ export const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
7
15
  const Tag = tag;
8
16
  const ref = useBlockIntersectionObserver(block);
9
17
  const [isVisible, setVisible] = useState(true);
@@ -16,6 +24,6 @@ export const BlockWrapper = JSX(({ className, block, tag = 'section', role, chil
16
24
  setVisible(true);
17
25
  }
18
26
  }), [block]);
19
- return isVisible ? (_jsx(Tag, { className: className, role: role, ...(block?.anchor ? { id: block.anchor, ref } : {}), children: children })) : null;
27
+ return isVisible ? (_jsx(Tag, { className: style('group', blockStyles[version], className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children })) : null;
20
28
  });
21
29
  //# sourceMappingURL=BlockWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockW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,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE;YAC1B,MAAM,WAAW,GAAG,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,CAAC;YAC3D,UAAU,CACR,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CACnF,CAAC;SACH;aAAM;YACL,UAAU,CAAC,IAAI,CAAC,CAAC;SAClB;IACH,CAAC,CAAC,EACJ,CAAC,KAAK,CAAC,CACR,CAAC;IAEF,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,KAAC,GAAG,IACF,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,KACtD,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACxC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Img } from '../Img/Img.js';
4
4
  import { Button } from './Button.js';
5
- export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
5
+ export const ArrowButton = JSX(({ className, disabled, ...rest }) => (_jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
6
6
  ? 'bg-secondary-light text-secondary-text'
7
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
7
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
8
8
  export const ScrollLeftButton = JSX((props) => (_jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
9
9
  export const ScrollRightButton = JSX((props) => (_jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
10
10
  //# sourceMappingURL=ArrowButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArrowButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ArrowButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC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QACN,CAAC,CAAC,wCAAwC;QAC1C,CAAC,CAAC,oDACN,IAAI,SAAS,IAAI,EAAE,EAAE,EACrB,QAAQ,EAAE,QAAQ,KACd,IAAI,YAER,KAAC,GAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,EAAE,EACtD,cAAc,EAAC,mCAAmC,EAClD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACK,CACV,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAc,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1D,KAAC,WAAW,OAAK,KAAK,EAAE,SAAS,EAAC,6FAAkB,wBAAoB,aAAa,GAAG,CACzF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAc,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,KAAC,WAAW,OACN,KAAK,EACT,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,IAAI,EAAE,aAAa,EAChD,SAAS,EAAC,mGAAmB,wBACV,cAAc,GACjC,CACH,CAAC,CAAC"}
@@ -12,7 +12,7 @@ const getButtonStyle = (props) => {
12
12
  }
13
13
  const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
14
14
  return [
15
- 'group flex items-center justify-center',
15
+ 'group/btn flex items-center justify-center',
16
16
  isWithText(props) ? withTextStyle : 'h-12 w-12',
17
17
  rounded ? 'rounded-full' : '',
18
18
  ].join(' ');
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAO1D,MAAM,CAAC,MAAM,WAA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cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,4CAA4C;QAC5C,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
@@ -3,6 +3,8 @@ export const buttonStyleMap = {
3
3
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
4
4
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
5
5
  link: '',
6
+ transparent: '',
7
+ '': '',
6
8
  };
7
9
  const DisabledStyle = 'bg-main-divider text-main-disabled';
8
10
  export const buttonDisabledStyleMap = {
@@ -10,12 +12,16 @@ export const buttonDisabledStyleMap = {
10
12
  secondary: DisabledStyle,
11
13
  white: DisabledStyle,
12
14
  link: '',
15
+ transparent: '',
16
+ '': '',
13
17
  };
14
18
  export const buttonStyle = 'text-center font-sans select-none';
15
19
  export const iconStyleMap = {
16
- primary: 'group-hover:brightness-0 group-hover:invert',
17
- secondary: 'group-hover:brightness-0 group-hover:invert',
18
- white: 'group-hover:brightness-0 group-hover:invert',
20
+ primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
21
+ secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
22
+ white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
19
23
  link: '',
24
+ transparent: '',
25
+ '': '',
20
26
  };
21
27
  //# sourceMappingURL=buttonClassNameConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC;AAE/D,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD,OAAO,EAAE,6CAA6C;IACtD,SAAS,EAAE,6CAA6C;IACxD,KAAK,EAAE,6CAA6C;IACpD,IAAI,EAAE,EAAE;CACT,CAAC"}
1
+ {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC;AAE/D,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD,OAAO,EAAE,qDAAqD;IAC9D,SAAS,EAAE,qDAAqD;IAChE,KAAK,EAAE,qDAAqD;IAC5D,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,EAAE,EAAE,EAAE;CACP,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { ButtonWithIconProps } from './ButtonProps';
3
+ interface ButtonsSectionOptions {
4
+ className?: string;
5
+ buttonClassName?: string;
6
+ isVertical?: boolean;
7
+ }
8
+ export declare const renderButtonsSection: (buttons?: (ButtonWithIconProps | undefined)[], { className, buttonClassName, isVertical }?: ButtonsSectionOptions) => JSX.Element | null;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { style } from '../../utils/style.js';
3
+ import { Img } from '../Img/Img.js';
4
+ import { Button } from './Button.js';
5
+ export const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? (_jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
6
+ const renderButton = (buttonClassName = '') => (button, index) => {
7
+ const { text, icon, iconRight, version, ...rest } = button || {};
8
+ const iconVersion = version === 'secondary' ? 'color' : 'white';
9
+ return text ? (_jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
10
+ };
11
+ const DEFAULT_ICON_W = 24;
12
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (_jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
13
+ //# sourceMappingURL=renderButtonsSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EAC3E,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAChD,cAAK,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,YAC9E,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAA4B,EAAE,KAAc,EAAE,EAAE;IAC/C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IAEL,SAAS,EAAE,eAAe,EAC1B,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,CAAC,EAC5D,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,EAC9B,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -10,7 +10,7 @@ const CHECK_PATHS = [
10
10
  },
11
11
  ];
12
12
  export const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
13
- return (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
13
+ return (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer group/box", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover/box:border-primary-hover
14
14
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
15
15
  ${checked ? 'border-black' : 'border-gray'}
16
16
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,iDAAiD,aAChE,gBACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa;wCACV,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,EAClE,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,KAAC,GAA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AgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACpE,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { VNode } from '../../model/VNode';
2
2
  import type { FoldablePartProps } from './FoldablePartProps';
3
3
  export interface FoldableProps {
4
+ className?: string;
4
5
  unfoldedByDefault?: boolean;
5
6
  isFoldButtonOnTop?: boolean;
6
7
  renderFoldableSection: (props: FoldablePartProps) => VNode;
@@ -1,13 +1,13 @@
1
1
  import { 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
- export const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
4
+ export const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
5
5
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
6
6
  const onToggle = useCallback(() => {
7
7
  setIsUnfolded((_) => !_);
8
8
  }, []);
9
9
  const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
10
10
  const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
11
- return isFoldButtonOnTop ? (_jsxs("div", { children: [buttonNode, sectionNode] })) : (_jsxs("div", { children: [sectionNode, buttonNode] }));
11
+ return isFoldButtonOnTop ? (_jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (_jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
12
12
  });
13
13
  //# sourceMappingURL=Foldable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAWpE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,iBAAiB,GAAG,KAAK,EACzB,iBAAiB,GAAG,KAAK,EACzB,qBAAqB,EACrB,gBAAgB,GACjB,EAAE,EAAE;IACH,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAExF,OAAO,iBAAiB,CAAC,CAAC,CAAC,CACzB,0BACG,UAAU,EACV,WAAW,IACR,CACP,CAAC,CAAC,CAAC,CACF,0BACG,WAAW,EACX,UAAU,IACP,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAYpE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,iBAAiB,GAAG,KAAK,EACzB,iBAAiB,GAAG,KAAK,EACzB,qBAAqB,EACrB,gBAAgB,GACjB,EAAE,EAAE;IACH,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,WAAW,GAAG,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAExF,OAAO,iBAAiB,CAAC,CAAC,CAAC,CACzB,eAAK,SAAS,EAAE,SAAS,aACtB,UAAU,EACV,WAAW,IACR,CACP,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAE,SAAS,aACtB,WAAW,EACX,UAAU,IACP,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export interface FoldablePartProps {
2
- isUnfolded: boolean;
2
+ isUnfolded?: boolean;
3
3
  onToggle?: () => void;
4
4
  }
@@ -1,21 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- const TEXT_CLASSES = 'font-sans text-s';
4
- const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-0.5';
5
- export const HeaderItem = JSX(({ className = '', text, href, target, active, onClick, children, bgColor = 'bg-white' }) => {
6
- return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, onClick: onClick, children: [_jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? _jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
3
+ import { useLink } from '../../hooks/useLink.js';
4
+ import { style } from '../../utils/style.js';
5
+ export const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
6
+ const link = useLink();
7
+ const { href, target, text, onClick } = link(rest);
8
+ return (_jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [_jsx("span", { className: getTextStyle(active), children: text || children }), active ? _jsx("div", { className: getBorderStyle(active) }) : null] }));
7
9
  });
8
- const getTextClasses = (bgColor, active = false) => {
9
- let classes = 'text-white';
10
- if (bgColor === 'bg-white') {
11
- classes = active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main';
12
- }
13
- return `${classes} ${TEXT_CLASSES}`;
14
- };
15
- const getBorderClasses = (bgColor, active = false) => {
16
- if (!active) {
17
- return BORDER_CLASSES;
18
- }
19
- return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
20
- };
10
+ const getTextStyle = (active = false) => style('font-sans text-s', active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
11
+ const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
21
12
  //# sourceMappingURL=HeaderItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAMxC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AACxC,MAAM,cAAc,GAAG,wCAAwC,CAAC;AAE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ime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { projectSettings } from '../../ProjectSettings.js';
4
+ import { style } from '../../utils/style.js';
4
5
  const svgUseStyleMap = {
5
6
  normal: '',
6
7
  color: 'text-primary-main',
@@ -10,16 +11,10 @@ const svgUseStyleMap = {
10
11
  export const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
11
12
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
12
13
  if (asSVG && iconVersion !== 'normal') {
13
- return (_jsx(Background, { className: className, children: _jsxs("svg", { className: [
14
- getSvgSize(className, imgProps.width),
15
- svgUseStyleMap[iconVersion],
16
- imageClassName,
17
- getInvertStyle(iconVersion),
18
- ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
14
+ return (_jsx(Background, { className: className, children: _jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
19
15
  }
20
16
  return (_jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
21
17
  });
22
- const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
23
- const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
18
+ const getSvgSize = (width) => (width ? '' : 'w-full h-full');
24
19
  const Background = JSX(({ className, children }) => className ? _jsx("div", { className: className, children: children }) : children);
25
20
  //# sourceMappingURL=Icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":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`absolute border border-primary-main ml-3 px-6 py-5
5
5
  text-l-light bg-white text-primary-text flex w-[316px]
6
- justify-between items-center group-hover:text-primary-main z-10`;
6
+ justify-between items-center group-hover/link:text-primary-main z-10`;
7
7
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
8
8
  export const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
9
9
  if (!text) {
10
10
  return null;
11
11
  }
12
- return (_jsxs("div", { className: `relative group cursor-pointer w-[328px] h-[82px] ${className}`, children: [_jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [_jsx("div", { className: "p-0.5", children: text }), _jsx("div", { className: "w-6 h-6", children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
12
+ return (_jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [_jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [_jsx("div", { className: "p-0.5", children: text }), _jsx("div", { className: "w-6 h-6", children: _jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), _jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
13
13
  });
14
14
  //# sourceMappingURL=LinkButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/LinkButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,eAAe,GAAG;;kEAE0C,CAAC;AAEnE,MAAM,sBAAsB,GAC1B,sEAAsE,CAAC;AAMzE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACnD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,eAAK,SAAS,EAAE,oDAAoD,SAAS,EAAE,aAC7E,aAAG,SAAS,EAAE,eAAe,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aACnE,cAAK,SAAS,EAAC,OAAO,YAAE,IAAI,GAAO,EACnC,cAAK,SAAS,EAAC,SAAS,YACtB,KAAC,GAAG,IACF,SAAS,EAAC,yFAAyF,EACnG,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EACvD,cAAc,EAAC,+BAA+B,EAC9C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACE,IACJ,EACJ,cAAK,SAAS,EAAE,GAAG,sBAAsB,gBAAgB,GAAI,EAC7D,cAAK,SAAS,EAAE,GAAG,sBAAsB,YAAY,GAAI,IACrD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"LinkButton.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkButton/LinkButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,eAAe,GAAG;;uEAE+C,CAAC;AAExE,MAAM,sBAAsB,GAC1B,sEAAsE,CAAC;AAMzE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACnD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,eAAK,SAAS,EAAE,yDAAyD,SAAS,EAAE,aAClF,aAAG,SAAS,EAAE,eAAe,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aACnE,cAAK,SAAS,EAAC,OAAO,YAAE,IAAI,GAAO,EACnC,cAAK,SAAS,EAAC,SAAS,YACtB,KAAC,GAAG,IACF,SAAS,EAAC,8FAA8F,EACxG,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EACvD,cAAc,EAAC,oCAAoC,EACnD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,GACE,IACJ,EACJ,cAAK,SAAS,EAAE,GAAG,sBAAsB,gBAAgB,GAAI,EAC7D,cAAK,SAAS,EAAE,GAAG,sBAAsB,YAAY,GAAI,IACrD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,11 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { ListItem } from './ListItem.js';
4
- const TEXT_STYLE_MAP = {
5
- primary: 'text-primary-text',
6
- secondary: 'text-white',
7
- gray: 'text-secondary-text',
8
- };
9
4
  const TEXT_SIZE_MAP = {
10
5
  S: 'text-l-light',
11
6
  M: 'text-h6',
@@ -16,11 +11,5 @@ const ITEM_INDENT_MAP = {
16
11
  M: 'ml-3',
17
12
  L: 'ml-4',
18
13
  };
19
- export const List = JSX((props) => {
20
- const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
21
- if (!items?.length) {
22
- return null;
23
- }
24
- return (_jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (_jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
25
- });
14
+ export const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (_jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (_jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
26
15
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,cAAc,GAAoC;IACtD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,qBAAqB;CAC5B,CAAC;AAEF,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,G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C,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CACzF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,kBACE,SAAS,EAAE,yFACT,aAAa,CAAC,YAAY,CAC5B,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,QAAQ,IAEP,SAAS,EAAE,GAAG,aAAa,SAAS,EACpC,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,YAAY,YAEjB,IAAI,IALA,MAAM,CAAC,CAAC,CAAC,CAML,CACZ,CAAC,GACM,CACX,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
@@ -1,10 +1,9 @@
1
- import type { ListItemSize, ListItemVersion } from './ListProps';
1
+ import type { ListItemSize } from './ListProps';
2
2
  /**
3
3
  * @title Параметры элемента списка
4
4
  */
5
5
  export interface ListItemProps {
6
6
  className?: string;
7
- version?: ListItemVersion;
8
7
  text?: string;
9
8
  isDotted?: boolean;
10
9
  size?: ListItemSize;
@@ -1,16 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- const LIST_DOT_STYLE_MAP = {
4
- primary: 'bg-primary-text',
5
- secondary: 'bg-white',
6
- gray: 'bg-secondary-text',
7
- };
8
3
  const DOT_SIZE_MAP = {
9
4
  L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
10
5
  M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
11
6
  S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
12
7
  };
13
- export const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
14
- return (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (_jsx("div", { children: _jsx("div", { className: `rounded-full align-middle inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` }) })) : null, _jsx("span", { children: children })] }));
15
- });
8
+ export const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (_jsx("div", { children: _jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, _jsx("span", { children: children })] })));
16
9
  //# sourceMappingURL=ListItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAcxC,MAAM,kBAAkB,GAAoC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,8BAA8B;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE;IACjF,OAAO,CACL,eAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,CAAC,CAAC,CAAC,CACV,wBACE,cACE,SAAS,EAAE,0CAA0C,kBAAkB,CAAC,OAAO,CAAC,IAAI,YAAY,CAAC,IAAI,CAAC,EAAE,GACxG,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,QAAQ,GAAQ,IACnB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,YAAY,GAAG;IACnB,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,8BAA8B;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CAC7D,eAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,CAAC,CAAC,CAAC,CACV,wBACE,cACE,SAAS,EAAE,wFAAwF,YAAY,CAAC,IAAI,CAAC,EAAE,GACvH,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,QAAQ,GAAQ,IACnB,CACP,CACF,CAAC"}
@@ -4,11 +4,6 @@ import type { ListContent } from './ListContent';
4
4
  * @enumNames ["Маленький", "Средний", "Большой"]
5
5
  */
6
6
  export declare type ListItemSize = 'S' | 'M' | 'L';
7
- /**
8
- * @title Версия списка
9
- * @enumNames ["Основной", "Второстепенный", "Серый"]
10
- */
11
- export declare type ListItemVersion = 'primary' | 'secondary' | 'gray';
12
7
  /**
13
8
  * @title Содержимое списка
14
9
  */
@@ -22,5 +17,4 @@ export interface ListProps extends ListContent {
22
17
  /** @title Буллиты */
23
18
  isDotted?: boolean;
24
19
  listItemSize?: ListItemSize;
25
- version?: ListItemVersion;
26
20
  }
@@ -33,7 +33,7 @@ const renderRegion = ({ onChangeLocation, close }) => (region) => (_jsx("div", {
33
33
  onChangeLocation && onChangeLocation(region);
34
34
  close && close();
35
35
  }, children: region.name || '' }) }, region.id));
36
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [_jsx("div", { className: "mb-4", children: _jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
36
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [_jsx("div", { className: "mb-4", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
37
37
  const ForeignOffice = JSX(({ icon, ...rest }) => {
38
38
  const link = useLink();
39
39
  const { text, target, href, onClick } = link(rest);