@redneckz/wildless-cms-uni-blocks 0.3.49 → 0.3.50

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 (361) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +39 -27
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/BurgerIcon.svg +1 -1
  5. package/cosmos-static/icons/Calendar2Icon.svg +1 -1
  6. package/cosmos-static/icons/CalendarCircleIcon.svg +1 -1
  7. package/cosmos-static/icons/CalendarIcon.svg +1 -1
  8. package/cosmos-static/icons/CalendarTickIcon.svg +1 -1
  9. package/cosmos-static/icons/CalendarWhiteIcon.svg +1 -1
  10. package/cosmos-static/icons/CardIcon.svg +1 -1
  11. package/cosmos-static/icons/CardPosIcon.svg +1 -1
  12. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  13. package/cosmos-static/icons/CardWithGemIcon.svg +1 -1
  14. package/cosmos-static/icons/ChartSquareIcon.svg +1 -1
  15. package/cosmos-static/icons/CloseIcon.svg +1 -1
  16. package/cosmos-static/icons/DiscountShapeIcon.svg +1 -1
  17. package/cosmos-static/icons/DocIcon.svg +1 -1
  18. package/cosmos-static/icons/DocumentTextIcon.svg +1 -1
  19. package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -1
  20. package/cosmos-static/icons/EmptyWalletIcon.svg +1 -1
  21. package/cosmos-static/icons/GlobalIcon.svg +1 -1
  22. package/cosmos-static/icons/GpsIcon.svg +1 -1
  23. package/cosmos-static/icons/GridIcon.svg +1 -1
  24. package/cosmos-static/icons/InterestIcon.svg +1 -1
  25. package/cosmos-static/icons/MoneyIcon.svg +1 -1
  26. package/cosmos-static/icons/MonitorMobileIcon.svg +1 -1
  27. package/cosmos-static/icons/OfficeIcon.svg +1 -1
  28. package/cosmos-static/icons/PercentageRoundIcon.svg +1 -1
  29. package/cosmos-static/icons/PercentageSquareIcon.svg +1 -1
  30. package/cosmos-static/icons/PersonalCardIcon.svg +1 -1
  31. package/cosmos-static/icons/Profile2UserIcon.svg +1 -1
  32. package/cosmos-static/icons/RoundRubleIcon.svg +1 -1
  33. package/cosmos-static/icons/SafeIcon.svg +1 -1
  34. package/cosmos-static/icons/ShieldTickIcon.svg +1 -1
  35. package/cosmos-static/icons/SmallClockIcon.svg +1 -1
  36. package/cosmos-static/icons/UserTickIcon.svg +1 -1
  37. package/cosmos-static/icons/WalletAdd2Icon.svg +1 -1
  38. package/cosmos-static/icons/WalletAddIcon.svg +1 -1
  39. package/cosmos-static/icons/WalletIcon.svg +1 -1
  40. package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -1
  41. package/dist/components/Bonus/Bonus.js +2 -2
  42. package/dist/components/Bonus/Bonus.js.map +1 -1
  43. package/dist/components/Bonus/BonusContent.d.ts +4 -3
  44. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  45. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  46. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  47. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  48. package/dist/components/Footer/SocialMedia.js +1 -1
  49. package/dist/components/Footer/SocialMedia.js.map +1 -1
  50. package/dist/components/GracePeriod/GracePeriod.js +3 -3
  51. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  52. package/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  53. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  54. package/dist/components/NavigatorTabs/NavigatorTabs.js +1 -1
  55. package/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  56. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  57. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  58. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  59. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  60. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  61. package/dist/components/ProductBlock/renderBenefit.js +13 -6
  62. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  63. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -3
  64. package/dist/components/ProductBlock/renderBenefit.mobile.js +10 -2
  65. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  66. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -0
  67. package/dist/components/Recommendation/RecommendationCard.js +1 -1
  68. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  69. package/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  70. package/dist/model/IconVersion.d.ts +1 -0
  71. package/dist/model/IconVersion.js +2 -0
  72. package/dist/model/IconVersion.js.map +1 -0
  73. package/dist/model/Picture.d.ts +3 -0
  74. package/dist/ui-kit/Icon/Icon.js +3 -2
  75. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  76. package/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  77. package/dist/ui-kit/Img/Img.js +2 -1
  78. package/dist/ui-kit/Img/Img.js.map +1 -1
  79. package/dist/ui-kit/Img/Img.mobile.js +2 -1
  80. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  81. package/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  82. package/dist/ui-kit/Img/getIconVersion.js +7 -0
  83. package/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  84. package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  85. package/dist/ui-kit/Select/SelectOption.js +2 -2
  86. package/dist/ui-kit/Select/SelectOption.js.map +1 -1
  87. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  88. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  89. package/fonts/mohave/Mohave-Regular.otf +0 -0
  90. package/fonts/mohave/mohave.css +1 -1
  91. package/lib/common.css +1 -1
  92. package/lib/components/Bonus/Bonus.js +2 -2
  93. package/lib/components/Bonus/Bonus.js.map +1 -1
  94. package/lib/components/Bonus/BonusContent.d.ts +4 -3
  95. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  96. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  97. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  98. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  99. package/lib/components/Footer/SocialMedia.js +1 -1
  100. package/lib/components/Footer/SocialMedia.js.map +1 -1
  101. package/lib/components/GracePeriod/GracePeriod.js +3 -3
  102. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  103. package/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  104. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  105. package/lib/components/NavigatorTabs/NavigatorTabs.js +1 -1
  106. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -3
  107. package/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  108. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  109. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  110. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  111. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  112. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  113. package/lib/components/ProductBlock/renderBenefit.js +13 -6
  114. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  115. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -3
  116. package/lib/components/ProductBlock/renderBenefit.mobile.js +10 -2
  117. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  118. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  119. package/lib/components/Recommendation/RecommendationCard.js +1 -1
  120. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  121. package/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  122. package/lib/model/IconVersion.d.ts +1 -0
  123. package/lib/model/IconVersion.js +2 -0
  124. package/lib/model/IconVersion.js.map +1 -0
  125. package/lib/model/Picture.d.ts +3 -0
  126. package/lib/ui-kit/Icon/Icon.js +3 -2
  127. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  128. package/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  129. package/lib/ui-kit/Img/Img.js +2 -1
  130. package/lib/ui-kit/Img/Img.js.map +1 -1
  131. package/lib/ui-kit/Img/Img.mobile.js +2 -1
  132. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  133. package/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  134. package/lib/ui-kit/Img/getIconVersion.js +4 -0
  135. package/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  136. package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  137. package/lib/ui-kit/Select/SelectOption.js +2 -2
  138. package/lib/ui-kit/Select/SelectOption.js.map +1 -1
  139. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  140. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  141. package/mobile/bundle/bundle.umd.js +26 -13
  142. package/mobile/bundle/bundle.umd.min.js +1 -1
  143. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  144. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  145. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -3
  146. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  147. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  148. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  149. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  150. package/mobile/dist/components/GracePeriod/GracePeriod.js +3 -3
  151. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  152. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  153. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  154. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +1 -1
  155. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  156. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  157. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  158. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -3
  159. package/mobile/dist/components/ProductBlock/renderBenefit.js +10 -2
  160. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  161. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -0
  162. package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
  163. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  164. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  165. package/mobile/dist/model/IconVersion.d.ts +1 -0
  166. package/mobile/dist/model/IconVersion.js +2 -0
  167. package/mobile/dist/model/IconVersion.js.map +1 -0
  168. package/mobile/dist/model/Picture.d.ts +3 -0
  169. package/mobile/dist/ui-kit/Icon/Icon.js +3 -2
  170. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  171. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  172. package/mobile/dist/ui-kit/Img/Img.js +2 -1
  173. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  174. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  175. package/mobile/dist/ui-kit/Img/getIconVersion.js +7 -0
  176. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  177. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  178. package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
  179. package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
  180. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  181. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  182. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  183. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  184. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -3
  185. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  186. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  187. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  188. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  189. package/mobile/lib/components/GracePeriod/GracePeriod.js +3 -3
  190. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  191. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  192. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  193. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +1 -1
  194. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  195. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  196. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  197. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -3
  198. package/mobile/lib/components/ProductBlock/renderBenefit.js +10 -2
  199. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  200. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  201. package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
  202. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  203. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  204. package/mobile/lib/model/IconVersion.d.ts +1 -0
  205. package/mobile/lib/model/IconVersion.js +2 -0
  206. package/mobile/lib/model/IconVersion.js.map +1 -0
  207. package/mobile/lib/model/Picture.d.ts +3 -0
  208. package/mobile/lib/ui-kit/Icon/Icon.js +3 -2
  209. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  210. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  211. package/mobile/lib/ui-kit/Img/Img.js +2 -1
  212. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  213. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  214. package/mobile/lib/ui-kit/Img/getIconVersion.js +4 -0
  215. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  216. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  217. package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
  218. package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
  219. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  220. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  221. package/mobile/src/common.css +0 -4
  222. package/mobile/src/components/Bonus/Bonus.tsx +8 -6
  223. package/mobile/src/components/Bonus/BonusContent.ts +4 -3
  224. package/mobile/src/components/ContentPage/ContentPage.page.json +6 -0
  225. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  226. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  227. package/mobile/src/components/GracePeriod/GracePeriod.tsx +5 -5
  228. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +1 -1
  229. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  230. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +1 -1
  231. package/mobile/src/components/ProductBlock/ProductBlock.example.json +6 -0
  232. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  233. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +6 -1
  234. package/mobile/src/components/ProductBlock/renderBenefit.tsx +15 -4
  235. package/mobile/src/components/Recommendation/Recommendation.example.json +11 -10
  236. package/mobile/src/components/Recommendation/RecommendationCard.tsx +6 -3
  237. package/mobile/src/components/Recommendation/RecommendationContent.ts +12 -10
  238. package/mobile/src/icons/AppleIcon.svg +3 -1
  239. package/mobile/src/icons/BurgerIcon.svg +4 -4
  240. package/mobile/src/icons/Calendar2Icon.svg +6 -1
  241. package/mobile/src/icons/CalendarCircleIcon.svg +1 -4
  242. package/mobile/src/icons/CalendarIcon.svg +1 -1
  243. package/mobile/src/icons/CalendarTickIcon.svg +1 -6
  244. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  245. package/mobile/src/icons/CardIcon.svg +1 -5
  246. package/mobile/src/icons/CardPosIcon.svg +1 -5
  247. package/mobile/src/icons/CardTickIcon.svg +1 -5
  248. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  249. package/mobile/src/icons/ChartSquareIcon.svg +1 -6
  250. package/mobile/src/icons/CloseIcon.svg +4 -4
  251. package/mobile/src/icons/DiscountShapeIcon.svg +1 -4
  252. package/mobile/src/icons/DocIcon.svg +1 -1
  253. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  254. package/mobile/src/icons/EmptyWalletChangeIcon.svg +3 -3
  255. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  256. package/mobile/src/icons/GlobalIcon.svg +1 -5
  257. package/mobile/src/icons/GpsIcon.svg +6 -6
  258. package/mobile/src/icons/GridIcon.svg +1 -1
  259. package/mobile/src/icons/InterestIcon.svg +1 -6
  260. package/mobile/src/icons/MasterCardIcon.svg +1 -5
  261. package/mobile/src/icons/MinusIcon.svg +1 -3
  262. package/mobile/src/icons/MoneyIcon.svg +1 -5
  263. package/mobile/src/icons/MonitorMobileIcon.svg +1 -4
  264. package/mobile/src/icons/OfficeIcon.svg +1 -1
  265. package/mobile/src/icons/PercentageRoundIcon.svg +1 -4
  266. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  267. package/mobile/src/icons/PersonalCardIcon.svg +1 -4
  268. package/mobile/src/icons/PlayMarketIcon.svg +1 -3
  269. package/mobile/src/icons/PlusIcon.svg +1 -3
  270. package/mobile/src/icons/Profile2UserIcon.svg +1 -6
  271. package/mobile/src/icons/RoundRubleIcon.svg +1 -5
  272. package/mobile/src/icons/SafeIcon.svg +1 -7
  273. package/mobile/src/icons/ShieldTickIcon.svg +1 -4
  274. package/mobile/src/icons/SmallClockIcon.svg +1 -4
  275. package/mobile/src/icons/UserTickIcon.svg +1 -5
  276. package/mobile/src/icons/WalletAdd2Icon.svg +1 -6
  277. package/mobile/src/icons/WalletAddIcon.svg +1 -7
  278. package/mobile/src/icons/WalletIcon.svg +1 -7
  279. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -5
  280. package/mobile/src/model/IconVersion.ts +1 -0
  281. package/mobile/src/model/Picture.ts +3 -0
  282. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -1
  283. package/mobile/src/ui-kit/Icon/IconProps.ts +3 -0
  284. package/mobile/src/ui-kit/Img/Img.tsx +11 -2
  285. package/mobile/src/ui-kit/Img/getIconVersion.tsx +3 -0
  286. package/mobile/src/ui-kit/Select/SelectOption.tsx +10 -7
  287. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
  288. package/package.json +1 -1
  289. package/src/common.css +0 -4
  290. package/src/components/Bonus/Bonus.tsx +8 -6
  291. package/src/components/Bonus/BonusContent.ts +4 -3
  292. package/src/components/ContentPage/ContentPage.page.json +6 -0
  293. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  294. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  295. package/src/components/Footer/SocialMedia.tsx +1 -1
  296. package/src/components/GracePeriod/GracePeriod.tsx +5 -5
  297. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +1 -1
  298. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  299. package/src/components/NavigatorTabs/NavigatorTabs.tsx +1 -1
  300. package/src/components/ProductBlock/ProductBlock.example.json +6 -0
  301. package/src/components/ProductBlock/ProductBlock.fixture.tsx +65 -28
  302. package/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  303. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +6 -1
  304. package/src/components/ProductBlock/ProductBlockInner.tsx +4 -1
  305. package/src/components/ProductBlock/renderBenefit.mobile.tsx +15 -4
  306. package/src/components/ProductBlock/renderBenefit.tsx +20 -8
  307. package/src/components/Recommendation/Recommendation.example.json +11 -10
  308. package/src/components/Recommendation/Recommendation.fixture.tsx +3 -3
  309. package/src/components/Recommendation/RecommendationCard.tsx +6 -3
  310. package/src/components/Recommendation/RecommendationContent.ts +12 -10
  311. package/src/icons/AppleIcon.svg +3 -1
  312. package/src/icons/BurgerIcon.svg +4 -4
  313. package/src/icons/Calendar2Icon.svg +6 -1
  314. package/src/icons/CalendarCircleIcon.svg +1 -4
  315. package/src/icons/CalendarIcon.svg +1 -1
  316. package/src/icons/CalendarTickIcon.svg +1 -6
  317. package/src/icons/CalendarWhiteIcon.svg +2 -2
  318. package/src/icons/CardIcon.svg +1 -5
  319. package/src/icons/CardPosIcon.svg +1 -5
  320. package/src/icons/CardTickIcon.svg +1 -5
  321. package/src/icons/CardWithGemIcon.svg +1 -1
  322. package/src/icons/ChartSquareIcon.svg +1 -6
  323. package/src/icons/CloseIcon.svg +4 -4
  324. package/src/icons/DiscountShapeIcon.svg +1 -4
  325. package/src/icons/DocIcon.svg +1 -1
  326. package/src/icons/DocumentTextIcon.svg +2 -2
  327. package/src/icons/EmptyWalletChangeIcon.svg +3 -3
  328. package/src/icons/EmptyWalletIcon.svg +2 -2
  329. package/src/icons/GlobalIcon.svg +1 -5
  330. package/src/icons/GpsIcon.svg +6 -6
  331. package/src/icons/GridIcon.svg +1 -1
  332. package/src/icons/InterestIcon.svg +1 -6
  333. package/src/icons/MasterCardIcon.svg +1 -5
  334. package/src/icons/MinusIcon.svg +1 -3
  335. package/src/icons/MoneyIcon.svg +1 -5
  336. package/src/icons/MonitorMobileIcon.svg +1 -4
  337. package/src/icons/OfficeIcon.svg +1 -1
  338. package/src/icons/PercentageRoundIcon.svg +1 -4
  339. package/src/icons/PercentageSquareIcon.svg +1 -1
  340. package/src/icons/PersonalCardIcon.svg +1 -4
  341. package/src/icons/PlayMarketIcon.svg +1 -3
  342. package/src/icons/PlusIcon.svg +1 -3
  343. package/src/icons/Profile2UserIcon.svg +1 -6
  344. package/src/icons/RoundRubleIcon.svg +1 -5
  345. package/src/icons/SafeIcon.svg +1 -7
  346. package/src/icons/ShieldTickIcon.svg +1 -4
  347. package/src/icons/SmallClockIcon.svg +1 -4
  348. package/src/icons/UserTickIcon.svg +1 -5
  349. package/src/icons/WalletAdd2Icon.svg +1 -6
  350. package/src/icons/WalletAddIcon.svg +1 -7
  351. package/src/icons/WalletIcon.svg +1 -7
  352. package/src/icons/WalletWithMoneyIcon.svg +1 -5
  353. package/src/model/IconVersion.ts +1 -0
  354. package/src/model/Picture.ts +3 -0
  355. package/src/ui-kit/Icon/Icon.tsx +3 -1
  356. package/src/ui-kit/Icon/IconProps.ts +3 -0
  357. package/src/ui-kit/Img/Img.mobile.tsx +11 -2
  358. package/src/ui-kit/Img/Img.tsx +10 -2
  359. package/src/ui-kit/Img/getIconVersion.tsx +3 -0
  360. package/src/ui-kit/Select/SelectOption.tsx +10 -7
  361. package/src/ui-kit/Tabs/Tabs.tsx +1 -1
