@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,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
  /**
@@ -12,15 +12,15 @@ export type TextBlockVersion = 'primary' | 'secondary' | 'secondary-light';
12
12
  * @title Размер иконки
13
13
  * @enumNames ["Нет", "Маленькая", "Большая"]
14
14
  */
15
- export type TextBlockIconVersion = 'none' | 'small' | 'big';
15
+ type TextBlockIconVersion = 'none' | 'small' | 'big';
16
16
 
17
17
  /**
18
18
  * @title Текстовый блок
19
19
  */
20
20
  export type TextBlockContent = HeadlineCommonProps &
21
- RichTextProps & {
21
+ RichTextProps &
22
+ ImageContent & {
22
23
  iconVersion?: TextBlockIconVersion;
23
- image?: Picture;
24
24
  blockVersion?: TextBlockVersion;
25
25
  /** @title Буллиты */ // TODO: mobile prop
26
26
  isDotted?: boolean;
@@ -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';
@@ -10,7 +10,8 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
10
10
  /**
11
11
  * @title Плитка
12
12
  */
13
- export type TileContent = HeadingCommonProps &
13
+ export type TileContent = UniBlockContent &
14
+ HeadingCommonProps &
14
15
  RichTextProps &
15
16
  ListContent &
16
17
  ButtonContent &
@@ -36,5 +37,4 @@ export type TileContent = HeadingCommonProps &
36
37
  */
37
38
  isDotted?: boolean;
38
39
  listItemSize?: ListItemSize;
39
- version?: BlockVersion;
40
40
  };
@@ -1,18 +1,17 @@
1
1
  import type { AlignTypeWithStretch } from '../../model/AlignType';
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { ColorPalette } from '../../model/ContentPageDef';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
5
5
 
6
6
  /**
7
7
  * @title Вертикальный компоновщик
8
8
  */
9
- export interface VerticalLayoutContent {
9
+ export type VerticalLayoutContent = UniBlockContent & {
10
10
  colorPalette?: ColorPalette;
11
- version?: BlockVersion;
12
11
  align?: AlignTypeWithStretch;
13
12
  gap?: GapVersion;
14
13
  /** @title Внутренний отступ компоновщика */
15
14
  isPadding?: boolean;
16
15
  /** @title Отступы вложенных компонентов */
17
16
  isInnerPadding?: boolean;
18
- }
17
+ };
@@ -1,4 +1,5 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { Picture } from '../../model/Picture';
3
4
 
4
5
  /**
@@ -7,19 +8,20 @@ import type { Picture } from '../../model/Picture';
7
8
  * "title": "Заголовок блока"
8
9
  * }
9
10
  */
10
- export interface VideoContent extends TitleProps {
11
- /**
12
- * @title Ссылка на видео
13
- */
14
- url?: string;
15
- /**
16
- * @title Заставка в блоке
17
- * @default {
18
- * "format": "webp",
19
- * "size": {
20
- * "width": 1004
21
- * },
22
- * }
23
- */
24
- previewImg?: Picture;
25
- }
11
+ export type VideoContent = UniBlockContent &
12
+ TitleProps & {
13
+ /**
14
+ * @title Ссылка на видео
15
+ */
16
+ url?: string;
17
+ /**
18
+ * @title Заставка в блоке
19
+ * @default {
20
+ * "format": "webp",
21
+ * "size": {
22
+ * "width": 1004
23
+ * },
24
+ * }
25
+ */
26
+ previewImg?: Picture;
27
+ };
@@ -25,6 +25,11 @@ export type LabelProps = {
25
25
  label?: string;
26
26
  };
27
27
 
28
+ export type AdditionalDescriptionProps = {
29
+ /** @title Дополнительное описание */
30
+ additionalDescription?: string;
31
+ };
32
+
28
33
  export type HeadlineCommonProps = TitleProps & DescriptionProps;
29
34
 
30
35
  export type HeadlineProps = HeadlineCommonProps & {
@@ -5,13 +5,21 @@ import type { BlockVersion } from './BlockVersion';
5
5
  import type { BlockDef } from './ContentPageDef';
6
6
  import type { VNode } from './VNode';
7
7
 
8
- export interface UniBlockProps {
8
+ export interface UniBlockProps extends UniBlockContent {
9
9
  className?: string;
10
- version?: BlockVersion;
11
10
  block?: BlockDef;
12
11
  options?: BlockRendererOptions;
13
12
  }
14
13
 
14
+ export interface UniBlockContent {
15
+ version?: BlockVersion;
16
+ /**
17
+ * @title Наследование темы
18
+ * @default true
19
+ */
20
+ isTheme?: boolean;
21
+ }
22
+
15
23
  export type JSXBlock<BlockProps extends UniBlockProps = UniBlockProps> = UNIComponent<
16
24
  BlockProps,
17
25
  any,
@@ -1,6 +1,4 @@
1
- import type { Picture } from './Picture';
1
+ import type { ImageContent } from '../ui-kit/Img/ImgProps';
2
+ import type { TitleProps } from './HeadlineType';
2
3
 
3
- export type LogoType = {
4
- image?: Picture;
5
- title?: string;
6
- };
4
+ export type LogoType = ImageContent & TitleProps;
@@ -1,6 +1,6 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { LogoType } from '../../model/LogoType';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { IconProps, Picture } from '../../model/Picture';
4
4
 
5
5
  /**
6
6
  * @title Ссылка
@@ -24,9 +24,7 @@ export interface DispositionItem extends LinkProps {
24
24
  * @title Представительства за рубежом
25
25
  * @required ["text", "href"]
26
26
  */
27
- export interface ForeignOffice extends LinkProps {
28
- icon?: Picture;
29
- }
27
+ export type ForeignOffice = LinkProps & IconProps;
30
28
 
31
29
  export interface SitemapDataProps {
32
30
  topItems?: TopMenuItem[];
@@ -20,7 +20,15 @@ export const blockStyles: Record<BlockVersion, string> = {
20
20
  };
21
21
 
22
22
  export const BlockWrapper = JSX<BlockWrapperProps>(
23
- ({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
23
+ ({
24
+ className = '',
25
+ version = 'primary',
26
+ block,
27
+ tag = 'section',
28
+ role,
29
+ isTheme = true,
30
+ children,
31
+ }) => {
24
32
  const Tag: any = tag;
25
33
 
26
34
  const ref = useBlockIntersectionObserver(block);
@@ -43,8 +51,13 @@ export const BlockWrapper = JSX<BlockWrapperProps>(
43
51
 
44
52
  return (
45
53
  <Tag
46
- className={style('group', blockStyles[version], isHidden ? 'hidden' : '', className)}
47
- {...(version ? { 'data-ver': version } : {})}
54
+ className={style(
55
+ isTheme ? 'group' : '',
56
+ blockStyles[version],
57
+ isHidden ? 'hidden' : '',
58
+ className,
59
+ )}
60
+ {...(version && isTheme ? { 'data-ver': version } : {})}
48
61
  {...(block?.anchor ? { id: block.anchor, ref } : {})}
49
62
  role={role}
50
63
  >
@@ -24,6 +24,7 @@ export const SwipeListControl = JSX<SwipeListControlProps>(
24
24
  children,
25
25
  onVisibleIndicesChange,
26
26
  listType = 'horizontal-list',
27
+ version,
27
28
  }) => {
28
29
  const itemCount = Array.isArray(children) ? children.length : 0;
29
30
 
@@ -53,6 +54,7 @@ export const SwipeListControl = JSX<SwipeListControlProps>(
53
54
  activeIndex={activeIndex}
54
55
  dotCount={itemCount}
55
56
  listType={listType}
57
+ version={version}
56
58
  />
57
59
  ) : null}
58
60
  </div>
@@ -1,11 +1,11 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
2
  import type { SwipeContainerProps } from './SwipeListControlProps';
3
3
 
4
4
  /**
5
5
  * @title Swipe-контроллер
6
6
  */
7
- export interface SwipeListControlContent extends SwipeContainerProps {
8
- /** @title Точки-индикаторы */
9
- showDots?: boolean;
10
- version?: BlockVersion;
11
- }
7
+ export type SwipeListControlContent = UniBlockContent &
8
+ SwipeContainerProps & {
9
+ /** @title Точки-индикаторы */
10
+ showDots?: boolean;
11
+ };
@@ -1,4 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import type { BlockVersion } from '../../model/BlockVersion';
3
+ import { style } from '../../utils/style';
2
4
  import type { SwipeListControlType } from './SwipeListControlProps';
3
5
 
4
6
  const containerStyles: Record<SwipeListControlType, string> = {
@@ -12,7 +14,7 @@ const activeDotStyles: Record<SwipeListControlType, string> = {
12
14
  };
13
15
 
14
16
  const dotStyle =
15
- 'cursor-pointer bg-primary-main rounded-full transition-width duration-300 group-data-secondary:bg-white group-data-transparent:bg-white';
17
+ 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
16
18
 
17
19
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
18
20
 
@@ -21,10 +23,11 @@ interface SwipeListControlDotsProps {
21
23
  activeIndex?: number;
22
24
  dotCount?: number;
23
25
  listType?: SwipeListControlType;
26
+ version?: BlockVersion;
24
27
  }
25
28
 
26
29
  export const SwipeListControlDots = JSX<SwipeListControlDotsProps>(
27
- ({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list' }) => {
30
+ ({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
28
31
  const handleClick = (idx: number) => {
29
32
  if (idx !== activeIndex && containerRef?.current) {
30
33
  containerRef.current.children[idx]?.scrollIntoView({
@@ -35,7 +38,10 @@ export const SwipeListControlDots = JSX<SwipeListControlDotsProps>(
35
38
  };
36
39
 
37
40
  return dotCount ? (
38
- <div className={`flex gap-2 ${containerStyles[listType]}`}>
41
+ <div
42
+ className={style('flex gap-2', containerStyles[listType], version ? 'group' : '')}
43
+ {...(version ? { 'data-ver': version } : {})}
44
+ >
39
45
  {new Array(dotCount).fill(null).map((_, idx: number) => (
40
46
  <div
41
47
  key={String(idx)}
@@ -1,4 +1,4 @@
1
- import { BlockVersionMolecule } from '../../model/BlockVersion';
1
+ import type { BlockVersionMolecule } from '../../model/BlockVersion';
2
2
 
3
3
  /**
4
4
  * @title Размер текста
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.8.21",
3
+ "version": "0.8.23",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -1,5 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { LinkProps } from '../../model/LinkProps';
4
5
  import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
5
6
 
@@ -18,14 +19,15 @@ export interface SubmitButtonProps extends ButtonAdditionalProps {
18
19
  /**
19
20
  * @title Форма заявки
20
21
  */
21
- export type ApplicationFormContent = TitleProps & {
22
- /**
23
- * @title Вид заявки
24
- * @default credit
25
- * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
26
- */
27
- typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
28
- button?: SubmitButtonProps;
29
- /** @title Условия передачи данных */
30
- link?: LinkProps;
31
- };
22
+ export type ApplicationFormContent = UniBlockContent &
23
+ TitleProps & {
24
+ /**
25
+ * @title Вид заявки
26
+ * @default credit
27
+ * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
28
+ */
29
+ typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
30
+ button?: SubmitButtonProps;
31
+ /** @title Условия передачи данных */
32
+ link?: LinkProps;
33
+ };
@@ -1,6 +1,6 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
3
2
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { IconProps } from '../../model/Picture';
5
5
 
6
6
  /**
@@ -47,12 +47,11 @@ export type BenefitBlockItemProps = LabelProps &
47
47
  /**
48
48
  * @title Блок преимущества
49
49
  */
50
- export type BenefitsBlockContent = TitleProps & {
51
- /**
52
- * @title Список преимуществ
53
- * @maxItems 6
54
- */
55
- benefitList?: BenefitBlockItemProps[];
56
- /** @default primary */
57
- version?: BlockVersion;
58
- };
50
+ export type BenefitsBlockContent = UniBlockContent &
51
+ TitleProps & {
52
+ /**
53
+ * @title Список преимуществ
54
+ * @maxItems 6
55
+ */
56
+ benefitList?: BenefitBlockItemProps[];
57
+ };
@@ -1,15 +1,15 @@
1
1
  import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
6
 
6
7
  /**
7
8
  * @title Изображение
8
9
  */
9
- export type BonusImageDef = {
10
+ export type BonusImageDef = ImageContent & {
10
11
  /** @default image */
11
12
  bonusType?: 'image';
12
- image?: Picture;
13
13
  };
14
14
 
15
15
  /**
@@ -45,7 +45,8 @@ export type BonusItem = HeadlineCommonProps & {
45
45
  /**
46
46
  * @title Блок Бонусы
47
47
  */
48
- export type BonusContent = HeadlineCommonProps & {
49
- /** @title Список плиток */
50
- bonusItems?: BonusItem[];
51
- };
48
+ export type BonusContent = UniBlockContent &
49
+ HeadlineCommonProps & {
50
+ /** @title Список плиток */
51
+ bonusItems?: BonusItem[];
52
+ };
@@ -1,6 +1,8 @@
1
1
  import type { AlignType } from '../../model/AlignType';
2
2
  import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
3
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { IconProps } from '../../model/Picture';
5
+
4
6
  /**
5
7
  * @title Количество элементов в строке
6
8
  * @enumNames [
@@ -19,11 +21,12 @@ export type BonusBenefit = LabelProps & IconProps & DescriptionProps;
19
21
  /**
20
22
  * @title Блок бонусов и преимуществ
21
23
  */
22
- export type BonusBenefitsBlockContent = TitleProps & {
23
- /** @title Подзаголовок */
24
- subtitle?: string;
25
- /** @title Список бонусов */
26
- bonusBenefits?: BonusBenefit[];
27
- columnsCount?: ColumnsCount;
28
- cardTextAlign?: AlignType;
29
- };
24
+ export type BonusBenefitsBlockContent = UniBlockContent &
25
+ TitleProps & {
26
+ /** @title Подзаголовок */
27
+ subtitle?: string;
28
+ /** @title Список бонусов */
29
+ bonusBenefits?: BonusBenefit[];
30
+ columnsCount?: ColumnsCount;
31
+ cardTextAlign?: AlignType;
32
+ };
@@ -1,5 +1,8 @@
1
- import type { IconProps, Picture } from '../../model/Picture';
1
+ import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../model/Picture';
2
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
6
 
4
7
  /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
5
8
  export type BusinessCardItemProps = IconProps & {
@@ -7,30 +10,27 @@ export type BusinessCardItemProps = IconProps & {
7
10
  text?: string;
8
11
  };
9
12
 
10
- export interface BusinessCardProps {
11
- /** @title Заголовок карточки */
12
- title?: string;
13
- image?: Picture;
14
- /** @title Список */
15
- cardItems?: BusinessCardItemProps[];
16
- /**
17
- * @title Кнопка
18
- * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
19
- * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
20
- */
21
- button?: ButtonWithIconProps;
22
- }
13
+ export type BusinessCardProps = TitleProps &
14
+ ImageContent & {
15
+ /** @title Список */
16
+ cardItems?: BusinessCardItemProps[];
17
+ /**
18
+ * @title Кнопка
19
+ * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
20
+ * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
21
+ */
22
+ button?: ButtonWithIconProps;
23
+ };
23
24
 
24
25
  /**
25
26
  * @title Бизнес блок
26
27
  */
27
- export interface BusinessBlockContent {
28
- /** @title Заголовок блока */
29
- title?: string;
30
- /**
31
- * @title Карточки
32
- * @minItems 2
33
- * @maxItems 2
34
- */
35
- cards?: BusinessCardProps[];
36
- }
28
+ export type BusinessBlockContent = UniBlockContent &
29
+ TitleProps & {
30
+ /**
31
+ * @title Карточки
32
+ * @minItems 2
33
+ * @maxItems 2
34
+ */
35
+ cards?: BusinessCardProps[];
36
+ };
@@ -1,10 +1,12 @@
1
1
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
3
  import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
4
 
4
5
  /**
5
6
  * @title Перевод с карты на карту
6
7
  */
7
- export type CardTransferContent = LabelProps &
8
+ export type CardTransferContent = UniBlockContent &
9
+ LabelProps &
8
10
  TitleProps & {
9
11
  /** @title Плейсхолдер */
10
12
  placeholder?: string;
@@ -43,7 +43,14 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
43
43
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
44
44
 
45
45
  return (
46
- <BlockWrapper className={style(getPaddingStyle(isPadding), className)} {...rest}>
46
+ <BlockWrapper
47
+ className={style(
48
+ getPaddingStyle(isPadding),
49
+ 'group-data-secondary:bg-primary-main group-data-secondary:text-white',
50
+ className,
51
+ )}
52
+ {...rest}
53
+ >
47
54
  <div className="relative max-w-full">
48
55
  <SwipeListContainer
49
56
  containerRef={containerRef}
@@ -1,7 +1,9 @@
1
+ import type { UniBlockContent } from '../../model/JSXBlock';
2
+
1
3
  /**
2
4
  * @title Карусель
3
5
  */
4
- export interface CarouselContent {
6
+ export type CarouselContent = UniBlockContent & {
5
7
  /**
6
8
  * @title Количество видимых карточек
7
9
  * @enumNames ["auto", "1", "2", "3"]
@@ -18,4 +20,4 @@ export interface CarouselContent {
18
20
  isCyclic?: boolean;
19
21
  /** @title Внутренний отступ */
20
22
  isPadding?: boolean;
21
- }
23
+ };
@@ -11,7 +11,7 @@ interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, U
11
11
  }
12
12
 
13
13
  export const CarouselBankHistoryCard = JSX<CarouselBankHistoryCardProps>(
14
- ({ title, description, blocksLength = 0, activeIndex, options, ...rest }) => {
14
+ ({ title, description, blocksLength = 0, activeIndex, options }) => {
15
15
  const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
16
16
  const isActive = orderNumber === activeIndex;
17
17
 
@@ -1,9 +1,7 @@
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+
1
4
  /**
2
5
  * @title Карточка карусели истории банка
3
6
  */
4
- export interface CarouselBankHistoryCardContent {
5
- /** @title Заголовок */
6
- title?: string;
7
- /** @title Описание */
8
- description?: string;
9
- }
7
+ export type CarouselBankHistoryCardContent = UniBlockContent & HeadlineCommonProps;
@@ -1,18 +1,20 @@
1
- import type { SizeVersion } from '../../model/SizeVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { SizeVersion } from '../../model/SizeVersion';
3
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
5
 
5
6
  /**
6
7
  * @title Карточка карусели
7
8
  */
8
- export interface CarouselCardContent extends HeadlineCommonProps {
9
- /**
10
- * @title Кнопка
11
- * @default {
12
- * "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
13
- * "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
14
- * }
15
- */
16
- button?: ButtonWithIconProps;
17
- carouselVersion?: SizeVersion;
18
- }
9
+ export type CarouselCardContent = UniBlockContent &
10
+ HeadlineCommonProps & {
11
+ /**
12
+ * @title Кнопка
13
+ * @default {
14
+ * "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
15
+ * "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
16
+ * }
17
+ */
18
+ button?: ButtonWithIconProps;
19
+ carouselVersion?: SizeVersion;
20
+ };
@@ -1,5 +1,5 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
4
4
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
@@ -7,7 +7,8 @@ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
7
7
  /**
8
8
  * @title Карточка каталога
9
9
  */
10
- export type CarouselCatalogCardContent = HeadlineCommonProps &
10
+ export type CarouselCatalogCardContent = UniBlockContent &
11
+ HeadlineCommonProps &
11
12
  ImageContent & {
12
13
  /** @title Цена в рублях */
13
14
  price?: number;
@@ -21,5 +22,4 @@ export type CarouselCatalogCardContent = HeadlineCommonProps &
21
22
  * }
22
23
  */
23
24
  button?: ButtonWithIconProps;
24
- version?: BlockVersion;
25
25
  };