@redneckz/wildless-cms-uni-blocks 0.14.65 → 0.14.66

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 (1114) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +166 -147
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  5. package/bundle/components/Bonus/BonusContent.d.ts +1 -1
  6. package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  7. package/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
  8. package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
  9. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  10. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  11. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  12. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  13. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  14. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  15. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  16. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  17. package/bundle/components/Footer/FooterDataProps.d.ts +3 -3
  18. package/bundle/components/Footer/SocialMedia.d.ts +4 -4
  19. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  20. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  21. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  22. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  23. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  24. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  25. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  26. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  27. package/bundle/model/ButtonVersion.d.ts +2 -3
  28. package/bundle/model/LinkButtonVersion.d.ts +6 -0
  29. package/bundle/ui-kit/ARIAProps.d.ts +4 -0
  30. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  31. package/bundle/ui-kit/Button/Button.d.ts +12 -1
  32. package/bundle/ui-kit/Button/useButton.d.ts +2 -0
  33. package/bundle/ui-kit/ControlStateProps.d.ts +4 -0
  34. package/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
  35. package/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  36. package/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  37. package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  38. package/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  39. package/{dist/ui-kit/Button/ButtonContent.d.ts → bundle/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
  40. package/{dist/ui-kit/Button/ButtonProps.d.ts → bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
  41. package/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  42. package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  43. package/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
  44. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  45. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  46. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  47. package/dist/components/ApplicationForm/Footnote.js +2 -2
  48. package/dist/components/ApplicationForm/Footnote.js.map +1 -1
  49. package/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
  50. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  51. package/dist/components/Bonus/Bonus.js +1 -1
  52. package/dist/components/Bonus/Bonus.js.map +1 -1
  53. package/dist/components/Bonus/BonusContent.d.ts +1 -1
  54. package/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  55. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  56. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  57. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  58. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  59. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  60. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  61. package/dist/components/Calculator/Calculator.js +1 -1
  62. package/dist/components/Calculator/Calculator.js.map +1 -1
  63. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  64. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  65. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  66. package/dist/components/Calculator/DepositCalculatorForm.js +1 -1
  67. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  68. package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  69. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  70. package/dist/components/CardTransfer/CardTransfer.js +2 -9
  71. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  72. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  73. package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  74. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  75. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  76. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  77. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  78. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  79. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  80. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  81. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  82. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  83. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  84. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  85. package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  86. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  87. package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  88. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  89. package/dist/components/ComparisonTable/HeaderCell.js +2 -2
  90. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  91. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  92. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  93. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  94. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  95. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  96. package/dist/components/Depository/DepositoryFilter.js +2 -1
  97. package/dist/components/Depository/DepositoryFilter.js.map +1 -1
  98. package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  99. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  100. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  101. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  102. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  103. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  104. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  105. package/dist/components/Footer/Contacts.js +2 -2
  106. package/dist/components/Footer/Contacts.js.map +1 -1
  107. package/dist/components/Footer/Footer.js +2 -2
  108. package/dist/components/Footer/Footer.js.map +1 -1
  109. package/dist/components/Footer/Footer.mobile.js +2 -2
  110. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  111. package/dist/components/Footer/FooterDataProps.d.ts +3 -3
  112. package/dist/components/Footer/SocialMedia.d.ts +4 -4
  113. package/dist/components/Footer/SocialMedia.js +1 -1
  114. package/dist/components/Footer/SocialMedia.js.map +1 -1
  115. package/dist/components/Header/HeaderTop.js +2 -2
  116. package/dist/components/Header/HeaderTop.js.map +1 -1
  117. package/dist/components/Header/InternetBankButton.js +2 -2
  118. package/dist/components/Header/InternetBankButton.js.map +1 -1
  119. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  120. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  121. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  122. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  123. package/dist/components/LikeControl/LikeControl.js +1 -1
  124. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  125. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  126. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  127. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  128. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  129. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  130. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  131. package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  132. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  133. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  134. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  135. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  136. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  137. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  138. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  139. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  140. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  141. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  142. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  143. package/dist/components/StepsBlock/renderStep.js +2 -2
  144. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  145. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  146. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  147. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  148. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  149. package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
  150. package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  151. package/dist/model/ButtonVersion.d.ts +2 -3
  152. package/dist/model/LinkButtonVersion.d.ts +6 -0
  153. package/dist/model/LinkButtonVersion.js +2 -0
  154. package/dist/model/LinkButtonVersion.js.map +1 -0
  155. package/dist/setup-fixture.js +4 -1
  156. package/dist/setup-fixture.js.map +1 -1
  157. package/dist/ui-kit/ARIAProps.d.ts +4 -0
  158. package/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
  159. package/dist/ui-kit/ARIAProps.js.map +1 -0
  160. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  161. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  162. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  163. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  164. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  165. package/dist/ui-kit/Button/Button.d.ts +12 -1
  166. package/dist/ui-kit/Button/Button.js +18 -13
  167. package/dist/ui-kit/Button/Button.js.map +1 -1
  168. package/dist/ui-kit/Button/useButton.d.ts +2 -0
  169. package/dist/ui-kit/Button/useButton.js +16 -0
  170. package/dist/ui-kit/Button/useButton.js.map +1 -0
  171. package/dist/ui-kit/ControlStateProps.d.ts +4 -0
  172. package/dist/ui-kit/ControlStateProps.js +2 -0
  173. package/dist/ui-kit/ControlStateProps.js.map +1 -0
  174. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
  175. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  176. package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  177. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  178. package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  179. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  180. package/dist/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
  181. package/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
  182. package/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  183. package/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  184. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  185. package/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  186. package/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  187. package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  188. package/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  189. package/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
  190. package/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  191. package/dist/ui-kit/LinkButton/LinkButton.js +19 -0
  192. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  193. package/{bundle/ui-kit/Button/ButtonContent.d.ts → dist/ui-kit/LinkButton/LinkButtonContent.d.ts} +3 -3
  194. package/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  195. package/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  196. package/{lib/ui-kit/Button/ButtonProps.d.ts → dist/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
  197. package/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
  198. package/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  199. package/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  200. package/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  201. package/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  202. package/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  203. package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
  204. package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  205. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
  206. package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  207. package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
  208. package/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  209. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  210. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  211. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  212. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  213. package/lib/common.css +1 -1
  214. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  215. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  216. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  217. package/lib/components/ApplicationForm/Footnote.js +2 -2
  218. package/lib/components/ApplicationForm/Footnote.js.map +1 -1
  219. package/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
  220. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  221. package/lib/components/Bonus/Bonus.js +1 -1
  222. package/lib/components/Bonus/Bonus.js.map +1 -1
  223. package/lib/components/Bonus/BonusContent.d.ts +1 -1
  224. package/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  225. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  226. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  227. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  228. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  229. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  230. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  231. package/lib/components/Calculator/Calculator.js +1 -1
  232. package/lib/components/Calculator/Calculator.js.map +1 -1
  233. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  234. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  235. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  236. package/lib/components/Calculator/DepositCalculatorForm.js +1 -1
  237. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  238. package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  239. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  240. package/lib/components/CardTransfer/CardTransfer.js +2 -9
  241. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  242. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  243. package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  244. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  245. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  246. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  247. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  248. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +3 -3
  249. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +3 -3
  250. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  251. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  252. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  253. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  254. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  255. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  256. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  257. package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  258. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  259. package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  260. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  261. package/lib/components/ComparisonTable/HeaderCell.js +2 -2
  262. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  263. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  264. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  265. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  266. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  267. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  268. package/lib/components/Depository/DepositoryFilter.js +2 -1
  269. package/lib/components/Depository/DepositoryFilter.js.map +1 -1
  270. package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  271. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  272. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  273. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  274. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  275. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  276. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  277. package/lib/components/Footer/Contacts.js +2 -2
  278. package/lib/components/Footer/Contacts.js.map +1 -1
  279. package/lib/components/Footer/Footer.js +2 -2
  280. package/lib/components/Footer/Footer.js.map +1 -1
  281. package/lib/components/Footer/Footer.mobile.js +2 -2
  282. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  283. package/lib/components/Footer/FooterDataProps.d.ts +3 -3
  284. package/lib/components/Footer/SocialMedia.d.ts +4 -4
  285. package/lib/components/Footer/SocialMedia.js +1 -1
  286. package/lib/components/Footer/SocialMedia.js.map +1 -1
  287. package/lib/components/Header/HeaderTop.js +2 -2
  288. package/lib/components/Header/HeaderTop.js.map +1 -1
  289. package/lib/components/Header/InternetBankButton.js +2 -2
  290. package/lib/components/Header/InternetBankButton.js.map +1 -1
  291. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  292. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  293. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  294. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  295. package/lib/components/LikeControl/LikeControl.js +1 -1
  296. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  297. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  298. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  299. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  300. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  301. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  302. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  303. package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  304. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  305. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  306. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  307. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  308. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  309. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  310. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  311. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  312. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  313. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  314. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  315. package/lib/components/StepsBlock/renderStep.js +2 -2
  316. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  317. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  318. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  319. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  320. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  321. package/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
  322. package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  323. package/lib/model/ButtonVersion.d.ts +2 -3
  324. package/lib/model/LinkButtonVersion.d.ts +6 -0
  325. package/lib/model/LinkButtonVersion.js +2 -0
  326. package/lib/model/LinkButtonVersion.js.map +1 -0
  327. package/lib/setup-fixture.js +4 -1
  328. package/lib/setup-fixture.js.map +1 -1
  329. package/lib/ui-kit/ARIAProps.d.ts +4 -0
  330. package/lib/ui-kit/ARIAProps.js +2 -0
  331. package/lib/ui-kit/ARIAProps.js.map +1 -0
  332. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  333. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  334. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  335. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  336. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  337. package/lib/ui-kit/Button/Button.d.ts +12 -1
  338. package/lib/ui-kit/Button/Button.fixture.d.ts +2 -10
  339. package/lib/ui-kit/Button/Button.js +18 -13
  340. package/lib/ui-kit/Button/Button.js.map +1 -1
  341. package/lib/ui-kit/Button/useButton.d.ts +2 -0
  342. package/lib/ui-kit/Button/useButton.js +13 -0
  343. package/lib/ui-kit/Button/useButton.js.map +1 -0
  344. package/lib/ui-kit/ControlStateProps.d.ts +4 -0
  345. package/lib/ui-kit/ControlStateProps.js +2 -0
  346. package/lib/ui-kit/ControlStateProps.js.map +1 -0
  347. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
  348. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  349. package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  350. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  351. package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  352. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  353. package/lib/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
  354. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
  355. package/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  356. package/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  357. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  358. package/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  359. package/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  360. package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  361. package/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  362. package/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
  363. package/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  364. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +14 -0
  365. package/lib/ui-kit/LinkButton/LinkButton.js +17 -0
  366. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  367. package/lib/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
  368. package/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  369. package/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  370. package/{mobile/bundle/ui-kit/Button/ButtonProps.d.ts → lib/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
  371. package/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
  372. package/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  373. package/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  374. package/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  375. package/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  376. package/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  377. package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
  378. package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +8 -0
  379. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
  380. package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  381. package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.d.ts +1 -1
  382. package/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  383. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  384. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  385. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  386. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  387. package/mobile/bundle/bundle.umd.js +162 -143
  388. package/mobile/bundle/bundle.umd.min.js +1 -1
  389. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  390. package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -1
  391. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  392. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
  393. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
  394. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  395. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  396. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  397. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  398. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  399. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  400. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  401. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  402. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +3 -3
  403. package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -4
  404. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  405. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  406. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  407. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  408. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  409. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  410. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  411. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  412. package/mobile/bundle/model/ButtonVersion.d.ts +2 -3
  413. package/mobile/bundle/model/LinkButtonVersion.d.ts +6 -0
  414. package/mobile/bundle/ui-kit/ARIAProps.d.ts +4 -0
  415. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  416. package/mobile/bundle/ui-kit/Button/Button.d.ts +12 -1
  417. package/mobile/bundle/ui-kit/Button/useButton.d.ts +2 -0
  418. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +4 -0
  419. package/mobile/bundle/ui-kit/{Button → LinkButton}/ArrowButton.d.ts +4 -4
  420. package/mobile/bundle/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  421. package/mobile/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  422. package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  423. package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  424. package/mobile/bundle/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +3 -3
  425. package/{bundle/ui-kit/Button/ButtonProps.d.ts → mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +2 -2
  426. package/mobile/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  427. package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  428. package/mobile/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +1 -1
  429. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  430. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  431. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  432. package/mobile/dist/components/ApplicationForm/Footnote.js +2 -2
  433. package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
  434. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
  435. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  436. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  437. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  438. package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -1
  439. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  440. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  441. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  442. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  443. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  444. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  445. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  446. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  447. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  448. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  449. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +1 -1
  450. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  451. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  452. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  453. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -9
  454. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  455. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  456. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  457. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  458. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  459. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  460. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  461. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  462. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  463. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  464. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  465. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  466. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  467. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  468. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  469. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  470. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  471. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  472. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  473. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  474. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  475. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  476. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  477. package/mobile/dist/components/Depository/DepositoryFilter.js +2 -1
  478. package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
  479. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  480. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  481. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  482. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  483. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  484. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  485. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  486. package/mobile/dist/components/Footer/Contacts.js +2 -2
  487. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  488. package/mobile/dist/components/Footer/Footer.js +2 -2
  489. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  490. package/mobile/dist/components/Footer/FooterDataProps.d.ts +3 -3
  491. package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -4
  492. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  493. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  494. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  495. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  496. package/mobile/dist/components/Header/InternetBankButton.js +2 -2
  497. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
  498. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  499. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  500. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  501. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  502. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  503. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  504. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  505. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  506. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  507. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  508. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  509. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  510. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  511. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  512. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  513. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  514. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  515. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  516. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  517. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  518. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  519. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  520. package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
  521. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  522. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  523. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  524. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  525. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  526. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
  527. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  528. package/mobile/dist/model/ButtonVersion.d.ts +2 -3
  529. package/mobile/dist/model/LinkButtonVersion.d.ts +6 -0
  530. package/mobile/dist/model/LinkButtonVersion.js +2 -0
  531. package/mobile/dist/model/LinkButtonVersion.js.map +1 -0
  532. package/mobile/dist/setup-fixture.js +4 -1
  533. package/mobile/dist/setup-fixture.js.map +1 -1
  534. package/mobile/dist/ui-kit/ARIAProps.d.ts +4 -0
  535. package/mobile/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
  536. package/mobile/dist/ui-kit/ARIAProps.js.map +1 -0
  537. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  538. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  539. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  540. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  541. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  542. package/mobile/dist/ui-kit/Button/Button.d.ts +12 -1
  543. package/mobile/dist/ui-kit/Button/Button.js +18 -13
  544. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  545. package/mobile/dist/ui-kit/Button/useButton.d.ts +2 -0
  546. package/mobile/dist/ui-kit/Button/useButton.js +16 -0
  547. package/mobile/dist/ui-kit/Button/useButton.js.map +1 -0
  548. package/mobile/dist/ui-kit/ControlStateProps.d.ts +4 -0
  549. package/mobile/dist/ui-kit/ControlStateProps.js +2 -0
  550. package/mobile/dist/ui-kit/ControlStateProps.js.map +1 -0
  551. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  552. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  553. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  554. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  555. package/mobile/dist/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
  556. package/mobile/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +2 -2
  557. package/mobile/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  558. package/mobile/dist/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  559. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  560. package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  561. package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  562. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  563. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  564. package/mobile/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
  565. package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  566. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +19 -0
  567. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  568. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
  569. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  570. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  571. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
  572. package/mobile/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
  573. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  574. package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  575. package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  576. package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  577. package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  578. package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
  579. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  580. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
  581. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  582. package/mobile/dist/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
  583. package/mobile/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  584. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  585. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  586. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  587. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  588. package/mobile/lib/common.css +1 -1
  589. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  590. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  591. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  592. package/mobile/lib/components/ApplicationForm/Footnote.js +2 -2
  593. package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
  594. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
  595. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  596. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  597. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  598. package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -1
  599. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  600. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  601. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  602. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  603. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  604. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  605. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  606. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  607. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  608. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  609. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +1 -1
  610. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  611. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  612. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  613. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -9
  614. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  615. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  616. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  617. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  618. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  619. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  620. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  621. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  622. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  623. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  624. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  625. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  626. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  627. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  628. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  629. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  630. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  631. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  632. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  633. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  634. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  635. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  636. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  637. package/mobile/lib/components/Depository/DepositoryFilter.js +2 -1
  638. package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
  639. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  640. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  641. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  642. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  643. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  644. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  645. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  646. package/mobile/lib/components/Footer/Contacts.js +2 -2
  647. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  648. package/mobile/lib/components/Footer/Footer.js +2 -2
  649. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  650. package/mobile/lib/components/Footer/FooterDataProps.d.ts +3 -3
  651. package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -4
  652. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  653. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  654. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  655. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  656. package/mobile/lib/components/Header/InternetBankButton.js +2 -2
  657. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
  658. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  659. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  660. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  661. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  662. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  663. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  664. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  665. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  666. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  667. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  668. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  669. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  670. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  671. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  672. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  673. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  674. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  675. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  676. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  677. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  678. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  679. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  680. package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
  681. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  682. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  683. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  684. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  685. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  686. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
  687. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  688. package/mobile/lib/model/ButtonVersion.d.ts +2 -3
  689. package/mobile/lib/model/LinkButtonVersion.d.ts +6 -0
  690. package/mobile/lib/model/LinkButtonVersion.js +2 -0
  691. package/mobile/lib/model/LinkButtonVersion.js.map +1 -0
  692. package/mobile/lib/setup-fixture.js +4 -1
  693. package/mobile/lib/setup-fixture.js.map +1 -1
  694. package/mobile/lib/ui-kit/ARIAProps.d.ts +4 -0
  695. package/mobile/lib/ui-kit/ARIAProps.js +2 -0
  696. package/mobile/lib/ui-kit/ARIAProps.js.map +1 -0
  697. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  698. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  699. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  700. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  701. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  702. package/mobile/lib/ui-kit/Button/Button.d.ts +12 -1
  703. package/mobile/lib/ui-kit/Button/Button.js +18 -13
  704. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  705. package/mobile/lib/ui-kit/Button/useButton.d.ts +2 -0
  706. package/mobile/lib/ui-kit/Button/useButton.js +13 -0
  707. package/mobile/lib/ui-kit/Button/useButton.js.map +1 -0
  708. package/mobile/lib/ui-kit/ControlStateProps.d.ts +4 -0
  709. package/mobile/lib/ui-kit/ControlStateProps.js +2 -0
  710. package/mobile/lib/ui-kit/ControlStateProps.js.map +1 -0
  711. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  712. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  713. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  714. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  715. package/mobile/lib/ui-kit/LinkButton/ArrowButton.d.ts +4 -0
  716. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/ArrowButton.js +2 -2
  717. package/mobile/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  718. package/mobile/lib/ui-kit/LinkButton/ButtonInner.d.ts +2 -0
  719. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  720. package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +7 -0
  721. package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  722. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +6 -0
  723. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  724. package/mobile/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
  725. package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +2 -0
  726. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +17 -0
  727. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  728. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.d.ts +20 -0
  729. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  730. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  731. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +15 -0
  732. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
  733. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  734. package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +5 -0
  735. package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  736. package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  737. package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  738. package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
  739. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  740. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderButtonsSection.js +2 -2
  741. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  742. package/mobile/lib/ui-kit/LinkButton/useFormSubmit.d.ts +3 -0
  743. package/mobile/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  744. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  745. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  746. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  747. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  748. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
  749. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
  750. package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -3
  751. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
  752. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  753. package/mobile/src/components/Bonus/BonusContent.ts +1 -1
  754. package/mobile/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  755. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  756. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  757. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  758. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  759. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  760. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
  761. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  762. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -17
  763. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  764. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  765. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  766. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  767. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  768. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
  769. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  770. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  771. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
  772. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
  773. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  774. package/mobile/src/components/ComparisonTable/TableColumn.tsx +5 -5
  775. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  776. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  777. package/mobile/src/components/Depository/DepositoryFilter.tsx +4 -6
  778. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
  779. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  780. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  781. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  782. package/mobile/src/components/Footer/Contacts.tsx +2 -2
  783. package/mobile/src/components/Footer/Footer.tsx +2 -2
  784. package/mobile/src/components/Footer/FooterDataProps.ts +3 -3
  785. package/mobile/src/components/Footer/SocialMedia.tsx +6 -6
  786. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  787. package/mobile/src/components/Header/InternetBankButton.tsx +3 -3
  788. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  789. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  790. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  791. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  792. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  793. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
  794. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
  795. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  796. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  797. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
  798. package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
  799. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -3
  800. package/mobile/src/components/StepsBlock/renderStep.tsx +5 -5
  801. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
  802. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  803. package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
  804. package/mobile/src/model/ButtonVersion.ts +2 -10
  805. package/mobile/src/model/LinkButtonVersion.ts +13 -0
  806. package/mobile/src/setup-fixture.ts +6 -1
  807. package/mobile/src/ui-kit/ARIAProps.ts +4 -0
  808. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
  809. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  810. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
  811. package/mobile/src/ui-kit/Button/Button.tsx +70 -44
  812. package/mobile/src/ui-kit/Button/useButton.ts +16 -0
  813. package/mobile/src/ui-kit/ControlStateProps.ts +4 -0
  814. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  815. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
  816. package/mobile/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
  817. package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
  818. package/mobile/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
  819. package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
  820. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
  821. package/mobile/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
  822. package/mobile/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
  823. package/mobile/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
  824. package/mobile/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
  825. package/mobile/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
  826. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  827. package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
  828. package/package.json +1 -1
  829. package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
  830. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
  831. package/src/components/ApplicationForm/Footnote.tsx +3 -3
  832. package/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
  833. package/src/components/Bonus/Bonus.fixture.mobile.tsx +2 -2
  834. package/src/components/Bonus/Bonus.fixture.tsx +2 -2
  835. package/src/components/Bonus/Bonus.tsx +1 -1
  836. package/src/components/Bonus/BonusContent.ts +1 -1
  837. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
  838. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
  839. package/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  840. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  841. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  842. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  843. package/src/components/Calculator/Calculator.fixture.mobile.tsx +3 -3
  844. package/src/components/Calculator/Calculator.fixture.tsx +2 -2
  845. package/src/components/Calculator/Calculator.tsx +1 -1
  846. package/src/components/Calculator/CalculatorContent.ts +1 -1
  847. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  848. package/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
  849. package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  850. package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +2 -2
  851. package/src/components/CardTransfer/CardTransfer.fixture.tsx +2 -2
  852. package/src/components/CardTransfer/CardTransfer.tsx +3 -17
  853. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  854. package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  855. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +2 -2
  856. package/src/components/CarouselCard/CarouselCard.fixture.tsx +2 -2
  857. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  858. package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  859. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +2 -2
  860. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -2
  861. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  862. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
  863. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +3 -3
  864. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +3 -3
  865. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  866. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +5 -5
  867. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +6 -5
  868. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  869. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
  870. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
  871. package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  872. package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
  873. package/src/components/ComparisonTable/TableColumn.tsx +5 -5
  874. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -2
  875. package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  876. package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  877. package/src/components/Depository/DepositoryFilter.tsx +4 -6
  878. package/src/components/ErrorBlock/ErrorBlock.fixture.mobile.tsx +2 -2
  879. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -2
  880. package/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
  881. package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  882. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  883. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +2 -2
  884. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +2 -2
  885. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  886. package/src/components/Footer/Contacts.tsx +2 -2
  887. package/src/components/Footer/Footer.mobile.tsx +2 -2
  888. package/src/components/Footer/Footer.tsx +3 -3
  889. package/src/components/Footer/FooterDataProps.ts +3 -3
  890. package/src/components/Footer/SocialMedia.tsx +6 -6
  891. package/src/components/Header/HeaderTop.tsx +3 -3
  892. package/src/components/Header/InternetBankButton.tsx +3 -3
  893. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
  894. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  895. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  896. package/src/components/LikeControl/LikeControl.tsx +1 -1
  897. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -3
  898. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -3
  899. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  900. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  901. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
  902. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
  903. package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -3
  904. package/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
  905. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
  906. package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
  907. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
  908. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
  909. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  910. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  911. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
  912. package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
  913. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  914. package/src/components/StepsBlock/StepsBlockContent.ts +3 -3
  915. package/src/components/StepsBlock/renderStep.tsx +5 -5
  916. package/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
  917. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  918. package/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
  919. package/src/model/ButtonVersion.ts +2 -10
  920. package/src/model/LinkButtonVersion.ts +13 -0
  921. package/src/setup-fixture.ts +6 -1
  922. package/src/ui-kit/ARIAProps.ts +4 -0
  923. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
  924. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  925. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
  926. package/src/ui-kit/Button/Button.fixture.tsx +53 -190
  927. package/src/ui-kit/Button/Button.tsx +70 -44
  928. package/src/ui-kit/Button/useButton.ts +16 -0
  929. package/src/ui-kit/ControlStateProps.ts +4 -0
  930. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  931. package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  932. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
  933. package/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +7 -7
  934. package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/ButtonInner.tsx +5 -5
  935. package/src/ui-kit/LinkButton/ButtonsSectionContent.ts +8 -0
  936. package/src/ui-kit/LinkButton/GetButtonClassParams.ts +7 -0
  937. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +216 -0
  938. package/src/ui-kit/LinkButton/LinkButton.tsx +53 -0
  939. package/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +3 -3
  940. package/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +2 -2
  941. package/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +4 -4
  942. package/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +5 -5
  943. package/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +1 -1
  944. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  945. package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
  946. package/tailwind.config.cjs +2 -1
  947. package/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
  948. package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  949. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  950. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  951. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  952. package/dist/ui-kit/Button/ArrowButton.js.map +0 -1
  953. package/dist/ui-kit/Button/ButtonContent.js.map +0 -1
  954. package/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
  955. package/dist/ui-kit/Button/ButtonInner.js.map +0 -1
  956. package/dist/ui-kit/Button/ButtonProps.js.map +0 -1
  957. package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  958. package/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  959. package/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  960. package/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  961. package/dist/ui-kit/Button/LikeButton.js.map +0 -1
  962. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  963. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  964. package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  965. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  966. package/dist/ui-kit/Button/renderArrows.js.map +0 -1
  967. package/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  968. package/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
  969. package/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
  970. package/lib/ui-kit/Button/ArrowButton.js.map +0 -1
  971. package/lib/ui-kit/Button/ButtonContent.js +0 -2
  972. package/lib/ui-kit/Button/ButtonContent.js.map +0 -1
  973. package/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
  974. package/lib/ui-kit/Button/ButtonInner.js.map +0 -1
  975. package/lib/ui-kit/Button/ButtonProps.js +0 -2
  976. package/lib/ui-kit/Button/ButtonProps.js.map +0 -1
  977. package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  978. package/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  979. package/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  980. package/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  981. package/lib/ui-kit/Button/LikeButton.js.map +0 -1
  982. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  983. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  984. package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  985. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  986. package/lib/ui-kit/Button/renderArrows.js.map +0 -1
  987. package/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -8
  988. package/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
  989. package/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
  990. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
  991. package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  992. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  993. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  994. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  995. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +0 -4
  996. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +0 -1
  997. package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +0 -20
  998. package/mobile/dist/ui-kit/Button/ButtonContent.js.map +0 -1
  999. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
  1000. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +0 -1
  1001. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -15
  1002. package/mobile/dist/ui-kit/Button/ButtonProps.js.map +0 -1
  1003. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1004. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1005. package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1006. package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1007. package/mobile/dist/ui-kit/Button/LikeButton.js.map +0 -1
  1008. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1009. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1010. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1011. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1012. package/mobile/dist/ui-kit/Button/renderArrows.js.map +0 -1
  1013. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1014. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1015. package/mobile/dist/ui-kit/Button/useFormSubmit.d.ts +0 -3
  1016. package/mobile/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
  1017. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +0 -4
  1018. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +0 -1
  1019. package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +0 -20
  1020. package/mobile/lib/ui-kit/Button/ButtonContent.js +0 -2
  1021. package/mobile/lib/ui-kit/Button/ButtonContent.js.map +0 -1
  1022. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
  1023. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +0 -1
  1024. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -15
  1025. package/mobile/lib/ui-kit/Button/ButtonProps.js +0 -2
  1026. package/mobile/lib/ui-kit/Button/ButtonProps.js.map +0 -1
  1027. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1028. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1029. package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1030. package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1031. package/mobile/lib/ui-kit/Button/LikeButton.js.map +0 -1
  1032. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1033. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1034. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1035. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1036. package/mobile/lib/ui-kit/Button/renderArrows.js.map +0 -1
  1037. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1038. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1039. package/mobile/lib/ui-kit/Button/useFormSubmit.d.ts +0 -3
  1040. package/mobile/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
  1041. package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
  1042. package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
  1043. package/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
  1044. package/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
  1045. /package/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1046. /package/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1047. /package/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1048. /package/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1049. /package/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
  1050. /package/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1051. /package/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1052. /package/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1053. /package/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
  1054. /package/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
  1055. /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1056. /package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
  1057. /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1058. /package/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
  1059. /package/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1060. /package/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
  1061. /package/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
  1062. /package/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
  1063. /package/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1064. /package/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1065. /package/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1066. /package/lib/ui-kit/{Button → LinkButton}/LikeButton.fixture.d.ts +0 -0
  1067. /package/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
  1068. /package/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
  1069. /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1070. /package/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
  1071. /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1072. /package/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
  1073. /package/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1074. /package/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
  1075. /package/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
  1076. /package/mobile/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1077. /package/mobile/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1078. /package/mobile/bundle/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1079. /package/mobile/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1080. /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
  1081. /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1082. /package/mobile/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1083. /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1084. /package/mobile/dist/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
  1085. /package/mobile/dist/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
  1086. /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1087. /package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
  1088. /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1089. /package/mobile/dist/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
  1090. /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1091. /package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
  1092. /package/mobile/dist/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
  1093. /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +0 -0
  1094. /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1095. /package/mobile/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1096. /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.d.ts +0 -0
  1097. /package/mobile/lib/ui-kit/{Button → LinkButton}/LikeButton.js +0 -0
  1098. /package/mobile/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +0 -0
  1099. /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +0 -0
  1100. /package/mobile/lib/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +0 -0
  1101. /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.d.ts +0 -0
  1102. /package/mobile/lib/ui-kit/{Button → LinkButton}/getRegularButtonClasses.js +0 -0
  1103. /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +0 -0
  1104. /package/mobile/lib/ui-kit/{Button → LinkButton}/renderArrows.js +0 -0
  1105. /package/mobile/lib/ui-kit/{Button → LinkButton}/useFormSubmit.js +0 -0
  1106. /package/mobile/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
  1107. /package/mobile/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
  1108. /package/mobile/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
  1109. /package/mobile/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
  1110. /package/src/ui-kit/{Button → LinkButton}/LikeButton.fixture.tsx +0 -0
  1111. /package/src/ui-kit/{Button → LinkButton}/LikeButton.tsx +0 -0
  1112. /package/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +0 -0
  1113. /package/src/ui-kit/{Button → LinkButton}/getRegularButtonClasses.ts +0 -0
  1114. /package/src/ui-kit/{Button → LinkButton}/renderArrows.tsx +0 -0
@@ -409,11 +409,27 @@
409
409
  return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : 'p-6xl', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
410
410
  });
411
411
 
412
- const useDialogManager = () => ({
413
- open: (dialog, options = {}) => defaultEventBus.fire('dialog', { type: 'open', dialog, ...options }),
414
- close: () => defaultEventBus.fire('dialog', { type: 'close' }),
415
- closeAll: () => defaultEventBus.fire('dialog', { type: 'close', all: true }),
412
+ function useRouter() {
413
+ return useRouter._impl();
414
+ }
415
+ useRouter._impl = () => ({
416
+ isReady: false,
417
+ href: globalThis.location?.href || '/',
418
+ pathname: globalThis.location?.pathname || '/',
419
+ query: {},
420
+ push: () => {
421
+ // Do nothing
422
+ },
423
+ replace: () => {
424
+ // Do nothing
425
+ },
426
+ back: () => {
427
+ // Do nothing
428
+ },
416
429
  });
430
+ useRouter.setup = (impl) => {
431
+ useRouter._impl = impl;
432
+ };
417
433
 
418
434
  const dirname = (path) => path?.split('/').slice(0, -1).join('/');
419
435
 
@@ -441,63 +457,58 @@
441
457
  };
442
458
  const hasPrefix = (href, prefix) => prefix && href && href.startsWith(prefix);
443
459
 
444
- /* eslint-disable @typescript-eslint/ban-types */
445
- const handlerDecorator = (handler, targetContent) => {
446
- return handlerDecorator._impl(handler, targetContent);
447
- };
448
- handlerDecorator._impl = (handler) => handler;
449
- handlerDecorator.setup = (impl) => {
450
- handlerDecorator._impl = impl;
451
- };
460
+ const isOnlyDigits = (str) => str && !/\D/.test(str);
452
461
 
453
- function useRouter() {
454
- return useRouter._impl();
455
- }
456
- useRouter._impl = () => ({
457
- isReady: false,
458
- href: globalThis.location?.href || '/',
459
- pathname: globalThis.location?.pathname || '/',
460
- query: {},
461
- push: () => {
462
- // Do nothing
463
- },
464
- replace: () => {
465
- // Do nothing
466
- },
467
- back: () => {
468
- // Do nothing
469
- },
462
+ const svgUseStyleMap = {
463
+ normal: '',
464
+ color: 'text-primary-main',
465
+ black: 'text-black',
466
+ white: 'text-black',
467
+ };
468
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', width, height, }) => {
469
+ const router = useRouter();
470
+ const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons', `${name}.svg`));
471
+ if (iconVersion !== 'normal') {
472
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
473
+ }
474
+ return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
470
475
  });
471
- useRouter.setup = (impl) => {
472
- useRouter._impl = impl;
476
+ const getInlineStyle = (className, height) => {
477
+ if (className?.includes('h-')) {
478
+ return {};
479
+ }
480
+ return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
473
481
  };
482
+ const getSvgSize = (width) => (width ? '' : 'w-full h-full');
483
+ const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
474
484
 
475
- function useLink(params = {}) {
476
- const { isRemote, basePath } = params;
485
+ const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
486
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
477
487
  const router = useRouter();
478
- const { closeAll } = useDialogManager();
479
- return (props) => ({
480
- ...props,
481
- href: isRemote && !basePath ? props.href : adjustHref(router)(props.href, basePath),
482
- 'aria-label': props.text,
483
- onClick: handlerDecorator(handleHref(props), props),
484
- });
485
- function handleHref({ href, target, onClick }) {
486
- return (ev) => {
487
- onClick && onClick(ev);
488
- if (!href || isRemote || !isLocalURL(href, target)) {
489
- // Default routing
490
- return;
491
- }
492
- closeAll();
493
- // Client routing
494
- ev?.preventDefault();
495
- router.push(href);
496
- };
488
+ return (jsxs("picture", { className: className, children: [image?.sources?.length
489
+ ? image.sources
490
+ .filter((_) => _?.src)
491
+ .sort(sourcesComparator)
492
+ .map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', width: image.size?.width, height: image.size?.height }, `${index}_${src}`)))
493
+ : null, image?.src
494
+ ? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
495
+ : null] }));
496
+ });
497
+ const renderImg = (image, imageClassName = '') => (jsx("img", { src: image.src, className: style('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
498
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
499
+ height: image.size?.height ? `${image.size?.height}px` : 'auto',
500
+ }, width: image.size?.width, height: image.size?.height }));
501
+ const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
502
+ const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
503
+
504
+ const Img = JSX(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
505
+ if (!image?.src && !image?.icon) {
506
+ return null;
497
507
  }
498
- }
508
+ return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
509
+ });
499
510
 
500
- const buttonStyleMap = {
511
+ const buttonStyleMap$1 = {
501
512
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
502
513
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
503
514
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
@@ -527,6 +538,54 @@
527
538
  '': '',
528
539
  };
529
540
 
541
+ const getRegularButtonClasses = ({ className, rounded, version, }) => [
542
+ buttonStyle,
543
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
544
+ version ? buttonStyleMap$1[version] : '',
545
+ rounded ? 'rounded-full' : 'rounded-md',
546
+ className,
547
+ ].join(' ');
548
+
549
+ const useDialogManager = () => ({
550
+ open: (dialog, options = {}) => defaultEventBus.fire('dialog', { type: 'open', dialog, ...options }),
551
+ close: () => defaultEventBus.fire('dialog', { type: 'close' }),
552
+ closeAll: () => defaultEventBus.fire('dialog', { type: 'close', all: true }),
553
+ });
554
+
555
+ /* eslint-disable @typescript-eslint/ban-types */
556
+ const handlerDecorator = (handler, targetContent) => {
557
+ return handlerDecorator._impl(handler, targetContent);
558
+ };
559
+ handlerDecorator._impl = (handler) => handler;
560
+ handlerDecorator.setup = (impl) => {
561
+ handlerDecorator._impl = impl;
562
+ };
563
+
564
+ function useLink(params = {}) {
565
+ const { isRemote, basePath } = params;
566
+ const router = useRouter();
567
+ const { closeAll } = useDialogManager();
568
+ return (props) => ({
569
+ ...props,
570
+ href: isRemote && !basePath ? props.href : adjustHref(router)(props.href, basePath),
571
+ 'aria-label': props.text,
572
+ onClick: handlerDecorator(handleHref(props), props),
573
+ });
574
+ function handleHref({ href, target, onClick }) {
575
+ return (ev) => {
576
+ onClick && onClick(ev);
577
+ if (!href || isRemote || !isLocalURL(href, target)) {
578
+ // Default routing
579
+ return;
580
+ }
581
+ closeAll();
582
+ // Client routing
583
+ ev?.preventDefault();
584
+ router.push(href);
585
+ };
586
+ }
587
+ }
588
+
530
589
  const ButtonInner = JSX((props) => {
531
590
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
532
591
  const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
@@ -550,14 +609,6 @@
550
609
  className,
551
610
  ].join(' ');
552
611
 
553
- const getRegularButtonClasses = ({ className, rounded, version, }) => [
554
- buttonStyle,
555
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
556
- version ? buttonStyleMap[version] : '',
557
- rounded ? 'rounded-full' : 'rounded-md',
558
- className,
559
- ].join(' ');
560
-
561
612
  const useFormSubmit = ({ method, href }) => useCallback((ev) => {
562
613
  if (method !== 'POST' || !href) {
563
614
  return;
@@ -578,7 +629,7 @@
578
629
  form.submit();
579
630
  }, []);
580
631
 
581
- const Button = JSX(({ disabled, children, method = 'LINK', href, ...rest }) => {
632
+ const LinkButton = JSX(({ disabled, children, method = 'LINK', href, ...rest }) => {
582
633
  const handleFormSubmit = useFormSubmit({ method, href });
583
634
  const link = useLink();
584
635
  const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
@@ -588,57 +639,6 @@
588
639
  const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
589
640
  const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
590
641
 
591
- const isOnlyDigits = (str) => str && !/\D/.test(str);
592
-
593
- const svgUseStyleMap = {
594
- normal: '',
595
- color: 'text-primary-main',
596
- black: 'text-black',
597
- white: 'text-black',
598
- };
599
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', width, height, }) => {
600
- const router = useRouter();
601
- const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons', `${name}.svg`));
602
- if (iconVersion !== 'normal') {
603
- return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), width: width, height: height, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
604
- }
605
- return (jsx("img", { className: className, src: href, alt: alt, title: title, "aria-hidden": "true", width: width, height: height, style: getInlineStyle(className, height) }));
606
- });
607
- const getInlineStyle = (className, height) => {
608
- if (className?.includes('h-')) {
609
- return {};
610
- }
611
- return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
612
- };
613
- const getSvgSize = (width) => (width ? '' : 'w-full h-full');
614
- const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
615
-
616
- const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
617
- const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
618
- const router = useRouter();
619
- return (jsxs("picture", { className: className, children: [image?.sources?.length
620
- ? image.sources
621
- .filter((_) => _?.src)
622
- .sort(sourcesComparator)
623
- .map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', width: image.size?.width, height: image.size?.height }, `${index}_${src}`)))
624
- : null, image?.src
625
- ? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
626
- : null] }));
627
- });
628
- const renderImg = (image, imageClassName = '') => (jsx("img", { src: image.src, className: style('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
629
- width: image.size?.width ? `${image.size?.width}px` : '100%',
630
- height: image.size?.height ? `${image.size?.height}px` : 'auto',
631
- }, width: image.size?.width, height: image.size?.height }));
632
- const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
633
- const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
634
-
635
- const Img = JSX(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
636
- if (!image?.src && !image?.icon) {
637
- return null;
638
- }
639
- return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
640
- });
641
-
642
642
  function renderBackwardButton(version, handleClick) {
643
643
  const iconVersion = version === 'primary' ? 'white' : 'black';
644
644
  const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
@@ -646,7 +646,7 @@
646
646
  return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
647
647
  icon: 'ArrowLeftIcon',
648
648
  iconVersion: iconVersion,
649
- } }) }), jsx(Button, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
649
+ } }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
650
650
  }
