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

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 (395) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +44 -84
  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/OtherProducts/OtherProductsContent.d.ts +2 -2
  56. package/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  57. package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  58. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  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/Recommendation/RecommendationCard.d.ts +2 -0
  71. package/dist/components/Recommendation/RecommendationCard.js +1 -1
  72. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  73. package/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  74. package/dist/index.d.ts +0 -11
  75. package/dist/index.js +1 -9
  76. package/dist/index.js.map +1 -1
  77. package/dist/model/IconVersion.d.ts +1 -0
  78. package/dist/model/IconVersion.js +2 -0
  79. package/dist/model/IconVersion.js.map +1 -0
  80. package/dist/model/Picture.d.ts +3 -0
  81. package/dist/ui-kit/Icon/Icon.js +3 -2
  82. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  83. package/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  84. package/dist/ui-kit/Img/Img.js +2 -1
  85. package/dist/ui-kit/Img/Img.js.map +1 -1
  86. package/dist/ui-kit/Img/Img.mobile.js +2 -1
  87. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  88. package/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  89. package/dist/ui-kit/Img/getIconVersion.js +7 -0
  90. package/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  91. package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  92. package/dist/ui-kit/Select/SelectOption.js +2 -2
  93. package/dist/ui-kit/Select/SelectOption.js.map +1 -1
  94. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  95. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  96. package/fonts/mohave/Mohave-Regular.otf +0 -0
  97. package/fonts/mohave/mohave.css +1 -1
  98. package/lib/common.css +1 -1
  99. package/lib/components/Bonus/Bonus.js +2 -2
  100. package/lib/components/Bonus/Bonus.js.map +1 -1
  101. package/lib/components/Bonus/BonusContent.d.ts +4 -3
  102. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  103. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  104. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  105. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  106. package/lib/components/Footer/SocialMedia.js +1 -1
  107. package/lib/components/Footer/SocialMedia.js.map +1 -1
  108. package/lib/components/GracePeriod/GracePeriod.js +3 -3
  109. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  110. package/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  111. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  112. package/lib/components/NavigatorTabs/NavigatorTabs.js +1 -1
  113. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  114. package/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  115. package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  116. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  117. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -3
  118. package/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  119. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  120. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  121. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  122. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  123. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  124. package/lib/components/ProductBlock/renderBenefit.js +13 -6
  125. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  126. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -3
  127. package/lib/components/ProductBlock/renderBenefit.mobile.js +10 -2
  128. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  129. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  130. package/lib/components/Recommendation/RecommendationCard.js +1 -1
  131. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  132. package/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  133. package/lib/index.d.ts +0 -11
  134. package/lib/index.js +0 -4
  135. package/lib/index.js.map +1 -1
  136. package/lib/model/IconVersion.d.ts +1 -0
  137. package/lib/model/IconVersion.js +2 -0
  138. package/lib/model/IconVersion.js.map +1 -0
  139. package/lib/model/Picture.d.ts +3 -0
  140. package/lib/ui-kit/Icon/Icon.js +3 -2
  141. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  142. package/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  143. package/lib/ui-kit/Img/Img.js +2 -1
  144. package/lib/ui-kit/Img/Img.js.map +1 -1
  145. package/lib/ui-kit/Img/Img.mobile.js +2 -1
  146. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  147. package/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  148. package/lib/ui-kit/Img/getIconVersion.js +4 -0
  149. package/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  150. package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  151. package/lib/ui-kit/Select/SelectOption.js +2 -2
  152. package/lib/ui-kit/Select/SelectOption.js.map +1 -1
  153. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  154. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  155. package/mobile/bundle/bundle.umd.js +26 -66
  156. package/mobile/bundle/bundle.umd.min.js +1 -1
  157. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  158. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  159. package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -3
  160. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  161. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  162. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  163. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  164. package/mobile/dist/components/GracePeriod/GracePeriod.js +3 -3
  165. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  166. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  167. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  168. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +1 -1
  169. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  170. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  171. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  172. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  173. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  174. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  175. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  176. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -3
  177. package/mobile/dist/components/ProductBlock/renderBenefit.js +10 -2
  178. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  179. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -0
  180. package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
  181. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  182. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +7 -6
  183. package/mobile/dist/index.d.ts +0 -11
  184. package/mobile/dist/index.js +1 -9
  185. package/mobile/dist/index.js.map +1 -1
  186. package/mobile/dist/model/IconVersion.d.ts +1 -0
  187. package/mobile/dist/model/IconVersion.js +2 -0
  188. package/mobile/dist/model/IconVersion.js.map +1 -0
  189. package/mobile/dist/model/Picture.d.ts +3 -0
  190. package/mobile/dist/ui-kit/Icon/Icon.js +3 -2
  191. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  192. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +3 -0
  193. package/mobile/dist/ui-kit/Img/Img.js +2 -1
  194. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  195. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +1 -0
  196. package/mobile/dist/ui-kit/Img/getIconVersion.js +7 -0
  197. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -0
  198. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
  199. package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
  200. package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
  201. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  202. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  203. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  204. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  205. package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -3
  206. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  207. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  208. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +3 -3
  209. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  210. package/mobile/lib/components/GracePeriod/GracePeriod.js +3 -3
  211. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  212. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  213. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  214. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +1 -1
  215. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
  216. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +2 -2
  217. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  218. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  219. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -0
  220. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  221. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  222. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -3
  223. package/mobile/lib/components/ProductBlock/renderBenefit.js +10 -2
  224. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  225. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -0
  226. package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
  227. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  228. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +7 -6
  229. package/mobile/lib/index.d.ts +0 -11
  230. package/mobile/lib/index.js +0 -4
  231. package/mobile/lib/index.js.map +1 -1
  232. package/mobile/lib/model/IconVersion.d.ts +1 -0
  233. package/mobile/lib/model/IconVersion.js +2 -0
  234. package/mobile/lib/model/IconVersion.js.map +1 -0
  235. package/mobile/lib/model/Picture.d.ts +3 -0
  236. package/mobile/lib/ui-kit/Icon/Icon.js +3 -2
  237. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  238. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +3 -0
  239. package/mobile/lib/ui-kit/Img/Img.js +2 -1
  240. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  241. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +1 -0
  242. package/mobile/lib/ui-kit/Img/getIconVersion.js +4 -0
  243. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -0
  244. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
  245. package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
  246. package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
  247. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  248. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  249. package/mobile/src/common.css +0 -4
  250. package/mobile/src/components/Bonus/Bonus.tsx +8 -6
  251. package/mobile/src/components/Bonus/BonusContent.ts +4 -3
  252. package/mobile/src/components/ContentPage/ContentPage.page.json +6 -0
  253. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  254. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  255. package/mobile/src/components/GracePeriod/GracePeriod.tsx +5 -5
  256. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +1 -1
  257. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  258. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +1 -1
  259. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  260. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
  261. package/mobile/src/components/ProductBlock/ProductBlock.example.json +6 -0
  262. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  263. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +6 -1
  264. package/mobile/src/components/ProductBlock/renderBenefit.tsx +15 -4
  265. package/mobile/src/components/Recommendation/Recommendation.example.json +11 -10
  266. package/mobile/src/components/Recommendation/RecommendationCard.tsx +6 -3
  267. package/mobile/src/components/Recommendation/RecommendationContent.ts +12 -10
  268. package/mobile/src/icons/AppleIcon.svg +3 -1
  269. package/mobile/src/icons/BurgerIcon.svg +4 -4
  270. package/mobile/src/icons/Calendar2Icon.svg +6 -1
  271. package/mobile/src/icons/CalendarCircleIcon.svg +1 -4
  272. package/mobile/src/icons/CalendarIcon.svg +1 -1
  273. package/mobile/src/icons/CalendarTickIcon.svg +1 -6
  274. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  275. package/mobile/src/icons/CardIcon.svg +1 -5
  276. package/mobile/src/icons/CardPosIcon.svg +1 -5
  277. package/mobile/src/icons/CardTickIcon.svg +1 -5
  278. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  279. package/mobile/src/icons/ChartSquareIcon.svg +1 -6
  280. package/mobile/src/icons/CloseIcon.svg +4 -4
  281. package/mobile/src/icons/DiscountShapeIcon.svg +1 -4
  282. package/mobile/src/icons/DocIcon.svg +1 -1
  283. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  284. package/mobile/src/icons/EmptyWalletChangeIcon.svg +3 -3
  285. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  286. package/mobile/src/icons/GlobalIcon.svg +1 -5
  287. package/mobile/src/icons/GpsIcon.svg +6 -6
  288. package/mobile/src/icons/GridIcon.svg +1 -1
  289. package/mobile/src/icons/InterestIcon.svg +1 -6
  290. package/mobile/src/icons/MasterCardIcon.svg +1 -5
  291. package/mobile/src/icons/MinusIcon.svg +1 -3
  292. package/mobile/src/icons/MoneyIcon.svg +1 -5
  293. package/mobile/src/icons/MonitorMobileIcon.svg +1 -4
  294. package/mobile/src/icons/OfficeIcon.svg +1 -1
  295. package/mobile/src/icons/PercentageRoundIcon.svg +1 -4
  296. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  297. package/mobile/src/icons/PersonalCardIcon.svg +1 -4
  298. package/mobile/src/icons/PlayMarketIcon.svg +1 -3
  299. package/mobile/src/icons/PlusIcon.svg +1 -3
  300. package/mobile/src/icons/Profile2UserIcon.svg +1 -6
  301. package/mobile/src/icons/RoundRubleIcon.svg +1 -5
  302. package/mobile/src/icons/SafeIcon.svg +1 -7
  303. package/mobile/src/icons/ShieldTickIcon.svg +1 -4
  304. package/mobile/src/icons/SmallClockIcon.svg +1 -4
  305. package/mobile/src/icons/UserTickIcon.svg +1 -5
  306. package/mobile/src/icons/WalletAdd2Icon.svg +1 -6
  307. package/mobile/src/icons/WalletAddIcon.svg +1 -7
  308. package/mobile/src/icons/WalletIcon.svg +1 -7
  309. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -5
  310. package/mobile/src/index.ts +0 -26
  311. package/mobile/src/model/IconVersion.ts +1 -0
  312. package/mobile/src/model/Picture.ts +3 -0
  313. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -1
  314. package/mobile/src/ui-kit/Icon/IconProps.ts +3 -0
  315. package/mobile/src/ui-kit/Img/Img.tsx +11 -2
  316. package/mobile/src/ui-kit/Img/getIconVersion.tsx +3 -0
  317. package/mobile/src/ui-kit/Select/SelectOption.tsx +10 -7
  318. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
  319. package/package.json +4 -9
  320. package/src/common.css +0 -4
  321. package/src/components/Bonus/Bonus.tsx +8 -6
  322. package/src/components/Bonus/BonusContent.ts +4 -3
  323. package/src/components/ContentPage/ContentPage.page.json +6 -0
  324. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  325. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  326. package/src/components/Footer/SocialMedia.tsx +1 -1
  327. package/src/components/GracePeriod/GracePeriod.tsx +5 -5
  328. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +1 -1
  329. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  330. package/src/components/NavigatorTabs/NavigatorTabs.tsx +1 -1
  331. package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
  332. package/src/components/OtherProducts/OtherProductsItem.tsx +3 -3
  333. package/src/components/ProductBlock/ProductBlock.example.json +6 -0
  334. package/src/components/ProductBlock/ProductBlock.fixture.tsx +65 -28
  335. package/src/components/ProductBlock/ProductBlockContent.ts +8 -0
  336. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +6 -1
  337. package/src/components/ProductBlock/ProductBlockInner.tsx +4 -1
  338. package/src/components/ProductBlock/renderBenefit.mobile.tsx +15 -4
  339. package/src/components/ProductBlock/renderBenefit.tsx +20 -8
  340. package/src/components/Recommendation/Recommendation.example.json +11 -10
  341. package/src/components/Recommendation/Recommendation.fixture.tsx +3 -3
  342. package/src/components/Recommendation/RecommendationCard.tsx +6 -3
  343. package/src/components/Recommendation/RecommendationContent.ts +12 -10
  344. package/src/icons/AppleIcon.svg +3 -1
  345. package/src/icons/BurgerIcon.svg +4 -4
  346. package/src/icons/Calendar2Icon.svg +6 -1
  347. package/src/icons/CalendarCircleIcon.svg +1 -4
  348. package/src/icons/CalendarIcon.svg +1 -1
  349. package/src/icons/CalendarTickIcon.svg +1 -6
  350. package/src/icons/CalendarWhiteIcon.svg +2 -2
  351. package/src/icons/CardIcon.svg +1 -5
  352. package/src/icons/CardPosIcon.svg +1 -5
  353. package/src/icons/CardTickIcon.svg +1 -5
  354. package/src/icons/CardWithGemIcon.svg +1 -1
  355. package/src/icons/ChartSquareIcon.svg +1 -6
  356. package/src/icons/CloseIcon.svg +4 -4
  357. package/src/icons/DiscountShapeIcon.svg +1 -4
  358. package/src/icons/DocIcon.svg +1 -1
  359. package/src/icons/DocumentTextIcon.svg +2 -2
  360. package/src/icons/EmptyWalletChangeIcon.svg +3 -3
  361. package/src/icons/EmptyWalletIcon.svg +2 -2
  362. package/src/icons/GlobalIcon.svg +1 -5
  363. package/src/icons/GpsIcon.svg +6 -6
  364. package/src/icons/GridIcon.svg +1 -1
  365. package/src/icons/InterestIcon.svg +1 -6
  366. package/src/icons/MasterCardIcon.svg +1 -5
  367. package/src/icons/MinusIcon.svg +1 -3
  368. package/src/icons/MoneyIcon.svg +1 -5
  369. package/src/icons/MonitorMobileIcon.svg +1 -4
  370. package/src/icons/OfficeIcon.svg +1 -1
  371. package/src/icons/PercentageRoundIcon.svg +1 -4
  372. package/src/icons/PercentageSquareIcon.svg +1 -1
  373. package/src/icons/PersonalCardIcon.svg +1 -4
  374. package/src/icons/PlayMarketIcon.svg +1 -3
  375. package/src/icons/PlusIcon.svg +1 -3
  376. package/src/icons/Profile2UserIcon.svg +1 -6
  377. package/src/icons/RoundRubleIcon.svg +1 -5
  378. package/src/icons/SafeIcon.svg +1 -7
  379. package/src/icons/ShieldTickIcon.svg +1 -4
  380. package/src/icons/SmallClockIcon.svg +1 -4
  381. package/src/icons/UserTickIcon.svg +1 -5
  382. package/src/icons/WalletAdd2Icon.svg +1 -6
  383. package/src/icons/WalletAddIcon.svg +1 -7
  384. package/src/icons/WalletIcon.svg +1 -7
  385. package/src/icons/WalletWithMoneyIcon.svg +1 -5
  386. package/src/index.ts +0 -26
  387. package/src/model/IconVersion.ts +1 -0
  388. package/src/model/Picture.ts +3 -0
  389. package/src/ui-kit/Icon/Icon.tsx +3 -1
  390. package/src/ui-kit/Icon/IconProps.ts +3 -0
  391. package/src/ui-kit/Img/Img.mobile.tsx +11 -2
  392. package/src/ui-kit/Img/Img.tsx +10 -2
  393. package/src/ui-kit/Img/getIconVersion.tsx +3 -0
  394. package/src/ui-kit/Select/SelectOption.tsx +10 -7
  395. 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
  });
