@redneckz/wildless-cms-uni-blocks 0.3.47 → 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 (444) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +67 -57
  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 +7 -5
  51. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  52. package/dist/components/GracePeriod/GracePeriodContent.d.ts +14 -3
  53. package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +2 -2
  54. package/dist/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  55. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  56. package/dist/components/NavigatorTabs/NavigatorTabs.js +6 -9
  57. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  58. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +2 -12
  59. package/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  60. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  61. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  62. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  63. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  64. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  65. package/dist/components/ProductBlock/renderBenefit.js +13 -6
  66. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  67. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -3
  68. package/dist/components/ProductBlock/renderBenefit.mobile.js +10 -2
  69. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  70. package/dist/components/ProductTile/ProductTile.js +2 -3
  71. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  72. package/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
  73. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -0
  74. package/dist/components/Recommendation/RecommendationCard.js +1 -1
  75. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  76. package/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  77. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  78. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  79. package/dist/components/Tile/Tile.js +2 -3
  80. package/dist/components/Tile/Tile.js.map +1 -1
  81. package/dist/components/Tile/TileContent.d.ts +2 -2
  82. package/dist/model/IconVersion.d.ts +1 -0
  83. package/dist/model/IconVersion.js +2 -0
  84. package/dist/model/IconVersion.js.map +1 -0
  85. package/dist/model/Picture.d.ts +3 -0
  86. package/dist/types.d.ts +5 -1
  87. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  88. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  89. package/dist/ui-kit/Icon/Icon.js +3 -2
  90. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  91. package/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  92. package/dist/ui-kit/Img/Img.js +2 -1
  93. package/dist/ui-kit/Img/Img.js.map +1 -1
  94. package/dist/ui-kit/Img/Img.mobile.js +2 -1
  95. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  96. package/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  97. package/dist/ui-kit/Img/getIconVersion.js +7 -0
  98. package/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  99. package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  100. package/dist/ui-kit/Select/SelectOption.js +2 -2
  101. package/dist/ui-kit/Select/SelectOption.js.map +1 -1
  102. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  103. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  104. package/fonts/mohave/Mohave-Regular.otf +0 -0
  105. package/fonts/mohave/mohave.css +1 -1
  106. package/lib/common.css +1 -1
  107. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -1
  108. package/lib/components/Bonus/Bonus.js +2 -2
  109. package/lib/components/Bonus/Bonus.js.map +1 -1
  110. package/lib/components/Bonus/BonusContent.d.ts +4 -3
  111. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  112. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  113. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  114. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  115. package/lib/components/Footer/SocialMedia.js +1 -1
  116. package/lib/components/Footer/SocialMedia.js.map +1 -1
  117. package/lib/components/GracePeriod/GracePeriod.js +7 -5
  118. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  119. package/lib/components/GracePeriod/GracePeriodContent.d.ts +14 -3
  120. package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +2 -2
  121. package/lib/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  122. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  123. package/lib/components/NavigatorTabs/NavigatorTabs.js +7 -10
  124. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  125. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +2 -12
  126. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -3
  127. package/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  128. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  129. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  130. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  131. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  132. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  133. package/lib/components/ProductBlock/renderBenefit.js +13 -6
  134. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  135. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -3
  136. package/lib/components/ProductBlock/renderBenefit.mobile.js +10 -2
  137. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  138. package/lib/components/ProductTile/ProductTile.js +2 -3
  139. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  140. package/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
  141. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  142. package/lib/components/Recommendation/RecommendationCard.js +1 -1
  143. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  144. package/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  145. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  146. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  147. package/lib/components/Tile/Tile.js +2 -3
  148. package/lib/components/Tile/Tile.js.map +1 -1
  149. package/lib/components/Tile/TileContent.d.ts +2 -2
  150. package/lib/model/IconVersion.d.ts +1 -0
  151. package/lib/model/IconVersion.js +2 -0
  152. package/lib/model/IconVersion.js.map +1 -0
  153. package/lib/model/Picture.d.ts +3 -0
  154. package/lib/types.d.ts +5 -1
  155. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  156. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  157. package/lib/ui-kit/Icon/Icon.js +3 -2
  158. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  159. package/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  160. package/lib/ui-kit/Img/Img.js +2 -1
  161. package/lib/ui-kit/Img/Img.js.map +1 -1
  162. package/lib/ui-kit/Img/Img.mobile.js +2 -1
  163. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  164. package/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  165. package/lib/ui-kit/Img/getIconVersion.js +4 -0
  166. package/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  167. package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  168. package/lib/ui-kit/Select/SelectOption.js +2 -2
  169. package/lib/ui-kit/Select/SelectOption.js.map +1 -1
  170. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  171. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  172. package/mobile/bundle/bundle.umd.js +27 -14
  173. package/mobile/bundle/bundle.umd.min.js +1 -1
  174. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  175. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  176. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -3
  177. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  178. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  179. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  180. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  181. package/mobile/dist/components/GracePeriod/GracePeriod.js +7 -5
  182. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  183. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +14 -3
  184. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +2 -2
  185. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  186. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  187. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +6 -9
  188. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  189. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +2 -12
  190. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  191. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  192. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  193. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -3
  194. package/mobile/dist/components/ProductBlock/renderBenefit.js +10 -2
  195. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  196. package/mobile/dist/components/ProductTile/ProductTile.js +2 -3
  197. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  198. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
  199. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -0
  200. package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
  201. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  202. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  203. package/mobile/dist/components/Tile/Tile.js +2 -3
  204. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  205. package/mobile/dist/components/Tile/TileContent.d.ts +2 -2
  206. package/mobile/dist/model/IconVersion.d.ts +1 -0
  207. package/mobile/dist/model/IconVersion.js +2 -0
  208. package/mobile/dist/model/IconVersion.js.map +1 -0
  209. package/mobile/dist/model/Picture.d.ts +3 -0
  210. package/mobile/dist/types.d.ts +5 -1
  211. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  212. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  213. package/mobile/dist/ui-kit/Icon/Icon.js +3 -2
  214. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  215. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  216. package/mobile/dist/ui-kit/Img/Img.js +2 -1
  217. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  218. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  219. package/mobile/dist/ui-kit/Img/getIconVersion.js +7 -0
  220. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  221. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  222. package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
  223. package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
  224. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  225. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  226. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  227. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  228. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -3
  229. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  230. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  231. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  232. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  233. package/mobile/lib/components/GracePeriod/GracePeriod.js +7 -5
  234. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  235. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +14 -3
  236. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +2 -2
  237. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +2 -2
  238. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  239. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +7 -10
  240. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  241. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +2 -12
  242. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  243. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  244. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  245. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -3
  246. package/mobile/lib/components/ProductBlock/renderBenefit.js +10 -2
  247. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  248. package/mobile/lib/components/ProductTile/ProductTile.js +2 -3
  249. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  250. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
  251. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  252. package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
  253. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  254. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  255. package/mobile/lib/components/Tile/Tile.js +2 -3
  256. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  257. package/mobile/lib/components/Tile/TileContent.d.ts +2 -2
  258. package/mobile/lib/model/IconVersion.d.ts +1 -0
  259. package/mobile/lib/model/IconVersion.js +2 -0
  260. package/mobile/lib/model/IconVersion.js.map +1 -0
  261. package/mobile/lib/model/Picture.d.ts +3 -0
  262. package/mobile/lib/types.d.ts +5 -1
  263. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  264. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  265. package/mobile/lib/ui-kit/Icon/Icon.js +3 -2
  266. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  267. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  268. package/mobile/lib/ui-kit/Img/Img.js +2 -1
  269. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  270. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  271. package/mobile/lib/ui-kit/Img/getIconVersion.js +4 -0
  272. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  273. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  274. package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
  275. package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
  276. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  277. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  278. package/mobile/src/common.css +0 -4
  279. package/mobile/src/components/Bonus/Bonus.tsx +8 -6
  280. package/mobile/src/components/Bonus/BonusContent.ts +4 -3
  281. package/mobile/src/components/ContentPage/ContentPage.page.json +12 -6
  282. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  283. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  284. package/mobile/src/components/GracePeriod/GracePeriod.example.json +10 -5
  285. package/mobile/src/components/GracePeriod/GracePeriod.tsx +17 -11
  286. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +14 -3
  287. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +5 -5
  288. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  289. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +12 -15
  290. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +2 -12
  291. package/mobile/src/components/ProductBlock/ProductBlock.example.json +6 -0
  292. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  293. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +6 -1
  294. package/mobile/src/components/ProductBlock/renderBenefit.tsx +15 -4
  295. package/mobile/src/components/ProductTile/ProductTile.example.json +1 -0
  296. package/mobile/src/components/ProductTile/ProductTile.tsx +3 -2
  297. package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -1
  298. package/mobile/src/components/Recommendation/Recommendation.example.json +11 -10
  299. package/mobile/src/components/Recommendation/RecommendationCard.tsx +6 -3
  300. package/mobile/src/components/Recommendation/RecommendationContent.ts +12 -10
  301. package/mobile/src/components/Tile/Tile.example.json +1 -0
  302. package/mobile/src/components/Tile/Tile.tsx +2 -2
  303. package/mobile/src/components/Tile/TileContent.ts +2 -1
  304. package/mobile/src/icons/AppleIcon.svg +3 -1
  305. package/mobile/src/icons/BurgerIcon.svg +4 -4
  306. package/mobile/src/icons/Calendar2Icon.svg +6 -1
  307. package/mobile/src/icons/CalendarCircleIcon.svg +1 -4
  308. package/mobile/src/icons/CalendarIcon.svg +1 -1
  309. package/mobile/src/icons/CalendarTickIcon.svg +1 -6
  310. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  311. package/mobile/src/icons/CardIcon.svg +1 -5
  312. package/mobile/src/icons/CardPosIcon.svg +1 -5
  313. package/mobile/src/icons/CardTickIcon.svg +1 -5
  314. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  315. package/mobile/src/icons/ChartSquareIcon.svg +1 -6
  316. package/mobile/src/icons/CloseIcon.svg +4 -4
  317. package/mobile/src/icons/DiscountShapeIcon.svg +1 -4
  318. package/mobile/src/icons/DocIcon.svg +1 -1
  319. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  320. package/mobile/src/icons/EmptyWalletChangeIcon.svg +3 -3
  321. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  322. package/mobile/src/icons/GlobalIcon.svg +1 -5
  323. package/mobile/src/icons/GpsIcon.svg +6 -6
  324. package/mobile/src/icons/GridIcon.svg +1 -1
  325. package/mobile/src/icons/InterestIcon.svg +1 -6
  326. package/mobile/src/icons/MasterCardIcon.svg +1 -5
  327. package/mobile/src/icons/MinusIcon.svg +1 -3
  328. package/mobile/src/icons/MoneyIcon.svg +1 -5
  329. package/mobile/src/icons/MonitorMobileIcon.svg +1 -4
  330. package/mobile/src/icons/OfficeIcon.svg +1 -1
  331. package/mobile/src/icons/PercentageRoundIcon.svg +1 -4
  332. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  333. package/mobile/src/icons/PersonalCardIcon.svg +1 -4
  334. package/mobile/src/icons/PlayMarketIcon.svg +1 -3
  335. package/mobile/src/icons/PlusIcon.svg +1 -3
  336. package/mobile/src/icons/Profile2UserIcon.svg +1 -6
  337. package/mobile/src/icons/RoundRubleIcon.svg +1 -5
  338. package/mobile/src/icons/SafeIcon.svg +1 -7
  339. package/mobile/src/icons/ShieldTickIcon.svg +1 -4
  340. package/mobile/src/icons/SmallClockIcon.svg +1 -4
  341. package/mobile/src/icons/UserTickIcon.svg +1 -5
  342. package/mobile/src/icons/WalletAdd2Icon.svg +1 -6
  343. package/mobile/src/icons/WalletAddIcon.svg +1 -7
  344. package/mobile/src/icons/WalletIcon.svg +1 -7
  345. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -5
  346. package/mobile/src/model/IconVersion.ts +1 -0
  347. package/mobile/src/model/Picture.ts +3 -0
  348. package/mobile/src/types.ts +5 -1
  349. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  350. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -1
  351. package/mobile/src/ui-kit/Icon/IconProps.ts +3 -0
  352. package/mobile/src/ui-kit/Img/Img.tsx +11 -2
  353. package/mobile/src/ui-kit/Img/getIconVersion.tsx +3 -0
  354. package/mobile/src/ui-kit/Select/SelectOption.tsx +10 -7
  355. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
  356. package/package.json +1 -1
  357. package/src/common.css +0 -4
  358. package/src/components/Bonus/Bonus.tsx +8 -6
  359. package/src/components/Bonus/BonusContent.ts +4 -3
  360. package/src/components/ContentPage/ContentPage.page.json +12 -6
  361. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  362. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  363. package/src/components/Footer/SocialMedia.tsx +1 -1
  364. package/src/components/GracePeriod/GracePeriod.example.json +10 -5
  365. package/src/components/GracePeriod/GracePeriod.tsx +17 -11
  366. package/src/components/GracePeriod/GracePeriodContent.ts +14 -3
  367. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +5 -5
  368. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  369. package/src/components/NavigatorTabs/NavigatorTabs.fixture.tsx +6 -1
  370. package/src/components/NavigatorTabs/NavigatorTabs.tsx +12 -15
  371. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +2 -12
  372. package/src/components/ProductBlock/ProductBlock.example.json +6 -0
  373. package/src/components/ProductBlock/ProductBlock.fixture.tsx +65 -28
  374. package/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  375. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +6 -1
  376. package/src/components/ProductBlock/ProductBlockInner.tsx +4 -1
  377. package/src/components/ProductBlock/renderBenefit.mobile.tsx +15 -4
  378. package/src/components/ProductBlock/renderBenefit.tsx +20 -8
  379. package/src/components/ProductTile/ProductTile.example.json +1 -0
  380. package/src/components/ProductTile/ProductTile.fixture.tsx +7 -2
  381. package/src/components/ProductTile/ProductTile.tsx +3 -2
  382. package/src/components/ProductTile/ProductTileContent.ts +2 -1
  383. package/src/components/Recommendation/Recommendation.example.json +11 -10
  384. package/src/components/Recommendation/Recommendation.fixture.tsx +3 -3
  385. package/src/components/Recommendation/RecommendationCard.tsx +6 -3
  386. package/src/components/Recommendation/RecommendationContent.ts +12 -10
  387. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  388. package/src/components/Tile/Tile.example.json +1 -0
  389. package/src/components/Tile/Tile.fixture.tsx +5 -0
  390. package/src/components/Tile/Tile.tsx +2 -2
  391. package/src/components/Tile/TileContent.ts +2 -1
  392. package/src/icons/AppleIcon.svg +3 -1
  393. package/src/icons/BurgerIcon.svg +4 -4
  394. package/src/icons/Calendar2Icon.svg +6 -1
  395. package/src/icons/CalendarCircleIcon.svg +1 -4
  396. package/src/icons/CalendarIcon.svg +1 -1
  397. package/src/icons/CalendarTickIcon.svg +1 -6
  398. package/src/icons/CalendarWhiteIcon.svg +2 -2
  399. package/src/icons/CardIcon.svg +1 -5
  400. package/src/icons/CardPosIcon.svg +1 -5
  401. package/src/icons/CardTickIcon.svg +1 -5
  402. package/src/icons/CardWithGemIcon.svg +1 -1
  403. package/src/icons/ChartSquareIcon.svg +1 -6
  404. package/src/icons/CloseIcon.svg +4 -4
  405. package/src/icons/DiscountShapeIcon.svg +1 -4
  406. package/src/icons/DocIcon.svg +1 -1
  407. package/src/icons/DocumentTextIcon.svg +2 -2
  408. package/src/icons/EmptyWalletChangeIcon.svg +3 -3
  409. package/src/icons/EmptyWalletIcon.svg +2 -2
  410. package/src/icons/GlobalIcon.svg +1 -5
  411. package/src/icons/GpsIcon.svg +6 -6
  412. package/src/icons/GridIcon.svg +1 -1
  413. package/src/icons/InterestIcon.svg +1 -6
  414. package/src/icons/MasterCardIcon.svg +1 -5
  415. package/src/icons/MinusIcon.svg +1 -3
  416. package/src/icons/MoneyIcon.svg +1 -5
  417. package/src/icons/MonitorMobileIcon.svg +1 -4
  418. package/src/icons/OfficeIcon.svg +1 -1
  419. package/src/icons/PercentageRoundIcon.svg +1 -4
  420. package/src/icons/PercentageSquareIcon.svg +1 -1
  421. package/src/icons/PersonalCardIcon.svg +1 -4
  422. package/src/icons/PlayMarketIcon.svg +1 -3
  423. package/src/icons/PlusIcon.svg +1 -3
  424. package/src/icons/Profile2UserIcon.svg +1 -6
  425. package/src/icons/RoundRubleIcon.svg +1 -5
  426. package/src/icons/SafeIcon.svg +1 -7
  427. package/src/icons/ShieldTickIcon.svg +1 -4
  428. package/src/icons/SmallClockIcon.svg +1 -4
  429. package/src/icons/UserTickIcon.svg +1 -5
  430. package/src/icons/WalletAdd2Icon.svg +1 -6
  431. package/src/icons/WalletAddIcon.svg +1 -7
  432. package/src/icons/WalletIcon.svg +1 -7
  433. package/src/icons/WalletWithMoneyIcon.svg +1 -5
  434. package/src/model/IconVersion.ts +1 -0
  435. package/src/model/Picture.ts +3 -0
  436. package/src/types.ts +5 -1
  437. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  438. package/src/ui-kit/Icon/Icon.tsx +3 -1
  439. package/src/ui-kit/Icon/IconProps.ts +3 -0
  440. package/src/ui-kit/Img/Img.mobile.tsx +11 -2
  441. package/src/ui-kit/Img/Img.tsx +10 -2
  442. package/src/ui-kit/Img/getIconVersion.tsx +3 -0
  443. package/src/ui-kit/Select/SelectOption.tsx +10 -7
  444. package/src/ui-kit/Tabs/Tabs.tsx +1 -1
