@redneckz/wildless-cms-uni-blocks 0.8.21 → 0.8.23

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 (714) hide show
  1. package/bin/migration-scripts/0.8.23.js +31 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +38 -73
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  6. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  7. package/bundle/components/Bonus/BonusContent.d.ts +4 -4
  8. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  9. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  10. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  11. package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  12. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  13. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  14. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  15. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  16. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  17. package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  18. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  19. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  20. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  21. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  22. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  23. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  24. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  25. package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  26. package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  27. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  28. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  29. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  30. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  31. package/bundle/components/Header/HeaderContent.d.ts +3 -4
  32. package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  33. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  34. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  35. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  36. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  37. package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  38. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  39. package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  40. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  41. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  42. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  43. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  44. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  45. package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  46. package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  47. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  48. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  49. package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  50. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  51. package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  52. package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  53. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  54. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  55. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  56. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  57. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  58. package/bundle/components/Tabs/TabsContent.d.ts +3 -2
  59. package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  60. package/bundle/components/Tile/TileContent.d.ts +2 -3
  61. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  62. package/bundle/components/Video/VideoContent.d.ts +3 -2
  63. package/bundle/model/HeadlineType.d.ts +4 -0
  64. package/bundle/model/JSXBlock.d.ts +9 -2
  65. package/bundle/model/LogoType.d.ts +3 -5
  66. package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  67. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  68. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  69. package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  70. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  71. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  72. package/dist/components/Bonus/BonusContent.d.ts +4 -4
  73. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  74. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  75. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  76. package/dist/components/Carousel/Carousel.js +1 -1
  77. package/dist/components/Carousel/Carousel.js.map +1 -1
  78. package/dist/components/Carousel/CarouselContent.d.ts +3 -2
  79. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  80. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  81. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  82. package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  83. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  84. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  85. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  86. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  87. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  88. package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  89. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  90. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  91. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  92. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  93. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  94. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  95. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  96. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  97. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  98. package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  99. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  100. package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  101. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  102. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  103. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  104. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  105. package/dist/components/Header/HeaderContent.d.ts +3 -4
  106. package/dist/components/Headline/Headline.js +2 -2
  107. package/dist/components/Headline/Headline.js.map +1 -1
  108. package/dist/components/Headline/HeadlineContent.d.ts +3 -4
  109. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  110. package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  111. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  112. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  113. package/dist/components/LikeControl/LikeControl.d.ts +2 -1
  114. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  115. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  116. package/dist/components/LinkList/LinkListContent.d.ts +3 -2
  117. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  118. package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  119. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  120. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  121. package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  122. package/dist/components/PictureText/renderBenefit.d.ts +1 -1
  123. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  124. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  125. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  126. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  127. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  128. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  129. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  130. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  131. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  132. package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  133. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  134. package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  135. package/dist/components/RollupItem/RollupItem.d.ts +4 -2
  136. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  137. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  138. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  139. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  140. package/dist/components/StepsBlock/StepsBlock.js +11 -8
  141. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  142. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -6
  143. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  144. package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  145. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  146. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
  147. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  148. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  149. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  150. package/dist/components/Tabs/TabsContent.d.ts +3 -2
  151. package/dist/components/TextBlock/TextBlock.js +5 -11
  152. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  153. package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
  154. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  155. package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  156. package/dist/components/Tile/TileContent.d.ts +2 -3
  157. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  158. package/dist/components/Video/VideoContent.d.ts +3 -2
  159. package/dist/model/HeadlineType.d.ts +4 -0
  160. package/dist/model/JSXBlock.d.ts +9 -2
  161. package/dist/model/LogoType.d.ts +3 -5
  162. package/dist/services/sitemap/SitemapProps.d.ts +2 -4
  163. package/dist/ui-kit/BlockWrapper.js +2 -2
  164. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  165. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  166. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  167. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  168. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  169. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  170. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  171. package/dist/ui-kit/Text/TextProps.d.ts +1 -1
  172. package/lib/common.css +1 -1
  173. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  174. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  175. package/lib/components/Bonus/BonusContent.d.ts +4 -4
  176. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  177. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  178. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  179. package/lib/components/Carousel/Carousel.js +1 -1
  180. package/lib/components/Carousel/Carousel.js.map +1 -1
  181. package/lib/components/Carousel/CarouselContent.d.ts +3 -2
  182. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  183. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  184. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  185. package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  186. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  187. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  188. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  189. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  190. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  191. package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  192. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  193. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  194. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  195. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  196. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  197. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  198. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  199. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
  200. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  201. package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  202. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  203. package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  204. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  205. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  206. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  207. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  208. package/lib/components/Header/HeaderContent.d.ts +3 -4
  209. package/lib/components/Headline/Headline.js +2 -2
  210. package/lib/components/Headline/Headline.js.map +1 -1
  211. package/lib/components/Headline/HeadlineContent.d.ts +3 -4
  212. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  213. package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  214. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  215. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  216. package/lib/components/LikeControl/LikeControl.d.ts +2 -1
  217. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  218. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  219. package/lib/components/LinkList/LinkListContent.d.ts +3 -2
  220. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  221. package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  222. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  223. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  224. package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  225. package/lib/components/PictureText/renderBenefit.d.ts +1 -1
  226. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  227. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  228. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  229. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  230. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  231. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  232. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  233. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  234. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  235. package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  236. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  237. package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  238. package/lib/components/RollupItem/RollupItem.d.ts +4 -2
  239. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  240. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  241. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  242. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  243. package/lib/components/StepsBlock/StepsBlock.js +12 -9
  244. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  245. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -7
  246. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  247. package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  248. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  249. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
  250. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  251. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  252. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  253. package/lib/components/Tabs/TabsContent.d.ts +3 -2
  254. package/lib/components/TextBlock/TextBlock.js +5 -11
  255. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  256. package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
  257. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  258. package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  259. package/lib/components/Tile/TileContent.d.ts +2 -3
  260. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  261. package/lib/components/Video/VideoContent.d.ts +3 -2
  262. package/lib/model/HeadlineType.d.ts +4 -0
  263. package/lib/model/JSXBlock.d.ts +9 -2
  264. package/lib/model/LogoType.d.ts +3 -5
  265. package/lib/services/sitemap/SitemapProps.d.ts +2 -4
  266. package/lib/ui-kit/BlockWrapper.js +2 -2
  267. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  268. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  269. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  270. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  271. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  272. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  273. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  274. package/lib/ui-kit/Text/TextProps.d.ts +1 -1
  275. package/mobile/bundle/bundle.umd.js +23 -80
  276. package/mobile/bundle/bundle.umd.min.js +1 -1
  277. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  278. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  279. package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
  280. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  281. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  282. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
  283. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
  284. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  285. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  286. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  287. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  288. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  289. package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  290. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  291. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  292. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  293. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  294. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  295. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  296. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
  297. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
  298. package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  299. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  300. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  301. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  302. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  303. package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
  304. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
  305. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  306. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  307. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  308. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  309. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
  310. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  311. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
  312. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  313. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  314. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  315. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  316. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
  317. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
  318. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
  319. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  320. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  321. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
  322. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  323. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
  324. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
  325. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
  326. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  327. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  328. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  329. package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
  330. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
  331. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
  332. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  333. package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
  334. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  335. package/mobile/bundle/model/JSXBlock.d.ts +9 -2
  336. package/mobile/bundle/model/LogoType.d.ts +3 -5
  337. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
  338. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  339. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  340. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
  341. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  342. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  343. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
  344. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  345. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  346. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
  347. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  348. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  349. package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
  350. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  351. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  352. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  353. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  354. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  355. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  356. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  357. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  358. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  359. package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  360. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  361. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  362. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  363. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  364. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  365. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  366. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  367. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
  368. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  369. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
  370. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  371. package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  372. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  373. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  374. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  375. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  376. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
  377. package/mobile/dist/components/Headline/Headline.js +2 -2
  378. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  379. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
  380. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  381. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  382. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  383. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  384. package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
  385. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  386. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  387. package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
  388. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  389. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  390. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  391. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  392. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
  393. package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
  394. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  395. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  396. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  397. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  398. package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
  399. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  400. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  401. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
  402. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  403. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
  404. package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
  405. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  406. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
  407. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  408. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -6
  409. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  410. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  411. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  412. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
  413. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  414. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  415. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  416. package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
  417. package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
  418. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  419. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
  420. package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
  421. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  422. package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
  423. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  424. package/mobile/dist/model/JSXBlock.d.ts +9 -2
  425. package/mobile/dist/model/LogoType.d.ts +3 -5
  426. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
  427. package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
  428. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  429. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  430. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  431. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  432. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  433. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  434. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  435. package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
  436. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
  437. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
  438. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
  439. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
  440. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
  441. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
  442. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  443. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  444. package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
  445. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  446. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  447. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
  448. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
  449. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
  450. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
  451. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
  452. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  453. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  454. package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
  455. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
  456. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
  457. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
  458. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  459. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
  460. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  461. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
  462. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
  463. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  464. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
  465. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  466. package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
  467. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
  468. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
  469. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
  470. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
  471. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
  472. package/mobile/lib/components/Headline/Headline.js +2 -2
  473. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  474. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
  475. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
  476. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
  477. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
  478. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
  479. package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
  480. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  481. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
  482. package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
  483. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  484. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
  485. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
  486. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
  487. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
  488. package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
  489. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  490. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
  491. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  492. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  493. package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
  494. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  495. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
  496. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
  497. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  498. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
  499. package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
  500. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  501. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
  502. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
  503. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -7
  504. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  505. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  506. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
  507. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
  508. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  509. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
  510. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  511. package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
  512. package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
  513. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  514. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
  515. package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
  516. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
  517. package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
  518. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  519. package/mobile/lib/model/JSXBlock.d.ts +9 -2
  520. package/mobile/lib/model/LogoType.d.ts +3 -5
  521. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
  522. package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
  523. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  524. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  525. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  526. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
  527. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
  528. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
  529. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  530. package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
  531. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  532. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  533. package/mobile/src/components/Bonus/BonusContent.ts +8 -7
  534. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
  535. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  536. package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
  537. package/mobile/src/components/Carousel/Carousel.tsx +8 -1
  538. package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
  539. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  540. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  541. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  542. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  543. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  544. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  545. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  546. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  547. package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  548. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  549. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  550. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  551. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  552. package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
  553. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  554. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  555. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
  556. package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
  557. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  558. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  559. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  560. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  561. package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
  562. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  563. package/mobile/src/components/Header/HeaderContent.ts +3 -4
  564. package/mobile/src/components/Headline/Headline.tsx +5 -3
  565. package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
  566. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  567. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  568. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  569. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  570. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
  571. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  572. package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
  573. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  574. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  575. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  576. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  577. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  578. package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
  579. package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
  580. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
  581. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  582. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
  583. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
  584. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  585. package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
  586. package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
  587. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
  588. package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
  589. package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
  590. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  591. package/mobile/src/components/StepsBlock/StepsBlock.example.json +3 -1
  592. package/mobile/src/components/StepsBlock/StepsBlock.tsx +23 -27
  593. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  594. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
  595. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  596. package/mobile/src/components/Tabs/TabsContent.ts +3 -2
  597. package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
  598. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
  599. package/mobile/src/components/Tile/TileContent.ts +3 -3
  600. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  601. package/mobile/src/components/Video/VideoContent.ts +18 -16
  602. package/mobile/src/model/HeadlineType.ts +5 -0
  603. package/mobile/src/model/JSXBlock.ts +10 -2
  604. package/mobile/src/model/LogoType.ts +3 -5
  605. package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
  606. package/mobile/src/ui-kit/BlockWrapper.tsx +16 -3
  607. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  608. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  609. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  610. package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
  611. package/package.json +1 -1
  612. package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
  613. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
  614. package/src/components/Bonus/BonusContent.ts +8 -7
  615. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
  616. package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
  617. package/src/components/CardTransfer/CardTransferContent.ts +3 -1
  618. package/src/components/Carousel/Carousel.tsx +8 -1
  619. package/src/components/Carousel/CarouselContent.ts +4 -2
  620. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  621. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
  622. package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
  623. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
  624. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
  625. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
  626. package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
  627. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
  628. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
  629. package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
  630. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
  631. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
  632. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
  633. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
  634. package/src/components/Catalog/Catalog.ui.json +1 -0
  635. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
  636. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
  637. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
  638. package/src/components/ComparisonTable/TableRow.tsx +3 -2
  639. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  640. package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
  641. package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
  642. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
  643. package/src/components/Gallery/Gallery.ui.json +1 -0
  644. package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
  645. package/src/components/Header/HeaderContent.ts +3 -4
  646. package/src/components/Headline/Headline.tsx +5 -3
  647. package/src/components/Headline/HeadlineContent.ts +9 -8
  648. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
  649. package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
  650. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
  651. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
  652. package/src/components/LikeControl/LikeControl.tsx +2 -1
  653. package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
  654. package/src/components/LinkList/LinkListContent.ts +3 -2
  655. package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  656. package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
  657. package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
  658. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
  659. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
  660. package/src/components/PictureText/PictureTextContent.ts +29 -28
  661. package/src/components/PictureText/renderBenefit.tsx +1 -1
  662. package/src/components/Placeholder/PlaceholderContent.ts +2 -1
  663. package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
  664. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
  665. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
  666. package/src/components/ProductGallery/ProductGallery.tsx +3 -4
  667. package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
  668. package/src/components/ProductTile/ProductTileContent.ts +10 -6
  669. package/src/components/PromoTile/PromoTileContent.ts +3 -3
  670. package/src/components/Recommendation/RecommendationContent.ts +6 -6
  671. package/src/components/RollupItem/RollupItem.tsx +5 -3
  672. package/src/components/RollupItem/RollupItemContent.ts +8 -8
  673. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
  674. package/src/components/StepsBlock/StepsBlock.example.json +3 -1
  675. package/src/components/StepsBlock/StepsBlock.fixture.tsx +4 -0
  676. package/src/components/StepsBlock/StepsBlock.mobile.tsx +23 -27
  677. package/src/components/StepsBlock/StepsBlock.tsx +34 -27
  678. package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  679. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
  680. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
  681. package/src/components/Tabs/TabsContent.ts +3 -2
  682. package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
  683. package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
  684. package/src/components/TextBlock/TextBlock.tsx +12 -39
  685. package/src/components/TextBlock/TextBlockContent.ts +4 -4
  686. package/src/components/Tile/TileContent.ts +3 -3
  687. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
  688. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
  689. package/src/components/Video/VideoContent.ts +18 -16
  690. package/src/model/HeadlineType.ts +5 -0
  691. package/src/model/JSXBlock.ts +10 -2
  692. package/src/model/LogoType.ts +3 -5
  693. package/src/services/sitemap/SitemapProps.ts +2 -4
  694. package/src/ui-kit/BlockWrapper.tsx +16 -3
  695. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
  696. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
  697. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
  698. package/src/ui-kit/Text/TextProps.ts +1 -1
  699. package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  700. package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  701. package/dist/components/RollupItem/RollupItemProps.js +0 -2
  702. package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  703. package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  704. package/lib/components/RollupItem/RollupItemProps.js +0 -2
  705. package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  706. package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
  707. package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
  708. package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
  709. package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
  710. package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
  711. package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
  712. package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
  713. package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
  714. package/src/components/RollupItem/RollupItemProps.ts +0 -4
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,GAAG,EACrB,QAAQ,EACR,eAAe,GAAG,QAAQ,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,KAAK,EACL,KAAK,EACL,WAAW,EACX,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IAAC,SAAS,EAAE,UAAU,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,a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AC7E,CACP,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,GAAG,EACrB,QAAQ,EACR,eAAe,GAAG,QAAQ,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,KAAK,EACL,KAAK,EACL,WAAW,EACX,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IAAC,SAAS,EAAE,UAAU,SAAS,EAAE,KAAM,IAAI,aACtD,0BACG,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAClC,KAAC,QAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,GACjB,EACF,MAAC,QAAQ,IAAC,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,aACtF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAC1C,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,GAAO,CACtF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACnE,CAAC,CAAC,CAAC,IAAI,IACC,IACP,EACL,WAAW,CAAC,KAAK,CAAC,IACN,CAChB,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,KAAC,GAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CACrC,cAAK,SAAS,EAAC,kFAAkF,YAC/F,KAAC,IAAI,IAAC,KAAK,EAAC,sDAAsD,YAAE,KAAK,GAAQ,GAC7E,CACP,CAAC"}
@@ -3,12 +3,12 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
6
- export const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
6
+ export const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
7
7
  const galleryNav = slides.map((s) => s.nav);
