@redneckz/wildless-cms-uni-blocks 0.12.8 → 0.12.9

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 (511) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +48 -36
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  5. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  6. package/bundle/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  7. package/bundle/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
  8. package/bundle/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  9. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  10. package/bundle/components/Footer/findIconByHref.d.ts +2 -0
  11. package/bundle/components/Footer/iconsMap.d.ts +7 -0
  12. package/bundle/model/HeadlineType.d.ts +5 -4
  13. package/bundle/ui-kit/Icon/IconProps.d.ts +3 -2
  14. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  15. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  16. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  17. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  18. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  20. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  21. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  22. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  24. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  25. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  26. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  27. package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  28. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  29. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  30. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  31. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  32. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  33. package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  34. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  35. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  36. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  37. package/dist/components/ApplicationForm/renderRegion.js +1 -1
  38. package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  39. package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  40. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  41. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  42. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  43. package/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  44. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  45. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  46. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  47. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  48. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -5
  49. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  50. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  51. package/dist/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  52. package/dist/components/BenefitsBlock/defaultIconSize.js +4 -0
  53. package/dist/components/BenefitsBlock/defaultIconSize.js.map +1 -0
  54. package/dist/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
  55. package/dist/components/BenefitsBlock/defaultIconSize.mobile.js +4 -0
  56. package/dist/components/BenefitsBlock/defaultIconSize.mobile.js.map +1 -0
  57. package/dist/components/Blocks.mobile.js +3 -1
  58. package/dist/components/Blocks.mobile.js.map +1 -1
  59. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  60. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +1 -1
  61. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
  62. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  63. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  64. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  65. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  66. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  67. package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -2
  68. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  69. package/dist/components/Footer/Footer.mobile.js +7 -2
  70. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  71. package/dist/components/Footer/MediaButton.js +2 -33
  72. package/dist/components/Footer/MediaButton.js.map +1 -1
  73. package/dist/components/Footer/findIconByHref.d.ts +2 -0
  74. package/dist/components/Footer/findIconByHref.js +6 -0
  75. package/dist/components/Footer/findIconByHref.js.map +1 -0
  76. package/dist/components/Footer/iconsMap.d.ts +7 -0
  77. package/dist/components/Footer/iconsMap.js +35 -0
  78. package/dist/components/Footer/iconsMap.js.map +1 -0
  79. package/dist/components/RollupItem/RollupItem.js +1 -2
  80. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  81. package/dist/components/TextBlock/TextBlock.js +3 -3
  82. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  83. package/dist/model/HeadlineType.d.ts +5 -4
  84. package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  85. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  86. package/dist/ui-kit/Icon/IconProps.d.ts +3 -2
  87. package/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  88. package/dist/ui-kit/Icon/RoundedIcon.js +9 -6
  89. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  90. package/dist/ui-kit/Select/Select.js +1 -1
  91. package/dist/ui-kit/Select/Select.js.map +1 -1
  92. package/dist/ui-kit/TopItem/TopItem.js +0 -1
  93. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  94. package/lib/common.css +1 -1
  95. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +10 -0
  96. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  97. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  98. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  99. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  100. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  101. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  102. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  103. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  104. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  105. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  106. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +0 -1
  107. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  108. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  109. package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +0 -1
  110. package/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  111. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  112. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +0 -1
  113. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  114. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  115. package/lib/components/ApplicationForm/renderContacts.d.ts +0 -1
  116. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +0 -1
  117. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  118. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  119. package/lib/components/ApplicationForm/renderCreditParameters.d.ts +0 -1
  120. package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  121. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  122. package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +0 -1
  123. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  124. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  125. package/lib/components/ApplicationForm/renderRegion.d.ts +0 -1
  126. package/lib/components/ApplicationForm/renderRegion.js +1 -1
  127. package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  128. package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +0 -1
  129. package/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  130. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  131. package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +0 -1
  132. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  133. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  134. package/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -1
  135. package/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  136. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  137. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +0 -1
  138. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  139. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  140. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  141. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.mobile.d.ts +1 -0
  142. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -5
  143. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  144. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  145. package/lib/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  146. package/lib/components/BenefitsBlock/defaultIconSize.js +2 -0
  147. package/lib/components/BenefitsBlock/defaultIconSize.js.map +1 -0
  148. package/lib/components/BenefitsBlock/defaultIconSize.mobile.d.ts +1 -0
  149. package/lib/components/BenefitsBlock/defaultIconSize.mobile.js +2 -0
  150. package/lib/components/BenefitsBlock/defaultIconSize.mobile.js.map +1 -0
  151. package/lib/components/Blocks.mobile.js +3 -1
  152. package/lib/components/Blocks.mobile.js.map +1 -1
  153. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
  154. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js +1 -1
  155. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.js.map +1 -1
  156. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  157. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  158. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  159. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  160. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  161. package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -2
  162. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  163. package/lib/components/Footer/Footer.mobile.js +7 -2
  164. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  165. package/lib/components/Footer/MediaButton.js +2 -33
  166. package/lib/components/Footer/MediaButton.js.map +1 -1
  167. package/lib/components/Footer/findIconByHref.d.ts +2 -0
  168. package/lib/components/Footer/findIconByHref.js +3 -0
  169. package/lib/components/Footer/findIconByHref.js.map +1 -0
  170. package/lib/components/Footer/iconsMap.d.ts +7 -0
  171. package/lib/components/Footer/iconsMap.js +33 -0
  172. package/lib/components/Footer/iconsMap.js.map +1 -0
  173. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +0 -1
  174. package/lib/components/RollupItem/RollupItem.js +1 -2
  175. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  176. package/lib/components/TextBlock/TextBlock.js +3 -3
  177. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  178. package/lib/model/HeadlineType.d.ts +5 -4
  179. package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  180. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  181. package/lib/ui-kit/Icon/IconProps.d.ts +3 -2
  182. package/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  183. package/lib/ui-kit/Icon/RoundedIcon.js +9 -6
  184. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  185. package/lib/ui-kit/Select/Select.js +1 -1
  186. package/lib/ui-kit/Select/Select.js.map +1 -1
  187. package/lib/ui-kit/TopItem/TopItem.js +0 -1
  188. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  189. package/mobile/bundle/bundle.umd.js +950 -492
  190. package/mobile/bundle/bundle.umd.min.js +1 -1
  191. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  192. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  193. package/mobile/bundle/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  194. package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  195. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  196. package/mobile/bundle/components/Footer/findIconByHref.d.ts +2 -0
  197. package/mobile/bundle/components/Footer/iconsMap.d.ts +7 -0
  198. package/mobile/bundle/model/HeadlineType.d.ts +5 -4
  199. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +3 -2
  200. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  201. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  202. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  203. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  204. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  205. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  206. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  207. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  208. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  209. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  210. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  211. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  212. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  213. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  214. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  215. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  216. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  217. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  218. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  219. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  220. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  221. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  222. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  223. package/mobile/dist/components/ApplicationForm/renderRegion.js +1 -1
  224. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  225. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  226. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  227. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  228. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  229. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  230. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  231. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  232. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  233. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  234. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -5
  235. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  236. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  237. package/mobile/dist/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  238. package/mobile/dist/components/BenefitsBlock/defaultIconSize.js +4 -0
  239. package/mobile/dist/components/BenefitsBlock/defaultIconSize.js.map +1 -0
  240. package/mobile/dist/components/Blocks.js +3 -1
  241. package/mobile/dist/components/Blocks.js.map +1 -1
  242. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  243. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  244. package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  245. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  246. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  247. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  248. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  249. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  250. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -2
  251. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  252. package/mobile/dist/components/Footer/Footer.js +7 -2
  253. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  254. package/mobile/dist/components/Footer/MediaButton.js +2 -33
  255. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  256. package/mobile/dist/components/Footer/findIconByHref.d.ts +2 -0
  257. package/mobile/dist/components/Footer/findIconByHref.js +6 -0
  258. package/mobile/dist/components/Footer/findIconByHref.js.map +1 -0
  259. package/mobile/dist/components/Footer/iconsMap.d.ts +7 -0
  260. package/mobile/dist/components/Footer/iconsMap.js +35 -0
  261. package/mobile/dist/components/Footer/iconsMap.js.map +1 -0
  262. package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
  263. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  264. package/mobile/dist/components/TextBlock/TextBlock.js +3 -3
  265. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  266. package/mobile/dist/model/HeadlineType.d.ts +5 -4
  267. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  268. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  269. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +3 -2
  270. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  271. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +9 -6
  272. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  273. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  274. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  275. package/mobile/dist/ui-kit/TopItem/TopItem.js +0 -1
  276. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  277. package/mobile/lib/common.css +1 -1
  278. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  279. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  280. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  281. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  282. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  283. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  284. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  285. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  286. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  287. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  288. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  289. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  290. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  291. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  292. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  293. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  294. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  295. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  296. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  297. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  298. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  299. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  300. package/mobile/lib/components/ApplicationForm/renderRegion.js +1 -1
  301. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  302. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  303. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  304. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  305. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  306. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  307. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  308. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  309. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  310. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  311. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -5
  312. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  313. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -0
  314. package/mobile/lib/components/BenefitsBlock/defaultIconSize.d.ts +1 -0
  315. package/mobile/lib/components/BenefitsBlock/defaultIconSize.js +2 -0
  316. package/mobile/lib/components/BenefitsBlock/defaultIconSize.js.map +1 -0
  317. package/mobile/lib/components/Blocks.js +3 -1
  318. package/mobile/lib/components/Blocks.js.map +1 -1
  319. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
  320. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  321. package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  322. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  323. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  324. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  325. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  326. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +2 -1
  327. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -2
  328. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  329. package/mobile/lib/components/Footer/Footer.js +7 -2
  330. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  331. package/mobile/lib/components/Footer/MediaButton.js +2 -33
  332. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  333. package/mobile/lib/components/Footer/findIconByHref.d.ts +2 -0
  334. package/mobile/lib/components/Footer/findIconByHref.js +3 -0
  335. package/mobile/lib/components/Footer/findIconByHref.js.map +1 -0
  336. package/mobile/lib/components/Footer/iconsMap.d.ts +7 -0
  337. package/mobile/lib/components/Footer/iconsMap.js +33 -0
  338. package/mobile/lib/components/Footer/iconsMap.js.map +1 -0
  339. package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
  340. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  341. package/mobile/lib/components/TextBlock/TextBlock.js +3 -3
  342. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  343. package/mobile/lib/model/HeadlineType.d.ts +5 -4
  344. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  345. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  346. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +3 -2
  347. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -0
  348. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +9 -6
  349. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  350. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  351. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  352. package/mobile/lib/ui-kit/TopItem/TopItem.js +0 -1
  353. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  354. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -1
  355. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  356. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
  357. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +3 -3
  358. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +5 -5
  359. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +3 -3
  360. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  361. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
  362. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +3 -3
  363. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
  364. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +13 -5
  365. package/mobile/src/components/ApplicationForm/renderRegion.tsx +7 -9
  366. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  367. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  368. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +4 -1
  369. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  370. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -6
  371. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +15 -19
  372. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -0
  373. package/mobile/src/components/BenefitsBlock/defaultIconSize.tsx +1 -0
  374. package/mobile/src/components/Blocks.ts +3 -1
  375. package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +2 -2
  376. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -4
  377. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +2 -1
  378. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -2
  379. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -1
  380. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -2
  381. package/mobile/src/components/Footer/Footer.tsx +19 -8
  382. package/mobile/src/components/Footer/MediaButton.tsx +2 -39
  383. package/mobile/src/components/Footer/findIconByHref.ts +4 -0
  384. package/mobile/src/components/Footer/iconsMap.ts +40 -0
  385. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -3
  386. package/mobile/src/components/TextBlock/TextBlock.tsx +12 -5
  387. package/mobile/src/model/HeadlineType.ts +6 -5
  388. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +3 -3
  389. package/mobile/src/ui-kit/Icon/IconProps.ts +3 -2
  390. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -7
  391. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  392. package/mobile/src/ui-kit/TopItem/TopItem.tsx +0 -1
  393. package/package.json +1 -1
  394. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +44 -0
  395. package/src/components/ApplicationForm/ApplicationForm.tsx +3 -1
  396. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  397. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +3 -3
  398. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +3 -3
  399. package/src/components/ApplicationForm/ApplicationFormWed.tsx +5 -5
  400. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +3 -3
  401. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  402. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +3 -3
  403. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +3 -3
  404. package/src/components/ApplicationForm/renderCreditParameters.tsx +3 -3
  405. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +13 -5
  406. package/src/components/ApplicationForm/renderRegion.tsx +7 -9
  407. package/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  408. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  409. package/src/components/ApplicationForm/renderSubmitButton.tsx +4 -1
  410. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  411. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -6
  412. package/src/components/BenefitsBlock/BenefitsBlock.fixture.mobile.tsx +27 -20
  413. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +43 -127
  414. package/src/components/BenefitsBlock/BenefitsBlock.tsx +15 -19
  415. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -0
  416. package/src/components/BenefitsBlock/defaultIconSize.mobile.tsx +1 -0
  417. package/src/components/BenefitsBlock/defaultIconSize.tsx +1 -0
  418. package/src/components/Blocks.mobile.ts +3 -1
  419. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.mobile.tsx +1 -1
  420. package/src/components/BonusBenefitsBlock/renderBonusBenefits.mobile.tsx +2 -2
  421. package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -4
  422. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +2 -1
  423. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -2
  424. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +3 -1
  425. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +1 -2
  426. package/src/components/Footer/Footer.mobile.tsx +19 -8
  427. package/src/components/Footer/MediaButton.tsx +2 -39
  428. package/src/components/Footer/findIconByHref.ts +4 -0
  429. package/src/components/Footer/iconsMap.ts +40 -0
  430. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +0 -14
  431. package/src/components/RollupItem/RollupItem.tsx +2 -3
  432. package/src/components/TextBlock/TextBlock.tsx +12 -5
  433. package/src/model/HeadlineType.ts +6 -5
  434. package/src/ui-kit/CookiePopup/CookiePopup.tsx +3 -3
  435. package/src/ui-kit/Icon/IconProps.ts +3 -2
  436. package/src/ui-kit/Icon/RoundedIcon.tsx +18 -7
  437. package/src/ui-kit/Select/Select.tsx +1 -1
  438. package/src/ui-kit/TopItem/TopItem.tsx +0 -1
  439. package/tailwind.config.cjs +0 -16
  440. package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  441. package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  442. package/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  443. package/bundle/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
  444. package/bundle/components/RollupItem/labelSize.d.ts +0 -1
  445. package/bundle/components/RollupItem/labelSize.mobile.d.ts +0 -1
  446. package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  447. package/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
  448. package/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  449. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  450. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -4
  451. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
  452. package/dist/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  453. package/dist/components/CarouselTariffsCard/descriptionSize.js +0 -4
  454. package/dist/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
  455. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
  456. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js +0 -4
  457. package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js.map +0 -1
  458. package/dist/components/RollupItem/labelSize.d.ts +0 -1
  459. package/dist/components/RollupItem/labelSize.js +0 -4
  460. package/dist/components/RollupItem/labelSize.js.map +0 -1
  461. package/dist/components/RollupItem/labelSize.mobile.d.ts +0 -1
  462. package/dist/components/RollupItem/labelSize.mobile.js +0 -4
  463. package/dist/components/RollupItem/labelSize.mobile.js.map +0 -1
  464. package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  465. package/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
  466. package/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  467. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +0 -1
  468. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +0 -2
  469. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +0 -1
  470. package/lib/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  471. package/lib/components/CarouselTariffsCard/descriptionSize.js +0 -2
  472. package/lib/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
  473. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +0 -1
  474. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js +0 -2
  475. package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js.map +0 -1
  476. package/lib/components/RollupItem/labelSize.d.ts +0 -1
  477. package/lib/components/RollupItem/labelSize.js +0 -2
  478. package/lib/components/RollupItem/labelSize.js.map +0 -1
  479. package/lib/components/RollupItem/labelSize.mobile.d.ts +0 -1
  480. package/lib/components/RollupItem/labelSize.mobile.js +0 -2
  481. package/lib/components/RollupItem/labelSize.mobile.js.map +0 -1
  482. package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  483. package/mobile/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  484. package/mobile/bundle/components/RollupItem/labelSize.d.ts +0 -1
  485. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  486. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +0 -4
  487. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  488. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  489. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js +0 -4
  490. package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
  491. package/mobile/dist/components/RollupItem/labelSize.d.ts +0 -1
  492. package/mobile/dist/components/RollupItem/labelSize.js +0 -4
  493. package/mobile/dist/components/RollupItem/labelSize.js.map +0 -1
  494. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +0 -1
  495. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +0 -2
  496. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +0 -1
  497. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.d.ts +0 -1
  498. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js +0 -2
  499. package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js.map +0 -1
  500. package/mobile/lib/components/RollupItem/labelSize.d.ts +0 -1
  501. package/mobile/lib/components/RollupItem/labelSize.js +0 -2
  502. package/mobile/lib/components/RollupItem/labelSize.js.map +0 -1
  503. package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
  504. package/mobile/src/components/CarouselTariffsCard/descriptionSize.tsx +0 -1
  505. package/mobile/src/components/RollupItem/labelSize.tsx +0 -1
  506. package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +0 -1
  507. package/src/components/BenefitsBlock/benefitImageStyles.tsx +0 -1
  508. package/src/components/CarouselTariffsCard/descriptionSize.mobile.tsx +0 -1
  509. package/src/components/CarouselTariffsCard/descriptionSize.tsx +0 -1
  510. package/src/components/RollupItem/labelSize.mobile.tsx +0 -1
  511. package/src/components/RollupItem/labelSize.tsx +0 -1