@@ -395,14 +395,19 @@
395
395
  }
396
396
  })();
397
397
 
398
- const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, ...imgProps }) => {
398
+ const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion, asSVG, ...imgProps }) => {
399
399
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
400
+ const svgUseStyle = iconVersion === 'white' ? 'text-black invert' : '';
400
401
  if (asSVG) {
401
- return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
402
+ return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className: svgUseStyle, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
402
403
  }
403
404
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
404
405
  });
405
406
 
407
+ function getIconVersion(image) {
408
+ return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
409
+ }
410
+
406
411
  const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
407
412
  if (!image) {
408
413
  return null;
@@ -410,7 +415,7 @@
410
415
  // backwards compatibility with existing icons in usage
411
416
  const icon = typeof image === 'string' ? image : image.icon;
412
417
  if (icon || icon === '') {
413
- return icon.length ? jsx(Icon, { className: className, name: icon, ...iconProps }) : null;
418
+ return icon.length ? (jsx(Icon, { className: className, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
414
419
  }
415
420
  return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
416
421
  });
@@ -594,7 +599,7 @@
594
599
 
595
600
  const ButtonInner = JSX((props) => {
596
601
  const { text, aboveText, appendLeft } = props;
597
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-button-sm text-left", children: text })] })) : null] }));
602
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-button text-left", children: text })] })) : null] }));
598
603
  });
599
604
  const getButtonStyle = (props) => {
600
605
  const { version, aboveText, rounded } = props;
@@ -693,10 +698,6 @@
693
698
  return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, id: anchor, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { children: children }), buttons ? jsx("div", { children: buttons }) : null] }), image] })] }));
