@redneckz/wildless-cms-uni-blocks 0.12.6 → 0.12.7

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 (727) hide show
  1. package/bin/migration-scripts/0.12.7.js +20 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +125 -101
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Carousel/CarouselContent.d.ts +4 -0
  6. package/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  7. package/bundle/components/Carousel/itemsGap.d.ts +1 -1
  8. package/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
  9. package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
  10. package/bundle/components/Headline/HeadlineContent.d.ts +1 -2
  11. package/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
  12. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  13. package/bundle/ui-kit/Text/TextProps.d.ts +2 -2
  14. package/dist/components/ApplicationForm/Footnote.js +1 -1
  15. package/dist/components/ApplicationForm/Footnote.js.map +1 -1
  16. package/dist/components/ApplicationForm/InputControl.js +1 -1
  17. package/dist/components/ApplicationForm/InputControl.js.map +1 -1
  18. package/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
  19. package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  20. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  21. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  22. package/dist/components/ApplicationForm/SelectControl.js +1 -1
  23. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  24. package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  25. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  26. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  27. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  28. package/dist/components/Blocks.mobile.js +8 -0
  29. package/dist/components/Blocks.mobile.js.map +1 -1
  30. package/dist/components/BusinessBlock/BusinessCard.js +2 -1
  31. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  32. package/dist/components/Calculator/Calculator.js +2 -2
  33. package/dist/components/Calculator/Calculator.js.map +1 -1
  34. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  35. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  36. package/dist/components/Calculator/Rate.js +1 -1
  37. package/dist/components/Calculator/Rate.js.map +1 -1
  38. package/dist/components/Calculator/UnknownRate.js +1 -1
  39. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  40. package/dist/components/Calculator/renderFootnote.js +1 -1
  41. package/dist/components/Calculator/renderFootnote.js.map +1 -1
  42. package/dist/components/Calculator/renderProposal.js +2 -1
  43. package/dist/components/Calculator/renderProposal.js.map +1 -1
  44. package/dist/components/Carousel/Carousel.js +19 -7
  45. package/dist/components/Carousel/Carousel.js.map +1 -1
  46. package/dist/components/Carousel/CarouselContent.d.ts +4 -0
  47. package/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  48. package/dist/components/Carousel/itemsGap.d.ts +1 -1
  49. package/dist/components/Carousel/itemsGap.js +1 -1
  50. package/dist/components/Carousel/itemsGap.js.map +1 -1
  51. package/dist/components/Carousel/renderControlButtons.d.ts +11 -0
  52. package/dist/components/Carousel/renderControlButtons.js +13 -0
  53. package/dist/components/Carousel/renderControlButtons.js.map +1 -0
  54. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
  55. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +9 -0
  56. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
  57. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  58. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  59. package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  60. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  61. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  62. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  63. package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  64. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  65. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  66. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  67. package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  68. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  69. package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  70. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  71. package/dist/components/Footer/Contacts.js +2 -2
  72. package/dist/components/Footer/Contacts.js.map +1 -1
  73. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  74. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  75. package/dist/components/Footer/SocialMedia.js +1 -1
  76. package/dist/components/Footer/SocialMedia.js.map +1 -1
  77. package/dist/components/Footer/TextInformation.js +1 -2
  78. package/dist/components/Footer/TextInformation.js.map +1 -1
  79. package/dist/components/Footer/TextInformationLink.js +1 -1
  80. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  81. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  82. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  83. package/dist/components/Header/DropdownMenu.js +1 -1
  84. package/dist/components/Header/DropdownMenu.js.map +1 -1
  85. package/dist/components/Headline/Headline.js +1 -1
  86. package/dist/components/Headline/Headline.js.map +1 -1
  87. package/dist/components/Headline/HeadlineContent.d.ts +1 -2
  88. package/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
  89. package/dist/components/Headline/headlineVersionStyles.js +11 -5
  90. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  92. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  93. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  94. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  95. package/dist/components/MobileAppTile/renderList.js +1 -1
  96. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  97. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  98. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  99. package/dist/components/OfficeMap/renderFunctions.js +4 -3
  100. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  101. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  102. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  103. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  104. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  105. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  106. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  107. package/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
  108. package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  109. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
  110. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  111. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
  112. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  113. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  114. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  115. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
  116. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  117. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  118. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  119. package/dist/components/TariffsTable/TableTileHeader.js +1 -1
  120. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  121. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  122. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  123. package/dist/components/TextBlock/TextBlock.js +1 -1
  124. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  125. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  126. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  127. package/dist/ui-kit/Checkbox/Checkbox.js +2 -1
  128. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  129. package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  130. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  131. package/dist/ui-kit/Dialog/Dialog.js +1 -1
  132. package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  133. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  134. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  135. package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -1
  136. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  137. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
  138. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  139. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  140. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  141. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  142. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  143. package/dist/ui-kit/LinkButton/LinkButton.js +1 -1
  144. package/dist/ui-kit/List/List.js +1 -1
  145. package/dist/ui-kit/List/List.js.map +1 -1
  146. package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  147. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  148. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  149. package/dist/ui-kit/Tags/Tags.js +1 -1
  150. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  151. package/dist/ui-kit/Text/TextProps.d.ts +2 -2
  152. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  153. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  154. package/lib/common.css +1 -1
  155. package/lib/components/ApplicationForm/Footnote.js +1 -1
  156. package/lib/components/ApplicationForm/Footnote.js.map +1 -1
  157. package/lib/components/ApplicationForm/InputControl.js +1 -1
  158. package/lib/components/ApplicationForm/InputControl.js.map +1 -1
  159. package/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
  160. package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  161. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  162. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  163. package/lib/components/ApplicationForm/SelectControl.js +1 -1
  164. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  165. package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  166. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  167. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  168. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  169. package/lib/components/Blocks.mobile.js +8 -0
  170. package/lib/components/Blocks.mobile.js.map +1 -1
  171. package/lib/components/BusinessBlock/BusinessCard.js +2 -1
  172. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  173. package/lib/components/Calculator/Calculator.js +2 -2
  174. package/lib/components/Calculator/Calculator.js.map +1 -1
  175. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  176. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  177. package/lib/components/Calculator/Rate.js +1 -1
  178. package/lib/components/Calculator/Rate.js.map +1 -1
  179. package/lib/components/Calculator/UnknownRate.js +1 -1
  180. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  181. package/lib/components/Calculator/renderFootnote.js +1 -1
  182. package/lib/components/Calculator/renderFootnote.js.map +1 -1
  183. package/lib/components/Calculator/renderProposal.js +2 -1
  184. package/lib/components/Calculator/renderProposal.js.map +1 -1
  185. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +7 -4
  186. package/lib/components/Carousel/Carousel.js +19 -7
  187. package/lib/components/Carousel/Carousel.js.map +1 -1
  188. package/lib/components/Carousel/CarouselContent.d.ts +4 -0
  189. package/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  190. package/lib/components/Carousel/itemsGap.d.ts +1 -1
  191. package/lib/components/Carousel/itemsGap.js +1 -1
  192. package/lib/components/Carousel/itemsGap.js.map +1 -1
  193. package/lib/components/Carousel/renderControlButtons.d.ts +10 -0
  194. package/lib/components/Carousel/renderControlButtons.js +10 -0
  195. package/lib/components/Carousel/renderControlButtons.js.map +1 -0
  196. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
  197. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.d.ts +8 -0
  198. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
  199. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +7 -0
  200. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
  201. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  202. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  203. package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  204. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  205. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  206. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  207. package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  208. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  209. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  210. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  211. package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  212. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  213. package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  214. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  215. package/lib/components/Footer/Contacts.js +2 -2
  216. package/lib/components/Footer/Contacts.js.map +1 -1
  217. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  218. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  219. package/lib/components/Footer/SocialMedia.js +1 -1
  220. package/lib/components/Footer/SocialMedia.js.map +1 -1
  221. package/lib/components/Footer/TextInformation.js +1 -2
  222. package/lib/components/Footer/TextInformation.js.map +1 -1
  223. package/lib/components/Footer/TextInformationLink.js +1 -1
  224. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  225. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  226. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  227. package/lib/components/Header/DropdownMenu.js +1 -1
  228. package/lib/components/Header/DropdownMenu.js.map +1 -1
  229. package/lib/components/Headline/Headline.js +1 -1
  230. package/lib/components/Headline/Headline.js.map +1 -1
  231. package/lib/components/Headline/HeadlineContent.d.ts +1 -2
  232. package/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
  233. package/lib/components/Headline/headlineVersionStyles.js +11 -5
  234. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  235. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  236. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  237. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  238. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  239. package/lib/components/MobileAppTile/renderList.js +1 -1
  240. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  241. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  242. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  243. package/lib/components/OfficeMap/renderFunctions.js +4 -3
  244. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  245. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  246. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  247. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  248. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  249. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  250. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  251. package/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
  252. package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  253. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
  254. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  255. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
  256. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  257. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  258. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  259. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
  260. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  261. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  262. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  263. package/lib/components/TariffsTable/TableTileHeader.js +1 -1
  264. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  265. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  266. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  267. package/lib/components/TextBlock/TextBlock.js +1 -1
  268. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  269. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  270. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  271. package/lib/ui-kit/Checkbox/Checkbox.js +2 -1
  272. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  273. package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  274. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  275. package/lib/ui-kit/Dialog/Dialog.js +1 -1
  276. package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  277. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  278. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  279. package/lib/ui-kit/InnerTable/InnerTableBody.js +2 -1
  280. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  281. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
  282. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  283. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  284. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  285. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  286. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  287. package/lib/ui-kit/LinkButton/LinkButton.js +1 -1
  288. package/lib/ui-kit/List/List.js +1 -1
  289. package/lib/ui-kit/List/List.js.map +1 -1
  290. package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  291. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  292. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  293. package/lib/ui-kit/Tags/Tags.js +1 -1
  294. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  295. package/lib/ui-kit/Text/TextProps.d.ts +2 -2
  296. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  297. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  298. package/mobile/bundle/bundle.umd.js +116 -28
  299. package/mobile/bundle/bundle.umd.min.js +1 -1
  300. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +4 -0
  301. package/mobile/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  302. package/mobile/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
  303. package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
  304. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -2
  305. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
  306. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  307. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -2
  308. package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
  309. package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
  310. package/mobile/dist/components/ApplicationForm/InputControl.js +1 -1
  311. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
  312. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
  313. package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  314. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  315. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  316. package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -1
  317. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  318. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  319. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  320. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  321. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  322. package/mobile/dist/components/Blocks.js +8 -0
  323. package/mobile/dist/components/Blocks.js.map +1 -1
  324. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -1
  325. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  326. package/mobile/dist/components/Calculator/Calculator.js +2 -2
  327. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  328. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  329. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  330. package/mobile/dist/components/Calculator/Rate.js +1 -1
  331. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  332. package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
  333. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  334. package/mobile/dist/components/Calculator/renderFootnote.js +1 -1
  335. package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
  336. package/mobile/dist/components/Calculator/renderProposal.js +2 -1
  337. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  338. package/mobile/dist/components/Carousel/Carousel.js +19 -7
  339. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  340. package/mobile/dist/components/Carousel/CarouselContent.d.ts +4 -0
  341. package/mobile/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  342. package/mobile/dist/components/Carousel/renderControlButtons.d.ts +11 -0
  343. package/mobile/dist/components/Carousel/renderControlButtons.js +13 -0
  344. package/mobile/dist/components/Carousel/renderControlButtons.js.map +1 -0
  345. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
  346. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
  347. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  348. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  349. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  350. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  351. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  352. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  353. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  354. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  355. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  356. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  357. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  358. package/mobile/dist/components/Footer/Contacts.js +2 -2
  359. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  360. package/mobile/dist/components/Footer/TextInformation.js +1 -2
  361. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  362. package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
  363. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  364. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  365. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  366. package/mobile/dist/components/Header/DropdownMenu.js +1 -1
  367. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  368. package/mobile/dist/components/Headline/Headline.js +1 -1
  369. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  370. package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -2
  371. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
  372. package/mobile/dist/components/Headline/headlineVersionStyles.js +11 -5
  373. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  374. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  375. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  376. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  377. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  378. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  379. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  380. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  381. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  382. package/mobile/dist/components/OfficeMap/renderFunctions.js +4 -3
  383. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  384. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  385. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  386. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  387. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  388. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
  389. package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  390. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
  391. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  392. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
  393. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  394. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  395. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  396. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
  397. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  398. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
  399. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  400. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  401. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  402. package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
  403. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  404. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  405. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  406. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -1
  407. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  408. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  409. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  410. package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
  411. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  412. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -1
  413. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  414. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
  415. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  416. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  417. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  418. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  419. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  420. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +1 -1
  421. package/mobile/dist/ui-kit/List/List.js +1 -1
  422. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  423. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  424. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  425. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  426. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  427. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  428. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -2
  429. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  430. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  431. package/mobile/lib/common.css +1 -1
  432. package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
  433. package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
  434. package/mobile/lib/components/ApplicationForm/InputControl.js +1 -1
  435. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
  436. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
  437. package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
  438. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  439. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  440. package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -1
  441. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  442. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  443. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  444. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  445. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  446. package/mobile/lib/components/Blocks.js +8 -0
  447. package/mobile/lib/components/Blocks.js.map +1 -1
  448. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -1
  449. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  450. package/mobile/lib/components/Calculator/Calculator.js +2 -2
  451. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  452. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  453. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  454. package/mobile/lib/components/Calculator/Rate.js +1 -1
  455. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  456. package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
  457. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  458. package/mobile/lib/components/Calculator/renderFootnote.js +1 -1
  459. package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
  460. package/mobile/lib/components/Calculator/renderProposal.js +2 -1
  461. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  462. package/mobile/lib/components/Carousel/Carousel.js +19 -7
  463. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  464. package/mobile/lib/components/Carousel/CarouselContent.d.ts +4 -0
  465. package/mobile/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
  466. package/mobile/lib/components/Carousel/renderControlButtons.d.ts +11 -0
  467. package/mobile/lib/components/Carousel/renderControlButtons.js +10 -0
  468. package/mobile/lib/components/Carousel/renderControlButtons.js.map +1 -0
  469. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
  470. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
  471. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  472. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  473. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  474. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  475. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  476. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  477. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  478. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  479. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  480. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  481. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  482. package/mobile/lib/components/Footer/Contacts.js +2 -2
  483. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  484. package/mobile/lib/components/Footer/TextInformation.js +1 -2
  485. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  486. package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
  487. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  488. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  489. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  490. package/mobile/lib/components/Header/DropdownMenu.js +1 -1
  491. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  492. package/mobile/lib/components/Headline/Headline.js +1 -1
  493. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  494. package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -2
  495. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
  496. package/mobile/lib/components/Headline/headlineVersionStyles.js +11 -5
  497. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  498. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  499. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  500. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  501. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  502. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  503. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  504. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  505. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  506. package/mobile/lib/components/OfficeMap/renderFunctions.js +4 -3
  507. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  508. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  509. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  510. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  511. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  512. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
  513. package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
  514. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
  515. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  516. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
  517. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  518. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  519. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  520. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
  521. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  522. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
  523. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  524. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  525. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  526. package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
  527. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  528. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  529. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  530. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -1
  531. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  532. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  533. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  534. package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
  535. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  536. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -1
  537. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  538. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
  539. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  540. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  541. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  542. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  543. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  544. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +1 -1
  545. package/mobile/lib/ui-kit/List/List.js +1 -1
  546. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  547. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  548. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  549. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
  550. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  551. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  552. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -2
  553. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  554. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  555. package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
  556. package/mobile/src/components/ApplicationForm/InputControl.tsx +1 -1
  557. package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
  558. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  559. package/mobile/src/components/ApplicationForm/SelectControl.tsx +1 -1
  560. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
  561. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  562. package/mobile/src/components/Blocks.ts +8 -0
  563. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +4 -1
  564. package/mobile/src/components/Calculator/Calculator.tsx +2 -2
  565. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  566. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  567. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  568. package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
  569. package/mobile/src/components/Calculator/renderProposal.tsx +6 -1
  570. package/mobile/src/components/Carousel/Carousel.tsx +21 -29
  571. package/mobile/src/components/Carousel/CarouselContent.ts +4 -0
  572. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  573. package/mobile/src/components/Carousel/renderControlButtons.tsx +24 -0
  574. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +14 -76
  575. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  576. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
  577. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
  578. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  579. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
  580. package/mobile/src/components/Footer/Contacts.tsx +2 -2
  581. package/mobile/src/components/Footer/TextInformation.tsx +1 -2
  582. package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
  583. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  584. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  585. package/mobile/src/components/Headline/Headline.example.json +1 -11
  586. package/mobile/src/components/Headline/Headline.tsx +1 -0
  587. package/mobile/src/components/Headline/HeadlineContent.ts +1 -3
  588. package/mobile/src/components/Headline/headlineVersionStyles.ts +13 -6
  589. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  590. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  591. package/mobile/src/components/MobileAppTile/renderList.tsx +2 -2
  592. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  593. package/mobile/src/components/OfficeMap/renderFunctions.tsx +8 -7
  594. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
  595. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
  596. package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
  597. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
  598. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
  599. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  600. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
  601. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +5 -1
  602. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  603. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  604. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  605. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
  606. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  607. package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
  608. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
  609. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
  610. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
  611. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  612. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
  613. package/mobile/src/ui-kit/List/List.tsx +1 -1
  614. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  615. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  616. package/mobile/src/ui-kit/Tags/Tags.tsx +3 -1
  617. package/mobile/src/ui-kit/Text/TextProps.ts +1 -13
  618. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  619. package/package.json +1 -1
  620. package/src/components/ApplicationForm/Footnote.tsx +1 -1
  621. package/src/components/ApplicationForm/InputControl.tsx +1 -1
  622. package/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
  623. package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  624. package/src/components/ApplicationForm/SelectControl.tsx +1 -1
  625. package/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
  626. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  627. package/src/components/Blocks.mobile.ts +8 -0
  628. package/src/components/BusinessBlock/BusinessCard.tsx +4 -1
  629. package/src/components/Calculator/Calculator.tsx +2 -2
  630. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  631. package/src/components/Calculator/Rate.tsx +1 -1
  632. package/src/components/Calculator/UnknownRate.tsx +2 -2
  633. package/src/components/Calculator/renderFootnote.tsx +1 -1
  634. package/src/components/Calculator/renderProposal.tsx +6 -1
  635. package/src/components/Carousel/Carousel.fixture.mobile.tsx +173 -35
  636. package/src/components/Carousel/Carousel.fixture.tsx +6 -1
  637. package/src/components/Carousel/Carousel.tsx +21 -29
  638. package/src/components/Carousel/CarouselContent.ts +4 -0
  639. package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  640. package/src/components/Carousel/itemsGap.ts +1 -1
  641. package/src/components/Carousel/renderControlButtons.tsx +24 -0
  642. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.tsx +18 -0
  643. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +8 -0
  644. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +23 -0
  645. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  646. package/src/components/ComparisonTable/ComparisonTable.tsx +4 -3
  647. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  648. package/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
  649. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
  650. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  651. package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
  652. package/src/components/Footer/Contacts.tsx +2 -2
  653. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  654. package/src/components/Footer/SocialMedia.tsx +1 -1
  655. package/src/components/Footer/TextInformation.tsx +1 -2
  656. package/src/components/Footer/TextInformationLink.tsx +1 -1
  657. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  658. package/src/components/Header/DropdownMenu.tsx +1 -1
  659. package/src/components/Headline/Headline.example.json +1 -11
  660. package/src/components/Headline/Headline.tsx +1 -0
  661. package/src/components/Headline/HeadlineContent.ts +1 -3
  662. package/src/components/Headline/headlineVersionStyles.ts +13 -6
  663. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  664. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  665. package/src/components/MobileAppTile/renderList.tsx +2 -2
  666. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  667. package/src/components/OfficeMap/renderFunctions.tsx +8 -7
  668. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
  669. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  670. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
  671. package/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
  672. package/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
  673. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
  674. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
  675. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
  676. package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -1
  677. package/src/components/TariffsTable/TableTileHeader.tsx +5 -1
  678. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  679. package/src/components/TextBlock/TextBlock.tsx +1 -1
  680. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  681. package/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
  682. package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  683. package/src/ui-kit/Dialog/Dialog.tsx +1 -1
  684. package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  685. package/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
  686. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
  687. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
  688. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  689. package/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
  690. package/src/ui-kit/List/List.tsx +1 -1
  691. package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  692. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  693. package/src/ui-kit/Tags/Tags.tsx +3 -1
  694. package/src/ui-kit/Text/TextProps.ts +1 -13
  695. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  696. package/bundle/components/Carousel/itemsGap.mobile.d.ts +0 -1
  697. package/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
  698. package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
  699. package/dist/components/Carousel/itemsGap.mobile.d.ts +0 -1
  700. package/dist/components/Carousel/itemsGap.mobile.js +0 -4
  701. package/dist/components/Carousel/itemsGap.mobile.js.map +0 -1
  702. package/dist/components/Footer/textInformationTextSize.d.ts +0 -1
  703. package/dist/components/Footer/textInformationTextSize.js +0 -4
  704. package/dist/components/Footer/textInformationTextSize.js.map +0 -1
  705. package/dist/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
  706. package/dist/components/Footer/textInformationTextSize.mobile.js +0 -4
  707. package/dist/components/Footer/textInformationTextSize.mobile.js.map +0 -1
  708. package/lib/components/Carousel/itemsGap.mobile.d.ts +0 -1
  709. package/lib/components/Carousel/itemsGap.mobile.js +0 -2
  710. package/lib/components/Carousel/itemsGap.mobile.js.map +0 -1
  711. package/lib/components/Footer/textInformationTextSize.d.ts +0 -1
  712. package/lib/components/Footer/textInformationTextSize.js +0 -2
  713. package/lib/components/Footer/textInformationTextSize.js.map +0 -1
  714. package/lib/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
  715. package/lib/components/Footer/textInformationTextSize.mobile.js +0 -2
  716. package/lib/components/Footer/textInformationTextSize.mobile.js.map +0 -1
  717. package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
  718. package/mobile/dist/components/Footer/textInformationTextSize.d.ts +0 -1
  719. package/mobile/dist/components/Footer/textInformationTextSize.js +0 -4
  720. package/mobile/dist/components/Footer/textInformationTextSize.js.map +0 -1
  721. package/mobile/lib/components/Footer/textInformationTextSize.d.ts +0 -1
  722. package/mobile/lib/components/Footer/textInformationTextSize.js +0 -2
  723. package/mobile/lib/components/Footer/textInformationTextSize.js.map +0 -1
  724. package/mobile/src/components/Footer/textInformationTextSize.ts +0 -1
  725. package/src/components/Carousel/itemsGap.mobile.ts +0 -1
  726. package/src/components/Footer/textInformationTextSize.mobile.ts +0 -1
  727. package/src/components/Footer/textInformationTextSize.ts +0 -1