@@ -1,7 +1 @@
1
- <svg title="Сейф" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M2 12.83V15c0 5 2 7 7 7h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M8 19h8c2 0 3-1 3-3V8c0-2-1-3-3-3H8C6 5 5 6 5 8v8c0 2 1 3 3 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M5 9.5h2.48a2.5 2.5 0 0 1 0 5H5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M19 9.99h-3M19 14h-3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M7.2 12h.1" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
1
+ <svg title="Сейф" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 12.83V15c0 5 2 7 7 7h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 19h8c2 0 3-1 3-3V8c0-2-1-3-3-3H8C6 5 5 6 5 8v8c0 2 1 3 3 3Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M5 9.5h2.48a2.5 2.5 0 0 1 0 5H5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M19 9.99h-3M19 14h-3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.2 12h.1" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,4 +1 @@
1
- <svg title="Безопасность" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="m9.05 11.87 1.61 1.61 4.3-4.3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M20.59 7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.83-.31-2.19-.31-3.02 0L5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44v-3.52" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>
1
+ <svg title="Безопасность" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9.05 11.87 1.61 1.61 4.3-4.3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.59 7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.83-.31-2.19-.31-3.02 0L5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44v-3.52" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,4 +1 @@
1
- <svg title="Маленькие часы" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>
1
+ <svg title="Маленькие часы" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,5 +1 @@
1
- <svg title="Пользователь" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M15.02 3.01A4.944 4.944 0 0 0 12 2C9.24 2 7 4.24 7 7s2.24 5 5 5 5-2.24 5-5M3.41 22c0-3.87 3.85-7 8.59-7 .96 0 1.89.13 2.76.37" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M22 18c0 .75-.21 1.46-.58 2.06-.21.36-.48.68-.79.94-.7.63-1.62 1-2.63 1a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 14 18c0-1.26.58-2.39 1.5-3.12A3.999 3.999 0 0 1 22 18Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="m16.44 18 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- </svg>
1
+ <svg title="Пользователь" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.02 3.01A4.944 4.944 0 0 0 12 2C9.24 2 7 4.24 7 7s2.24 5 5 5 5-2.24 5-5M3.41 22c0-3.87 3.85-7 8.59-7 .96 0 1.89.13 2.76.37" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 18c0 .75-.21 1.46-.58 2.06-.21.36-.48.68-.79.94-.7.63-1.62 1-2.63 1a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 14 18c0-1.26.58-2.39 1.5-3.12A3.999 3.999 0 0 1 22 18Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m16.44 18 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,6 +1 @@
1
- <svg title="Пополнение карты" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- </svg>
1
+ <svg title="Пополнение карты" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,7 +1 @@
1
- <svg title="Кошелёк с плюсом" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
1
+ <svg title="Кошелёк с плюсом" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,7 +1 @@
1
- <svg title="Кошелёк" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
1
+ <svg title="Кошелёк" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1,5 +1 @@
1
- <svg title="Кошелёк с деньгами" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
5
- </svg>
1
+ <svg title="Кошелёк с деньгами" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="#000000" stroke-width="2" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
1
+ export type IconVersion = 'normal' | 'white';
@@ -1,4 +1,5 @@
1
1
  import type { IconName } from '../icons/IconName';