@@ -1,6 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useSWRResource } from '../../hooks/useSWRResource';
3
3
  import type { UniBlockProps } from '../../model/JSXBlock';
4
+ import { LinkCommonProps } from '../../model/LinkProps';
4
5
  import { projectSettings } from '../../ProjectSettings';
5
6
  import type { SitemapData } from '../../services/sitemap/SitemapData';
6
7
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
@@ -8,6 +9,7 @@ import { Button } from '../../ui-kit/Button/Button';
8
9
  import { LinkList } from '../../ui-kit/LinkList/LinkList';
9
10
  import { RollupItem } from '../RollupItem/RollupItem';
10
11
  import { Contacts } from './Contacts';
12
+ import { findIconByHref } from './findIconByHref';
11
13
  import type { FooterContent } from './FooterContent';
12
14
  import type { FooterDataProps } from './FooterDataProps';
13
15
  import { HorizontalNavigation } from './HorizontalNavigation';
@@ -20,7 +22,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
20
22
  const fallback = rest.options?.page?.fallback;
21
23
 
22
24
  const sitemap = useSWRResource<SitemapData>(projectSettings.SITEMAP || 'sitemap', fallback);
23
- const { relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } =
25
+ const { relatedEnterprises, contacts, socialMedia, mobileApps, horizontalNavigationTitle } =
24
26
  useSWRResource<FooterDataProps>(projectSettings.FOOTER || 'footer', fallback);
