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

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 (1126) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +181 -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/LinkButton/ArrowButton.d.ts +7 -0
  35. package/bundle/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  36. package/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  37. package/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  38. package/{lib/ui-kit/Button → bundle/ui-kit/LinkButton}/LikeButton.d.ts +2 -0
  39. package/bundle/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  40. package/{dist/ui-kit/Button/ButtonContent.d.ts → bundle/ui-kit/LinkButton/LinkButtonContent.d.ts} +5 -3
  41. package/{lib/ui-kit/Button/ButtonProps.d.ts → bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +3 -2
  42. package/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  43. package/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +1 -0
  44. package/{lib/ui-kit/Button → bundle/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
  45. package/{dist/ui-kit/Button → bundle/ui-kit/LinkButton}/renderArrows.d.ts +2 -0
  46. package/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
  47. package/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +2 -1
  48. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  49. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  50. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  51. package/dist/components/ApplicationForm/Footnote.js +2 -2
  52. package/dist/components/ApplicationForm/Footnote.js.map +1 -1
  53. package/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
  54. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  55. package/dist/components/Bonus/Bonus.js +1 -1
  56. package/dist/components/Bonus/Bonus.js.map +1 -1
  57. package/dist/components/Bonus/BonusContent.d.ts +1 -1
  58. package/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  59. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  60. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  61. package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  62. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  63. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  64. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  65. package/dist/components/Calculator/Calculator.js +1 -1
  66. package/dist/components/Calculator/Calculator.js.map +1 -1
  67. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  68. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  69. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  70. package/dist/components/Calculator/DepositCalculatorForm.js +1 -1
  71. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  72. package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  73. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  74. package/dist/components/CardTransfer/CardTransfer.js +2 -9
  75. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  76. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  77. package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  78. package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  79. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  80. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  81. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  82. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  83. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  84. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  85. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  86. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  87. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  88. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  89. package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  90. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  91. package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  92. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  93. package/dist/components/ComparisonTable/HeaderCell.js +2 -2
  94. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  95. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  96. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  97. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  98. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  99. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  100. package/dist/components/Depository/DepositoryFilter.js +2 -1
  101. package/dist/components/Depository/DepositoryFilter.js.map +1 -1
  102. package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  103. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  104. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  105. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  106. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  107. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  108. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  109. package/dist/components/Footer/Contacts.js +2 -2
  110. package/dist/components/Footer/Contacts.js.map +1 -1
  111. package/dist/components/Footer/Footer.js +2 -2
  112. package/dist/components/Footer/Footer.js.map +1 -1
  113. package/dist/components/Footer/Footer.mobile.js +2 -2
  114. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  115. package/dist/components/Footer/FooterDataProps.d.ts +3 -3
  116. package/dist/components/Footer/SocialMedia.d.ts +4 -4
  117. package/dist/components/Footer/SocialMedia.js +1 -1
  118. package/dist/components/Footer/SocialMedia.js.map +1 -1
  119. package/dist/components/Header/HeaderTop.js +2 -2
  120. package/dist/components/Header/HeaderTop.js.map +1 -1
  121. package/dist/components/Header/InternetBankButton.js +2 -2
  122. package/dist/components/Header/InternetBankButton.js.map +1 -1
  123. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  124. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  125. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  126. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  127. package/dist/components/LikeControl/LikeControl.js +1 -1
  128. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  129. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  130. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  131. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  132. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  133. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  134. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  135. package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  136. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  137. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  138. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  139. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  140. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  141. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  142. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  143. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  144. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  145. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  146. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  147. package/dist/components/StepsBlock/renderStep.js +2 -2
  148. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  149. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  150. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  151. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  152. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  153. package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
  154. package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  155. package/dist/model/ButtonVersion.d.ts +2 -3
  156. package/dist/model/LinkButtonVersion.d.ts +6 -0
  157. package/dist/model/LinkButtonVersion.js +2 -0
  158. package/dist/model/LinkButtonVersion.js.map +1 -0
  159. package/dist/setup-fixture.js +4 -1
  160. package/dist/setup-fixture.js.map +1 -1
  161. package/dist/ui-kit/ARIAProps.d.ts +4 -0
  162. package/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
  163. package/dist/ui-kit/ARIAProps.js.map +1 -0
  164. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  165. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  166. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  167. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  168. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  169. package/dist/ui-kit/Button/Button.d.ts +12 -1
  170. package/dist/ui-kit/Button/Button.js +18 -13
  171. package/dist/ui-kit/Button/Button.js.map +1 -1
  172. package/dist/ui-kit/Button/useButton.d.ts +2 -0
  173. package/dist/ui-kit/Button/useButton.js +16 -0
  174. package/dist/ui-kit/Button/useButton.js.map +1 -0
  175. package/dist/ui-kit/ControlStateProps.d.ts +4 -0
  176. package/dist/ui-kit/ControlStateProps.js +2 -0
  177. package/dist/ui-kit/ControlStateProps.js.map +1 -0
  178. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
  179. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  180. package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  181. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  182. package/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  183. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  184. package/dist/ui-kit/LinkButton/ArrowButton.d.ts +7 -0
  185. package/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +5 -2
  186. package/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  187. package/dist/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  188. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/ButtonInner.js +1 -0
  189. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  190. package/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  191. package/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  192. package/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  193. package/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  194. package/dist/ui-kit/{Button → LinkButton}/LikeButton.d.ts +2 -0
  195. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/LikeButton.js +1 -0
  196. package/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
  197. package/dist/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  198. package/dist/ui-kit/LinkButton/LinkButton.js +20 -0
  199. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  200. package/{bundle/ui-kit/Button/ButtonContent.d.ts → dist/ui-kit/LinkButton/LinkButtonContent.d.ts} +5 -3
  201. package/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  202. package/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  203. package/dist/ui-kit/{Button/ButtonProps.d.ts → LinkButton/LinkButtonProps.d.ts} +3 -2
  204. package/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
  205. package/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  206. package/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  207. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/buttonClassNameConstants.js +4 -0
  208. package/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  209. package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/getDisabledButtonClasses.d.ts +1 -0
  210. package/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +1 -0
  211. package/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  212. package/{bundle/ui-kit/Button → dist/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
  213. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
  214. package/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  215. package/{bundle/ui-kit/Button → dist/ui-kit/LinkButton}/renderArrows.d.ts +2 -0
  216. package/dist/ui-kit/{Button → LinkButton}/renderArrows.js +1 -0
  217. package/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
  218. package/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
  219. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
  220. package/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  221. package/{lib/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.d.ts +2 -1
  222. package/{mobile/dist/ui-kit/Button → dist/ui-kit/LinkButton}/useFormSubmit.js +1 -0
  223. package/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  224. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  225. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  226. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  227. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  228. package/lib/common.css +1 -1
  229. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  230. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  231. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  232. package/lib/components/ApplicationForm/Footnote.js +2 -2
  233. package/lib/components/ApplicationForm/Footnote.js.map +1 -1
  234. package/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
  235. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  236. package/lib/components/Bonus/Bonus.js +1 -1
  237. package/lib/components/Bonus/Bonus.js.map +1 -1
  238. package/lib/components/Bonus/BonusContent.d.ts +1 -1
  239. package/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  240. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  241. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  242. package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  243. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  244. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  245. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  246. package/lib/components/Calculator/Calculator.js +1 -1
  247. package/lib/components/Calculator/Calculator.js.map +1 -1
  248. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  249. package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  250. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  251. package/lib/components/Calculator/DepositCalculatorForm.js +1 -1
  252. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  253. package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  254. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  255. package/lib/components/CardTransfer/CardTransfer.js +2 -9
  256. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  257. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  258. package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  259. package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  260. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  261. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  262. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  263. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +3 -3
  264. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.d.ts +3 -3
  265. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  266. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  267. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  268. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  269. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  270. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  271. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  272. package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  273. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  274. package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  275. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  276. package/lib/components/ComparisonTable/HeaderCell.js +2 -2
  277. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  278. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  279. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  280. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  281. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  282. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  283. package/lib/components/Depository/DepositoryFilter.js +2 -1
  284. package/lib/components/Depository/DepositoryFilter.js.map +1 -1
  285. package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  286. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  287. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  288. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  289. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  290. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  291. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  292. package/lib/components/Footer/Contacts.js +2 -2
  293. package/lib/components/Footer/Contacts.js.map +1 -1
  294. package/lib/components/Footer/Footer.js +2 -2
  295. package/lib/components/Footer/Footer.js.map +1 -1
  296. package/lib/components/Footer/Footer.mobile.js +2 -2
  297. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  298. package/lib/components/Footer/FooterDataProps.d.ts +3 -3
  299. package/lib/components/Footer/SocialMedia.d.ts +4 -4
  300. package/lib/components/Footer/SocialMedia.js +1 -1
  301. package/lib/components/Footer/SocialMedia.js.map +1 -1
  302. package/lib/components/Header/HeaderTop.js +2 -2
  303. package/lib/components/Header/HeaderTop.js.map +1 -1
  304. package/lib/components/Header/InternetBankButton.js +2 -2
  305. package/lib/components/Header/InternetBankButton.js.map +1 -1
  306. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  307. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  308. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  309. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  310. package/lib/components/LikeControl/LikeControl.js +1 -1
  311. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  312. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  313. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  314. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  315. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  316. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  317. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  318. package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  319. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  320. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  321. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  322. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  323. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  324. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  325. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  326. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  327. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  328. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  329. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  330. package/lib/components/StepsBlock/renderStep.js +2 -2
  331. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  332. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  333. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  334. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  335. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  336. package/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
  337. package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  338. package/lib/model/ButtonVersion.d.ts +2 -3
  339. package/lib/model/LinkButtonVersion.d.ts +6 -0
  340. package/lib/model/LinkButtonVersion.js +2 -0
  341. package/lib/model/LinkButtonVersion.js.map +1 -0
  342. package/lib/setup-fixture.js +4 -1
  343. package/lib/setup-fixture.js.map +1 -1
  344. package/lib/ui-kit/ARIAProps.d.ts +4 -0
  345. package/lib/ui-kit/ARIAProps.js +2 -0
  346. package/lib/ui-kit/ARIAProps.js.map +1 -0
  347. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  348. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  349. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  350. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  351. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  352. package/lib/ui-kit/Button/Button.d.ts +12 -1
  353. package/lib/ui-kit/Button/Button.fixture.d.ts +2 -10
  354. package/lib/ui-kit/Button/Button.js +18 -13
  355. package/lib/ui-kit/Button/Button.js.map +1 -1
  356. package/lib/ui-kit/Button/useButton.d.ts +2 -0
  357. package/lib/ui-kit/Button/useButton.js +13 -0
  358. package/lib/ui-kit/Button/useButton.js.map +1 -0
  359. package/lib/ui-kit/ControlStateProps.d.ts +4 -0
  360. package/lib/ui-kit/ControlStateProps.js +2 -0
  361. package/lib/ui-kit/ControlStateProps.js.map +1 -0
  362. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +1 -1
  363. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  364. package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  365. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  366. package/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  367. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  368. package/lib/ui-kit/LinkButton/ArrowButton.d.ts +7 -0
  369. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/ArrowButton.js +5 -2
  370. package/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  371. package/lib/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  372. package/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +1 -0
  373. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  374. package/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  375. package/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  376. package/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  377. package/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  378. package/{bundle/ui-kit/Button → lib/ui-kit/LinkButton}/LikeButton.d.ts +2 -0
  379. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/LikeButton.js +1 -0
  380. package/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
  381. package/lib/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  382. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +14 -0
  383. package/lib/ui-kit/LinkButton/LinkButton.js +18 -0
  384. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  385. package/lib/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +5 -3
  386. package/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  387. package/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  388. package/{mobile/bundle/ui-kit/Button/ButtonProps.d.ts → lib/ui-kit/LinkButton/LinkButtonProps.d.ts} +3 -2
  389. package/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
  390. package/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  391. package/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  392. package/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +4 -0
  393. package/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  394. package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/getDisabledButtonClasses.d.ts +1 -0
  395. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/getDisabledButtonClasses.js +1 -0
  396. package/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  397. package/{mobile/bundle/ui-kit/Button → lib/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
  398. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
  399. package/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  400. package/lib/ui-kit/{Button → LinkButton}/renderArrows.d.ts +2 -0
  401. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderArrows.js +1 -0
  402. package/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
  403. package/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +9 -0
  404. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
  405. package/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  406. package/{dist/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.d.ts +2 -1
  407. package/{mobile/lib/ui-kit/Button → lib/ui-kit/LinkButton}/useFormSubmit.js +1 -0
  408. package/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  409. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  410. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  411. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  412. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  413. package/mobile/bundle/bundle.umd.js +177 -143
  414. package/mobile/bundle/bundle.umd.min.js +1 -1
  415. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  416. package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -1
  417. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  418. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +1 -1
  419. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -2
  420. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  421. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  422. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  423. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  424. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  425. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  426. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  427. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  428. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +3 -3
  429. package/mobile/bundle/components/Footer/SocialMedia.d.ts +4 -4
  430. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  431. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  432. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  433. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  434. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  435. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  436. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  437. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  438. package/mobile/bundle/model/ButtonVersion.d.ts +2 -3
  439. package/mobile/bundle/model/LinkButtonVersion.d.ts +6 -0
  440. package/mobile/bundle/ui-kit/ARIAProps.d.ts +4 -0
  441. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  442. package/mobile/bundle/ui-kit/Button/Button.d.ts +12 -1
  443. package/mobile/bundle/ui-kit/Button/useButton.d.ts +2 -0
  444. package/mobile/bundle/ui-kit/ControlStateProps.d.ts +4 -0
  445. package/mobile/bundle/ui-kit/LinkButton/ArrowButton.d.ts +7 -0
  446. package/mobile/bundle/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  447. package/mobile/bundle/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  448. package/mobile/bundle/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  449. package/mobile/bundle/ui-kit/{Button → LinkButton}/LikeButton.d.ts +2 -0
  450. package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  451. package/mobile/bundle/ui-kit/{Button/ButtonContent.d.ts → LinkButton/LinkButtonContent.d.ts} +5 -3
  452. package/{bundle/ui-kit/Button/ButtonProps.d.ts → mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts} +3 -2
  453. package/mobile/bundle/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  454. package/mobile/bundle/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.d.ts +1 -0
  455. package/{dist/ui-kit/Button → mobile/bundle/ui-kit/LinkButton}/getRegularButtonClasses.d.ts +1 -0
  456. package/mobile/bundle/ui-kit/{Button → LinkButton}/renderArrows.d.ts +2 -0
  457. package/mobile/bundle/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
  458. package/mobile/bundle/ui-kit/{Button → LinkButton}/useFormSubmit.d.ts +2 -1
  459. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  460. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  461. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  462. package/mobile/dist/components/ApplicationForm/Footnote.js +2 -2
  463. package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
  464. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -8
  465. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  466. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  467. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  468. package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -1
  469. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  470. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  471. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  472. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
  473. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  474. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  475. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  476. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  477. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  478. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  479. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +1 -1
  480. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  481. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
  482. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  483. package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -9
  484. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  485. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  486. package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
  487. package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
  488. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  489. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  490. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  491. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  492. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  493. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  494. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  495. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  496. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  497. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  498. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  499. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  500. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
  501. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  502. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  503. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  504. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  505. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  506. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  507. package/mobile/dist/components/Depository/DepositoryFilter.js +2 -1
  508. package/mobile/dist/components/Depository/DepositoryFilter.js.map +1 -1
  509. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  510. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  511. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  512. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  513. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  514. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  515. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  516. package/mobile/dist/components/Footer/Contacts.js +2 -2
  517. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  518. package/mobile/dist/components/Footer/Footer.js +2 -2
  519. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  520. package/mobile/dist/components/Footer/FooterDataProps.d.ts +3 -3
  521. package/mobile/dist/components/Footer/SocialMedia.d.ts +4 -4
  522. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  523. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  524. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  525. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  526. package/mobile/dist/components/Header/InternetBankButton.js +2 -2
  527. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
  528. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  529. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  530. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  531. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  532. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  533. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  534. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  535. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  536. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  537. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  538. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  539. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  540. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
  541. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  542. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  543. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  544. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  545. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  546. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  547. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  548. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  549. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  550. package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
  551. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  552. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  553. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  554. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  555. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  556. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -1
  557. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  558. package/mobile/dist/model/ButtonVersion.d.ts +2 -3
  559. package/mobile/dist/model/LinkButtonVersion.d.ts +6 -0
  560. package/mobile/dist/model/LinkButtonVersion.js +2 -0
  561. package/mobile/dist/model/LinkButtonVersion.js.map +1 -0
  562. package/mobile/dist/setup-fixture.js +4 -1
  563. package/mobile/dist/setup-fixture.js.map +1 -1
  564. package/mobile/dist/ui-kit/ARIAProps.d.ts +4 -0
  565. package/mobile/dist/ui-kit/{Button/ButtonProps.js → ARIAProps.js} +1 -1
  566. package/mobile/dist/ui-kit/ARIAProps.js.map +1 -0
  567. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  568. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  569. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  570. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  571. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  572. package/mobile/dist/ui-kit/Button/Button.d.ts +12 -1
  573. package/mobile/dist/ui-kit/Button/Button.js +18 -13
  574. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  575. package/mobile/dist/ui-kit/Button/useButton.d.ts +2 -0
  576. package/mobile/dist/ui-kit/Button/useButton.js +16 -0
  577. package/mobile/dist/ui-kit/Button/useButton.js.map +1 -0
  578. package/mobile/dist/ui-kit/ControlStateProps.d.ts +4 -0
  579. package/mobile/dist/ui-kit/ControlStateProps.js +2 -0
  580. package/mobile/dist/ui-kit/ControlStateProps.js.map +1 -0
  581. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
  582. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  583. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  584. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  585. package/mobile/dist/ui-kit/LinkButton/ArrowButton.d.ts +7 -0
  586. package/mobile/dist/ui-kit/{Button → LinkButton}/ArrowButton.js +5 -2
  587. package/mobile/dist/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  588. package/mobile/dist/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  589. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/ButtonInner.js +1 -0
  590. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  591. package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  592. package/mobile/dist/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  593. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  594. package/mobile/dist/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  595. package/mobile/dist/ui-kit/LinkButton/LikeButton.d.ts +8 -0
  596. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/LikeButton.js +1 -0
  597. package/mobile/dist/ui-kit/LinkButton/LikeButton.js.map +1 -0
  598. package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  599. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +20 -0
  600. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -0
  601. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.d.ts +22 -0
  602. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  603. package/mobile/dist/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  604. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +16 -0
  605. package/mobile/dist/ui-kit/{Button/ButtonContent.js → LinkButton/LinkButtonProps.js} +1 -1
  606. package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  607. package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  608. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/buttonClassNameConstants.js +4 -0
  609. package/mobile/dist/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  610. package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.d.ts +3 -0
  611. package/mobile/dist/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.js +1 -0
  612. package/mobile/dist/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  613. package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.d.ts +3 -0
  614. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
  615. package/mobile/dist/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  616. package/mobile/dist/ui-kit/LinkButton/renderArrows.d.ts +13 -0
  617. package/mobile/dist/ui-kit/{Button → LinkButton}/renderArrows.js +1 -0
  618. package/mobile/dist/ui-kit/LinkButton/renderArrows.js.map +1 -0
  619. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
  620. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
  621. package/mobile/dist/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  622. package/mobile/dist/ui-kit/LinkButton/useFormSubmit.d.ts +4 -0
  623. package/{dist/ui-kit/Button → mobile/dist/ui-kit/LinkButton}/useFormSubmit.js +1 -0
  624. package/mobile/dist/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  625. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  626. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  627. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  628. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  629. package/mobile/lib/common.css +1 -1
  630. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  631. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +3 -3
  632. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
  633. package/mobile/lib/components/ApplicationForm/Footnote.js +2 -2
  634. package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
  635. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -8
  636. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  637. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  638. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  639. package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -1
  640. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  641. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  642. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +2 -2
  643. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
  644. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  645. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  646. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  647. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  648. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
  649. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  650. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +1 -1
  651. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  652. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
  653. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  654. package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -9
  655. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  656. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  657. package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
  658. package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
  659. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  660. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  661. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
  662. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  663. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  664. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -2
  665. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  666. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  667. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  668. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
  669. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  670. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  671. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
  672. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  673. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  674. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  675. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  676. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  677. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -2
  678. package/mobile/lib/components/Depository/DepositoryFilter.js +2 -1
  679. package/mobile/lib/components/Depository/DepositoryFilter.js.map +1 -1
  680. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  681. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  682. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +2 -2
  683. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  684. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
  685. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  686. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -2
  687. package/mobile/lib/components/Footer/Contacts.js +2 -2
  688. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  689. package/mobile/lib/components/Footer/Footer.js +2 -2
  690. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  691. package/mobile/lib/components/Footer/FooterDataProps.d.ts +3 -3
  692. package/mobile/lib/components/Footer/SocialMedia.d.ts +4 -4
  693. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  694. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  695. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  696. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  697. package/mobile/lib/components/Header/InternetBankButton.js +2 -2
  698. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
  699. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +2 -2
  700. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  701. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +3 -3
  702. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  703. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  704. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  705. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  706. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  707. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  708. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -2
  709. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  710. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
  711. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
  712. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  713. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  714. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  715. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +2 -2
  716. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  717. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  718. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  719. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  720. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -3
  721. package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
  722. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  723. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +3 -3
  724. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  725. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  726. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  727. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +1 -1
  728. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  729. package/mobile/lib/model/ButtonVersion.d.ts +2 -3
  730. package/mobile/lib/model/LinkButtonVersion.d.ts +6 -0
  731. package/mobile/lib/model/LinkButtonVersion.js +2 -0
  732. package/mobile/lib/model/LinkButtonVersion.js.map +1 -0
  733. package/mobile/lib/setup-fixture.js +4 -1
  734. package/mobile/lib/setup-fixture.js.map +1 -1
  735. package/mobile/lib/ui-kit/ARIAProps.d.ts +4 -0
  736. package/mobile/lib/ui-kit/ARIAProps.js +2 -0
  737. package/mobile/lib/ui-kit/ARIAProps.js.map +1 -0
  738. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  739. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  740. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  741. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  742. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +1 -1
  743. package/mobile/lib/ui-kit/Button/Button.d.ts +12 -1
  744. package/mobile/lib/ui-kit/Button/Button.js +18 -13
  745. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  746. package/mobile/lib/ui-kit/Button/useButton.d.ts +2 -0
  747. package/mobile/lib/ui-kit/Button/useButton.js +13 -0
  748. package/mobile/lib/ui-kit/Button/useButton.js.map +1 -0
  749. package/mobile/lib/ui-kit/ControlStateProps.d.ts +4 -0
  750. package/mobile/lib/ui-kit/ControlStateProps.js +2 -0
  751. package/mobile/lib/ui-kit/ControlStateProps.js.map +1 -0
  752. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
  753. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  754. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +2 -2
  755. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  756. package/mobile/lib/ui-kit/LinkButton/ArrowButton.d.ts +7 -0
  757. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/ArrowButton.js +5 -2
  758. package/mobile/lib/ui-kit/LinkButton/ArrowButton.js.map +1 -0
  759. package/mobile/lib/ui-kit/LinkButton/ButtonInner.d.ts +3 -0
  760. package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonInner.js +1 -0
  761. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -0
  762. package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.d.ts +8 -0
  763. package/mobile/lib/ui-kit/LinkButton/ButtonsSectionContent.js.map +1 -0
  764. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.d.ts +7 -0
  765. package/mobile/lib/ui-kit/LinkButton/GetButtonClassParams.js.map +1 -0
  766. package/mobile/lib/ui-kit/LinkButton/LikeButton.d.ts +8 -0
  767. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/LikeButton.js +1 -0
  768. package/mobile/lib/ui-kit/LinkButton/LikeButton.js.map +1 -0
  769. package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +3 -0
  770. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +18 -0
  771. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -0
  772. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.d.ts +22 -0
  773. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js +2 -0
  774. package/mobile/lib/ui-kit/LinkButton/LinkButtonContent.js.map +1 -0
  775. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +16 -0
  776. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js +2 -0
  777. package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.js.map +1 -0
  778. package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.d.ts +9 -0
  779. package/mobile/lib/ui-kit/{Button → LinkButton}/buttonClassNameConstants.js +4 -0
  780. package/mobile/lib/ui-kit/LinkButton/buttonClassNameConstants.js.map +1 -0
  781. package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.d.ts +3 -0
  782. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/getDisabledButtonClasses.js +1 -0
  783. package/mobile/lib/ui-kit/LinkButton/getDisabledButtonClasses.js.map +1 -0
  784. package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.d.ts +3 -0
  785. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/getRegularButtonClasses.js +1 -0
  786. package/mobile/lib/ui-kit/LinkButton/getRegularButtonClasses.js.map +1 -0
  787. package/mobile/lib/ui-kit/LinkButton/renderArrows.d.ts +13 -0
  788. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderArrows.js +1 -0
  789. package/mobile/lib/ui-kit/LinkButton/renderArrows.js.map +1 -0
  790. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.d.ts +10 -0
  791. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/renderButtonsSection.js +3 -2
  792. package/mobile/lib/ui-kit/LinkButton/renderButtonsSection.js.map +1 -0
  793. package/mobile/lib/ui-kit/LinkButton/useFormSubmit.d.ts +4 -0
  794. package/{lib/ui-kit/Button → mobile/lib/ui-kit/LinkButton}/useFormSubmit.js +1 -0
  795. package/mobile/lib/ui-kit/LinkButton/useFormSubmit.js.map +1 -0
  796. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
  797. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  798. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +1 -1
  799. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  800. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
  801. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
  802. package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -3
  803. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
  804. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  805. package/mobile/src/components/Bonus/BonusContent.ts +1 -1
  806. package/mobile/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  807. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  808. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  809. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  810. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  811. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  812. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
  813. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  814. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -17
  815. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  816. package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  817. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  818. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  819. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  820. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
  821. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  822. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  823. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
  824. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
  825. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  826. package/mobile/src/components/ComparisonTable/TableColumn.tsx +5 -5
  827. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  828. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  829. package/mobile/src/components/Depository/DepositoryFilter.tsx +4 -6
  830. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
  831. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  832. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  833. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  834. package/mobile/src/components/Footer/Contacts.tsx +2 -2
  835. package/mobile/src/components/Footer/Footer.tsx +2 -2
  836. package/mobile/src/components/Footer/FooterDataProps.ts +3 -3
  837. package/mobile/src/components/Footer/SocialMedia.tsx +6 -6
  838. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  839. package/mobile/src/components/Header/InternetBankButton.tsx +3 -3
  840. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  841. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  842. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  843. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  844. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  845. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
  846. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
  847. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  848. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  849. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
  850. package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
  851. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -3
  852. package/mobile/src/components/StepsBlock/renderStep.tsx +5 -5
  853. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
  854. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  855. package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
  856. package/mobile/src/model/ButtonVersion.ts +2 -10
  857. package/mobile/src/model/LinkButtonVersion.ts +13 -0
  858. package/mobile/src/setup-fixture.ts +6 -1
  859. package/mobile/src/ui-kit/ARIAProps.ts +4 -0
  860. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
  861. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  862. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
  863. package/mobile/src/ui-kit/Button/Button.tsx +70 -44
  864. package/mobile/src/ui-kit/Button/useButton.ts +16 -0
  865. package/mobile/src/ui-kit/ControlStateProps.ts +4 -0
  866. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  867. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
  868. package/mobile/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +10 -7
  869. package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/ButtonInner.tsx +6 -5
  870. package/mobile/src/ui-kit/LinkButton/ButtonsSectionContent.ts +9 -0
  871. package/mobile/src/ui-kit/LinkButton/GetButtonClassParams.ts +8 -0
  872. package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/LikeButton.tsx +2 -0
  873. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +54 -0
  874. package/mobile/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +5 -3
  875. package/mobile/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +3 -2
  876. package/mobile/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +8 -4
  877. package/mobile/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +1 -0
  878. package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/getRegularButtonClasses.ts +1 -0
  879. package/{src/ui-kit/Button → mobile/src/ui-kit/LinkButton}/renderArrows.tsx +2 -0
  880. package/mobile/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +6 -5
  881. package/mobile/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +2 -1
  882. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  883. package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
  884. package/package.json +1 -1
  885. package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -2
  886. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +4 -4
  887. package/src/components/ApplicationForm/Footnote.tsx +3 -3
  888. package/src/components/ApplicationForm/renderSubmitButton.tsx +6 -13
  889. package/src/components/Bonus/Bonus.fixture.mobile.tsx +2 -2
  890. package/src/components/Bonus/Bonus.fixture.tsx +2 -2
  891. package/src/components/Bonus/Bonus.tsx +1 -1
  892. package/src/components/Bonus/BonusContent.ts +1 -1
  893. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +2 -2
  894. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +2 -2
  895. package/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  896. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +2 -2
  897. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  898. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  899. package/src/components/Calculator/Calculator.fixture.mobile.tsx +3 -3
  900. package/src/components/Calculator/Calculator.fixture.tsx +2 -2
  901. package/src/components/Calculator/Calculator.tsx +1 -1
  902. package/src/components/Calculator/CalculatorContent.ts +1 -1
  903. package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
  904. package/src/components/Calculator/DepositCalculatorForm.tsx +1 -1
  905. package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
  906. package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +2 -2
  907. package/src/components/CardTransfer/CardTransfer.fixture.tsx +2 -2
  908. package/src/components/CardTransfer/CardTransfer.tsx +3 -17
  909. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  910. package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
  911. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +2 -2
  912. package/src/components/CarouselCard/CarouselCard.fixture.tsx +2 -2
  913. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  914. package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
  915. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.mobile.tsx +2 -2
  916. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -2
  917. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  918. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +2 -2
  919. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +3 -3
  920. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +3 -3
  921. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  922. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +5 -5
  923. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +6 -5
  924. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  925. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -3
  926. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -1
  927. package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
  928. package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
  929. package/src/components/ComparisonTable/TableColumn.tsx +5 -5
  930. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -2
  931. package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
  932. package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -2
  933. package/src/components/Depository/DepositoryFilter.tsx +4 -6
  934. package/src/components/ErrorBlock/ErrorBlock.fixture.mobile.tsx +2 -2
  935. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -2
  936. package/src/components/ErrorBlock/ErrorBlock.tsx +4 -2
  937. package/src/components/ErrorBlock/ErrorBlockContent.ts +2 -2
  938. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -3
  939. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +2 -2
  940. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +2 -2
  941. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +2 -2
  942. package/src/components/Footer/Contacts.tsx +2 -2
  943. package/src/components/Footer/Footer.mobile.tsx +2 -2
  944. package/src/components/Footer/Footer.tsx +3 -3
  945. package/src/components/Footer/FooterDataProps.ts +3 -3
  946. package/src/components/Footer/SocialMedia.tsx +6 -6
  947. package/src/components/Header/HeaderTop.tsx +3 -3
  948. package/src/components/Header/InternetBankButton.tsx +3 -3
  949. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
  950. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +2 -2
  951. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  952. package/src/components/LikeControl/LikeControl.tsx +1 -1
  953. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -3
  954. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -3
  955. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  956. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  957. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -2
  958. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
  959. package/src/components/ProductBlock/ProductBlock.fixture.tsx +4 -3
  960. package/src/components/ProductBlock/renderBackwardButton.tsx +5 -5
  961. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +3 -3
  962. package/src/components/ProductGallery/ProductGallery.fixture.tsx +3 -3
  963. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +2 -2
  964. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +2 -2
  965. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  966. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +2 -2
  967. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +7 -2
  968. package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
  969. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  970. package/src/components/StepsBlock/StepsBlockContent.ts +3 -3
  971. package/src/components/StepsBlock/renderStep.tsx +5 -5
  972. package/src/components/TariffsTable/EmbeddableCellData.tsx +4 -4
  973. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  974. package/src/components/TariffsTable/TariffsTableWrapper.tsx +1 -1
  975. package/src/model/ButtonVersion.ts +2 -10
  976. package/src/model/LinkButtonVersion.ts +13 -0
  977. package/src/setup-fixture.ts +6 -1
  978. package/src/ui-kit/ARIAProps.ts +4 -0
  979. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -1
  980. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  981. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +1 -1
  982. package/src/ui-kit/Button/Button.fixture.tsx +53 -190
  983. package/src/ui-kit/Button/Button.tsx +70 -44
  984. package/src/ui-kit/Button/useButton.ts +16 -0
  985. package/src/ui-kit/ControlStateProps.ts +4 -0
  986. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  987. package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
  988. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +2 -2
  989. package/src/ui-kit/{Button → LinkButton}/ArrowButton.tsx +10 -7
  990. package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/ButtonInner.tsx +6 -5
  991. package/src/ui-kit/LinkButton/ButtonsSectionContent.ts +9 -0
  992. package/src/ui-kit/LinkButton/GetButtonClassParams.ts +8 -0
  993. package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/LikeButton.tsx +2 -0
  994. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +216 -0
  995. package/src/ui-kit/LinkButton/LinkButton.tsx +54 -0
  996. package/src/ui-kit/{Button/ButtonContent.ts → LinkButton/LinkButtonContent.ts} +5 -3
  997. package/src/ui-kit/{Button/ButtonProps.ts → LinkButton/LinkButtonProps.ts} +3 -2
  998. package/src/ui-kit/{Button → LinkButton}/buttonClassNameConstants.ts +8 -4
  999. package/src/ui-kit/{Button → LinkButton}/getDisabledButtonClasses.ts +1 -0
  1000. package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/getRegularButtonClasses.ts +1 -0
  1001. package/{mobile/src/ui-kit/Button → src/ui-kit/LinkButton}/renderArrows.tsx +2 -0
  1002. package/src/ui-kit/{Button → LinkButton}/renderButtonsSection.tsx +6 -5
  1003. package/src/ui-kit/{Button → LinkButton}/useFormSubmit.ts +2 -1
  1004. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
  1005. package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +1 -1
  1006. package/tailwind.config.cjs +2 -1
  1007. package/bundle/ui-kit/Button/ArrowButton.d.ts +0 -4
  1008. package/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
  1009. package/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1010. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1011. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1012. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1013. package/dist/ui-kit/Button/ArrowButton.d.ts +0 -4
  1014. package/dist/ui-kit/Button/ArrowButton.js.map +0 -1
  1015. package/dist/ui-kit/Button/ButtonContent.js.map +0 -1
  1016. package/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
  1017. package/dist/ui-kit/Button/ButtonInner.js.map +0 -1
  1018. package/dist/ui-kit/Button/ButtonProps.js.map +0 -1
  1019. package/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1020. package/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1021. package/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1022. package/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1023. package/dist/ui-kit/Button/LikeButton.js.map +0 -1
  1024. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1025. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1026. package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1027. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1028. package/dist/ui-kit/Button/renderArrows.js.map +0 -1
  1029. package/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1030. package/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1031. package/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
  1032. package/lib/ui-kit/Button/ArrowButton.d.ts +0 -4
  1033. package/lib/ui-kit/Button/ArrowButton.js.map +0 -1
  1034. package/lib/ui-kit/Button/ButtonContent.js +0 -2
  1035. package/lib/ui-kit/Button/ButtonContent.js.map +0 -1
  1036. package/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
  1037. package/lib/ui-kit/Button/ButtonInner.js.map +0 -1
  1038. package/lib/ui-kit/Button/ButtonProps.js +0 -2
  1039. package/lib/ui-kit/Button/ButtonProps.js.map +0 -1
  1040. package/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1041. package/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1042. package/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1043. package/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1044. package/lib/ui-kit/Button/LikeButton.js.map +0 -1
  1045. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1046. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1047. package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1048. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1049. package/lib/ui-kit/Button/renderArrows.js.map +0 -1
  1050. package/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -8
  1051. package/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1052. package/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
  1053. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +0 -4
  1054. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +0 -2
  1055. package/mobile/bundle/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1056. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1057. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1058. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1059. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +0 -4
  1060. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +0 -1
  1061. package/mobile/dist/ui-kit/Button/ButtonContent.d.ts +0 -20
  1062. package/mobile/dist/ui-kit/Button/ButtonContent.js.map +0 -1
  1063. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +0 -2
  1064. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +0 -1
  1065. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -15
  1066. package/mobile/dist/ui-kit/Button/ButtonProps.js.map +0 -1
  1067. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1068. package/mobile/dist/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1069. package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1070. package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1071. package/mobile/dist/ui-kit/Button/LikeButton.d.ts +0 -6
  1072. package/mobile/dist/ui-kit/Button/LikeButton.js.map +0 -1
  1073. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1074. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1075. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.d.ts +0 -2
  1076. package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1077. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.d.ts +0 -2
  1078. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1079. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +0 -11
  1080. package/mobile/dist/ui-kit/Button/renderArrows.js.map +0 -1
  1081. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1082. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1083. package/mobile/dist/ui-kit/Button/useFormSubmit.d.ts +0 -3
  1084. package/mobile/dist/ui-kit/Button/useFormSubmit.js.map +0 -1
  1085. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +0 -4
  1086. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +0 -1
  1087. package/mobile/lib/ui-kit/Button/ButtonContent.d.ts +0 -20
  1088. package/mobile/lib/ui-kit/Button/ButtonContent.js +0 -2
  1089. package/mobile/lib/ui-kit/Button/ButtonContent.js.map +0 -1
  1090. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +0 -2
  1091. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +0 -1
  1092. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -15
  1093. package/mobile/lib/ui-kit/Button/ButtonProps.js +0 -2
  1094. package/mobile/lib/ui-kit/Button/ButtonProps.js.map +0 -1
  1095. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.d.ts +0 -7
  1096. package/mobile/lib/ui-kit/Button/ButtonsSectionContent.js.map +0 -1
  1097. package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +0 -6
  1098. package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +0 -1
  1099. package/mobile/lib/ui-kit/Button/LikeButton.d.ts +0 -6
  1100. package/mobile/lib/ui-kit/Button/LikeButton.js.map +0 -1
  1101. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +0 -5
  1102. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +0 -1
  1103. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.d.ts +0 -2
  1104. package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +0 -1
  1105. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.d.ts +0 -2
  1106. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +0 -1
  1107. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +0 -11
  1108. package/mobile/lib/ui-kit/Button/renderArrows.js.map +0 -1
  1109. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +0 -9
  1110. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +0 -1
  1111. package/mobile/lib/ui-kit/Button/useFormSubmit.d.ts +0 -3
  1112. package/mobile/lib/ui-kit/Button/useFormSubmit.js.map +0 -1
  1113. package/mobile/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
  1114. package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
  1115. package/src/ui-kit/Button/ButtonsSectionContent.ts +0 -8
  1116. package/src/ui-kit/Button/GetButtonClassParams.ts +0 -7
  1117. /package/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1118. /package/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1119. /package/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1120. /package/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1121. /package/lib/ui-kit/{Button → LinkButton}/LikeButton.fixture.d.ts +0 -0
  1122. /package/mobile/dist/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1123. /package/mobile/dist/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1124. /package/mobile/lib/ui-kit/{Button → LinkButton}/ButtonsSectionContent.js +0 -0
  1125. /package/mobile/lib/ui-kit/{Button → LinkButton}/GetButtonClassParams.js +0 -0
  1126. /package/src/ui-kit/{Button → LinkButton}/LikeButton.fixture.tsx +0 -0
@@ -1,6 +1,3 @@
1
- import { type ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
3
- import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
4
1
  import { Img } from '../../ui-kit/Img/Img';
5
2
  import { type ImageContent } from '../../ui-kit/Img/ImgProps';
6
3
  import {
@@ -8,6 +5,9 @@ import {
8
5
  type InnerTableButtonProps,
9
6
  } from '../../ui-kit/InnerTable/InnerTableButton';
10
7
  import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
8
+ import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
9
+ import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
10
+ import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection';
11
11
  import { List } from '../../ui-kit/List/List';
12
12
  import { type ListProps } from '../../ui-kit/List/ListContent';
13
13
  import { Text } from '../../ui-kit/Text/Text';
@@ -15,7 +15,7 @@ import { type LabelDescriptionCell } from './TariffsTableContent';
15
15
 
16
16
  export type EmbeddableCellDataType =
17
17
  | LabelDescriptionCell
18
- | ButtonContent
18
+ | LinkButtonContent
19
19
  | ImageContent
20
20
  | ListProps
21
21
  | InnerTableButtonProps;
@@ -1,9 +1,9 @@
1
1
  import { type DescriptionProps, type LabelProps, type TitleProps } from '../../model/HeadlineType';
2
2
  import { type UniBlockContent, type UniBlockProps } from '../../model/JSXBlock';
3
3
  import { type IconProps } from '../../model/Picture';
4
- import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
5
4
  import { type ImageContent } from '../../ui-kit/Img/ImgProps';
6
5
  import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
6
+ import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
7
7
  import { type ListProps } from '../../ui-kit/List/ListContent';
8
8
 
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { type CarouselControls } from '../../hooks/useCarouselControls';
3
- import { renderArrows } from '../../ui-kit/Button/renderArrows';
3
+ import { renderArrows } from '../../ui-kit/LinkButton/renderArrows';
4
4
 
5
5
  interface WrapperProps {
6
6
  controls: CarouselControls;
@@ -1,13 +1,5 @@
1
1
  /**
2
2
  * @title Тема кнопки
3
- * @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Серая", "Наследуемая"]
4
- * @default primary
3
+ * @enumNames ["Основная", "Второстепенная"]
5
4
  */
6
- export type ButtonVersion =
7
- | 'primary'
8
- | 'secondary'
9
- | 'white'
10
- | 'link'
11
- | 'transparent'
12
- | 'gray'
13
- | '';
5
+ export type ButtonVersion = 'primary' | 'secondary';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @title Тема кнопки
3
+ * @enumNames ["Основная", "Второстепенная", "Белая", "Ссылка", "Прозрачная", "Серая", "Наследуемая"]
4
+ * @default primary
5
+ */
6
+ export type LinkButtonVersion =
7
+ | 'primary'
8
+ | 'secondary'
9
+ | 'white'
10
+ | 'link'
11
+ | 'transparent'
12
+ | 'gray'
13
+ | '';
@@ -45,6 +45,11 @@ useRouter.setup(() => {
45
45
  });
46
46
 
47
47
  handlerDecorator.setup((handler): any => (ev) => {
48
- ev.preventDefault();
48
+ const shouldNotPrevent = ev?.target?.type === 'submit';
49
+
50
+ if (!shouldNotPrevent) {
51
+ ev.preventDefault();
52
+ }
53
+
49
54
  handler(ev);
50
55
  });
@@ -0,0 +1,4 @@
1
+ export interface ARIAProps {
2
+ role?: string;
3
+ [key: `aria-${string}`]: string | undefined;
4
+ }
@@ -36,7 +36,9 @@ export const renderFiltrationForm = ({
36
36
  </div>
37
37
  {resetButton ? (
38
38
  <div>
39
- <Button className="w-full @4xl:w-72 @4xl:ml-s" onClick={reset} {...resetButton} />
39
+ <Button className="w-full @4xl:w-72 @4xl:ml-s" onClick={reset}>
40
+ {resetButton?.text}
41
+ </Button>
40
42
  </div>
41
43
  ) : null}
42
44
  </form>
@@ -5,8 +5,8 @@ import { type UniBlockProps } from '../../model/JSXBlock';
5
5
  import { type VNode } from '../../model/VNode';
6
6
  import { BaseTile } from '../BaseTile/BaseTile';
7
7
  import { BenefitsList } from '../BenefitsList/BenefitsList';
8
- import { renderButtonsSection } from '../Button/renderButtonsSection';
9
8
  import { Img } from '../Img/Img';
9
+ import { renderButtonsSection } from '../LinkButton/renderButtonsSection';
10
10
  import { List } from '../List/List';
11
11
  import { type ListItemSize } from '../List/ListContent';
12
12
  import { PriceList } from '../PriceList/PriceList';
@@ -2,8 +2,8 @@ import { type Align } from '../../model/Align';
2
2
  import { type BulletsProps } from '../../model/Bullets';
3
3
  import { type HeadlineProps } from '../../model/HeadlineType';
4
4
  import { type BenefitsListContent } from '../BenefitsList/BenefitsListContent';
5
- import { type ButtonsSectionContent } from '../Button/ButtonsSectionContent';
6
5
  import { type ImageContent } from '../Img/ImgProps';
6
+ import { type ButtonsSectionContent } from '../LinkButton/ButtonsSectionContent';
7
7
  import { type ListContent } from '../List/ListContent';
8
8
  import { type RichTextProps } from '../RichText/RichTextProps';
9
9
  import { type TagsContent } from '../Tags/TagsContent';
@@ -1,49 +1,75 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useLink } from '../../hooks/useLink';
3
- import { ButtonInner } from './ButtonInner';
4
- import { type ButtonProps } from './ButtonProps';
5
- import { getDisabledButtonClasses } from './getDisabledButtonClasses';
6
- import { getRegularButtonClasses } from './getRegularButtonClasses';
7
- import { useFormSubmit } from './useFormSubmit';
8
-
9
- export const Button = JSX<ButtonProps>(({ disabled, children, method = 'LINK', href, ...rest }) => {
10
- const handleFormSubmit = useFormSubmit({ method, href });
11
-
12
- const link = useLink();
13
- const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
14
- const buttonInner = children ?? <ButtonInner {...adjustedProps} />;
15
-
16
- return disabled ? (
17
- <DisabledButton {...adjustedProps}>{buttonInner}</DisabledButton>
18
- ) : (
19
- <RegularButton {...adjustedProps}>{buttonInner}</RegularButton>
20
- );
21
- });
2
+ import { type ButtonVersion } from '../../model/ButtonVersion';
3
+ import { style } from '../../utils/style';
4
+ import { type ARIAProps } from '../ARIAProps';
5
+ import { type ControlStateProps } from '../ControlStateProps';
6
+ import type { PreventableEvent } from '../PreventableEvent';
7
+ import { useButton } from './useButton';
8
+
9
+ const activeButtonStyleMap = 'text-white bg-primary-active';
10
+
11
+ const disabledButtonStyle = 'bg-main-gray text-main-disabled cursor-not-allowed';
12
+
13
+ const buttonStyleMap: Record<ButtonVersion, string> = {
14
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
15
+ secondary:
16
+ 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
17
+ };
18
+
19
+ const secondaryButtonStyleMap: Record<ButtonVersion, string> = {
20
+ primary: style(
21
+ 'group-data-secondary:text-primary-main group-data-secondary:bg-white',
22
+ 'group-data-secondary:hover:text-white group-data-secondary:hover:bg-primary-hover',
23
+ 'group-data-secondary:active:bg-primary-active',
24
+ ),
25
+ secondary: style(
26
+ 'group-data-secondary:text-white group-data-secondary:bg-white/20',
27
+ 'group-data-secondary:hover:bg-primary-hover',
28
+ 'group-data-secondary:active:bg-primary-active',
29
+ ),
30
+ };
31
+
32
+ export interface ButtonProps extends ControlStateProps, ARIAProps {
33
+ className?: string;
34
+ version?: ButtonVersion;
35
+ type?: 'button' | 'submit' | 'reset' | undefined;
36
+ rounded?: boolean;
37
+ role?: string;
38
+ onClick?: (ev?: PreventableEvent) => void;
39
+ }
40
+
41
+ export const Button = JSX<ButtonProps>(({ children, ...props }) => {
42
+ const button = useButton();
43
+
44
+ const {
45
+ className,
46
+ version = 'primary',
47
+ active,
48
+ disabled,
49
+ type = 'button',
50
+ rounded = true,
51
+ role,
52
+ onClick,
53
+ } = button(props);
22
54
 
23
- const RegularButton = JSX<ButtonProps>(
24
- ({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (
25
- <a
26
- className={getRegularButtonClasses({ className, version, rounded })}
27
- href={href}
28
- rel={rel}
29
- target={target}
30
- aria-label={ariaLabel}
31
- role={href ? 'link' : 'button'}
55
+ return (
56
+ <button
57
+ className={style(
58
+ 'font-sans px-9 py-4',
59
+ 'flex justify-center items-center gap-xs',
60
+ active ? activeButtonStyleMap : '',
61
+ disabled ? disabledButtonStyle : '',
62
+ !active && !disabled
63
+ ? style(buttonStyleMap[version], secondaryButtonStyleMap[version])
64
+ : '',
65
+ rounded ? 'rounded-md' : '',
66
+ className,
67
+ )}
68
+ type={type}
69
+ role={role}
32
70
  onClick={onClick}
33
71
  >
34
72
  {children}
35
- </a>
36
- ),
37
- );
38
-
39
- const DisabledButton = JSX<ButtonProps>(({ className, ariaLabel, version, rounded, children }) => (
40
- <div
41
- role="button"
42
- aria-disabled="true"
43
- aria-label={ariaLabel}
44
- tabIndex={-1}
45
- className={getDisabledButtonClasses({ className, rounded, version })}
46
- >
47
- {children}
48
- </div>
49
- ));
73
+ </button>
74
+ );
75
+ });
@@ -0,0 +1,16 @@
1
+ import { handlerDecorator } from '../../hooks/handlerDecorator';
2
+ import { type PreventableEvent } from '../PreventableEvent';
3
+ import { type ButtonProps } from './Button';
4
+
5
+ export function useButton() {
6
+ return (props: ButtonProps): ButtonProps => ({
7
+ ...props,
8
+ onClick: handlerDecorator(handleClick(props), props),
9
+ });
10
+ }
11
+
12
+ function handleClick({ disabled, onClick }: Partial<ButtonProps>) {
13
+ return (ev?: PreventableEvent) => {
14
+ !disabled && onClick && onClick(ev);
15
+ };
16
+ }
@@ -0,0 +1,4 @@
1
+ export interface ControlStateProps {
2
+ active?: boolean;
3
+ disabled?: boolean;
4
+ }
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { type TariffsTableCellIndexProps } from '../../components/TariffsTable/TariffsTableContent';
3
- import { Button } from '../Button/Button';
4
3
  import { Img } from '../Img/Img';
4
+ import { LinkButton } from '../LinkButton/LinkButton';
5
5
  import { type TariffsTableInnerContent } from './InnerTableProps';
6
6
 
7
7
  export interface InnerTableButtonProps
@@ -14,7 +14,7 @@ export interface InnerTableButtonProps
14
14
 
15
15
  export const TableInnerButton = JSX<InnerTableButtonProps>(
16
16
  ({ className = '', isOpen, onClick }) => (
17
- <Button
17
+ <LinkButton
18
18
  className={className}
19
19
  appendRight={
20
20
  <Img image={{ icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }} width="20" height="20" />
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { Button } from '../Button/Button';
3
2
  import { Icon } from '../Icon/Icon';
3
+ import { LinkButton } from '../LinkButton/LinkButton';
4
4
  import { linkButtonVersion } from './linkButtonVersion';
5
5
 
6
6
  export interface InnerTableHeaderProps {
@@ -29,7 +29,7 @@ export const InnerTableHeader = JSX<InnerTableHeaderProps>(
29
29
  </div>
30
30
  ) : null}
31
31
  {linkToPDF ? (
32
- <Button
32
+ <LinkButton
33
33
  className="text-primary-main"
34
34
  href={linkToPDF}
35
35
  version={linkButtonVersion}
@@ -1,11 +1,12 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { style } from '../../utils/style';
3
3
  import { Img } from '../Img/Img';
4
- import { Button } from './Button';
5
- import { type ButtonProps } from './ButtonProps';
4
+ import { LinkButton } from './LinkButton';
5
+ import { type LinkButtonProps } from './LinkButtonProps';
6
6
 
7
- export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) => (
8
- <Button
7
+ /** @deprecated */
8
+ export const ArrowButton = JSX<LinkButtonProps>(({ className, disabled, ...rest }) => (
9
+ <LinkButton
9
10
  rounded
10
11
  className={style(
11
12
  'group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black',
@@ -24,14 +25,16 @@ export const ArrowButton = JSX<ButtonProps>(({ className, disabled, ...rest }) =
24
25
  width="16"
25
26
  height="16"
26
27
  />
27
- </Button>
28
+ </LinkButton>
28
29
  ));
29
30
 
30
- export const ScrollLeftButton = JSX<ButtonProps>((props) => (
31
+ /** @deprecated */
32
+ export const ScrollLeftButton = JSX<LinkButtonProps>((props) => (
31
33
  <ArrowButton {...props} ariaLabel="Пролистать влево" data-block-control="scroll-left" />
32
34
  ));
33
35
 
34
- export const ScrollRightButton = JSX<ButtonProps>((props) => (
36
+ /** @deprecated */
37
+ export const ScrollRightButton = JSX<LinkButtonProps>((props) => (
35
38
  <ArrowButton
36
39
  {...props}
37
40
  className={`${props.className || ''} rotate-180`}
@@ -1,10 +1,11 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { style } from '../../utils/style';
3
3
  import { iconStyleMap } from './buttonClassNameConstants';
4
- import { type ButtonContent } from './ButtonContent';
5
- import { type ButtonProps } from './ButtonProps';
4
+ import { type LinkButtonContent } from './LinkButtonContent';
5
+ import { type LinkButtonProps } from './LinkButtonProps';
6
6
 
7
- export const ButtonInner = JSX<ButtonProps>((props) => {
7
+ /** @deprecated */
8
+ export const ButtonInner = JSX<LinkButtonProps>((props) => {
8
9
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
9
10
  const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
10
11
 
@@ -26,7 +27,7 @@ export const ButtonInner = JSX<ButtonProps>((props) => {
26
27
  );
27
28
  });
28
29
 
29
- const getButtonStyle = (props: ButtonContent) => {
30
+ const getButtonStyle = (props: LinkButtonContent) => {
30
31
  const { version, aboveText, rounded } = props;
31
32
 
32
33
  if (version === 'link') {
@@ -42,5 +43,5 @@ const getButtonStyle = (props: ButtonContent) => {
42
43
  );
43
44
  };
44
45
 
45
- const isWithText = ({ text, aboveText, appendLeft }: ButtonProps) =>
46
+ const isWithText = ({ text, aboveText, appendLeft }: LinkButtonProps) =>
46
47
  Boolean(text || aboveText || !appendLeft);
@@ -0,0 +1,9 @@
1
+ import { type LinkButtonContent } from './LinkButtonContent';
2
+
3
+ /** @deprecated */
4
+ export interface ButtonsSectionContent {
5
+ /**
6
+ * @title Кнопки
7
+ */
8
+ buttons?: LinkButtonContent[];
9
+ }
@@ -0,0 +1,8 @@
1
+ import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
2
+
3
+ /** @deprecated */
4
+ export type GetButtonClassParams = {
5
+ className?: string;
6
+ rounded?: boolean;
7
+ version?: LinkButtonVersion;
8
+ };
@@ -1,11 +1,13 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
 
3
+ /** @deprecated */
3
4
  export interface LikeButtonProps {
4
5
  className?: string;
5
6
  onClick?: () => void;
6
7
  ariaLabel?: string;
7
8
  }
8
9
 
10
+ /** @deprecated */
9
11
  export const LikeButton = JSX<LikeButtonProps>(({ className, onClick, ariaLabel }) => (
10
12
  <button
11
13
  type="button"
@@ -0,0 +1,54 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { useLink } from '../../hooks/useLink';
3
+ import { ButtonInner } from './ButtonInner';
4
+ import { getDisabledButtonClasses } from './getDisabledButtonClasses';
5
+ import { getRegularButtonClasses } from './getRegularButtonClasses';
6
+ import { type LinkButtonProps } from './LinkButtonProps';
7
+ import { useFormSubmit } from './useFormSubmit';
8
+
9
+ /** @deprecated */
10
+ export const LinkButton = JSX<LinkButtonProps>(
11
+ ({ disabled, children, method = 'LINK', href, ...rest }) => {
12
+ const handleFormSubmit = useFormSubmit({ method, href });
13
+
14
+ const link = useLink();
15
+ const adjustedProps = link({ onClick: handleFormSubmit, href, ...rest });
16
+ const buttonInner = children ?? <ButtonInner {...adjustedProps} />;
17
+
18
+ return disabled ? (
19
+ <DisabledButton {...adjustedProps}>{buttonInner}</DisabledButton>
20
+ ) : (
21
+ <RegularButton {...adjustedProps}>{buttonInner}</RegularButton>
22
+ );
23
+ },
24
+ );
25
+
26
+ const RegularButton = JSX<LinkButtonProps>(
27
+ ({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (
28
+ <a
29
+ className={getRegularButtonClasses({ className, version, rounded })}
30
+ href={href}
31
+ rel={rel}
32
+ target={target}
33
+ aria-label={ariaLabel}
34
+ role={href ? 'link' : 'button'}
35
+ onClick={onClick}
36
+ >
37
+ {children}
38
+ </a>
39
+ ),
40
+ );
41
+
42
+ const DisabledButton = JSX<LinkButtonProps>(
43
+ ({ className, ariaLabel, version, rounded, children }) => (
44
+ <div
45
+ role="button"
46
+ aria-disabled="true"
47
+ aria-label={ariaLabel}
48
+ tabIndex={-1}
49
+ className={getDisabledButtonClasses({ className, rounded, version })}
50
+ >
51
+ {children}
52
+ </div>
53
+ ),
54
+ );
@@ -1,16 +1,18 @@
1
- import { type ButtonVersion } from '../../model/ButtonVersion';
1
+ import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
2
2
  import { type LinkProps } from '../../model/LinkProps';
3
3
  import { type Picture } from '../../model/Picture';
4
4
 
5
+ /** @deprecated */
5
6
  export interface ButtonCommonContent extends LinkProps {
6
- version?: ButtonVersion;
7
+ version?: LinkButtonVersion;
7
8
  method?: 'LINK' | 'POST';
8
9
  }
9
10
 
11
+ /** @deprecated */
10
12
  /**
11
13
  * @title Кнопка
12
14
  */
13
- export interface ButtonContent extends ButtonCommonContent {
15
+ export interface LinkButtonContent extends ButtonCommonContent {
14
16
  /** @title Закругленные углы */
15
17
  rounded?: boolean;
16
18
  /** @title Иконка слева */
@@ -1,11 +1,12 @@
1
1
  import { type VNode } from '../../model/VNode';
2
2
  import { type PreventableEvent } from '../PreventableEvent';
3
- import { type ButtonContent } from './ButtonContent';
3
+ import { type LinkButtonContent } from './LinkButtonContent';
4
4
 
5
+ /** @deprecated */
5
6
  /**
6
7
  * @title Кнопка
7
8
  */
8
- export interface ButtonProps extends ButtonContent {
9
+ export interface LinkButtonProps extends LinkButtonContent {
9
10
  className?: string;
10
11
  disabled?: boolean;
11
12
  rel?: string;
@@ -1,6 +1,7 @@
1
- import { type ButtonVersion } from '../../model/ButtonVersion';
1
+ import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
2
2
 
3
- export const buttonStyleMap: Record<ButtonVersion, string> = {
3
+ /** @deprecated */
4
+ export const buttonStyleMap: Record<LinkButtonVersion, string> = {
4
5
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
5
6
  secondary:
6
7
  'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
@@ -14,7 +15,8 @@ export const buttonStyleMap: Record<ButtonVersion, string> = {
14
15
 
15
16
  const DisabledStyle = 'bg-main-divider text-main-disabled';
16
17
 
17
- export const buttonDisabledStyleMap: Record<ButtonVersion, string> = {
18
+ /** @deprecated */
19
+ export const buttonDisabledStyleMap: Record<LinkButtonVersion, string> = {
18
20
  primary: DisabledStyle,
19
21
  secondary: DisabledStyle,
20
22
  white: DisabledStyle,
@@ -24,9 +26,11 @@ export const buttonDisabledStyleMap: Record<ButtonVersion, string> = {
24
26
  '': '',
25
27
  };
26
28
 
29
+ /** @deprecated */
27
30
  export const buttonStyle = 'text-center font-sans select-none';
28
31
 
29
- export const iconStyleMap: Record<ButtonVersion, string> = {
32
+ /** @deprecated */
33
+ export const iconStyleMap: Record<LinkButtonVersion, string> = {
30
34
  primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
31
35
  secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
32
36
  white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
@@ -1,6 +1,7 @@
1
1
  import { buttonDisabledStyleMap, buttonStyle } from './buttonClassNameConstants';
2
2
  import { type GetButtonClassParams } from './GetButtonClassParams';
3
3
 
4
+ /** @deprecated */
4
5
  export const getDisabledButtonClasses = ({
5
6
  className,
6
7
  rounded,
@@ -1,6 +1,7 @@
1
1
  import { buttonStyle, buttonStyleMap } from './buttonClassNameConstants';
2
2
  import { type GetButtonClassParams } from './GetButtonClassParams';
3
3
 
4
+ /** @deprecated */
4
5
  export const getRegularButtonClasses = ({
5
6
  className,
6
7
  rounded,
@@ -1,5 +1,6 @@
1
1
  import { ArrowButton } from './ArrowButton';
2
2
 
3
+ /** @deprecated */
3
4
  export type RenderArrowsProps = {
4
5
  dec: () => void;
5
6
  inc: () => void;
@@ -10,6 +11,7 @@ export type RenderArrowsProps = {
10
11
  isDisabled?: boolean;
11
12
  };
12
13
 
14
+ /** @deprecated */
13
15
  export function renderArrows({
14
16
  dec,
15
17
  inc,
@@ -2,8 +2,8 @@ import { type Picture } from '../../model/Picture';
2
2
  import { isIcon } from '../../utils/isIcon';
3
3
  import { style } from '../../utils/style';
4
4
  import { Img } from '../Img/Img';
5
- import { Button } from './Button';
6
- import { type ButtonContent } from './ButtonContent';
5
+ import { LinkButton } from './LinkButton';
6
+ import { type LinkButtonContent } from './LinkButtonContent';
7
7
 
8
8
  interface ButtonsSectionOptions {
9
9
  className?: string;
@@ -11,8 +11,9 @@ interface ButtonsSectionOptions {
11
11
  isVertical?: boolean;
12
12
  }
13
13
 
14
+ /** @deprecated */
14
15
  export const renderButtonsSection = (
15
- buttons?: (ButtonContent | undefined)[],
16
+ buttons?: (LinkButtonContent | undefined)[],
16
17
  { className, buttonClassName, isVertical }: ButtonsSectionOptions = {},
17
18
  ) =>
18
19
  buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (
@@ -31,13 +32,13 @@ export const renderButtonsSection = (
31
32
 
32
33
  const renderButton =
33
34
  (buttonClassName = '') =>
34
- (button?: ButtonContent, index?: number) => {
35
+ (button?: LinkButtonContent, index?: number) => {
35
36
  const { text, icon, iconRight, version, ...rest } = button || {};
36
37
  const iconVersion = getIconVersion(icon, version);
37
38
  const iconRightVersion = getIconVersion(iconRight, version);
38
39
 
39
40
  return text || icon?.icon ? (
40
- <Button
41
+ <LinkButton
41
42
  key={index ? String(index) : ''}
42
43
  className={style('basis-full @lg:basis-auto', buttonClassName)}
43
44
  appendLeft={renderButtonIcon({ ...icon, iconVersion })}
@@ -1,7 +1,8 @@
1
1
  import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
2
2
  import { type PreventableEvent } from '../PreventableEvent';
3
- import { type ButtonCommonContent } from './ButtonContent';
3
+ import { type ButtonCommonContent } from './LinkButtonContent';
4
4
 
5
+ /** @deprecated */
5
6
  export const useFormSubmit = ({ method, href }: ButtonCommonContent) =>
6
7
  useCallback((ev: PreventableEvent) => {
7
8
  if (method !== 'POST' || !href) {
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { renderArrows } from '../Button/renderArrows';
2
+ import { renderArrows } from '../LinkButton/renderArrows';
3
3
  import { type TableArrowScrollControlProps } from './TableArrowScrollControlProps';
4
4
 
5
5
  export const TableArrowScrollControl = JSX<TableArrowScrollControlProps>(
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { style } from '../../utils/style';
3
- import { ScrollLeftButton, ScrollRightButton } from '../Button/ArrowButton';
3
+ import { ScrollLeftButton, ScrollRightButton } from '../LinkButton/ArrowButton';
4
4
  import { SwipeListContainer } from '../SwipeListControl/SwipeListContainer';
5
5
  import { useSwipeListScroll } from '../SwipeListControl/useSwipeListScroll';
6
6
  import { renderTab } from './renderTab';