@@ -4,89 +4,227 @@ import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOpti
4
4
  import { Blocks } from '../Blocks';
5
5
  import { TARIFFS_CARD, TARIFFS_CARD_HIT } from '../CarouselTariffsCard/CarouselTariffsCard.fixture';
6
6
  import { Carousel } from './Carousel';
7
+ import { CARD } from '../CarouselCard/CarouselCard.fixture.mobile';
8
+ import { CAROUSEL_RECOMMENDATION_CARD } from '../CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile';
9
+ import { BUSINESS_CARD } from '../CarouselProgramsCard/CarouselProgramsCard.fixture';
10
+ import { BANK_HISTORY_CARD } from '../CarouselBankHistoryCard/CarouselBankHistoryCard.fixture';
11
+ import { CATALOG_CARD } from '../CarouselCatalogCard/CatalogCard';
12
+ import {
13
+ PRODUCT_CARD,
14
+ PRODUCT_CARD_SMALL,
15
+ } from '../CarouselProductCard/CarouselProductCard.fixture';
16
+ import { Picture } from '../../model/Picture';
17
+
18
+ const catalogImage: Picture = {
19
+ src: 'pay-ring.png',
20
+ format: 'webp',
21
+ size: {
22
+ width: 117,
23
+ height: 117,
24
+ },
25
+ title: 'pay-ring',
26
+ };
7
27
 