25
27
 
26
28
  return (
@@ -34,13 +36,7 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
34
36
  </div>
35
37
  <Contacts className="overflow-hidden" items={contacts} />
36
38
  <SocialMedia className="mb-4" media={socialMedia} />
37
- <Button
38
- className="w-full mb-4"
39
- text="Google Play"
40
- version="secondary"
41
- href="/"
42
- target="_blank"
43
- />
39
+ {mobileApps?.map(renderButton)}
44
40
  <HorizontalNavigation
45
41
  className="pt-4 pb-7 border-y border-main-divider"
46
42
  title={horizontalNavigationTitle}
@@ -50,3 +46,18 @@ export const Footer = JSX<FooterProps>(({ className = '', ...rest }) => {
50
46
  </BlockWrapper>
51
47
  );
52
48
  });
49
+
50
+ const renderButton = ({ href = '/' }: LinkCommonProps, i: number) => {
51
+ const { label } = findIconByHref(href);
52
+
53
+ return (
54
+ <Button
55
+ key={String(i)}
56
+ className="w-full mb-4"
57
+ text={label}
58
+ version="secondary"
59
+ href={href}
60
+ target="_blank"
61
+ />
62
+ );
63
+ };
@@ -5,43 +5,7 @@ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import { Img } from '../../ui-kit/Img/Img';
6
6
  import { style } from '../../utils/style';
