@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
@@ -74,8 +74,8 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
74
74
  : `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
75
75
  const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
76
76
  const btnDescClassName = isActive
77
- ? 'text-l-light text-white'
78
- : `text-m-light text-secondary-text`;
77
+ ? 'text-l font-light text-white'
78
+ : `text-m font-light text-secondary-text`;
79
79
  const iconClassName = isActive ? '' : `text-primary-main`;
80
80
  const iconVersion = tab?.icon?.iconVersion;
81
81
  const activeIconStyle = isActive ? 'white' : 'normal';
@@ -15,7 +15,7 @@ export const CalculatorValueBlock = JSX<CalculatorValueBlockProps>(
15
15
  ({ title, value, postfix = '', prefix, className = '' }) => (
16
16
  <div className={style('mb-7', className)}>
17
17
  {title ? (
18
- <Text size="text-l-light" color="text-secondary-text">
18
+ <Text size="text-l" font="font-light" color="text-secondary-text">
19
19
  {title}
20
20
  </Text>
21
21
  ) : null}
@@ -23,7 +23,7 @@ export const Rate = JSX<RateProps>(
23
23
  fractionDigits = 2,
24
24
  }) => (
25
25
  <div>
26
- <Text size="text-l-light" color="text-secondary-text">
26
+ <Text size="text-l" font="font-light" color="text-secondary-text">
27
27
  {title}
28
28
  </Text>
29
29
  <div className="relative">
@@ -9,14 +9,14 @@ export interface UnknownRateProps {
9
9
 
10
10
  export const UnknownRate = JSX<UnknownRateProps>(({ title = 'Ставка' }) => (
11
11
  <div>
12
- <Text size="text-l-light" color="text-secondary-text">
12
+ <Text size="text-l" font="font-light" color="text-secondary-text">
13
13
  {title}
14
14
  </Text>
15
15
  <div className="mt-1 pt-1 pl-5 pb-1.5">
16
16
  <Icon name="PercentIcon" width="90" height="85" />
17
17
  </div>
18
18
  <div className="w-[250px] mt-3.5">
19
- <Paragraph size="text-xl-light" color="text-primary-text">
19
+ <Paragraph size="text-xl" font="font-light" color="text-primary-text">
20
20
  Процентная ставка для срока <strong>1-30 дней</strong> устанавливается при обращении в Банк
21
21
  </Paragraph>
22
22
  </div>
@@ -2,7 +2,7 @@ import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
2
2
 
3
3
  export const renderFootnote = (text?: string) =>
4
4
  text ? (
5
- <Paragraph size="text-s-light" color="text-secondary-text">
5
+ <Paragraph size="text-s" font="font-light" color="text-secondary-text">
6
6
  {text}
7
7
  </Paragraph>
8
8
  ) : null;
@@ -1,10 +1,15 @@
1
1
  import { Button } from '../../ui-kit/Button/Button';
2
2
  import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat';
3
+ import { Text } from '../../ui-kit/Text/Text';
3
4
 
4
5
  export function renderProposal(monthlyPayment: number) {
5
6
  return (
6
7
  <div className="box-border ">
7
- <div className="text-l-light">Ежемесячный платёж</div>
8
+ <div>
9
+ <Text size="text-l" font="font-light">
10
+ Ежемесячный платёж
11
+ </Text>
12
+ </div>
8
13
  <div className="text-h3 mb-3">{toLocalNumberFormat(2)(Math.round(monthlyPayment))} ₽</div>
9
14
  <Button className="mt-12 w-full" text="Отправить заявку" version="primary" href="#" />
10
15
  </div>
@@ -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;
@@ -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
+ };
@@ -3,83 +3,21 @@ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { style } from '../../utils/style';
5
5
  import { Headline } from '../Headline/Headline';
6
- import type { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
6
+ import { CarouselBankHistoryCardContent } from './CarouselBankHistoryCardContent';
7
7
 
8
- interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {
9
- blocksLength?: number;
10
- activeIndex?: number;
11
- }
8
+ interface CarouselBankHistoryCardProps extends CarouselBankHistoryCardContent, UniBlockProps {}
12
9
 
13
10
  export const CarouselBankHistoryCard = JSX<CarouselBankHistoryCardProps>(
14
- ({ title, description, blocksLength = 0, activeIndex, options }) => {
15
- const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
16
- const isActive = orderNumber === activeIndex;
17
-
18
- return (
19
- <BlockWrapper className="flex h-[485px]" defaultPadding="p-0">
20
- {isActive ? (
21
- <div className="relative flex items-center w-full">
22
- <Headline
23
- headlineVersion="M"
24
- title={title}
25
- description={description}
26
- align="text-left"
27
- className={style(
28
- 'absolute z-10 h-[385px] w-[440px] p-8 text-white shadow-dark-blue',
29
- getActiveBlockPosition(orderNumber, blocksLength),
30
- getBackgroundColor(orderNumber),
31
- )}
32
- />
33
- </div>
34
- ) : (
35
- <div className="flex w-full items-center justify-center">
36
- <div
37
- className={style(
38
- 'flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]',
39
- getBackgroundColor(orderNumber),
40
- )}
41
- >
42
- <span className={getTextColor(orderNumber)}>{title}</span>
43
- </div>
44
- </div>
45
- )}
46
- </BlockWrapper>
47
- );
48
- },
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
+ ),
49
23
  );
50
-
51
- const getBackgroundColor = (orderNumber: number) => {
52
- const division = orderNumber % 3;
53
- switch (division) {
54
- case 0:
55
- return 'bg-primary-main';
56
- case 1:
57
- return 'bg-green-light';
58
- case 2:
59
- return 'bg-yellow-light';
60
- default:
61
- return 'bg-primary-main';
62
- }
63
- };
64
-
65
- const getTextColor = (orderNumber: number) => {
66
- const division = orderNumber % 3;
67
- switch (division) {
68
- case 1:
69
- return 'gradient-color-text-on-yellow';
70
- case 2:
71
- return 'gradient-color-text-on-yellow';
72
- default:
73
- return 'gradient-color-text-on-green';
74
- }
75
- };
76
-
77
- const getActiveBlockPosition = (orderNumber: number, blocksLength: number) => {
78
- if (orderNumber === 0) {
79
- return 'left-9';
80
- } else if (orderNumber === blocksLength - 1) {
81
- return 'right-9';
82
- } else {
83
- return '-left-[25px]';
84
- }
85
- };
@@ -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}
@@ -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
  );
@@ -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>
@@ -15,7 +15,7 @@ export const TextInformationLink = JSX<Partial<TextInformationLinkProps>>(
15
15
 
16
16
  return (
17
17
  <a
18
- className={`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`}
18
+ className={`text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`}
19
19
  href={href}
20
20
  target={target}
21
21
  onClick={onClick}
@@ -50,7 +50,7 @@ const renderCalendar = (calendar: CalendarItem[]) => {
50
50
  style={{ flexBasis: _.flexBasis }}
51
51
  >
52
52
  <div className="flex">{renderMonthImages(_)}</div>
53
- <div className="text-s-light text-primary-text mt-3">
53
+ <div className="text-s font-light text-primary-text mt-3">
54
54
  <span>{_.text}</span>&thinsp;
55
55
  <span className="text-primary-main">{_.greenText}</span>
56
56
  </div>
@@ -53,7 +53,7 @@ export const DropdownMenu = JSX<DropdownMenuProps>(({ className = '', items, act
53
53
  <a
54
54
  key={item.href || String(i)}
55
55
  className={style(
56
- 'text-l-light pb-4 hover:text-primary-main',
56
+ 'text-l font-light pb-4 hover:text-primary-main',
57
57
  item === activeItem ? 'text-primary-main' : '',
58
58
  )}
59
59
  {...link(linkProps)}
@@ -3,16 +3,6 @@
3
3
  "title": "Заголовок",
4
4
  "description": "Описание",
5
5
  "align": "center",
6
- "bgColorHeadline": "transparent",
7
- "headlineVersion": "M",
8
- "image": {
9
- "format": "webp",
10
- "size": {
11
- "width": 180,
12
- "height": 180
13
- },
14
- "alt": "",
15
- "title": ""
16
- }
6
+ "headlineVersion": "M"
17
7
  }
18
8
  }
@@ -45,6 +45,7 @@ export const Headline = JSX<HeadlineProps>(
45
45
  {description ? (
46
46
  <Paragraph
47
47
  size={versionStyle.descriptionSize as TextSize}
48
+ font={versionStyle.descriptionWeight}
48
49
  align={align}
49
50
  {...descriptionStyle}
50
51
  >
@@ -1,14 +1,12 @@
1
1
  import type { HeadlineProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
4
- import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
4
 
6
5
  /**
7
6
  * @title Заголовок
8
7
  */
9
8
  export type HeadlineContent = UniBlockContent &
10
- HeadlineProps &
11
- ImageContent & {
9
+ HeadlineProps & {
12
10
  /** @hidden */
13
11
  as?: HeadingTagType;
14
12
  /** @title Внутренний отступ блока */
@@ -1,43 +1,50 @@
1
1
  import type { HeadlineSmallVersion, HeadlineVersion } from '../../model/HeadlineType';
2
2
  import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
3
- import type { TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
3
+ import type { FontWeight, TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
4
4
 
5
5
  export const headlineVersionStyles: Record<
6
6
  HeadlineVersion,
7
7
  {
8
8
  title: HeadingCommonProps;
9
9
  descriptionSize: TextSize | TitleSize;
10
+ descriptionWeight: FontWeight;
10
11
  descriptionStyle: string;
11
12
  }
12
13
  > = {
13
14
  XXL: {
14
15
  title: { headingType: 'h0', as: 'h1' },
15
16
  descriptionSize: 'text-h5',
17
+ descriptionWeight: 'font-normal',
16
18
  descriptionStyle: 'mt-m',
17
19
  },
18
20
  XL: {
19
21
  title: { headingType: 'h1', as: 'h1' },
20
- descriptionSize: 'text-xl-light',
22
+ descriptionSize: 'text-xl',
23
+ descriptionWeight: 'font-light',
21
24
  descriptionStyle: 'mt-s',
22
25
  },
23
26
  L: {
24
27
  title: { headingType: 'h2', as: 'h2' },
25
- descriptionSize: 'text-xl-light',
28
+ descriptionSize: 'text-xl',
29
+ descriptionWeight: 'font-light',
26
30
  descriptionStyle: 'mt-s',
27
31
  },
28
32
  M: {
29
33
  title: { headingType: 'h3', as: 'h2' },
30
- descriptionSize: 'text-xl-light',
34
+ descriptionSize: 'text-xl',
35
+ descriptionWeight: 'font-light',
31
36
  descriptionStyle: 'mt-text',
32
37
  },
33
38
  S: {
34
39
  title: { headingType: 'h4', as: 'h2' },
35
- descriptionSize: 'text-xl-light',
40
+ descriptionSize: 'text-xl',
41
+ descriptionWeight: 'font-light',
36
42
  descriptionStyle: 'mt-xs',
37
43
  },
38
44
  XS: {
39
45
  title: { headingType: 'h5', as: 'h2' },
40
- descriptionSize: 'text-l-light',
46
+ descriptionSize: 'text-l',
47
+ descriptionWeight: 'font-light',
41
48
  descriptionStyle: 'mt-xs',
42
49
  },
43
50
  };
@@ -74,7 +74,7 @@ function renderNavButton({ title, i, isActive, onClick }: NavButtonProps) {
74
74
  key={String(i)}
75
75
  onClick={onClick}
76
76
  aria-label={title}
77
- className={`box-border px-4 py-3 text-m-light ${btnClassName}`}
77
+ className={`box-border px-4 py-3 text-m font-light ${btnClassName}`}
78
78
  >
79
79
  {title}
80
80
  </button>
@@ -45,7 +45,7 @@ export const InvestmentInfo = JSX<InvestmentInfoProps>((props) => {
45
45
 
46
46
  return (
47
47
  <BlockWrapper className={className} {...rest}>
48
- <div className="container text-m-light">
48
+ <div className="container text-m font-light">
49
49
  {columns?.length ? (
50
50
  <div>
51
51
  <div className="flex items-end relative pl-9 pr-5 text-white">
@@ -2,9 +2,9 @@ import { List } from '../../ui-kit/List/List';
2
2
 
3
3
  export const renderList = (items?: string[]) => {
4
4
  return items?.length ? (
5
- <List items={items} className="text-l-light mb-2 last:mb-0" />
5
+ <List items={items} className="text-l font-light mb-2 last:mb-0" />
6
6
  ) : (
7
- <span className="text-m-light text-secondary-text">
7
+ <span className="text-m font-light text-secondary-text">
8
8
  Наведите камеру телефона на QR-код и скачайте приложение
9
9
  </span>
10
10
  );
@@ -57,7 +57,7 @@ export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
57
57
  <div className="text-h2">{name}</div>
58
58
  {renderCurrentDaySchedule(currentWeekDay)}
59
59
  </div>
60
- <div className="flex text-l-light pt-4">
60
+ <div className="flex text-l font-light pt-4">
61
61
  <Icon name="GeolocationIcon" width="24" height="24" className="pr-1" />
62
62
  {address}
63
63
  </div>