8
28
  const options = {
9
29
  blocksRegistry: Blocks,
10
30
  } as BlockRendererOptions;
11
31
 
12
- const carouselBlock = {
13
- type: 'Carousel',
14
- blocks: new Array(6)
15
- .fill({
16
- type: 'CarouselTariffsCard',
17
- content: TARIFFS_CARD,
18
- })
19
- .map((_, i) => (i === 1 ? { ..._, content: TARIFFS_CARD_HIT } : _)),
20
- };
21
-
22
32
  export default {
23
33
  default: (
24
34
  <div className="container grid grid-cols-12">
25
- <Carousel className="col-span-12" block={carouselBlock} options={options} />
35
+ <Carousel
36
+ className="col-span-12"
37
+ isBlur={false}
38
+ isPadding={false}
39
+ isCyclic={true}
40
+ showArrows={false}
41
+ showDots={true}
42
+ block={{
43
+ type: 'Carousel',
44
+ blocks: [
45
+ { type: 'CarouselCard', content: CARD, style: ['col-span-4'] },
46
+ { type: 'CarouselCard', content: CARD, style: ['col-span-4'] },
47
+ ],
48
+ }}
49
+ options={options}
50
+ />
26
51
  </div>
27
52
  ),
28
- 'arrowsPadded with cyclic': (
53
+ catalog: (
29
54
  <div className="container grid grid-cols-12">
30
55
  <Carousel
31
56
  className="col-span-12"
32
- block={carouselBlock}
57
+ isBlur={false}
58
+ isCyclic={true}
59
+ isPadding={true}
60
+ showArrows={false}
61
+ showDots={true}
62
+ block={{
63
+ type: 'Carousel',
64
+ blocks: new Array(3).fill({
65
+ type: 'CarouselCatalogCard',
66
+ content: { ...CATALOG_CARD, image: catalogImage },
67
+ style: ['col-span-12'],
68
+ }),
69
+ }}
33
70
  options={options}
34
- arrowsPadded={false}
71
+ />
72
+ </div>
73
+ ),
74
+ tariffs: (
75
+ <div className="container grid grid-cols-12">
76
+ <Carousel
77
+ className="col-span-12"
78
+ visibleItemCount={0}
79
+ isBlur={true}
35
80
  isCyclic={true}
81
+ isAlignCenter={true}
82
+ showArrows={false}
83
+ block={{
84
+ type: 'Carousel',
85
+ blocks: [
86
+ {
87
+ type: 'CarouselTariffsCard',
88
+ content: TARIFFS_CARD_HIT,
89
+ style: ['col-span-4'],
90
+ },
91
+ {
92
+ type: 'CarouselTariffsCard',
93
+ content: TARIFFS_CARD,
94
+ style: ['col-span-4'],
95
+ },
96
+ {
97
+ type: 'CarouselTariffsCard',
98
+ content: TARIFFS_CARD,
99
+ style: ['col-span-4'],
100
+ },
101
+ ],
102
+ }}
103
+ options={options}
36
104
  />
37
105
  </div>
38
106
  ),
39
-
40
- 'no-blur with cyclic': (
107
+ product: (
41
108
  <div className="container grid grid-cols-12">
42
109
  <Carousel
43
110
  className="col-span-12"
44
111
  isBlur={false}
45
112
  isCyclic={true}
46
- block={carouselBlock}
113
+ isPadding={false}
114
+ showArrows={false}
115
+ showDots={true}
116
+ block={{
117
+ type: 'Carousel',
118
+ blocks: new Array(3).fill({
119
+ type: 'CarouselProductCard',
120
+ content: PRODUCT_CARD,
121
+ style: ['col-span-4'],
122
+ }),
123
+ }}
47
124
  options={options}
48
125
  />
49
126
  </div>
50
127
  ),
51
- 'one visible cards with dots': (
128
+ 'mini-product': (
52
129
  <div className="container grid grid-cols-12">
53
130
  <Carousel
54
131
  className="col-span-12"
55
- visibleItemCount={1}
132
+ isBlur={true}
133
+ isPadding={false}
134
+ showArrows={false}
56
135
  showDots={true}
57
- block={carouselBlock}
136
+ block={{
137
+ type: 'Carousel',
138
+ blocks: new Array(3).fill({
139
+ type: 'CarouselProductCard',
140
+ content: PRODUCT_CARD_SMALL,
141
+ style: ['col-span-4'],
142
+ }),
143
+ }}
58
144
  options={options}
59
145
  />
60
146
  </div>
61
147
  ),
62
- 'only one cards align center': (
148
+ program: (
63
149
  <div className="container grid grid-cols-12">
64
150
  <Carousel
65
151
  className="col-span-12"
152
+ isBlur={false}
153
+ isCyclic={true}
154
+ isPadding={true}
155
+ showArrows={false}
156
+ showDots={true}
66
157
  block={{
67
158
  type: 'Carousel',
68
- blocks: new Array(1)
69
- .fill({
70
- type: 'CarouselTariffsCard',
71
- content: TARIFFS_CARD,
72
- })
73
- .map((_, i) => (i === 1 ? { ..._, content: TARIFFS_CARD_HIT } : _)),
159
+ blocks: new Array(3).fill({
160
+ type: 'CarouselProgramsCard',
161
+ content: BUSINESS_CARD,
162
+ style: ['col-span-4'],
163
+ }),
74
164
  }}
75
165
  options={options}
76
- isAlignCenter={true}
77
166
  />
78
167
  </div>
79
168
  ),
80
-
81
- tariffs: (
169
+ recommendations: (
82
170
  <div className="container grid grid-cols-12">
83
171
  <Carousel
84
172
  className="col-span-12"
85
- visibleItemCount={0}
86
- isBlur={true}
87
- isCyclic={false}
88
- isAlignCenter={true}
89
- block={carouselBlock}
173
+ isBlur={false}
174
+ isPadding={false}
175
+ isCyclic={true}
176
+ showArrows={false}
177
+ showDots={true}
178
+ block={{
179
+ type: 'Carousel',
180
+ blocks: new Array(3).fill({
181
+ type: 'CarouselRecommendationCard',
182
+ content: CAROUSEL_RECOMMENDATION_CARD,
183
+ style: ['col-span-4'],
184
+ }),
185
+ }}
186
+ options={options}
187
+ />
188
+ </div>
189
+ ),
190
+ recommendationsSecondary: (
191
+ <div className="container grid grid-cols-12">
192
+ <Carousel
193
+ className="col-span-12"
194
+ isBlur={false}
195
+ isPadding={false}
196
+ isCyclic={true}
197
+ showArrows={false}
198
+ showDots={true}
199
+ block={{
200
+ type: 'Carousel',
201
+ blocks: new Array(3).fill({
202
+ type: 'CarouselRecommendationCard',
203
+ content: { version: 'secondary', ...CAROUSEL_RECOMMENDATION_CARD },
204
+ style: ['col-span-4'],
205
+ }),
206
+ }}
207
+ options={options}
208
+ />
209
+ </div>
210
+ ),
211
+ 'bank history': (
212
+ <div className="container grid grid-cols-12">
213
+ <Carousel
214
+ className="col-span-12"
215
+ isBlur={false}
216
+ isCyclic={true}
217
+ isPadding={false}
218
+ showArrows={false}
219
+ showDots={true}
220
+ block={{
221
+ type: 'Carousel',
222
+ blocks: new Array(3).fill({
223
+ type: 'CarouselBankHistoryCard',
224
+ content: BANK_HISTORY_CARD,
225
+ style: ['col-span-4'],
226
+ }),
227
+ }}
90
228
  options={options}
91
229
  />
92
230
  </div>
@@ -97,6 +97,7 @@ export default {
97
97
  isBlur={true}
98
98
  isCyclic={false}
99
99
  isAlignCenter={true}
100
+ isGap={false}
100
101
  block={{
101
102
  type: 'Carousel',
102
103
  blocks: new Array(6)
@@ -131,7 +132,7 @@ export default {
131
132
  <div className="container grid grid-cols-12">
132
133
  <Carousel
133
134
  className="col-span-12"
134
- visibleItemCount={4}
135
+ visibleItemCount={3}
135
136
  isBlur={true}
136
137
  block={{
137
138
  type: 'Carousel',
@@ -148,6 +149,10 @@ export default {
148
149
  type: 'CarouselProductCard',
149
150
  content: PRODUCT_CARD_SMALL,
150
151
  },
152
+ {
153
+ type: 'CarouselProductCard',
154
+ content: PRODUCT_CARD_SMALL,
155
+ },
151
156
  ],
152
157
  }}
153
158
  options={options}
@@ -5,12 +5,11 @@ import { renderChildren } from '../../BlockRenderer/renderChildren';
5
5
  import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
6
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
7
  import { SwipeListContainer } from '../../ui-kit/SwipeListControl/SwipeListContainer';
8
- import { SwipeListControlDots } from '../../ui-kit/SwipeListControl/SwipeListControlDots';
9
8
  import { useSwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListScroll';
10
9
  import { style } from '../../utils/style';
11
10
  import type { CarouselContent } from './CarouselContent';
12
- import { CarouselScrollButtons } from './CarouselScrollButtons';
13
11
  import { ITEMS_GAP } from './itemsGap';
12
+ import { renderControlButtons } from './renderControlButtons';
14
13
 
15
14
  export interface CarouselProps extends CarouselContent, UniBlockProps {
16
15
  itemCount?: number;
@@ -21,19 +20,21 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
21
20
  ({
22
21
  className = '',
23
22
  itemCount,
24
- visibleItemCount,
23
+ visibleItemCount = 0,
25
24
  isBlur = true,
26
25
  isCyclic = false,
27
26
  arrowsPadded = true,
28
27
  isPadding = true,
29
28
  showDots = false,
30
29
  isAlignCenter = false,
30
+ showArrows = true,
31
+ isGap = true,
31
32
  ...rest
32
33
  }) => {
33
34
  const { blocks: childBlocks = [] } = rest.block || {};
34
35
  const count = itemCount || childBlocks?.length;
35
36
 
36
- const [activeIndex, setActiveIndex] = useState<number>(Math.floor((visibleItemCount || 0) / 2));
37
+ const [activeIndex, setActiveIndex] = useState(Math.floor(visibleItemCount / 2));
37
38
  const increaseActiveIndex = useCallback(() => setActiveIndex((_) => _ + 1), []);
38
39
  const decreaseActiveIndex = useCallback(() => setActiveIndex((_) => _ - 1), []);
39
40
 
@@ -51,7 +52,7 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
51
52
  containerRef={containerRef}
52
53
  visibleItemCount={visibleItemCount}
53
54
  snapAlign="snap-start"
54
- gap={ITEMS_GAP}
55
+ gap={isGap ? ITEMS_GAP : undefined}
55
56
  onVisibleIndicesChange={scroll.handleVisibleIndicesChange}
56
57
  >
57
58
  {renderChildren({
@@ -65,17 +66,21 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
65
66
  : renderBlock,
66
67
  })}
67
68
  </SwipeListContainer>
68
- <CarouselScrollButtons
69
- scroll={scroll}
70
- isBlur={isBlur}
71
- arrowsPadded={arrowsPadded}
72
- onScrollLeft={decreaseActiveIndex}
73
- onScrollRight={increaseActiveIndex}
74
- hasEdgeBlocks={isBankHistoryCarousel}
75
- activeIndex={activeIndex}
76
- itemCount={count}
77
- />
78
- {showDots ? renderDots(containerRef, dotsActiveIndex, count) : null}
69
+ {renderControlButtons({
70
+ showArrows,
71
+ showDots,
72
+ scrollButtonsProps: {
73
+ scroll,
74
+ arrowsPadded,
75
+ isBlur,
76
+ onScrollLeft: decreaseActiveIndex,
77
+ onScrollRight: increaseActiveIndex,
78
+ hasEdgeBlocks: isBankHistoryCarousel,
79
+ activeIndex,
80
+ itemCount: count,
81
+ },
82
+ dotsProps: { containerRef, activeIndex: dotsActiveIndex, dotCount: count },
83
+ })}
79
84
  </div>
80
85
  </BlockWrapper>
81
86
  );
@@ -100,16 +105,3 @@ const getPaddingStyle = (isPadding: boolean): string => (isPadding ? 'p-default'
100
105
 
101
106
  const getAlignStyle = (isAlignCenter: boolean): string =>
102
107
  isAlignCenter ? 'flex justify-center' : '';
103
-
104
- const renderDots = (
105
- containerRef: { current: HTMLDivElement | null },
106
- dotsActiveIndex: number,
107
- itemCount: number | undefined,
108
- ) => (
109
- <SwipeListControlDots
110
- containerRef={containerRef}
111
- activeIndex={dotsActiveIndex}
112
- dotCount={itemCount}
113
- listType={'horizontal-list'}
114
- />
115
- );
@@ -19,4 +19,8 @@ export type CarouselContent = UniBlockContent & {
19
19
  isPadding?: boolean;
20
20
  /** @title Выравнивать по центру */
21
21
  isAlignCenter?: boolean;
22
+ /** @title отображение кнопок-стрелок*/
23
+ showArrows?: boolean;
24
+ /** @title отсупы между карточками*/
25
+ isGap?: boolean;
22
26
  };
@@ -4,7 +4,7 @@ import { ScrollLeftButton, ScrollRightButton } from '../../ui-kit/Button/ArrowBu
4
4
  import { SwipeListScroll } from '../../ui-kit/SwipeListControl/useSwipeListScroll';
5
5
  import { style } from '../../utils/style';
6
6
 
7
- interface CarouselScrollButtonsProps {
7
+ export interface CarouselScrollButtonsProps {
8
8
  scroll: SwipeListScroll;
9
9
  arrowsPadded: boolean;
10
10
  isBlur: boolean;
@@ -1 +1 @@
1
- export const ITEMS_GAP = 4;
1
+ export const ITEMS_GAP = 16;
@@ -0,0 +1,24 @@
1
+ import { CarouselScrollButtons, CarouselScrollButtonsProps } from './CarouselScrollButtons';
2
+ import {
3
+ SwipeListControlDots,
4
+ SwipeListControlDotsProps,
5
+ } from '../../ui-kit/SwipeListControl/SwipeListControlDots';
6
+
7
+ interface renderControlButtonsProps {
8
+ showArrows: boolean;
9
+ showDots: boolean;
10
+ scrollButtonsProps: CarouselScrollButtonsProps;
11
+ dotsProps: SwipeListControlDotsProps;
12
+ }
13
+
14
+ export const renderControlButtons = ({
15
+ showArrows,
16
+ showDots,
17
+ scrollButtonsProps,
18
+ dotsProps,
19
+ }: renderControlButtonsProps) => {
20
+ return [
21
+ showArrows ? <CarouselScrollButtons key="0" {...scrollButtonsProps} /> : null,
22
+ showDots ? <SwipeListControlDots key="1" {...dotsProps} listType="horizontal-list" /> : null,
23
+ ];
24
+ };
@@ -0,0 +1,18 @@
1
+ import '../../setup-fixture';
2
+
3
+ import { CarouselBankHistoryCard } from './CarouselBankHistoryCard';
4
+ import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
5
+
6
+ export const BANK_HISTORY_CARD: CarouselBankHistoryCardContent = {
7
+ title: '1796г.',
8
+ description:
9
+ "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' целью которого развитие агропромышленного сектора российской экономики",
10
+ };
11
+
12
+ export default {
13
+ default: (
14
+ <div className="container grid grid-cols-12">
15
+ <CarouselBankHistoryCard className="col-span-12" {...BANK_HISTORY_CARD} />
16
+ </div>
17
+ ),
18
+ };
@@ -1,5 +1,6 @@
1
1
  import '../../setup-fixture';
2
2
 
3
+ import { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
3
4
  import { CarouselBankHistoryCard } from './CarouselBankHistoryCard';
4
5
  import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
5
6
 
@@ -9,6 +10,13 @@ export const BANK_HISTORY_CARD: CarouselBankHistoryCardContent = {
9
10
  "Россельхозбанк стал одним из ключевых участников Приоритетного национального проекта 'Развитие АПК' целью которого развитие агропромышленного сектора российской экономики",
10
11
  };
11
12
 
13
+ const options: BlockRendererOptions = {
14
+ key: 'card-0',
15
+ };
16
+
17
+ const commonProps = { ...BANK_HISTORY_CARD, options };
18
+
12
19
  export default {
13
20
  default: <CarouselBankHistoryCard {...BANK_HISTORY_CARD} />,
21
+ active: <CarouselBankHistoryCard activeIndex={0} {...commonProps} />,
14
22
  };
@@ -0,0 +1,23 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
+ import { style } from '../../utils/style';
5
+ import { Headline } from '../Headline/Headline';
6
+ import { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
7
+
8
+ interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {}
9
+
10
+ export const CarouselBankHistoryCard = JSX<CarouselBankHistoryCardProps>(
11
+ ({ title, description, className }) => (
12
+ <BlockWrapper className={style(className)} defaultPadding="p-default">
13
+ <Headline
14
+ headlineVersion="S"
15
+ title={title}
16
+ description={description}
17
+ align="text-left"
18
+ className="text-primary-text"
19
+ isPadding={false}
20
+ />
21
+ </BlockWrapper>
22
+ ),
23
+ );
@@ -18,7 +18,7 @@ export const CarouselLinks = JSX<CarouselLinksProps>(
18
18
  className={style('flex w-full overflow-hidden justify-between', className)}
19
19
  {...rest}
20
20
  >
21
- <div className="flex flex-col max-w-96 pr-m text-white text-xl-light">
21
+ <div className="flex flex-col max-w-96 pr-m text-white text-xl font-light">
22
22
  <Headline
23
23
  isPadding={false}
24
24
  title={title}
@@ -4,6 +4,7 @@ import type { UniBlockProps } from '../../model/JSXBlock';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { Heading } from '../../ui-kit/Heading/Heading';
6
6
  import { style } from '../../utils/style';
7
+ import { Text } from '../../ui-kit/Text/Text';
7
8
  import { ComparisonTableBody } from './ComparisonTableBody';
8
9
  import type { ComparisonTableContent } from './ComparisonTableContent';
9
10
  import { FIRST_CELL_CLASSES } from './constants';
@@ -61,11 +62,11 @@ const renderShowMoreToggleButton = ({
61
62
  <div className={FIRST_CELL_CLASSES} />
62
63
  <button
63
64
  onClick={onClick}
64
- className="mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
65
+ className="mt-m py-xs flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main"
65
66
  >
66
- <div className="font-sans text-xs-light font-medium py-3">
67
+ <Text size="text-xs" font="font-medium">
67
68
  {!isShowAllRow ? 'Показать все параметры' : 'Скрыть'}
68
- </div>
69
+ </Text>
69
70
  </button>
70
71
  </div>
71
72
  </div>
@@ -38,7 +38,7 @@ export const HeaderCell = JSX<HeaderCellProps>(({ icon, image, title, link }) =>
38
38
  target={link.target}
39
39
  className="mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active"
40
40
  >
41
- <div className="text-xs-light font-medium py-[11px]">{link.text}</div>
41
+ <div className="text-xs font-light font-medium py-[11px]">{link.text}</div>
42
42
  </Button>
43
43
  </div>
44
44
  )}
@@ -1,5 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import { Text } from '../../ui-kit/Text/Text';
3
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
5
  import { Button } from '../../ui-kit/Button/Button';
5
6
  import { Heading } from '../../ui-kit/Heading/Heading';
@@ -34,7 +35,11 @@ export const ErrorBlock = JSX<ErrorBlockProps>(
34
35
  <div className="flex justify-center py-20">{renderErrorContent(error)}</div>
35
36
  {title ? <Heading headingType="h1" className="text-left mb-4" title={title} /> : null}
36
37
  {subtitle ? (
37
- <div className="font-sans text-xl-light mb-7 max-w-[613px] text-center">{subtitle}</div>
38
+ <div className="mb-7 max-w-[613px] text-center">
39
+ <Text size="text-xl" font="font-light">
40
+ {subtitle}
41
+ </Text>
42
+ </div>
38
43
  ) : null}
39
44
  {button?.text ? (
40
45
  <Button className="py-4 px-9" version={button?.version} {...button}>
@@ -23,7 +23,7 @@ export const ExchangeRateOffice = JSX<ExchangeRateOfficeProps>(
23
23
  className="whitespace-pre-wrap text-h4 mb-5"
24
24
  />
25
25
  <div className="pl-11">
26
- <Text size="text-m-light" align="text-left" color="text-secondary-text">
26
+ <Text size="text-m" font="font-light" align="text-left" color="text-secondary-text">
27
27
  {actuality}
28
28
  </Text>
29
29
  </div>
@@ -34,7 +34,12 @@ export const ExchangeRateOffice = JSX<ExchangeRateOfficeProps>(
34
34
  <thead>
35
35
  <tr>
36
36
  <th>
37
- <Text size="text-m-light" align="text-left" color="text-secondary-text">
37
+ <Text
38
+ size="text-m"
39
+ font="font-light"
40
+ align="text-left"
41
+ color="text-secondary-text"
42
+ >
38
43
  Валюта
39
44
  </Text>
40
45
  </th>
@@ -3,7 +3,7 @@ import { Text } from '../../ui-kit/Text/Text';
3
3
  export const renderTableHeader = (title: string) => {
4
4
  return (
5
5
  <th className="pl-11">
6
- <Text size="text-m-light" align="text-left" color="text-secondary-text">
6
+ <Text size="text-m" font="font-light" align="text-left" color="text-secondary-text">
7
7
  {title}
8
8
  </Text>
9
9
  </th>
@@ -3,7 +3,7 @@ import { Img } from '../../ui-kit/Img/Img';
3
3
  import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
4
4
  import { formatCurrency } from './formatCurrency';
5
5
 
6
- const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
6
+ const TABLE_HEAD_STYLE = 'text-left text-m font-light text-secondary-text';
7
7
  const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
8
8
 
9
9
  const CURRENCY_ICONS_MAP = {
@@ -39,7 +39,7 @@ const renderContactsGroup = (item: ContactGroup, i: number) => (
39
39
  const renderContact = (item: ContactInfo, index: number) => (
40
40
  <div className="mb-4" key={String(index)}>
41
41
  <div>{renderText(item.type, item.text)}</div>
42
- <div className="mt-1 text-s-light text-secondary-text">{item.description}</div>
42
+ <div className="mt-1 text-s font-light text-secondary-text">{item.description}</div>
43
43
  </div>
44
44
  );
45
45
 
@@ -56,7 +56,7 @@ const renderText = (type: ContactInfo['type'], text = '') => {
56
56
  );
57
57
  case 'email':
58
58
  return (
59
- <a className="text-xl-light text-primary-text no-underline" href={`mailto:${text}`}>
59
+ <a className="text-xl font-light text-primary-text no-underline" href={`mailto:${text}`}>
60
60
  {text}
61
61
  </a>
62
62
  );
@@ -14,7 +14,7 @@ export const HorizontalNavigation = JSX<HorizontalNavigationProps>(({ className
14
14
  <HorizontalNavigationLink
15
15
  key={String(i)}
16
16
  index={i}
17
- className="text-l-light max-w-[292px]"
17
+ className="text-l font-light max-w-[292px]"
18
18
  {..._}
19
19
  />
20
20
  ))}
@@ -18,7 +18,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
18
18
  <MediaButton key={String(index)} buttonSize={buttonSize} {..._} />
19
19
  ))}
20
20
  </div>
21
- <Text size="text-s-light" color="text-secondary-text">
21
+ <Text size="text-s" font="font-light" color="text-secondary-text">
22
22
  {children}
23
23
  </Text>
24
24
  </div>
@@ -2,12 +2,11 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Text } from '../../ui-kit/Text/Text';
3
3
  import type { FooterLink } from './FooterLink';
4
4
  import { TextInformationLink } from './TextInformationLink';
5
- import { textInformationTextSize } from './textInformationTextSize';
6
5
 
7
6
  export const TextInformation = JSX<FooterLink>(({ className = '', links }) => (
8
7
  <div className={className}>
9
8
  <div className="pt-4 xl:pt-5">
10
- <Text size={textInformationTextSize} color="text-secondary-text">
9
+ <Text size="text-xs" font="font-light" color="text-secondary-text">
11
10
  {`\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.`}
12
11
  </Text>
13
12
  </div>