694
699
  });
695
700
 
696
- const benefitIconBgStyleMap = {
697
- primary: 'bg-primary-main',
698
- secondary: 'bg-white/30',
699
- };
700
701
  const benefitTitleStyleMap = {
701
702
  primary: 'text-primary-text',
702
703
  secondary: 'text-white',
@@ -705,13 +706,24 @@
705
706
  primary: 'text-secondary-text',
706
707
  secondary: 'text-white',
707
708
  };
708
- function renderBenefit(benefit, i, version) {
709
- return (jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon ? (jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border text-primary-text ${benefitIconBgStyleMap[version]}`, image: benefit.icon, width: "24", height: "24", asSVG: true })) : null, jsxs("div", { className: "flex gap-0.5 flex-col h-full max-w-[149px] min-w-[149px]", children: [jsx("div", { className: `text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-light text-m-md ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
709
+ function renderBenefit({ benefit, version = 'primary', benefitsVersion = 'normal' }, i) {
710
+ const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
711
+ return (jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon ? (jsx(Img, { className: renderBenefitIconBgStyle(version, benefitsVersion), image: { ...benefit?.icon, iconVersion: isIconWhite ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true })) : null, jsxs("div", { className: "flex gap-0.5 flex-col h-full max-w-[149px] min-w-[149px]", children: [jsx("div", { className: `text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-light text-m-md ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
712
+ }
713
+ function renderBenefitIconBgStyle(version, benefitsVersion) {
714
+ let bgColorStyle = 'bg-primary-main text-black';
715
+ if (version === 'secondary') {
716
+ bgColorStyle = 'bg-white/30 text-black';
717
+ }
718
+ else if (benefitsVersion === 'normal') {
719
+ bgColorStyle = 'bg-secondary-light text-primary-main';
720
+ }
721
+ return `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${bgColorStyle}`;
710
722
  }
711
723
 
712
- const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
724
+ const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
713
725
  const textColor = version === 'secondary' ? 'text-white' : 'text-primary-text';
714
- return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: `mt-4 max-w-[600px] text-md font-light ${textColor}`, description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-title-2xs font-light", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
726
+ return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: `mt-4 max-w-[600px] text-md font-light ${textColor}`, description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((benefit, i) => renderBenefit({ benefit, version, benefitsVersion }, i)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-title-2xs font-light", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
715
727
  });
716
728
  const getTitle = (title, headingType) => {
717
729
  return (title && (jsx(Heading, { headingType: headingType, title: title, className: "whitespace-pre-wrap max-w-[600px]" })));
@@ -776,19 +788,6 @@
776
788
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
777
789
  };
778
790
 
779
- function getTileHeadingType(className = '') {
780
- const colSpan = getColSpan(className);
781
- if (colSpan <= 4) {
782
- return 'h4';
783
- }
784
- else if (colSpan <= 8) {
785
- return 'h3';
786
- }
787
- else {
788
- return 'h2';
789
- }
790
- }
791
-
792
791
  function getTileMinHeight(className = '') {
793
792
  const colSpan = getColSpan(className);
794
793
  if (colSpan <= 6) {
@@ -820,8 +819,8 @@
820
819
  secondary: 'bg-primary-main text-white',
821
820
  };
822
821
  const Tile = JSX((props) => {
823
- const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, anchor = null, } = props;
824
- return (jsx("section", { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), as: "h3", title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
822
+ const { context, title, headingType = 'h3', description, items, children, buttons, image, className = '', version = 'primary', role, anchor = null, } = props;
823
+ return (jsx("section", { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
825
824
  ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && (jsx(Description, { className: "max-w-[600px] text-title-new-sm font-light", description: description })), children, renderList$1(items, version)] }) }));
826
825
  });
827
826
  function renderList$1(items, version) {
@@ -832,8 +831,8 @@
832
831
  primary: 'bg-white text-primary-text',
833
832
  secondary: 'bg-primary-main text-white',
834
833
  };
835
- const ProductTile = JSX(({ context, className = '', title, description, benefits, buttons, image, version = 'primary', anchor = null, }) => {
836
- return (jsx("section", { className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), jsxs("div", { className: "flex mt-5 mb-1", children: [benefits?.length ? (jsx("div", { className: "mr-8", children: benefits.map(renderBenefitLabel) })) : null, benefits?.length ? (jsx("div", { className: "pt-1", children: benefits.map((_, i) => renderBenefitDescription(_, i, version)) })) : null] })] }) }));
834
+ const ProductTile = JSX(({ context, className = '', title, headingType = 'h3', description, benefits, buttons, image, version = 'primary', anchor = null, }) => {
835
+ return (jsx("section", { className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), jsxs("div", { className: "flex mt-5 mb-1", children: [benefits?.length ? (jsx("div", { className: "mr-8", children: benefits.map(renderBenefitLabel) })) : null, benefits?.length ? (jsx("div", { className: "pt-1", children: benefits.map((_, i) => renderBenefitDescription(_, i, version)) })) : null] })] }) }));
837
836
  });
838
837
  function renderBenefitLabel(benefit, i) {
839
838
  return (jsx("div", { className: `text-xl font-medium ${i ? 'mt-2.5' : ''}`, children: benefit.label }, String(i)));
@@ -990,9 +989,9 @@
990
989
 
991
990
  const Bonus = JSX((props) => {
992
991
  const { className = '', title, description, bonusItems, anchor = null } = props;
993
- return (jsx("section", { className: `bg-white p-12 ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-md font-light text-center mt-2", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
992
+ return (jsx("section", { className: `font-sans bg-white p-[50px] pb-9 ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-md font-light text-center mt-[10px]", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
994
993
  ? bonusItems.map((_, i) => {
995
- return (jsx("div", { 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", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.name }), jsx("div", { className: "text-md font-light mt-3 max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-mohave -tracking-wider text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
994
+ return (jsx("div", { 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", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.name }), jsx("div", { className: "text-md font-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
996
995
  })
997
996
  : null })] }) }));
998
997
  });
@@ -1086,7 +1085,20 @@
1086
1085
  const isActive = currentTabIndex === index;
1087
1086
  return (jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": String(isActive), children: [tab?.icon ? renderIcon(tab, isActive) : null, jsxs("div", { children: [tab?.title ? jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (jsx("span", { className: `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`, children: tab?.description })) : null] })] }, String(index)));
1088
1087
  };
1089
- const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", children: jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert-full' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1088
+ const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", children: jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1089
+
1090
+ function getTileHeadingType(className = '') {
1091
+ const colSpan = getColSpan(className);
1092
+ if (colSpan <= 4) {
1093
+ return 'h4';
1094
+ }
1095
+ else if (colSpan <= 8) {
1096
+ return 'h3';
1097
+ }
1098
+ else {
1099
+ return 'h2';
1100
+ }
1101
+ }
1090
1102
 
1091
1103
  function useCreditCalculatorData(useAsyncData, directoryName) {
1092
1104
  const { data } = useAsyncData(creditCalculatorUrl(directoryName), fetchCreditCalculatorData);
@@ -1332,7 +1344,7 @@
1332
1344
  return (jsxs("tr", { className: "pb-1", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "text-m-title-md ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.buyExchangeRate) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.saleExchangeRate) })] }, code));
1333
1345
  };
1334
1346
 
1335
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex text-sm ${className}`, children: [jsx(Img, { className: "min-w-fit", image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3 font-light", children: [address ? jsx("p", { className: "m-0 mb-[3px]", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1347
+ const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex text-sm ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3 font-light", children: [address ? jsx("p", { className: "m-0 mb-[3px]", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1336
1348
 
1337
1349
  const Input = JSX(({ className = '', id, name, type = 'text', placeholder }) => {
1338
1350
  return (jsx("input", { className: className, id: id, name: name || id, type: type, placeholder: placeholder }));
@@ -1342,15 +1354,15 @@
1342
1354
  return (jsx("select", { className: className, id: id, name: name || id, children: children }));
1343
1355
  });
1344
1356
 
1345
- const SelectOption = JSX(({ className = '', value, children }) => {
1346
- return (jsx("option", { className: className, value: `${value}`, children: children }));
1357
+ const SelectOption = JSX(({ className = '', value, selected, children }) => {
1358
+ return (jsx("option", { className: className, value: `${value}`, selected: selected, children: children }));
1347
1359
  });
1348
1360
 
1349
1361
  const ExchangeCurrencyCalculator = JSX(({ codes, className = '' }) => {
1350
- return (jsxs("div", { className: `grid gap-3.5 ${className}`, children: [renderInput('Хочу продать', codes), renderInput('Получу', codes), jsx(Button, { className: "box-border mt-3.5 py-3 h-12 w-full", version: "primary", href: "#", children: "\u041A\u0443\u043F\u0438\u0442\u044C \u0432\u0430\u043B\u044E\u0442\u0443" })] }));
1362
+ return (jsxs("div", { className: `grid gap-3.5 ${className}`, children: [renderInput('Хочу продать', codes), renderInput('Получу', codes, 'USD'), jsx(Button, { className: "box-border mt-3.5 py-3 h-12 w-full", version: "primary", href: "#", children: "\u041A\u0443\u043F\u0438\u0442\u044C \u0432\u0430\u043B\u044E\u0442\u0443" })] }));
1351
1363
  });
1352
- function renderInput(placeholder, codes) {
1353
- return (jsxs("div", { className: "relative flex items-center", children: [jsx(Input, { className: "h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12", type: "number", placeholder: `${placeholder}` }), codes.length ? (jsx(Select, { className: "h-9 -translate-x-4", children: codes.map((code, i) => (jsx(SelectOption, { value: code, children: code }, String(i)))) })) : null] }));
1364
+ function renderInput(placeholder, codes, selected) {
1365
+ return (jsxs("div", { className: "relative flex items-center", children: [jsx(Input, { className: "h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12", type: "number", placeholder: `${placeholder}` }), codes.length ? (jsx(Select, { className: "h-9 -translate-x-4", children: codes.map((code, i) => (jsx(SelectOption, { value: code, selected: code === selected, children: code }, String(i)))) })) : null] }));
1354
1366
  }
1355
1367
 
1356
1368
  const CURRENCY_CODES = ['USD', 'EUR'];
@@ -1520,7 +1532,7 @@
1520
1532
  const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
1521
1533
  const router = context.useRouter();
1522
1534
  const { handlerDecorator } = context;
1523
- return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 mb-1.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
1535
+ return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
1524
1536
  });
1525
1537
 
1526
1538
  const TextInformation = JSX(({ className, links, context }) => {
@@ -1536,19 +1548,21 @@
1536
1548
  });
1537
1549
 
1538
1550
  const GracePeriod = JSX(({ className = '', title, description, calendar, anchor = null }) => {
1539
- return (jsxs("section", { className: `bg-white p-16 pt-12 ${className}`, id: anchor, children: [jsx(Heading, { headingType: "h2", className: "text-center", title: title }), jsx("div", { className: "font-light text-base-md text-center mt-3", children: description }), calendar ? renderCalendar(calendar) : null] }));
1551
+ return (jsxs("section", { className: `font-sans bg-white p-[50px] ${className}`, id: anchor, children: [jsx(Heading, { headingType: "h3", className: "text-center", title: title }), jsx("div", { className: "font-light text-base-md text-center mt-3", children: description }), calendar ? renderCalendar(calendar) : null] }));
1540
1552
  });
1541
1553
  const renderCalendar = (calendar) => {
1542
- const colCount = calendar.reduce((accumulator, currentValue) => accumulator + currentValue.month.length, 0) || 1;
1554
+ const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
1543
1555
  const colSize = 100 / colCount;
1544
- const mappedCalendar = calendar.map((_) => ({
1556
+ const mappedCalendar = calendar
1557
+ .filter((_) => _?.month?.length)
1558
+ .map((_) => ({
1545
1559
  ..._,
1546
1560
  flexBasis: `${_.month.length * colSize}%`,
1547
1561
  }));
1548
- return (jsxs("div", { className: "w-full flex flex-col justify-center mt-14", children: [jsx("div", { className: "flex w-full mb-3 font-light text-m-title-md mb-3 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-3 mr-3 border-r border-r-gray/100 last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.blackText }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
1562
+ return (jsxs("div", { className: "w-full flex flex-col justify-center mt-[54px]", children: [jsx("div", { className: "flex w-full mb-3 font-light text-m-title-md text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.blackText }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
1549
1563
  };
1550
1564
  const renderMonthNames = (item, colSize) => item.month.map((_) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.name }, `monthName-${_.name}`)));
1551
- const renderMonthImages = (item) => item.month.map((_) => _.image?.src ? (jsx("div", { 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", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
1565
+ const renderMonthImages = (item) => item.month.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
1552
1566
 
1553
1567
  const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
1554
1568
 
@@ -1724,9 +1738,9 @@
1724
1738
  .map((button, i) => (jsx(NavigationItem, { className: "first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md", isActive: button === activeButton, ...useLink({ router, handlerDecorator }, button) }, String(i)))) })) : null] }));
1725
1739
  });
1726
1740
 
1727
- const TEXT_CLASSES = 'font-sans font-normal text-sm';
1741
+ const TEXT_CLASSES = 'font-sans font-normal text-m-md';
1728
1742
  const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
1729
- const NavigatorTabItem = JSX(({ className = '', label, active, children, onClick, href, target = '_self' }) => (jsx("a", { className: getLinkClasses(className, active), target: target, href: href, onClick: onClick, children: jsx("span", { className: getTextClasses(active), children: label || children }) })));
1743
+ const NavigatorTabItem = JSX(({ className = '', text, active, children, onClick, href, target = '_self' }) => (jsx("a", { className: getLinkClasses(className, active), target: target, href: href, onClick: onClick, children: jsx("span", { className: getTextClasses(active), children: text || children }) })));
1730
1744
  const getLinkClasses = (className, active) => {
1731
1745
  const classes = active ? 'bg-primary-main' : 'group bg-white';
1732
1746
  return `${classes} ${LINK_CLASSES} ${className}`;
@@ -1737,19 +1751,15 @@
1737
1751
  };
1738
1752
 
1739
1753
  const NavigatorTabs = JSX(({ className = '', navigatorTabs, context, anchor = null }) => {
1740
- const router = context.useRouter();
1741
1754
  const href = globalThis.location?.href; // TODO: remove globalThis, use href from router
1742
- return (jsx("section", { className: `sticky top-0 z-20 box-border flex gap-x-1 h-12 ${className}`, id: anchor, children: navigatorTabs ? navigatorTabs.map(renderTab(href, router)) : null }));
1755
+ return (jsx("section", { className: `sticky top-0 z-20 box-border flex gap-x-1 h-14 ${className}`, id: anchor, children: navigatorTabs ? navigatorTabs.map(renderTab(context, href)) : null }));
1743
1756
  });
1744
- const renderTab = (href, router) => (tab, i) => {
1757
+ const renderTab = (context, href) => (tab, i) => {
1758
+ const { useRouter, handlerDecorator } = context;
1759
+ const router = useRouter();
1745
1760
  const hash = getHash(href);
1746
1761
  const active = hash ? tab.href === hash : i === 0;
1747
- return (jsx(NavigatorTabItem, { active: active, onClick: () => handleRoute(router, tab.href), ...tab }, tab.href));
1748
- };
1749
- const handleRoute = (router, href) => {
1750
- if (isURL(href))
1751
- return; // if href if full URL - move to HTML href action, do not touch router
1752
- router?.replace(href || '');
1762
+ return (jsx(NavigatorTabItem, { active: active, ...useLink({ router, handlerDecorator }, tab) }, tab.href));
1753
1763
  };
1754
1764
 
1755
1765
  const useActiveHandler = ({ context, blocks, initialState = false }) => {
@@ -1894,7 +1904,7 @@
1894
1904
  }
1895
1905
 
1896
1906
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
1897
- return (jsx("section", { className: `border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md font-light flex flex-col gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
1907
+ return (jsx("section", { className: `border border-solid box-border p-[30px] w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
1898
1908
  });
1899
1909
 
1900
1910
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -1937,7 +1947,7 @@
1937
1947
  return (jsx("div", { className: "flex flex-col items-center text-center relative", children: jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon?.icon && jsx(Img, { image: step.icon, width: "48", height: "48" })) || (jsx("span", { className: "font-normal text-title-sm text-secondary-text", children: i + 1 })) }) }, String(i)));
1938
1948
  };
1939
1949
  const renderStepTitle = (step, i, isMainButton) => {
1940
- return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label && jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }), step.description && (jsx("div", { className: `font-light text-base text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-[38px] py-3 h-12 w-full max-w-[240px]", version: "primary", href: "#", children: step.button.text })) : null] }, String(i)));
1950
+ return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label && jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }), step.description && (jsx("div", { className: `font-light text-base text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", version: "primary", href: "#", children: step.button.text })) : null] }, String(i)));
1941
1951
  };
1942
1952
 
1943
1953
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';