@@ -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]" })));
@@ -977,9 +989,9 @@
977
989
 
978
990
  const Bonus = JSX((props) => {
979
991
  const { className = '', title, description, bonusItems, anchor = null } = props;
980
- 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
981
993
  ? bonusItems.map((_, i) => {
982
- 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)));
983
995
  })
984
996
  : null })] }) }));
985
997
  });
@@ -1073,7 +1085,7 @@
1073
1085
  const isActive = currentTabIndex === index;
1074
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)));
1075
1087
  };
1076
- 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 }) }));
1077
1089
 
1078
1090
  function getTileHeadingType(className = '') {
1079
1091
  const colSpan = getColSpan(className);
@@ -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,7 +1548,7 @@
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
1554
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
@@ -1547,10 +1559,10 @@
1547
1559
  ..._,
1548
1560
  flexBasis: `${_.month.length * colSize}%`,
1549
1561
  }));
1550
- 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 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}`))) })] }));
1551
1563
  };
1552
1564
  const renderMonthNames = (item, colSize) => item.month.map((_) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.name }, `monthName-${_.name}`)));
1553
- 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);
1554
1566
 
1555
1567
  const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
1556
1568
 
@@ -1726,7 +1738,7 @@
1726
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] }));
1727
1739
  });
1728
1740
 
1729
- const TEXT_CLASSES = 'font-sans font-normal text-sm';
1741
+ const TEXT_CLASSES = 'font-sans font-normal text-m-md';
1730
1742
  const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
1731
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 }) })));
1732
1744
  const getLinkClasses = (className, active) => {
@@ -1740,7 +1752,7 @@
1740
1752
 
1741
1753
  const NavigatorTabs = JSX(({ className = '', navigatorTabs, context, anchor = null }) => {
1742
1754
  const href = globalThis.location?.href; // TODO: remove globalThis, use href from router
1743
- 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(context, href)) : 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 }));
1744
1756
  });
1745
1757
  const renderTab = (context, href) => (tab, i) => {
1746
1758
  const { useRouter, handlerDecorator } = context;
@@ -1750,6 +1762,11 @@
1750
1762
  return (jsx(NavigatorTabItem, { active: active, ...useLink({ router, handlerDecorator }, tab) }, tab.href));
1751
1763
  };
1752
1764
 
1765
+ const OtherProductsItemInner = JSX(({ blocks, columns = 1, context }) => {
1766
+ const className = 'box-border p-5';
1767
+ return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: jsx("div", { className: `box-border w-full p-9 ${columns > 1 ? 'flex flex-wrap' : ''}`, children: renderBlocksList({ context, className, columns, blocks }) }) }));
1768
+ });
1769
+
1753
1770
  const useActiveHandler = ({ context, blocks, initialState = false }) => {
1754
1771
  const [isActive, setIsActive] = context.useState(initialState);
1755
1772
  const hasContent = blocks?.length;
@@ -1768,11 +1785,6 @@
1768
1785
  return { isActive, hasContent, icon, handleToggle };
1769
1786
  };
1770
1787
 
1771
- const OtherProductsItemInner = JSX(({ blocks, columns = 1, context }) => {
1772
- const className = 'box-border p-5';
1773
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: jsx("div", { className: `box-border w-full p-9 ${columns > 1 ? 'flex flex-wrap' : ''}`, children: renderBlocksList({ context, className, columns, blocks }) }) }));
1774
- });
1775
-
1776
1788
  const OtherProductsItem = JSX(({ label, isExpanded, blocks, columns, context }) => {
1777
1789
  const { hasContent, icon, handleToggle, isActive } = useActiveHandler({
1778
1790
  context,
@@ -1892,7 +1904,7 @@
1892
1904
  }
1893
1905
 
1894
1906
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
1895
- 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 })] }) }));
1896
1908
  });
1897
1909
 
1898
1910
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -2069,63 +2081,11 @@
2069
2081
  return style ? style.join(' ') : '';
2070
2082
  }
2071
2083
 
2072
- const ContentPageHead = JSX(({ HeadComponent, data, children }) => {
2073
- const { title, main, og, twitter, jsonLd } = data;
2074
- const { description, keywords, canonical, robots } = main || {};
2075
- return (jsxs(HeadComponent, { children: [jsx("title", { children: title }), jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }), description && jsx("meta", { name: "description", content: description }), keywords && jsx("meta", { name: "keywords", content: keywords.join(',') }), robots && jsx("meta", { name: "robots", content: robots.join(',') }), renderOpenGraph(og), renderTwitter(twitter), canonical && jsx("link", { rel: "canonical", href: canonical }), jsonLd && jsx("script", { type: "application/ld+json", children: jsonLd }), children] }));
2076
- });
2077
- function renderOpenGraph(og) {
2078
- return og
2079
- ? Object.entries(og).map(([key, value]) => (jsx("meta", { property: `og:${key}`, content: value }, key)))
2080
- : null;
2081
- }
2082
- function renderTwitter(twitter) {
2083
- return twitter
2084
- ? Object.entries(twitter).map(([key, value]) => (jsx("meta", { name: `twitter:${key}`, content: value }, key)))
2085
- : null;
2086
- }
2087
-
2088
- function isBlockInRegistry(blockType, registry) {
2089
- return (blockType || '') in registry;
2090
- }
2091
-
2092
- function normalizeBlock(block) {
2093
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2094
- const { mobile, ...rest } = block;
2095
- return rest;
2096
- }
2097
-
2098
- function normalizePage(contentPage) {
2099
- if (!contentPage) {
2100
- return undefined;
2101
- }
2102
- const { blocks, slots } = contentPage;
2103
- return {
2104
- ...contentPage,
2105
- blocks: getDesktopBlocks(blocks),
2106
- slots: slots &&
2107
- Object.keys(slots).reduce((res, key) => ({
2108
- ...res,
2109
- [key]: {
2110
- ...slots[key],
2111
- blocks: getDesktopBlocks(slots[key].blocks),
2112
- },
2113
- }), {}),
2114
- };
2115
- }
2116
- function getDesktopBlocks(blocks) {
2117
- return blocks?.filter((block) => isBlockInRegistry(block?.type, Blocks)).map(normalizeBlock);
2118
- }
2119
-
2120
2084
  exports.Blocks = Blocks;
2121
2085
  exports.ContentPage = ContentPage;
2122
- exports.ContentPageHead = ContentPageHead;
2123
2086
  exports.DaDataAPI = DaDataAPI;
2124
- exports.Header = Header;
2125
- exports.Icon = Icon;
2126
2087
  exports.LikeAPI = LikeAPI;
2127
2088
  exports.joinList = joinList;
2128
- exports.normalizePage = normalizePage;
2129
2089
  exports.projectSettings = projectSettings;
2130
2090
  exports.setup = setup;
2131
2091
  exports.url = url;