7
7
  import { buttonStylesWithText } from './buttonStylesWithText';
8
-
9
- const ICONS_MAP: Array<{
10
- origins: string[];
11
- iconMapped: Picture;
12
- label: string;
13
- }> = [
14
- {
15
- origins: ['t.me', 'telegram.org'],
16
- iconMapped: { icon: 'TelegramIcon' },
17
- label: 'Телеграм',
18
- },
19
- {
20
- origins: ['vk.com'],
21
- iconMapped: { icon: 'VKIcon' },
22
- label: 'ВКонтакте',
23
- },
24
- {
25
- origins: ['ok.ru'],
26
- iconMapped: { icon: 'OkIcon' },
27
- label: 'Одноклассники',
28
- },
29
- {
30
- origins: ['apps.apple.com'],
31
- iconMapped: { icon: 'AppleIcon' },
32
- label: 'App Store',
33
- },
34
- {
35
- origins: ['play.google.com'],
36
- iconMapped: { icon: 'PlayMarketIcon' },
37
- label: 'Google Play',
38
- },
39
- {
40
- origins: ['youtube.com'],
41
- iconMapped: { icon: 'YoutubeIcon' },
42
- label: 'Youtube',
43
- },
44
- ];
8
+ import { findIconByHref } from './findIconByHref';
45
9
 