8
8
  const galleryBlocks = slides.map((s) => s.productBlock);
9
9
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
10
10
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
11
- return (_jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
11
+ return (_jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
12
12
  slide,
13
13
  i,
14
14
  isActive: Boolean(i === activeSlideIndex),
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAYtE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI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SXBlock';
2
2
  import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
3
3
  /** @title Кнопка под слайдом */
4
4
  export interface ProductGalleryNav {
@@ -19,11 +19,10 @@ export interface ProductSlide {
19
19
  /**
20
20
  * @title Продуктовая галерея
21
21
  */
22
- export interface ProductGalleryContent {
22
+ export declare type ProductGalleryContent = UniBlockContent & {
23
23
  /**
24
24
  * @title Слайды
25
25
  * @minItems 2
26
26
  */
27
27
  slides?: ProductSlide[];
28
- version?: BlockVersion;
29
- }
28
+ };
@@ -1,6 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
3
- import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
2
+ import type { AdditionalDescriptionProps, DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { Picture } from '../../model/Picture';
5
5
  import type { RichTextItem } from '../../model/RichTextItem';
6
6
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
@@ -18,7 +18,7 @@ export declare type Benefit = TextBenefit | RichTextItem;
18
18
  /**
19
19
  * @title Продуктовая плитка
20
20
  */
21
- export declare type ProductTileContent = HeadlineProps & ButtonContent & {
21
+ export declare type ProductTileContent = UniBlockContent & HeadlineProps & AdditionalDescriptionProps & ButtonContent & {
22
22
  /**
23
23
  * @default {
24
24
  * "format": "webp",
@@ -34,14 +34,11 @@ export declare type ProductTileContent = HeadlineProps & ButtonContent & {
34
34
  * }
35
35
  */
36
36
  image?: Picture;
37
- version?: BlockVersion;
38
37
  /**
39
38
  * @title Преимущества
40
39
  * @maxItems 7
41
40
  */
42
41
  benefits?: Benefit[];
43
- /** @title Дополнительное описание */
44
- additionalDescription?: string;
45
42
  /** @title Картинка справа/текст слева */
46
43
  isImageOnRightSide?: boolean;
47
44
  };
@@ -1,12 +1,11 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { DescriptionProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
5
5
  /**
6
6
  * @title Акции
7
7
  */
8
- export declare type PromoTileContent = HeadingCommonProps & DescriptionProps & ButtonContent & {
8
+ export declare type PromoTileContent = UniBlockContent & HeadingCommonProps & DescriptionProps & ButtonContent & {
9
9
  /** @title Дата публикации */
10
10
  date?: string;
11
- version?: BlockVersion;
12
11
  };
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { LinkCommonProps } from '../../model/LinkProps';
4
4
  import type { Picture } from '../../model/Picture';
5
5
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
@@ -44,8 +44,7 @@ export interface RecommendationCardTypes extends HeadlineCommonProps, ListConten
44
44
  /**
45
45
  * @title Рекомендации
46
46
  */
47
- export interface RecommendationContent extends TitleProps {
47
+ export declare type RecommendationContent = UniBlockContent & TitleProps & {
48
48
  /** @title Карточки */
49
49
  recommendations?: RecommendationCardTypes[];
50
- version?: BlockVersion;
51
- }
50
+ };
@@ -1,3 +1,5 @@
1
- import type { JSXBlock } from '../../model/JSXBlock';
2
- import type { RollupItemProps } from './RollupItemProps';
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { RollupItemContent } from './RollupItemContent';
3
+ export interface RollupItemProps extends RollupItemContent, UniBlockProps {
4
+ }
3
5
  export declare const RollupItem: JSXBlock<RollupItemProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,C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AO,EACP,KAAK,EAAE,YAAY,EACnB,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,MAAM,KAAK,GAAG,YAAY,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAErE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,CAC1F,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AAQF,MAAM,uBAAuB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAA0B,EAAE,EAAE,CAAC,CACrF,kBACE,SAAS,EAAC,oHAAoH,EAC9H,OAAO,EAAE,QAAQ,aAEjB,eAAM,SAAS,EAAC,4BAA4B,YAAE,KAAK,GAAQ,EAC1D,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IACjF,CACV,CAAC"}
@@ -1,12 +1,11 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { LabelProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  /**
4
4
  * @title Сворачивающаяся секция
5
5
  */
6
- export declare type RollupItemContent = LabelProps & {
6
+ export declare type RollupItemContent = UniBlockContent & LabelProps & {
7
7
  /** @title Отображать в раскрытом виде */
8
8
  isExpanded?: boolean;
9
9
  /** @title Кнопка сверху */
10
10
  isFoldButtonOnTop?: boolean;
11
- version?: BlockVersion;
12
11
  };
@@ -1,6 +1,7 @@
1
1
  import type { Footnote } from '../../model/Footnote';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  /**
4
5
  * @title Аренда сейфовых ячеек
5
6
  */
6
- export declare type SafeDepositRentalContent = Footnote & TitleProps;
7
+ export declare type SafeDepositRentalContent = UniBlockContent & Footnote & TitleProps;
@@ -1,5 +1,5 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import type { StepsBlockContent } from './StepsBlockContent';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {
4
4
  }
5
5
  export declare const StepsBlock: import("@redneckz/uni-jsx").UNIComponent<StepsBlockProps, any, any>;
@@ -1,23 +1,26 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { Button } from '../../ui-kit/Button/Button.js';
4
+ import { checkCanRenderIcon } from './checkCanRenderIcon.js';
5
+ import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
5
6
  import { Heading } from '../../ui-kit/Heading/Heading.js';
6
7
  import { Img } from '../../ui-kit/Img/Img.js';
7
- import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
8
8
  import { joinList } from '../../utils/joinList.js';
9
- import { style } from '../../utils/style.js';
10
- import { checkCanRenderIcon } from './checkCanRenderIcon.js';
9
+ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
11
10
  import { renderStep } from './renderStep.js';
12
- import { STEPS_BLOCK_STYLE_MAPS } from './StepsBlockStyleMaps.js';
11
+ import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps.js';
12
+ import { style } from '../../utils/style.js';
13
13
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
14
14
  const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
15
- export const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, version = 'primary', title, ...rest }) => {
15
+ export const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, size = 'normal', version = 'primary', stepVersion = 'gray', title, ...rest }) => {
16
16
  const shortGaps = steps.length > 3;
17
- const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
17
+ const styleMap = STEPS_BLOCK_STYLE;
18
18
  const lineOpacity = getLineOpacity(showLines);
19
19
  const paddingX = getPaddingX(steps.length);
20
- return (_jsxs(BlockWrapper, { className: style('box-border py-12', shortGaps ? 'px-20' : 'px-[70px]', 'flex flex-col items-center overflow-hidden', className), version: version, ...rest, children: [title ? (_jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (_jsxs("div", { className: "box-border", children: [_jsx("div", { className: style('flex items-center', paddingX), children: joinList(_jsx("div", { className: style('h-0.5 w-full bg-secondary-light', lineOpacity) }))(steps.map(renderStepIcon(styleMap, version))) }), _jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? _jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
20
+ return (_jsxs(BlockWrapper, { className: style('box-border py-12', shortGaps ? 'px-20' : 'px-[70px]', 'flex flex-col items-center overflow-hidden', className), version: version, ...rest, children: [title ? (_jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (_jsxs("div", { className: "box-border", children: [_jsx("div", { className: style('flex items-center', paddingX), children: joinList(_jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), _jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? renderButtonsSection([button], { className: 'mt-8 min-w-60' }) : null] }));
21
21
  });
22
- const renderStepIcon = (styleMap, version) => ({ icon }, i) => (_jsx("div", { className: "flex flex-col items-center text-center", children: _jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center ${styleMap.iconBackground}`, children: checkCanRenderIcon(icon) ? (_jsx(Img, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
22
+ const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
23
+ const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
24
+ return (_jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (_jsx(Img, { image: getIconWithVersion(icon || {}, stepVersion), width: "48", height: "48", asSVG: true })) : (_jsx("span", { className: `text-h4 group-data-transparent:${styleMap.iconText} text-primary-text`, children: i + 1 })) }, String(i)));
25
+ };
23
26
  //# sourceMappingURL=StepsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;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ACxC,YAEA,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,GAC9E,IACF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACxE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAClB,CAAC,QAAmB,EAAE,IAAY,EAAE,WAAyB,EAAE,EAAE,CACjE,CAAC,EAAE,IAAI,EAAQ,EAAE,CAAS,EAAE,EAAE;IAC5B,MAAM,iBAAiB,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAE1F,OAAO,CACL,KAAC,YAAY,IAEX,SAAS,EAAE,GAAG,iBAAiB,qFAAqF,EACpH,OAAO,EAAE,WAAW,YAEnB,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAC1B,KAAC,GAAG,IAAC,KAAK,EAAE,kBAAkB,CAAC,IAAI,IAAI,EAAE,EAAE,WAAW,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CACzF,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAE,kCAAkC,QAAQ,CAAC,QAAQ,oBAAoB,YACrF,CAAC,GAAG,CAAC,GACD,CACR,IAVI,MAAM,CAAC,CAAC,CAAC,CAWD,CAChB,CAAC;AACJ,CAAC,CAAC"}
@@ -7,7 +7,7 @@ import { RichText } from '../../ui-kit/RichText/RichText.js';
7
7
  import { assertUnreachable } from '../../utils/assertUnreachable.js';
8
8
  import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
9
9
  import { checkCanRenderIcon } from './checkCanRenderIcon.js';
10
- import { STEPS_BLOCK_STYLE_MAPS } from './StepsBlockStyleMaps.js';
10
+ import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps.js';
11
11
  const STEPS_SIZE_MAP = {
12
12
  normal: 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]',
13
13
  small: 'h-12 w-12 min-w-12 min-h-12',
@@ -16,10 +16,8 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
16
16
  normal: 'min-h-[70px]',
17
17
  small: 'min-h-12',
18
18
  };
19
- export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => {
20
- const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
21
- return (_jsxs(BlockWrapper, { className: `box-border px-4 py-6 flex flex-col ${className}`, version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStep(size, version, showLines)) }) })) : null] }));
22
- });
19
+ const styleMap = STEPS_BLOCK_STYLE;
20
+ export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `box-border px-4 py-6 flex flex-col ${className}`, version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStep(size, version, showLines)) }) })) : null] })));
23
21
  // TODO: Create universal function for this case
24
22
  const renderStep = (size, version, showLines) =>
25
23
  // Linter doesn't understand that switch processes all cases
@@ -41,11 +39,9 @@ const renderStep = (size, version, showLines) =>
41
39
  const renderDefaultStep = (size, version, showLines) => (step, i, steps) => {
42
40
  const isLastStep = steps.length - 1 === i;
43
41
  const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
44
- const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
45
42
  return (_jsx("div", { children: _jsxs("div", { className: "flex flex-row text-center relative", children: [_jsxs("div", { className: "overflow-hidden flex-shrink-0", children: [renderIconArea(size, version)(step, i), isLastStep ? null : (_jsx("div", { className: `min-h-8 h-full w-0.5 ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), _jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (_jsx("div", { className: "text-m-title-xs font-medium m-0 text-left mb-1", children: step.label })) : null, step.description ? (_jsx("div", { className: `text-s ${styleMap.description} text-left`, children: step.description })) : null] })] }) }, String(i)));
46
43
  };
47
44
  const renderIconArea = (size, version) => (step, i) => {
48
- const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
49
45
  const iconAreaSize = STEPS_SIZE_MAP[size];
50
46
  const iconSize = size === 'normal' ? '38' : '27';
51
47
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MA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uBb,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,OAAqB,EAAE,EAAE,CAAC,CAAC,IAAU,EAAE,CAAS,EAAE,EAAE;IAC7F,MAAM,YAAY,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAE1C,MAAM,QAAQ,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,MAAM,YAAY,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAE5E,OAAO,CACL,cACE,SAAS,EAAE,GAAG,YAAY,IAAI,QAAQ,CAAC,cAAc,4DAA4D,YAEjH,eAAM,SAAS,EAAE,gCAAgC,YAAY,EAAE,YAC5D,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAChC,KAAC,GAAG,IACF,KAAK,EAAE,kBAAkB,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,EACpD,KAAK,EAAE,QAAQ,EACf,MAAM,EAAE,QAAQ,EAChB,KAAK,SACL,CACH,CAAC,CAAC,CAAC,CACF,yBAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { DefaultListItemType } from '../../model/DefaultListItemType';
3
3
  import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
4
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
5
  import type { IconProps } from '../../model/Picture';
5
6
  import type { RichTextItem } from '../../model/RichTextItem';
6
7
  import type { SizeVersion } from '../../model/SizeVersion';
@@ -31,7 +32,7 @@ export declare type Step = DefaultStep | RichTextStep;
31
32
  /**
32
33
  * @title Блок шаги
33
34
  */
34
- export declare type StepsBlockContent = HeadlineCommonProps & {
35
+ export declare type StepsBlockContent = UniBlockContent & HeadlineCommonProps & {
35
36
  /**
36
37
  * @title Линии
37
38
  * @default true
@@ -43,13 +44,13 @@ export declare type StepsBlockContent = HeadlineCommonProps & {
43
44
  * @maxItems 5
44
45
  */
45
46
  steps?: Step[];
47
+ stepVersion?: BlockVersion;
46
48
  /** @title Кнопка */
47
49
  button?: ButtonWithIconProps;
48
50
  /**
49
- * @title Размер шагов (моб.)
51
+ * @title Размер шагов
50
52
  * @default normal
51
53
  */
52
54
  size?: SizeVersion;
53
- version?: BlockVersion;
54
55
  };
55
56
  export {};
@@ -1,4 +1,3 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  export declare type StyleType = {
3
2
  description: string;
4
3
  iconText: string;
@@ -6,4 +5,4 @@ export declare type StyleType = {
6
5
  iconConnector: string;
7
6
  dot: string;
8
7
  };
9
- export declare const STEPS_BLOCK_STYLE_MAPS: Record<BlockVersion, StyleType>;
8
+ export declare const STEPS_BLOCK_STYLE: StyleType;
@@ -1,40 +1,8 @@
1
- export const STEPS_BLOCK_STYLE_MAPS = {
2
- primary: {
3
- description: '!text-secondary-text text-l-light',
4
- iconText: 'text-secondary-text',
5
- iconBackground: 'bg-main-divider',
6
- iconConnector: 'bg-secondary-light',
7
- dot: 'bg-secondary-text',
8
- },
9
- secondary: {
10
- description: '!text-white/80 text-l-light',
11
- iconText: 'text-white',
12
- iconBackground: 'bg-white/30',
13
- iconConnector: 'bg-white',
14
- dot: 'bg-white/80',
15
- },
16
- gray: {
17
- // TODO Replace this Map with group-data-*
18
- description: '!text-white/80 text-l-light',
19
- iconText: 'text-white',
20
- iconBackground: 'bg-white/30',
21
- iconConnector: 'bg-white',
22
- dot: 'bg-white/80',
23
- },
24
- transparent: {
25
- description: '!text-white/80 text-l-light',
26
- iconText: 'text-white',
27
- iconBackground: 'bg-white/30',
28
- iconConnector: 'bg-white',
29
- dot: 'bg-white/80',
30
- },
31
- '': {
32
- // TODO Replace this Map with group-data-*
33
- description: '!text-white/80 text-l-light',
34
- iconText: 'text-white',
35
- iconBackground: 'bg-white/30',
36
- iconConnector: 'bg-white',
37
- dot: 'bg-white/80',
38
- },
1
+ export const STEPS_BLOCK_STYLE = {
2
+ description: 'text-white/80 text-l-light group-data-primary:text-secondary-text',
3
+ iconText: 'text-white group-data-primary:text-secondary-text',
4
+ iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
5
+ iconConnector: 'bg-white group-data-primary:bg-secondary-light',
6
+ dot: 'bg-white/80 group-data-primary:bg-secondary-text',
39
7
  };
40
8
  //# sourceMappingURL=StepsBlockStyleMaps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,sBAAsB,GAAoC;IACrE,OAAO,EAAE;QACP,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,oBAAoB;QACnC,GAAG,EAAE,mBAAmB;KACzB;IACD,SAAS,EAAE;QACT,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,IAAI,EAAE;QACJ,0CAA0C;QAC1C,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,WAAW,EAAE;QACX,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;IACD,EAAE,EAAE;QACF,0CAA0C;QAC1C,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
1
+ {"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,iBAAiB,GAAc;IAC1C,WAAW,EAAE,mEAAmE;IAChF,QAAQ,EAAE,mDAAmD;IAC7D,cAAc,EAAE,gDAAgD;IAChE,aAAa,EAAE,gDAAgD;IAC/D,GAAG,EAAE,kDAAkD;CACxD,CAAC"}
@@ -3,8 +3,8 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderChildren } from '../../BlockRenderer/renderChildren.js';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
6
- export const SwipeListControlBlock = JSX(({ listType, showDots, options, ...rest }) => {
7
- return (_jsx(BlockWrapper, { ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, children: renderChildren({ ...rest, options }) }) }));
6
+ export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
7
+ return (_jsx(BlockWrapper, { version: version, ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
8
8
  });
9
9
  SwipeListControlBlock.childrenTypes = {
10
10
  exclude: ['SwipeListControlBlock'],
@@ -1 +1 @@
1
- {"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;A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AAC,aAAa,GAAG;IACpC,OAAO,EAAE,CAAC,uBAAuB,CAAC;CACnC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { LinkProps } from '../../model/LinkProps';
3
4
  /**
4
5
  * @title Группа
@@ -33,7 +34,7 @@ export declare type TabsMode = 'wideScreen' | 'scrollable';
33
34
  /**
34
35
  * @title Вкладки
35
36
  */
36
- export interface TabsContent {
37
+ export declare type TabsContent = UniBlockContent & {
37
38
  /** @title Табы */
38
39
  tabs?: TabData[];
39
40
  /** @title Закрепить сверху */
@@ -45,4 +46,4 @@ export interface TabsContent {
45
46
  * @default "wideScreen"
46
47
  */
47
48
  tabsMode?: TabsMode;
48
- }
49
+ };
@@ -5,17 +5,11 @@ import { Img } from '../../ui-kit/Img/Img.js';
5
5
  import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
6
6
  import { RichText } from '../../ui-kit/RichText/RichText.js';
7
7
  import { Text } from '../../ui-kit/Text/Text.js';
8
- const textBlockBack = {
9
- primary: 'bg-white',
10
- secondary: 'bg-primary-main',
11
- 'secondary-light': 'bg-primary-main/10',
12
- };
13
- export const TextBlock = JSX(({ className = '', title, description, blockVersion = 'primary', iconVersion, image, __html, ...rest }) => {
14
- const isSecondaryBlock = blockVersion === 'secondary';
15
- return (_jsxs(BlockWrapper, { className: `px-9 py-4 flex gap-3 ${textBlockBack[blockVersion]} ${className}`, ...rest, children: [iconVersion === 'small' ? (_jsx("div", { className: "mt-1", children: renderIcon(isSecondaryBlock) })) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { children: [title ? renderTitle(title, isSecondaryBlock) : null, description ? (_jsx("div", { className: "mt-1", children: renderDescription(description, isSecondaryBlock) })) : null, __html ? _jsx(RichText, { __html: __html }) : null] })] }));
8
+ export const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, ...rest }) => {
9
+ return (_jsxs(BlockWrapper, { className: `px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10' ${className}`, ...rest, children: [iconVersion === 'small' ? _jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { children: [title ? renderTitle(title) : null, description ? _jsx("div", { className: "mt-1", children: renderDescription(description) }) : null, __html ? _jsx(RichText, { __html: __html }) : null] })] }));
16
10
  });
17
- const renderIcon = (isSecondaryBlock) => (_jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${isSecondaryBlock ? 'bg-white text-primary-main' : 'bg-primary-main text-white'}`, children: "i" }));
11
+ const renderIcon = () => (_jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
18
12
  const renderImage = (image) => (image?.src ? _jsx(Img, { image: image }) : null);
19
- const renderTitle = (title, isSecondaryBlock) => (_jsx(Text, { size: "text-l", font: "font-medium", color: isSecondaryBlock ? 'text-white' : 'text-primary-text', children: title }));
20
- const renderDescription = (description, isSecondaryBlock) => (_jsx(Paragraph, { size: "text-s", color: isSecondaryBlock ? 'text-white' : 'text-secondary-text', children: description }));
13
+ const renderTitle = (title) => (_jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title }));
14
+ const renderDescription = (description) => (_jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
21
15
  //# sourceMappingURL=TextBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextBlock.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC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AAE,CAAC,CACjD,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qDAAqD,YACjF,WAAW,GACF,CACb,CAAC"}
@@ -2,32 +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 { Img } from '../../ui-kit/Img/Img.js';
4
4
  import { List } from '../../ui-kit/List/List.js';
5
- const textBlockStyleMaps = {
6
- primary: {
7
- background: 'bg-white',
8
- icon: 'bg-primary-main text-white',
9
- title: 'text-primary-text',
10
- description: 'text-secondary-text',
11
- },
12
- secondary: {
13
- background: 'bg-primary-main',
14
- icon: 'bg-white text-primary-main',
15
- title: 'text-white',
16
- description: 'text-white',
17
- },
18
- 'secondary-light': {
19
- background: 'bg-primary-main/10',
20
- icon: 'bg-primary-main text-white',
21
- title: 'text-primary-text',
22
- description: 'text-secondary-text',
23
- },
24
- };
25
- export const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
26
- const textBlockStyleMap = textBlockStyleMaps[blockVersion];
27
- return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5", children: [title ? (_jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (_jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (_jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted })) : null] })] }));
5
+ export const TextBlock = JSX(({ title, description, iconVersion, image, className = '', items, isDotted = true }) => {
6
+ return (_jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${className}`, children: [iconVersion === 'small' ? renderIcon() : null, iconVersion === 'big' ? renderImage(image) : null, _jsxs("div", { className: "py-0.5 text-secondary-text group-data-secondary:text-white", children: [title ? _jsx("div", { className: `text-l font-medium mb-1`, children: title }) : null, description ? _jsx("div", { className: `text-s `, children: description }) : null, items?.length ? (_jsx(List, { className: "mt-1 text-m", items: items, isDotted: isDotted })) : null] })] }));
28
7
  });
29
- function renderIcon(className) {
30
- return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${className}`, children: "i" }) }));
8
+ function renderIcon() {
9
+ return (_jsx("div", { className: "mb-3", children: _jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }) }));
31
10
  }
32
11
  function renderImage(image) {
33
12
  return image?.src ? _jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"TextBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAK9C,MAAM,kBAAkB,GAAqD;IAC3E,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,YAAY;KAC1B;IACD,iBAAiB,EAAE;QACjB,UAAU,EAAE,oBAAoB;QAChC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GA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SAAS,UAAU;IACjB,OAAO,CACL,cAAK,SAAS,EAAC,MAAM,YACnB,cAAK,SAAS,EAAC,gJAAgJ,kBAEzJ,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
- import type { Picture } from '../../model/Picture';
2
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
3
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
4
4
  /**
5
5
  * @title Цвет блока
@@ -10,14 +10,14 @@ export declare type TextBlockVersion = 'primary' | 'secondary' | 'secondary-ligh
10
10
  * @title Размер иконки
11
11
  * @enumNames ["Нет", "Маленькая", "Большая"]
12
12
  */
13
- export declare type TextBlockIconVersion = 'none' | 'small' | 'big';
13
+ declare type TextBlockIconVersion = 'none' | 'small' | 'big';
14
14
  /**
15
15
  * @title Текстовый блок
16
16
  */
17
- export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & {
17
+ export declare type TextBlockContent = HeadlineCommonProps & RichTextProps & ImageContent & {
18
18
  iconVersion?: TextBlockIconVersion;
19
- image?: Picture;
20
19
  blockVersion?: TextBlockVersion;
21
20
  /** @title Буллиты */ isDotted?: boolean;
22
21
  /** @title Список (моб.) */ items?: string[];
23
22
  };
23
+ export {};
@@ -1,4 +1,4 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
4
4
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
@@ -9,7 +9,7 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
9
9
  /**
10
10
  * @title Плитка
11
11
  */
12
- export declare type TileContent = HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & {
12
+ export declare type TileContent = UniBlockContent & HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & {
13
13
  /**
14
14
  * @default {
15
15
  * "format": "webp",
@@ -31,5 +31,4 @@ export declare type TileContent = HeadingCommonProps & RichTextProps & ListConte
31
31
  */
32
32
  isDotted?: boolean;
33
33
  listItemSize?: ListItemSize;
34
- version?: BlockVersion;
35
34
  };