651
651
 
652
652
  const imageAlignmentMap = {
@@ -725,7 +725,7 @@
725
725
  const { text, icon, iconRight, version, ...rest } = button || {};
726
726
  const iconVersion = getIconVersion(icon, version);
727
727
  const iconRightVersion = getIconVersion(iconRight, version);
728
- return text || icon?.icon ? (jsx(Button, { className: style('basis-full @lg:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
728
+ return text || icon?.icon ? (jsx(LinkButton, { className: style('basis-full @lg:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
729
729
  };
730
730
  const DEFAULT_ICON_W = 24;
731
731
  const getIconVersion = (icon, version = 'secondary') => {
@@ -987,7 +987,7 @@
987
987
  return data || EMPTY_VALUE$4;
988
988
  }
989
989
 
990
- const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(Button, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target, className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
990
+ const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target, className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
991
991
 
992
992
  const withValidator = (props, validator) => {
993
993
  const { value, isDirty } = props;
@@ -1179,13 +1179,37 @@
1179
1179
 
1180
1180
  const renderSlideCheckboxes = (field) => (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] }));
1181
1181
 
1182
- const renderSubmitButton = (button, className) => {
1183
- const buttonStyle = getRegularButtonClasses({
1184
- className: 'text-white',
1185
- version: button?.version,
1182
+ function useButton() {
1183
+ return (props) => ({
1184
+ ...props,
1185
+ onClick: handlerDecorator(handleClick(props), props),
1186
1186
  });
1187
- return (jsx("button", { type: "submit", className: style('p-m w-full @xl:w-auto', buttonStyle, className), children: button?.text ? button.text : 'Отправить заявку' }));
1187
+ }
1188
+ function handleClick({ disabled, onClick }) {
1189
+ return (ev) => {
1190
+ !disabled && onClick && onClick(ev);
1191
+ };
1192
+ }
1193
+
1194
+ const activeButtonStyleMap = 'text-white bg-primary-active';
1195
+ const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
1196
+ const buttonStyleMap = {
1197
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
1198
+ secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
1199
+ };
1200
+ const secondaryButtonStyleMap = {
1201
+ primary: style('group-data-secondary:text-primary-main group-data-secondary:bg-white', 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
1202
+ secondary: style('group-data-secondary:text-white group-data-secondary:bg-white/20', 'group-data-secondary:hover:bg-primary-hover', 'group-data-secondary:active:bg-primary-active'),
1188
1203
  };
1204
+ const Button = JSX(({ children, ...props }) => {
1205
+ const button = useButton();
1206
+ const { className, version = 'primary', active, disabled, type = 'button', rounded = true, role, onClick, } = button(props);
1207
+ return (jsx("button", { className: style('font-sans px-9 py-4', 'flex justify-center items-center gap-xs', active ? activeButtonStyleMap : '', disabled ? disabledButtonStyle : '', !active && !disabled
1208
+ ? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
1209
+ : '', rounded ? 'rounded-md' : '', className), type: type, role: role, onClick: onClick, children: children }));
1210
+ });
1211
+
1212
+ const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
1189
1213
 
1190
1214
  const initialFormState$5 = {
1191
1215
  acquiringType: { key: 'Торговый эквайринг' },
@@ -1417,7 +1441,7 @@
1417
1441
  version: button?.version,
1418
1442
  });
1419
1443
  const regionHref = regions?.find((_) => _.name === region.key)?.href;
1420
- return (jsxs("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(Button, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1444
+ return (jsxs("div", { className: "container space-y-s @xl:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1421
1445
  });
1422
1446
 
1423
1447
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
@@ -2793,12 +2817,7 @@
2793
2817
  useEffect(() => {
2794
2818
  setDisabled(amount <= 0);
2795
2819
  }, [amount]);
2796
- const buttonStyle = isDisabled
2797
- ? getDisabledButtonClasses({ version: button?.version })
2798
- : getRegularButtonClasses({ className: 'text-white', version: button?.version });
2799
- const link = useLink();
2800
- const { onClick } = link(button || {});
2801
- return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL_MAP[formType], children: [jsx(CurrencyInput, { valid: !isDisabled, placeholder: placeholder, label: label, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-m mt-lg', buttonStyle), disabled: isDisabled, onClick: onClick, children: button.text })) : null] })] }));
2820
+ return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL_MAP[formType], children: [jsx(CurrencyInput, { valid: !isDisabled, placeholder: placeholder, label: label, ...field('amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: amount }), button?.text ? (jsx(Button, { className: "w-full mt-lg", type: "submit", disabled: isDisabled, children: button.text })) : null] })] }));
2802
2821
  });
2803
2822
 
2804
2823
  const useCarouselControls = (props, initialIndex = 0) => {
@@ -2823,7 +2842,7 @@
2823
2842
  ];
2824
2843
  };
2825
2844
 
2826
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
2845
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(LinkButton, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
2827
2846
  ? 'bg-secondary-light text-secondary-text'
2828
2847
  : 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
2829
2848
  const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
@@ -3100,7 +3119,7 @@
3100
3119
  const cellsNode = cardCells.map(renderCardInfo);
3101
3120
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
3102
3121
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
3103
- return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m mb-lg", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
3122
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
3104
3123
  });
3105
3124
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
3106
3125
 
@@ -3121,7 +3140,7 @@
3121
3140
  const buttonVersion = isFillGradient ? 'secondary' : 'primary';
3122
3141
  return (jsxs("div", { className: style('border border-gray rounded-md p-m mb-m', gradientColumnStyle), role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
3123
3142
  ? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
3124
- : null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-m py-s", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
3143
+ : null, showRow && header?.link ? (jsx(LinkButton, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-m py-s", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
3125
3144
  });
3126
3145
  const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (jsx("div", { className: "mt-lg", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
3127
3146
 
@@ -3226,7 +3245,7 @@
3226
3245
  return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
3227
3246
  });
3228
3247
 
3229
- const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, ...resetButton }) })) : null] }));
3248
+ const renderFiltrationForm$1 = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, children: resetButton?.text }) })) : null] }));
3230
3249
  const renderFormItem = (field) => ([key, item]) => {
3231
3250
  const type = item?.type;
3232
3251
  switch (type) {
@@ -3313,7 +3332,7 @@
3313
3332
  }
3314
3333
  return null;
3315
3334
  };
3316
- const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? jsx(Button, { version: button?.version, text: button?.text, ...button }) : null] })));
3335
+ const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
3317
3336
 