46
10
  export type ButtonSize = 'default' | 'small';
47
11
 
@@ -53,8 +17,7 @@ export const MediaButton = JSX<MediaButtonProps>(
53
17
  ({ buttonSize = 'default', rounded = false, icon, ...rest }) => {
54
18
  const { href, version, text = '' } = rest;
55
19
 
56
- const { iconMapped, label } =
57
- ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
20
+ const { iconMapped, label } = findIconByHref(href);
58
21
 
59
22
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
60
23
 
@@ -0,0 +1,4 @@
1
+ import { IconsMapItem, ICONS_MAP } from './iconsMap';
2
+
3
+ export const findIconByHref = (href?: string): IconsMapItem =>
4
+ ICONS_MAP.find(({ origins }) => origins?.some((_) => href?.includes(_))) || {};
@@ -0,0 +1,40 @@
1
+ import { LabelProps } from '../../model/HeadlineType';
2
+ import { Picture } from '../../model/Picture';
3
+
4
+ export type IconsMapItem = LabelProps & {
5
+ origins?: string[];
6
+ iconMapped?: Picture;
7
+ };
8
+
9
+ export const ICONS_MAP: Array<IconsMapItem> = [
10
+ {
11
+ origins: ['t.me', 'telegram.org'],
12
+ iconMapped: { icon: 'TelegramIcon' },
13
+ label: 'Телеграм',
14
+ },
15
+ {
16
+ origins: ['vk.com'],
17
+ iconMapped: { icon: 'VKIcon' },
18
+ label: 'ВКонтакте',
19
+ },
20
+ {
21
+ origins: ['ok.ru'],
22
+ iconMapped: { icon: 'OkIcon' },
23
+ label: 'Одноклассники',
24
+ },
25
+ {
26
+ origins: ['apps.apple.com'],
27
+ iconMapped: { icon: 'AppleIcon' },
28
+ label: 'App Store',
29
+ },
30
+ {
31
+ origins: ['play.google.com'],
32
+ iconMapped: { icon: 'PlayMarketIcon' },
33
+ label: 'Google Play',
34
+ },
35
+ {
36
+ origins: ['youtube.com'],
37
+ iconMapped: { icon: 'YoutubeIcon' },
38
+ label: 'Youtube',
39
+ },
40
+ ];
@@ -52,18 +52,4 @@ export default {
52
52
  </div>
53
53
  </div>
54
54
  ),
55
- labelIconSecondary: (
56
- <div>
57
- <div className="list-none m-0 p-0">
58
- <RollupItem
59
- label="RollupItem label 1"
60
- labelIcon={labelIcon}
61
- labelIconBgVersion="secondary-light"
62
- isExpanded={true}
63
- block={ROLLUP_ITEM}
64
- options={options}
65
- />
66
- </div>
67
- </div>
68
- ),
69
55
  };
@@ -14,7 +14,6 @@ import { Text } from '../../ui-kit/Text/Text';
14
14
  import { style } from '../../utils/style';
15
15
  import { foldableSectionStyles } from './foldableSectionStyles';
16
16
  import { getIconName } from './getIconName';
17
- import { labelSize } from './labelSize';
18
17
  import { renderRoundedIcon } from './renderRoundedIcon';
19
18
  import { rollupIconVersion } from './rollupIconVersion';
20
19
  import type { RollupItemContent } from './RollupItemContent';
@@ -130,10 +129,10 @@ const renderPrimaryFoldButton = ({
130
129
  )}
131
130
  onClick={onToggle}
132
131
  >
133
- <div className="flex items-center group-hover/button:text-primary-main">
132
+ <div className="flex items-center group-hover/button:text-primary-main gap-3">
134
133
  {renderRoundedIcon(labelIcon, labelIconBgVersion)}
135
134
  {label ? (
136
- <Text size={labelSize} font="font-normal">
135
+ <Text size="text-h6" font="font-normal">
137
136
  {label}
138
137
  </Text>
139
138
  ) : null}
@@ -14,16 +14,19 @@ export interface TextBlockProps extends TextBlockContent, UniBlockProps {}
14
14
  export const TextBlock = JSX<TextBlockProps>(
15
15
  ({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (
16
16
  <BlockWrapper
17
- className={style('flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className)}
17
+ className={style(
18
+ 'flex gap-3 sm:gap-4 bg-white group-data-secondary:bg-primary-main/10',
19
+ className,
20
+ )}
18
21
  {...rest}
19
22
  >
20
23
  {iconVersion === 'small' ? <div className="mt-1">{renderIcon()}</div> : null}
21
24
  {iconVersion === 'big' ? renderImage(image) : null}
22
- <div className="flex flex-col w-fit gap-3">
25
+ <div className="flex flex-col w-fit gap-1 sm:gap-2">
23
26
  {title ? (
24
27
  <Text
25
28
  size="text-l"
26
- font="font-medium"
29
+ font="font-normal"
27
30
  color="text-primary-text group-data-secondary:text-white"
28
31
  >
29
32
  {title}
@@ -46,10 +49,14 @@ const renderIcon = () => (
46
49
  );
47
50
 
48
51
  const renderImage = (image?: Picture) =>
49
- image?.src ? <Img className="h-fit" image={image} /> : null;
52
+ image?.src ? <Img className="h-fit flex-shrink-0" image={image} /> : null;
50
53
 
51
54
  const renderDescription = (description: string) => (
52
- <Paragraph size="text-s" color="text-secondary-text group-data-secondary:text-white">
55
+ <Paragraph
56
+ size="text-s"
57
+ font="font-light"
58
+ color="text-secondary-text group-data-secondary:text-white"
59
+ >
53
60
  {description}
54
61
  </Paragraph>
55
62
  );
@@ -36,16 +36,17 @@ export type LabelProps = {
36
36
  label?: string;
37
37
  };
38
38
 
39
+ export type AlignProps = {
40
+ /** @title Выравнивание заголовка */
41
+ align?: TextAlign;
42
+ };
43
+
39
44
  export type AdditionalDescriptionProps = {
40
45
  /** @title Дополнительное описание */
41
46
  additionalDescription?: string;
42
47
  };
43
48
 
44
- export type HeadlineCommonProps = TitleProps &
45
- DescriptionProps & {
46
- /** @title Выравнивание заголовка */
47
- align?: TextAlign;
48
- };
49
+ export type HeadlineCommonProps = TitleProps & DescriptionProps & AlignProps & {};
49
50
 
50
51
  export type HeadlineProps = HeadlineCommonProps & {
51
52
  headlineVersion?: HeadlineVersion;
@@ -37,8 +37,8 @@ export const CookiePopup = JSX<CookiePopupProps>(({ termLink, personalDataPolicy
37
37
 
38
38
  return isOpened ? (
39
39
  <div className="container z-40 fixed bottom-0 left-0 right-0 pointer-events-none">
40
- <div className="bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
41
- <div className="flex-1">
40
+ <div className="bg-white m-5 p-5 sm:m-6 sm:p-6 rounded-md flex sm:items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]">
41
+ <div className="sm:flex-1">
42
42
  <Paragraph size="text-s" font="font-light" color="text-primary-text">
43
43
  АО «Россельхозбанк» использует
44
44
  <LinkWrapper
@@ -61,7 +61,7 @@ export const CookiePopup = JSX<CookiePopupProps>(({ termLink, personalDataPolicy
61
61
  персональных данных».
62
62
  </Paragraph>
63
63
  </div>
64
- <div className="w-24 flex justify-end">
64
+ <div className="ml-3 sm:ml-0 w-24 flex justify-end">
65
65
  <CloseButton className="bg-main-gray rounded-md" onClick={handleClose} />
66
66
  </div>
67
67
  </div>
@@ -6,12 +6,13 @@ export type { IconName };
6
6
  /**
7
7
  * @title Цвет фона иконки
8
8
  * @enumNames [
9
+ * "По умолчанию",
9
10
  * "Основной",
10
11
  * "Второстепенный",
11
- * "Второстепенный светлый"
12
+ * "Прозрачный"
12
13
  * ]
13
14
  */
14
- export type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
15
+ export type IconBgVersion = '' | 'primary' | 'secondary' | 'opacity';
15
16
 
16
17
  export interface IconCompatibilityFields {
17
18
  /** @title Альтернативный текст (alt) */
@@ -6,22 +6,33 @@ import type { IconBgVersion } from './IconProps';
6
6
 
7
7
  export interface RoundedIconProps extends Picture {
8
8
  iconBgVersion?: IconBgVersion;
9
+ defaultIconSize?: number;
9
10
  }
10
11
 
11
12
  const iconBgStyles: Record<IconBgVersion, string> = {
13
+ '': 'bg-main-divider group-data-secondary:bg-white/30',
12
14
  primary: 'bg-main-divider',
13
- secondary: 'bg-white/30',
14
- 'secondary-light': 'bg-secondary-light',
15
+ secondary: 'bg-secondary-light',
16
+ opacity: 'bg-white/30',
15
17
  };
16
18
 
17
19
  export const RoundedIcon = JSX<RoundedIconProps>(
18
- ({ iconBgVersion = 'primary', size, icon, ...rest }) => {
19
- const width = String(size?.width || 24);
20
- const height = String(size?.height || 24);
20
+ ({ className, defaultIconSize = 44, iconBgVersion = 'primary', size, icon, ...rest }) => {
21
+ const widthAndHeight = String(size?.width || defaultIconSize);
21
22
 
22
23
  return icon ? (
23
- <div className={style('rounded-icon p-2.5', iconBgStyles[iconBgVersion])}>
24
- <Icon {...rest} width={width} height={height} name={icon} />
24
+ <div
25
+ style={{
26
+ width: `${widthAndHeight}px`,
27
+ height: `${widthAndHeight}px`,
28
+ }}
29
+ className={style(
30
+ 'rounded-icon object-fit flex justify-center items-center ',
31
+ iconBgStyles[iconBgVersion],
32
+ className,
33
+ )}
34
+ >
35
+ <Icon {...rest} width="54%" height="54%" name={icon} />
25
36
  </div>
26
37
  ) : null;
27
38
  },
@@ -58,7 +58,7 @@ export const Select = JSX<SelectProps>(
58
58
  <div className={style('relative', isOpen ? 'z-20' : 'z-10')}>
59
59
  <div
60
60
  className={style(
61
- 'text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer',
61
+ 'text-l flex justify-between items-center text-primary-text cursor-pointer',
62
62
  getBorderStyle(isBorder, valid),
63
63
  )}
64
64
  onClick={toggle}
@@ -16,7 +16,6 @@ export interface TopItemProps extends TopItemContent {
16
16
 
17
17
  export const TopItem = JSX<TopItemProps>(({ className = '', active, flat, children, ...rest }) => {
18
18
  const link = useLink({ isRemote: true });
19
- console.log('link', link);
20
19
  const { href, target, text, onClick } = link(rest);
21
20
 
22
21
  return (
@@ -195,14 +195,6 @@ module.exports = {
195
195
  fontWeight: '400',
196
196
  },
197
197
  ],
198
- 's-light': [
199
- '0.875rem',
200
- {
201
- // 14px 20px
202
- lineHeight: '1.25rem',
203
- fontWeight: '300',
204
- },
205
- ],
206
198
  xs: [
207
199
  '0.75rem',
208
200
  {
@@ -211,14 +203,6 @@ module.exports = {
211
203
  fontWeight: '400',
212
204
  },
213
205
  ],
214
- 'xs-light': [
215
- '0.75rem',
216
- {
217
- // 12px 18px
218
- lineHeight: '1.125rem',
219
- fontWeight: '300',
220
- },
221
- ],
222
206
  },
223
207
  colors: {
224
208
  main: {
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-h6";
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-l";
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-h6";
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-l";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-12 h-12 min-w-12 rounded-full';
4
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,iCAAiC,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-56 h-56 min-w-56';
4
- //# sourceMappingURL=benefitImageStyles.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-h6";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.descriptionSize = void 0;
3
- exports.descriptionSize = 'text-h6';
4
- //# sourceMappingURL=descriptionSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-l";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.descriptionSize = void 0;
3
- exports.descriptionSize = 'text-l';
4
- //# sourceMappingURL=descriptionSize.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"descriptionSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-h6";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.labelSize = void 0;
3
- exports.labelSize = 'text-h6';
4
- //# sourceMappingURL=labelSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-l";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.labelSize = void 0;
3
- exports.labelSize = 'text-l';
4
- //# sourceMappingURL=labelSize.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-12 h-12 min-w-12 rounded-full";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-12 h-12 min-w-12 rounded-full';
2
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
2
- //# sourceMappingURL=benefitImageStyles.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-h6";
@@ -1,2 +0,0 @@
1
- export const descriptionSize = 'text-h6';
2
- //# sourceMappingURL=descriptionSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-l";
@@ -1,2 +0,0 @@
1
- export const descriptionSize = 'text-l';
2
- //# sourceMappingURL=descriptionSize.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"descriptionSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-h6";
@@ -1,2 +0,0 @@
1
- export const labelSize = 'text-h6';
2
- //# sourceMappingURL=labelSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-l";
@@ -1,2 +0,0 @@
1
- export const labelSize = 'text-l';
2
- //# sourceMappingURL=labelSize.mobile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-l";
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-l";
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.benefitImageStyles = void 0;
3
- exports.benefitImageStyles = 'w-56 h-56 min-w-56';
4
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":";;AAAa,QAAA,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const descriptionSize = "text-l";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.descriptionSize = void 0;
3
- exports.descriptionSize = 'text-l';
4
- //# sourceMappingURL=descriptionSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"descriptionSize.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const labelSize = "text-l";
@@ -1,4 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.labelSize = void 0;
3
- exports.labelSize = 'text-l';
4
- //# sourceMappingURL=labelSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- export declare const benefitImageStyles = "w-56 h-56 min-w-56";
@@ -1,2 +0,0 @@
1
- export const benefitImageStyles = 'w-56 h-56 min-w-56';
2
- //# sourceMappingURL=benefitImageStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benefitImageStyles.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/benefitImageStyles.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC"}