2
+ import type { IconVersion } from './IconVersion';
2
3
 
3
4
  export interface Img {
4
5
  /** @title Картинка */
@@ -12,6 +13,8 @@ export interface Img {
12
13
  export interface ImgSource {
13
14
  /** @title Иконка */
14
15
  icon?: IconName;
16
+ /** @hidden */
17
+ iconVersion?: IconVersion;
15
18
  /** @title Картинка */
16
19
  src?: string;
17
20
  /** @title Формат */
@@ -9,17 +9,19 @@ export const Icon = JSX<IconProps>(
9
9
  name = '',
10
10
  alt = `Иконка ${IconTitleMap[name] || name}`,
11
11
  title = alt,
12
+ iconVersion,
12
13
  asSVG,
13
14
  ...imgProps
14
15
  }) => {
15
16
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
17
+ const svgUseStyle = iconVersion === 'white' ? 'text-black invert' : '';
16
18
 
17
19
  if (asSVG) {
18
20
  return (
19
21
  <svg className={className} {...imgProps} aria-hidden="true">
20
22
  {title ? <title>{title}</title> : null}
21
23
  {alt ? <desc>{alt}</desc> : null}
22
- <use href={`${href}#icon`} xlinkHref={`${href}#icon`} />
24
+ <use className={svgUseStyle} href={`${href}#icon`} xlinkHref={`${href}#icon`} />
23
25
  </svg>
24
26
  );
25
27
  }
@@ -1,4 +1,5 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
+ import type { IconVersion } from '../../model/IconVersion';
2
3
 
3
4
  export type { IconName };
4
5
 
@@ -18,4 +19,6 @@ export interface IconCompatibilityFields {
18
19
  export type IconProps = IconCompatibilityFields & {
19
20
  className?: string;
20
21
  name?: IconName;
22
+ /** @hidden */
23
+ iconVersion?: IconVersion;
21
24
  };
@@ -1,6 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { ImgSource, Picture } from '../../model/Picture';
3
2
  import { Icon } from '../Icon/Icon';
3
+ import { getIconVersion } from './getIconVersion';
4
+ import type { ImgSource, Picture } from '../../model/Picture';
5
+
4
6
  import type { Image, ImageProps } from './ImgProps';
5
7
 
6
8
  export const Img = JSX<ImageProps<Image>>(
@@ -8,7 +10,14 @@ export const Img = JSX<ImageProps<Image>>(
8
10
  // backwards compatibility with existing icons in usage
9
11
  const icon = typeof image === 'string' ? image : image?.icon;
10
12
  if (icon || icon === '') {
11
- return <Icon className={className} name={icon} {...iconProps} />;
13
+ return (
14
+ <Icon
15
+ className={className}
16
+ iconVersion={getIconVersion(image)}
17
+ name={icon}
18
+ {...iconProps}
19
+ />
20
+ );
12
21
  }
13
22
 
14
23
  return (
@@ -0,0 +1,3 @@
1
+ export function getIconVersion(image) {
2
+ return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
3
+ }
@@ -3,12 +3,15 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  export interface SelectOptionProps {
4
4
  className?: string;
5
5
  value?: string;
6
+ selected?: boolean;
6
7
  }
7
8
 
8
- export const SelectOption = JSX<SelectOptionProps>(({ className = '', value, children }) => {
9
- return (
10
- <option className={className} value={`${value}`}>
11
- {children}
12
- </option>
13
- );
14
- });
9
+ export const SelectOption = JSX<SelectOptionProps>(
10
+ ({ className = '', value, selected, children }) => {
11
+ return (
12
+ <option className={className} value={`${value}`} selected={selected}>
13
+ {children}
14
+ </option>
15
+ );
16
+ },
17
+ );
@@ -42,7 +42,7 @@ const renderTab =
42
42
  const renderIcon = (tab: Tab, isActive: boolean) => (
43
43
  <div className="h-full mt-1">
44
44
  <Img
45
- className={`w-5 h-5 mr-3 ${isActive ? 'invert-full' : ''}`}
45
+ className={`w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`}
46
46
  image={tab?.icon || 'CardIcon'}
47
47
  asSVG={!isActive}
48
48
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
package/src/common.css CHANGED
@@ -40,10 +40,6 @@ html {
40
40
  @tailwind utilities;
41
41
 
42
42
  @layer utilities {
43
- .invert-full {
44
- filter: invert(1);
45
- }
46
-
47
43
  .rotate-180 {
48
44
  transform: rotate(180deg);
49
45
  }
@@ -9,11 +9,11 @@ export const Bonus = JSX<BonusProps>((props) => {
9
9
  const { className = '', title, description, bonusItems, anchor = null } = props;
10
10
 
11
11
  return (
12
- <section className={`bg-white p-12 ${className}`} id={anchor}>
12
+ <section className={`font-sans bg-white p-[50px] pb-9 ${className}`} id={anchor}>
13
13
  <div className="container">
14
- {title ? <Heading headingType="h2" className="text-center" title={title} /> : null}
14
+ {title ? <Heading headingType="h3" className="text-center" title={title} /> : null}
15
15
  {description ? (
16
- <div className="text-md font-light text-center mt-2">{description}</div>
16
+ <div className="text-md font-light text-center mt-[10px]">{description}</div>
17
17
  ) : null}
18
18
  <div className="flex flex-wrap w-full mt-9">
19
19
  {bonusItems
@@ -21,16 +21,18 @@ export const Bonus = JSX<BonusProps>((props) => {
21
21
  return (
22
22
  <div
23
23
  key={String(i)}
24
- className="flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-4 mx-2 even:mr-0 odd:ml-0 last:odd:w-full last:odd:mx-0"
24
+ className="flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0"
25
25
  >
26
26
  <div className="flex justify-between w-full">
27
27
  <div className="mr-4">
28
28
  <div className="text-title-sm">{_.name}</div>
29
- <div className="text-md font-light mt-3 max-w-[488px]">{_.description}</div>
29
+ <div className="text-md font-light mt-[14px] max-w-[488px]">
30
+ {_.description}
31
+ </div>
30
32
  </div>
31
33
  {_.bonusCount ? (
32
34
  <div className="relative -bottom-3 h-auto flex items-end mt-14 shrink-0">
33
- <span className="font-mohave -tracking-wider text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7">
35
+ <span className="font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7">
34
36
  {_.bonusCount}
35
37
  </span>
36
38
  <span className="text-[44px] bg-clip-text text-transparent bg-green-to-yellow">
@@ -1,9 +1,9 @@
1
1
  import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
2
2
  import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
3
3
 
4
- /** @title Список плиток */
4
+ /** @title Плитка */
5
5
  interface BonusItems {
6
- /** @title Заголовок плитки */
6
+ /** @title Бонусы */
7
7
  name?: string;
8
8
  /** @title Описание плитки */
9
9
  description?: string;
@@ -14,9 +14,10 @@ interface BonusItems {
14
14
  }
15
15
 
16
16
  /**
17
- * @title Плитка
17
+ * @title Блок Бонусы
18
18
  */
19
19
  export type BonusContent = HeadingContent &
20
20
  DescriptionContent & {
21
+ /** @title Список плиток */
21
22
  bonusItems?: BonusItems[];
22
23
  };
@@ -486,6 +486,12 @@
486
486
  "content": {
487
487
  "title": "Потребительский кредит наличными",
488
488
  "description": "Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт.",
489
+ "headingType": "h2",
490
+ "backwardButton": {
491
+ "href": "https://rshb.ru",
492
+ "text": "Кнопка возврата",
493
+ "icon": { "icon": "ArrowLeftIcon" }
494
+ },
489
495
  "breadcrumbs": [
490
496
  {
491
497
  "text": "Главная",
@@ -10,7 +10,7 @@ interface CurrentLocationProps {
10
10
  export const CurrentLocation = JSX<CurrentLocationProps>(
11
11
  ({ className = '', address, distance }) => (
12
12
  <div className={`flex text-sm ${className}`}>
13
- <Img className="min-w-fit" image={{ icon: 'GpsIcon' }} width="24" height="24" asSVG />
13
+ <Img image={{ icon: 'GpsIcon' }} width="24" height="24" asSVG />
14
14
  <div className="ml-3 font-light">
15
15
  {address ? <p className="m-0 mb-[3px]">{address}</p> : null}
16
16
  {distance ? (
@@ -16,7 +16,7 @@ export const ExchangeCurrencyCalculator = JSX<ExchangeCurrencyCalculatorProps>(
16
16
  return (
17
17
  <div className={`grid gap-3.5 ${className}`}>
18
18
  {renderInput('Хочу продать', codes)}
19
- {renderInput('Получу', codes)}
19
+ {renderInput('Получу', codes, 'USD')}
20
20
  <Button className="box-border mt-3.5 py-3 h-12 w-full" version="primary" href="#">
21
21
  Купить валюту
22
22
  </Button>
@@ -25,7 +25,7 @@ export const ExchangeCurrencyCalculator = JSX<ExchangeCurrencyCalculatorProps>(
25
25
  },
26
26
  );
27
27
 
28
- function renderInput(placeholder: string, codes: string[]) {
28
+ function renderInput(placeholder: string, codes: string[], selected?: string) {
29
29
  return (
30
30
  <div className="relative flex items-center">
31
31
  <Input
@@ -36,7 +36,7 @@ function renderInput(placeholder: string, codes: string[]) {
36
36
  {codes.length ? (
37
37
  <Select className="h-9 -translate-x-4">
38
38
  {codes.map((code, i) => (
39
- <SelectOption key={String(i)} value={code}>
39
+ <SelectOption key={String(i)} value={code} selected={code === selected}>
40
40
  {code}
41
41
  </SelectOption>
42
42
  ))}
@@ -16,7 +16,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
16
16
  const { handlerDecorator } = context;
17
17
  return (
18
18
  <div>
19
- <div className={`flex gap-2.5 mb-1.5 ${className}`}>
19
+ <div className={`flex gap-2.5 ${className}`}>
20
20
  {media?.map((_, index) => (
21
21
  <MediaButton
22
22
  key={String(index)}
@@ -10,8 +10,8 @@ export interface GracePeriodProps extends GracePeriodContent, UniBlockProps {}
10
10
  export const GracePeriod = JSX<GracePeriodProps>(
11
11
  ({ className = '', title, description, calendar, anchor = null }) => {
12
12
  return (
13
- <section className={`bg-white p-16 pt-12 ${className}`} id={anchor}>
14
- <Heading headingType="h2" className="text-center" title={title} />
13
+ <section className={`font-sans bg-white p-[50px] ${className}`} id={anchor}>
14
+ <Heading headingType="h3" className="text-center" title={title} />
15
15
  <div className="font-light text-base-md text-center mt-3">{description}</div>
16
16
  {calendar ? renderCalendar(calendar) : null}
17
17
  </section>
@@ -36,7 +36,7 @@ const renderCalendar = (calendar) => {
36
36
  }));
37
37
 
38
38
  return (
39
- <div className="w-full flex flex-col justify-center mt-14">
39
+ <div className="w-full flex flex-col justify-center mt-[54px]">
40
40
  <div className="flex w-full mb-3 font-light text-m-title-md text-center">
41
41
  {mappedCalendar.map((_) => renderMonthNames(_, colSize))}
42
42
  </div>
@@ -44,7 +44,7 @@ const renderCalendar = (calendar) => {
44
44
  {mappedCalendar.map((_, ind) => (
45
45
  <div
46
46
  key={`monthItem-${ind}`}
47
- className="pr-3 mr-3 border-r border-r-gray/100 last:border-r-0 last:pr-0 last:mr-0"
47
+ className="pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0"
48
48
  style={{ flexBasis: _.flexBasis }}
49
49
  >
50
50
  <div className="flex">{renderMonthImages(_)}</div>
@@ -70,7 +70,7 @@ const renderMonthImages = (item) =>
70
70
  _.image?.src ? (
71
71
  <div
72
72
  key={`monthImage-${_.image.src}`}
73
- className="max-h-[207px] border-r-[1px] pr-3 mr-3 border-r-gray/100 last:border-r-0 last:pr-0 last:mr-0"
73
+ className="h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0"
74
74
  >
75
75
  <Img image={_.image} className="flex" />
76
76
  </div>
@@ -7,7 +7,7 @@ export interface NavigatorTabItemProps extends LinkProps {
7
7
  onClick?: (ev: MouseEvent) => void;
8
8
  }
9
9
 
10
- const TEXT_CLASSES = 'font-sans font-normal text-sm';
10
+ const TEXT_CLASSES = 'font-sans font-normal text-m-md';
11
11
  const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
12
12
 
13
13
  export const NavigatorTabItem = JSX<NavigatorTabItemProps>(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "navigatorTabs": [
3
- { "text": "Таб 1", "href": "#tab1", "target": "_self" },
4
- { "text": "Таб 2", "href": "#tab2", "target": "_self" },
5
- { "text": "Ссылка", "href": "https://rshb.ru", "target": "_blank" }
3
+ { "text": "Таб 1", "href": "", "target": "_self" },
4
+ { "text": "Таб 2", "href": "", "target": "_self" },
5
+ { "text": "Таб 3", "href": "", "target": "_self" }
6
6
  ]
7
7
  }
@@ -15,7 +15,7 @@ export const NavigatorTabs = JSX<TabsBlockProps>(
15
15
 
16
16
  return (
17
17
  <section
18
- className={`sticky top-0 z-20 box-border flex gap-x-1 h-12 ${className}`}
18
+ className={`sticky top-0 z-20 box-border flex gap-x-1 h-14 ${className}`}
19
19
  id={anchor}
20
20
  >
21
21
  {navigatorTabs ? navigatorTabs.map(renderTab(context, href)) : null}
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "title": "Продукт",
3
3
  "description": "Описание",
4
+ "headingType": "h2",
5
+ "backwardButton": {
6
+ "href": "https://rshb.ru",
7
+ "text": "Кнопка возврата",
8
+ "icon": { "icon": "ArrowLeftIcon" }
9
+ },
4
10
  "image": {
5
11
  "format": "webp",
6
12
  "size": {
@@ -19,7 +19,7 @@ const benefits: Benefit[] = [
19
19
  {
20
20
  label: 'До 5 млн ₽',
21
21
  description: 'Кредитный лимит',
22
- icon: { icon: 'EmptyWalletIcon' },
22
+ icon: { icon: 'EmptyWalletIcon', iconVersion: 'white' },
23
23
  },
24
24
  {
25
25
  label: 'От 16,9%',
@@ -48,6 +48,15 @@ const buttons: ButtonWithIconProps[] = [
48
48
  },
49
49
  ];
50
50
 
51
+ const buttonsSecond: ButtonWithIconProps[] = [
52
+ {
53
+ href: 'https://rshb.ru',
54
+ text: 'Подробнее',
55
+ target: '_blank',
56
+ version: 'secondary',
57
+ },
58
+ ];
59
+
51
60
  const items = [
52
61
  'Совершайте любые личные покупки',
53
62
  'Используйте корпоративную карту как обычную дебетовую, если вы ИП',
@@ -70,6 +79,18 @@ export const PRODUCT_BLOCK: ProductBlockContent = {
70
79
  export default {
71
80
  default: (
72
81
  <div className="container grid grid-cols-12">
82
+ <ProductBlock
83
+ className="col-span-12"
84
+ context={context}
85
+ backwardButton={backwardButton}
86
+ headingType="h1"
87
+ title="Потребительский кредит наличными"
88
+ description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
89
+ benefits={benefits}
90
+ buttons={buttons}
91
+ image={image}
92
+ />
93
+
73
94
  <ProductBlock
74
95
  className="col-span-12"
75
96
  context={context}
@@ -77,6 +98,18 @@ export default {
77
98
  headingType="h2"
78
99
  description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
79
100
  benefits={benefits}
101
+ benefitsVersion="white"
102
+ buttons={buttons}
103
+ image={image}
104
+ />
105
+ <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} image={image} />
106
+ <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} />
107
+ <ProductBlock
108
+ className="col-span-12"
109
+ context={context}
110
+ title="Потребительский кредит наличными"
111
+ description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
112
+ benefits={benefits}
80
113
  buttons={buttons}
81
114
  image={image}
82
115
  />
@@ -85,48 +118,52 @@ export default {
85
118
  secondary: (
86
119
  <div className="container grid grid-cols-12">
87
120
  <ProductBlock
121
+ className="col-span-12"
88
122
  context={context}
123
+ backwardButton={backwardButton}
124
+ headingType="h1"
125
+ title="Потребительский кредит наличными"
126
+ description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
127
+ benefits={benefits}
128
+ buttons={buttonsSecond}
129
+ image={image}
130
+ version="secondary"
131
+ />
132
+
133
+ <ProductBlock
89
134
  className="col-span-12"
135
+ context={context}
90
136
  title="Потребительский кредит наличными"
91
137
  headingType="h2"
92
- version="secondary"
93
138
  description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
94
139
  benefits={benefits}
95
- buttons={[
96
- {
97
- href: 'https://rshb.ru',
98
- text: 'Подробнее',
99
- target: '_blank',
100
- version: 'secondary',
101
- },
102
- ]}
103
- items={items}
140
+ benefitsVersion="white"
141
+ buttons={buttonsSecond}
104
142
  image={image}
143
+ version="secondary"
144
+ />
145
+ <ProductBlock
146
+ className="col-span-12"
147
+ context={context}
148
+ {...PRODUCT_BLOCK}
149
+ image={image}
150
+ version="secondary"
151
+ />
152
+ <ProductBlock
153
+ className="col-span-12"
154
+ context={context}
155
+ {...PRODUCT_BLOCK}
156
+ version="secondary"
105
157
  />
106
- </div>
107
- ),
108
- 'with items': (
109
- <div className="container grid grid-cols-12">
110
- <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} image={image} />
111
- </div>
112
- ),
113
- 'without image': (
114
- <div className="container grid grid-cols-12">
115
- <ProductBlock className="col-span-12" context={context} {...PRODUCT_BLOCK} />
116
- </div>
117
- ),
118
- 'default-h1': (
119
- <div className="container grid grid-cols-12">
120
158
  <ProductBlock
121
159
  className="col-span-12"
122
160
  context={context}
123
161
  title="Потребительский кредит наличными"
124
- headingType="h1"
125
162
  description="Кредит наличными без залога и поручительства. Потребительский кредит на любые цели. Нужен только паспорт."
126
163
  benefits={benefits}
127
- buttons={buttons}
164
+ buttons={buttonsSecond}
128
165
  image={image}
129
- backwardButton={backwardButton}
166
+ version="secondary"
130
167
  />
131
168
  </div>
132
169
  ),
@@ -5,8 +5,15 @@ import type { DescriptionContent } from '../../ui-kit/Description/DescriptionCon
5
5
  import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
6
6
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
7
7
  import type { ListContent } from '../../ui-kit/List/ListContent';
8
+ import type { IconVersion } from '../../model/IconVersion';
8
9
  import type { Benefit } from '../BenefitsBlock/BenefitsBlockContent';
9
10
 
11
+ export type BenefitItemProps = {
12
+ benefit: Benefit;
13
+ version?: BlockVersion;
14
+ benefitsVersion?: IconVersion;
15
+ };
16
+
10
17
  export type ProductBlockInnerContent = HeadingContent &
11
18
  HeadingTypeContent &
12
19
  DescriptionContent &
@@ -19,6 +26,7 @@ export type ProductBlockInnerContent = HeadingContent &
19
26
  * @maxItems 3
20
27
  */
21
28
  benefits?: Benefit[];
29
+ benefitsVersion?: IconVersion;
22
30
  version?: BlockVersion;
23
31
  /**
24
32
  * @title Буллиты
@@ -20,6 +20,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
20
20
  headingType = 'h2',
21
21
  description,
22
22
  benefits,
23
+ benefitsVersion = 'normal',
23
24
  buttons,
24
25
  image,
25
26
  items,
@@ -56,7 +57,11 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
56
57
  <Description className="mt-3 text-m-md" description={description} />
57
58
  ) : null}
58
59
  {benefits?.filter((items) => items.label)?.length ? (
59
- <div className="mt-3">{benefits.map((_, i) => renderBenefit(_, i, version))}</div>
60
+ <div className="mt-3">
61
+ {benefits.map((benefit, i) =>
62
+ renderBenefit({ benefit, version, benefitsVersion }, i),
63
+ )}
64
+ </div>
60
65
  ) : null}
61
66
  {items?.length ? (
62
67
  <List