3318
3337
  const useLatestEvent = (eventBus, type, initialEvent) => {
3319
3338
  const [latestEvent, setLatestEvent] = useState(initialEvent || null);
@@ -3445,7 +3464,7 @@
3445
3464
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
3446
3465
  value: calcState.inputBuy,
3447
3466
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
3448
- }), button?.text ? jsx(Button, { text: button.text, version: button?.version, ...button }) : null] }));
3467
+ }), button?.text ? (jsx(LinkButton, { text: button.text, version: button?.version, ...button })) : null] }));
3449
3468
  });
3450
3469
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
3451
3470
  setCalcState({ selectSell: value });
@@ -3551,7 +3570,7 @@
3551
3570
  return foldButtonVersion === 'accordion' ? (jsx(AccordionFoldButton, { label: label, labelIcon: labelIcon, labelIconBgVersion: labelIconBgVersion, icon: icon, onToggle: onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
3552
3571
  };
3553
3572
 
3554
- const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(Button, { version: "primary", className: "w-full", href: "https://old.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3573
+ const Contacts = JSX(({ className = '', items }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, jsx(LinkButton, { version: "primary", className: "w-full", href: "https://old.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })] })));
3555
3574
  const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-m", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3556
3575
  const renderContact = (item, index) => (jsxs("div", { className: "mb-m", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-2xs text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3557
3576
  const renderText = (type, text = '') => {
@@ -3601,7 +3620,7 @@
3601
3620
  });
3602
3621
  const renderButton = ({ href = '/', text }, i) => {
3603
3622
  const { label } = findIconByHref(href);
3604
- return (jsx(Button, { className: "w-full", text: text || label, version: "secondary", href: href, target: "_blank" }, String(i)));
3623
+ return (jsx(LinkButton, { className: "w-full", text: text || label, version: "secondary", href: href, target: "_blank" }, String(i)));
3605
3624
  };
3606
3625
 
3607
3626
  const ICON_SIZE = { width: '34', height: '34' };
@@ -3642,7 +3661,7 @@
3642
3661
  e.preventDefault();
3643
3662
  router.back();
3644
3663
  }, []);
3645
- return (jsxs("div", { className: "flex items-center justify-between w-full", children: [isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logo }) })) : (renderBackButton(onClick)), internetBankUrl ? (jsx("div", { children: jsx(Button, { href: internetBankUrl, ariaLabel: "\u0412\u043E\u0439\u0442\u0438", target: "_blank", className: style('p-s text-s whitespace-nowrap text-primary-main hover:text-primary-hover', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0412\u043E\u0439\u0442\u0438" }) })) : null] }));
3664
+ return (jsxs("div", { className: "flex items-center justify-between w-full", children: [isRootLocation ? (jsx("div", { children: jsx(Logo, { className: "my-2xs", bgColor: bgColor, logo: logo }) })) : (renderBackButton(onClick)), internetBankUrl ? (jsx("div", { children: jsx(LinkButton, { href: internetBankUrl, ariaLabel: "\u0412\u043E\u0439\u0442\u0438", target: "_blank", className: style('p-s text-s whitespace-nowrap text-primary-main hover:text-primary-hover', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0412\u043E\u0439\u0442\u0438" }) })) : null] }));
3646
3665
  });
3647
3666
  const renderBackButton = (onClick) => (jsx("div", { children: jsxs("button", { className: "flex items-center text-l my-2xs", "aria-label": "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434", onClick: onClick, children: [jsx(Img, { className: "w-6 h-6", image: {
3648
3667
  icon: 'ChevronLeftIcon',
@@ -4052,7 +4071,7 @@
4052
4071
  workAllTime: 'Круглосуточно',
4053
4072
  billAcceptorEnable: 'Прием наличных',
4054
4073
  };
4055
- const renderFiltrationForm = (filters, { field, reset }) => (jsxs("div", { className: "pb-2xl", children: [filters?.length ? (jsx("div", { className: "flex flex-wrap gap-3xl pb-2xl", children: filters.map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key))) })) : null, jsx(Button, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, text: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", appendRight: jsx(Icon, { name: "CloseIcon", width: "16", height: "16" }) })] }));
4074
+ const renderFiltrationForm = (filters, { field, reset }) => (jsxs("div", { className: "pb-2xl", children: [filters?.length ? (jsx("div", { className: "flex flex-wrap gap-3xl pb-2xl", children: filters.map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key))) })) : null, jsx(LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, text: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", appendRight: jsx(Icon, { name: "CloseIcon", width: "16", height: "16" }) })] }));
4056
4075
 
4057
4076
  const defaultRenderCard = () => null;
4058
4077
  const defaultFilterItems = () => [];
@@ -4347,7 +4366,7 @@
4347
4366
  });
4348
4367
 
4349
4368
  const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
4350
- return (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
4369
+ return (jsxs("div", { className: "contents @xl:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents @md:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(LinkButton, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
4351
4370
  });
4352
4371
  const onSelectedBranch = (onChange) => (value) => {
4353
4372
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
@@ -5031,7 +5050,7 @@
5031
5050
  };
5032
5051
  const TableCarouselContainer = JSX(({ children, activeIndex, columnWidth, version = 'comparison' }) => (jsx("div", { className: "flex flex-1 overflow-hidden", children: jsx("div", { className: carouselContainerClassesMap[version], style: { transform: `translateX(-${activeIndex * columnWidth}px)` }, children: children }) })));
5033
5052
 
5034
- const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(Button, { className: className, appendRight: jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
5053
+ const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(LinkButton, { className: className, appendRight: jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
5035
5054
 
5036
5055
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
5037
5056
  buttonClassName: 'basis-0',
@@ -5117,7 +5136,7 @@
5117
5136
 
5118
5137
  const linkButtonVersion = 'link';
5119
5138
 
5120
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
5139
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between items-center w-full py-lg", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(LinkButton, { className: "text-primary-main", href: linkToPDF, version: linkButtonVersion, target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
5121
5140
 
5122
5141
  function useTariffsInnerTableData(directoryName) {
5123
5142
  const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
@@ -5425,7 +5444,7 @@
5425
5444
 
5426
5445
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5427
5446
 
5428
- const packageVersion = "0.14.64";
5447
+ const packageVersion = "0.14.65";
5429
5448
 
5430
5449
  exports.Blocks = Blocks;
5431
5450
  exports.ContentPage = ContentPage;