@redneckz/wildless-cms-uni-blocks 0.3.31 → 0.3.34

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 (638) hide show
  1. package/README.md +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +171 -105
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/dist/components/Accordion/AccordionContent.d.ts +2 -2
  6. package/dist/components/Accordion/AccordionItem.js +2 -2
  7. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  8. package/dist/components/Accordion/AccordionItem.mobile.js +2 -2
  9. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  10. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  11. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  12. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  13. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  14. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  15. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  16. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  17. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  18. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  19. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  20. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  21. package/dist/components/CreditCalculator/defaultTabs.js +3 -3
  22. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  23. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  24. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  25. package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  26. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  27. package/dist/components/Footer/Footer.mobile.js +2 -2
  28. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  29. package/dist/components/Footer/FooterContent.d.ts +2 -2
  30. package/dist/components/Footer/MediaButton.js +17 -5
  31. package/dist/components/Footer/MediaButton.js.map +1 -1
  32. package/dist/components/Footer/SocialMedia.js +1 -1
  33. package/dist/components/Footer/SocialMedia.js.map +1 -1
  34. package/dist/components/Gallery/Gallery.mobile.js +1 -2
  35. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  36. package/dist/components/Gallery/GalleryCardInner.js +1 -2
  37. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  38. package/dist/components/Header/HeaderBurger.js +3 -3
  39. package/dist/components/Header/HeaderBurger.js.map +1 -1
  40. package/dist/components/Header/HeaderContent.d.ts +3 -3
  41. package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  42. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  43. package/dist/components/Header/HeaderTop.js +2 -2
  44. package/dist/components/Header/HeaderTop.js.map +1 -1
  45. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  46. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  47. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  48. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  49. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  50. package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  51. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  52. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  53. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  54. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  55. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  56. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  57. package/dist/components/PictureText/PictureText.js +8 -5
  58. package/dist/components/PictureText/PictureText.js.map +1 -1
  59. package/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  60. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  61. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  62. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  63. package/dist/components/ProductBlock/ProductBlockInner.js +4 -4
  64. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  65. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  66. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  67. package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
  68. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  69. package/dist/components/ProductGallery/ProductGallery.js +2 -5
  70. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  71. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  72. package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  73. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  74. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  75. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  76. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  77. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  78. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  79. package/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  80. package/dist/components/Recommendation/Recommendation.js +2 -2
  81. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  82. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  83. package/dist/components/Recommendation/RecommendationCard.js +3 -3
  84. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  85. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  86. package/dist/components/StepsBlock/StepsBlock.js +10 -4
  87. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  88. package/dist/components/StepsBlock/StepsBlock.mobile.js +13 -6
  89. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  90. package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  91. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  92. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  93. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  94. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  95. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  96. package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  97. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  98. package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  99. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  100. package/dist/content-page-repository/transformContentPage.js +1 -1
  101. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  102. package/dist/model/Picture.d.ts +3 -0
  103. package/dist/model/SitemapProps.d.ts +2 -2
  104. package/dist/services/sitemap/SitemapProps.d.ts +2 -2
  105. package/dist/setup-fixture.js +0 -4
  106. package/dist/setup-fixture.js.map +1 -1
  107. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  108. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  109. package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  110. package/dist/ui-kit/Button/ButtonSection.js +2 -2
  111. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  112. package/dist/ui-kit/Heading/Heading.js +1 -1
  113. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  114. package/dist/ui-kit/Icon/Icon.js +1 -1
  115. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  116. package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  117. package/dist/ui-kit/Img/Img.d.ts +4 -7
  118. package/dist/ui-kit/Img/Img.js +27 -9
  119. package/dist/ui-kit/Img/Img.js.map +1 -1
  120. package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
  121. package/dist/ui-kit/Img/Img.mobile.js +12 -3
  122. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  123. package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  124. package/dist/ui-kit/List/ListItem.js +2 -2
  125. package/dist/ui-kit/List/ListItem.js.map +1 -1
  126. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  127. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  128. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  129. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  130. package/dist/ui-kit/SearchBar.mobile.js +2 -2
  131. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  132. package/dist/ui-kit/Tabs/Tabs.js +2 -2
  133. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  134. package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  135. package/lib/common.css +1 -1
  136. package/lib/components/Accordion/AccordionContent.d.ts +2 -2
  137. package/lib/components/Accordion/AccordionItem.js +2 -2
  138. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  139. package/lib/components/Accordion/AccordionItem.mobile.js +2 -2
  140. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  141. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  142. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  143. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  144. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  145. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  146. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  147. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  148. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  149. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  150. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  151. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  152. package/lib/components/CreditCalculator/defaultTabs.js +3 -3
  153. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  154. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  155. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  156. package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  157. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  158. package/lib/components/Footer/Footer.mobile.js +2 -2
  159. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  160. package/lib/components/Footer/FooterContent.d.ts +2 -2
  161. package/lib/components/Footer/MediaButton.js +17 -5
  162. package/lib/components/Footer/MediaButton.js.map +1 -1
  163. package/lib/components/Footer/SocialMedia.js +1 -1
  164. package/lib/components/Footer/SocialMedia.js.map +1 -1
  165. package/lib/components/Gallery/Gallery.mobile.js +1 -2
  166. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  167. package/lib/components/Gallery/GalleryCardInner.js +1 -2
  168. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  169. package/lib/components/Header/HeaderBurger.js +3 -3
  170. package/lib/components/Header/HeaderBurger.js.map +1 -1
  171. package/lib/components/Header/HeaderContent.d.ts +3 -3
  172. package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  173. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  174. package/lib/components/Header/HeaderTop.js +2 -2
  175. package/lib/components/Header/HeaderTop.js.map +1 -1
  176. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  177. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  178. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  179. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  180. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  181. package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  182. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  183. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  184. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  185. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  186. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  187. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  188. package/lib/components/PictureText/PictureText.js +8 -5
  189. package/lib/components/PictureText/PictureText.js.map +1 -1
  190. package/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  191. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  192. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  193. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  194. package/lib/components/ProductBlock/ProductBlockInner.js +4 -4
  195. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  196. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  197. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  198. package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
  199. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  200. package/lib/components/ProductGallery/ProductGallery.js +2 -5
  201. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  202. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  203. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  204. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  205. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  206. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  207. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  208. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.fixture.d.ts +1 -0
  209. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  210. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  211. package/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  212. package/lib/components/Recommendation/Recommendation.js +2 -2
  213. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  214. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  215. package/lib/components/Recommendation/RecommendationCard.js +3 -3
  216. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  217. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  218. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  219. package/lib/components/StepsBlock/StepsBlock.js +10 -4
  220. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  221. package/lib/components/StepsBlock/StepsBlock.mobile.js +13 -6
  222. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  223. package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  224. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  225. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  226. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  227. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  228. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  229. package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  230. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  231. package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  232. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  233. package/lib/content-page-repository/transformContentPage.js +1 -1
  234. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  235. package/lib/model/Picture.d.ts +3 -0
  236. package/lib/model/SitemapProps.d.ts +2 -2
  237. package/lib/services/sitemap/SitemapProps.d.ts +2 -2
  238. package/lib/setup-fixture.js +0 -4
  239. package/lib/setup-fixture.js.map +1 -1
  240. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  241. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  242. package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  243. package/lib/ui-kit/Button/ButtonSection.js +2 -2
  244. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  245. package/lib/ui-kit/Heading/Heading.js +1 -1
  246. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  247. package/lib/ui-kit/Icon/Icon.js +1 -1
  248. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  249. package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  250. package/lib/ui-kit/Img/Img.d.ts +4 -7
  251. package/lib/ui-kit/Img/Img.js +26 -8
  252. package/lib/ui-kit/Img/Img.js.map +1 -1
  253. package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
  254. package/lib/ui-kit/Img/Img.mobile.js +11 -2
  255. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  256. package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  257. package/lib/ui-kit/List/ListItem.js +2 -2
  258. package/lib/ui-kit/List/ListItem.js.map +1 -1
  259. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  260. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  261. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  262. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  263. package/lib/ui-kit/SearchBar.mobile.js +2 -2
  264. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  265. package/lib/ui-kit/Tabs/Tabs.js +2 -2
  266. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  267. package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  268. package/mobile/bundle/bundle.umd.js +67 -35
  269. package/mobile/bundle/bundle.umd.min.js +1 -1
  270. package/mobile/dist/components/Accordion/AccordionContent.d.ts +2 -2
  271. package/mobile/dist/components/Accordion/AccordionItem.js +2 -2
  272. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  273. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  274. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  275. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  276. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  277. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  278. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
  279. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  280. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  281. package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
  282. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  283. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  284. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  285. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  286. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  287. package/mobile/dist/components/Footer/Footer.js +2 -2
  288. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  289. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -2
  290. package/mobile/dist/components/Footer/MediaButton.js +17 -5
  291. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  292. package/mobile/dist/components/Gallery/Gallery.js +1 -2
  293. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  294. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
  295. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  296. package/mobile/dist/components/Header/HeaderBurger.js +3 -3
  297. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  298. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
  299. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  300. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  301. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  302. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  303. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  304. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  305. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  306. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  307. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  308. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  309. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  310. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  311. package/mobile/dist/components/PictureText/PictureText.js +8 -5
  312. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  313. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  314. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  315. package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
  316. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  317. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  318. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  319. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  320. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  321. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  322. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  323. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  324. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  325. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  326. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
  327. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  328. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  329. package/mobile/dist/components/StepsBlock/StepsBlock.js +13 -6
  330. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  331. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  332. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  333. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  334. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  335. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  336. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  337. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  338. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  339. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  340. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  341. package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
  342. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  343. package/mobile/dist/model/Picture.d.ts +3 -0
  344. package/mobile/dist/model/SitemapProps.d.ts +2 -2
  345. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
  346. package/mobile/dist/setup-fixture.js +0 -4
  347. package/mobile/dist/setup-fixture.js.map +1 -1
  348. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  349. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  350. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  351. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
  352. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  353. package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
  354. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  355. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  356. package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
  357. package/mobile/dist/ui-kit/Img/Img.js +12 -3
  358. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  359. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  360. package/mobile/dist/ui-kit/List/ListItem.js +2 -2
  361. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  362. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
  363. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  364. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
  365. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  366. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  367. package/mobile/lib/components/Accordion/AccordionContent.d.ts +2 -2
  368. package/mobile/lib/components/Accordion/AccordionItem.js +2 -2
  369. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  370. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  371. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  372. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  373. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  374. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  375. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
  376. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  377. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  378. package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
  379. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  380. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  381. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  382. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  383. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  384. package/mobile/lib/components/Footer/Footer.js +2 -2
  385. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  386. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -2
  387. package/mobile/lib/components/Footer/MediaButton.js +17 -5
  388. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  389. package/mobile/lib/components/Gallery/Gallery.js +1 -2
  390. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  391. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
  392. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  393. package/mobile/lib/components/Header/HeaderBurger.js +3 -3
  394. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  395. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
  396. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  397. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  398. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  399. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  400. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  401. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  402. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  403. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  404. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  405. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  406. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  407. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  408. package/mobile/lib/components/PictureText/PictureText.js +8 -5
  409. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  410. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  411. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  412. package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
  413. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  414. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  415. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  416. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  417. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  418. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  419. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  420. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  421. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  422. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  423. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
  424. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  425. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  426. package/mobile/lib/components/StepsBlock/StepsBlock.js +13 -6
  427. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  428. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  429. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  430. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  431. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  432. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  433. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  434. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  435. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  436. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  437. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  438. package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
  439. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  440. package/mobile/lib/model/Picture.d.ts +3 -0
  441. package/mobile/lib/model/SitemapProps.d.ts +2 -2
  442. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
  443. package/mobile/lib/setup-fixture.js +0 -4
  444. package/mobile/lib/setup-fixture.js.map +1 -1
  445. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  446. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  447. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  448. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
  449. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  450. package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
  451. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  452. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  453. package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
  454. package/mobile/lib/ui-kit/Img/Img.js +11 -2
  455. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  456. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  457. package/mobile/lib/ui-kit/List/ListItem.js +2 -2
  458. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  459. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
  460. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  461. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
  462. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  463. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  464. package/mobile/src/components/Accordion/Accordion.example.json +9 -3
  465. package/mobile/src/components/Accordion/AccordionContent.ts +2 -2
  466. package/mobile/src/components/Accordion/AccordionItem.tsx +3 -3
  467. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  468. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  469. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  470. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  471. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
  472. package/mobile/src/components/ContentPage/ContentPage.page.json +267 -82
  473. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -2
  474. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  475. package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
  476. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  477. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  478. package/mobile/src/components/Footer/Footer.tsx +2 -2
  479. package/mobile/src/components/Footer/FooterContent.ts +2 -2
  480. package/mobile/src/components/Footer/MediaButton.tsx +21 -9
  481. package/mobile/src/components/Gallery/Gallery.tsx +2 -3
  482. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
  483. package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
  484. package/mobile/src/components/Header/HeaderContent.ts +3 -3
  485. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  486. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  487. package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
  488. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  489. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  490. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  491. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  492. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  493. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  494. package/mobile/src/components/PictureText/PictureText.example.json +8 -2
  495. package/mobile/src/components/PictureText/PictureText.tsx +37 -12
  496. package/mobile/src/components/PictureText/PictureTextContent.ts +7 -0
  497. package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
  498. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  499. package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
  500. package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
  501. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
  502. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  503. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  504. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  505. package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
  506. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  507. package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
  508. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
  509. package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
  510. package/mobile/src/components/StepsBlock/StepsBlock.tsx +19 -9
  511. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  512. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  513. package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
  514. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  515. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  516. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  517. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  518. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  519. package/mobile/src/model/Picture.ts +4 -0
  520. package/mobile/src/model/SitemapProps.ts +2 -2
  521. package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
  522. package/mobile/src/setup-fixture.ts +4 -6
  523. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
  524. package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
  525. package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
  526. package/mobile/src/ui-kit/Icon/Icon.tsx +1 -1
  527. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
  528. package/mobile/src/ui-kit/Img/Img.tsx +38 -22
  529. package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
  530. package/mobile/src/ui-kit/List/ListItem.tsx +2 -2
  531. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
  532. package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
  533. package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
  534. package/package.json +2 -3
  535. package/src/components/Accordion/Accordion.example.json +9 -3
  536. package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -1
  537. package/src/components/Accordion/AccordionContent.ts +2 -2
  538. package/src/components/Accordion/AccordionItem.mobile.tsx +3 -3
  539. package/src/components/Accordion/AccordionItem.tsx +2 -2
  540. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  541. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  542. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  543. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  544. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
  545. package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  546. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
  547. package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
  548. package/src/components/ContentPage/ContentPage.page.json +267 -82
  549. package/src/components/ContentPage/ContentPageContext.tsx +2 -2
  550. package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  551. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
  552. package/src/components/CreditCalculator/defaultTabs.ts +3 -3
  553. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  554. package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  555. package/src/components/Footer/Footer.mobile.tsx +2 -2
  556. package/src/components/Footer/FooterContent.ts +2 -2
  557. package/src/components/Footer/MediaButton.tsx +21 -9
  558. package/src/components/Footer/SocialMedia.tsx +1 -1
  559. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  560. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  561. package/src/components/Gallery/Gallery.mobile.tsx +2 -3
  562. package/src/components/Gallery/GalleryCardInner.tsx +2 -3
  563. package/src/components/Header/HeaderBurger.tsx +5 -5
  564. package/src/components/Header/HeaderContent.ts +3 -3
  565. package/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  566. package/src/components/Header/HeaderTop.tsx +3 -3
  567. package/src/components/LinkDocs/LinkDocs.example.json +3 -1
  568. package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
  569. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  570. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  571. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  572. package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  573. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  574. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  575. package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  576. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  577. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  578. package/src/components/PictureText/PictureText.example.json +8 -2
  579. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  580. package/src/components/PictureText/PictureText.tsx +37 -12
  581. package/src/components/PictureText/PictureTextContent.ts +7 -0
  582. package/src/components/ProductBlock/ProductBlock.example.json +11 -3
  583. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
  584. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -7
  585. package/src/components/ProductBlock/ProductBlock.tsx +2 -4
  586. package/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  587. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -11
  588. package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
  589. package/src/components/ProductBlock/renderBenefit.tsx +5 -5
  590. package/src/components/ProductGallery/ProductGallery.example.json +22 -1
  591. package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
  592. package/src/components/ProductGallery/ProductGallery.tsx +4 -17
  593. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
  594. package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
  595. package/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  596. package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +74 -2
  597. package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  598. package/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  599. package/src/components/Recommendation/Recommendation.example.json +18 -3
  600. package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
  601. package/src/components/Recommendation/Recommendation.tsx +6 -6
  602. package/src/components/Recommendation/RecommendationCard.tsx +21 -12
  603. package/src/components/Recommendation/RecommendationContent.ts +6 -4
  604. package/src/components/StepsBlock/StepsBlock.example.json +9 -3
  605. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
  606. package/src/components/StepsBlock/StepsBlock.fixture.tsx +14 -0
  607. package/src/components/StepsBlock/StepsBlock.mobile.tsx +19 -9
  608. package/src/components/StepsBlock/StepsBlock.tsx +15 -8
  609. package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  610. package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  611. package/src/components/TariffsTable/TariffsTable.example.json +12 -4
  612. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
  613. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
  614. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  615. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  616. package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  617. package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  618. package/src/content-page-repository/transformContentPage.ts +1 -1
  619. package/src/model/Picture.ts +4 -0
  620. package/src/model/SitemapProps.ts +2 -2
  621. package/src/services/sitemap/SitemapProps.ts +2 -2
  622. package/src/setup-fixture.ts +4 -6
  623. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  624. package/src/ui-kit/Button/ButtonInner.tsx +3 -3
  625. package/src/ui-kit/Button/ButtonProps.ts +2 -2
  626. package/src/ui-kit/Button/ButtonSection.tsx +2 -2
  627. package/src/ui-kit/Heading/Heading.tsx +1 -3
  628. package/src/ui-kit/Icon/Icon.tsx +1 -1
  629. package/src/ui-kit/Icon/IconProps.ts +12 -3
  630. package/src/ui-kit/Img/Img.mobile.tsx +38 -22
  631. package/src/ui-kit/Img/Img.tsx +50 -23
  632. package/src/ui-kit/Img/ImgProps.ts +7 -4
  633. package/src/ui-kit/List/ListItem.tsx +2 -2
  634. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
  635. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  636. package/src/ui-kit/SearchBar.mobile.tsx +2 -2
  637. package/src/ui-kit/Tabs/Tabs.tsx +2 -2
  638. package/src/ui-kit/Tabs/TabsProps.ts +2 -2
@@ -14,10 +14,24 @@ const steps = [
14
14
  label: 'Получение наличных',
15
15
  description: 'Получите наличные в отделении банка',
16
16
  },
17
+ {
18
+ label: 'Последний шаг!',
19
+ description: 'Получите наличные в отделении банка',
20
+ },
17
21
  ];
18
22
 
19
23
  export default {
20
24
  default: (
25
+ <div className="container grid grid-cols-12">
26
+ <StepsBlock
27
+ className="col-span-12"
28
+ context={context}
29
+ title="Рассчитайте условия на онлайн-калькуляторе и оставьте заявку на потребительский кредит"
30
+ steps={steps.slice(0, 3)}
31
+ />
32
+ </div>
33
+ ),
34
+ '4 steps': (
21
35
  <div className="container grid grid-cols-12">
22
36
  <StepsBlock
23
37
  className="col-span-12"
@@ -1,10 +1,10 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { Heading } from '../../ui-kit/Heading/Heading';
3
- import { Icon } from '../../ui-kit/Icon/Icon';
2
+ import type { BlockVersion } from '../../model/BlockVersion';
4
3
  import type { SizeVersion } from '../../model/SizeVersion';
5
4
  import type { UniBlockProps } from '../../types';
5
+ import { Heading } from '../../ui-kit/Heading/Heading';
6
+ import { Img } from '../../ui-kit/Img/Img';
6
7
  import type { Step, StepsBlockContent } from './StepsBlockContent';
7
- import type { BlockVersion } from '../../model/BlockVersion';
8
8
 
9
9
  export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
10
10
 
@@ -16,6 +16,16 @@ type StyleType = {
16
16
  iconConnector: string;
17
17
  };
18
18
 
19
+ const STEPS_SIZE_MAP: Record<SizeVersion, string> = {
20
+ normal: 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]',
21
+ small: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]',
22
+ };
23
+
24
+ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP: Record<SizeVersion, string> = {
25
+ normal: 'min-h-[70px]',
26
+ small: 'min-h-[50px]',
27
+ };
28
+
19
29
  const STEPS_BLOCK_STYLE_MAPS: Record<BlockVersion, StyleType> = {
20
30
  primary: {
21
31
  background: 'bg-white',
@@ -88,7 +98,9 @@ const renderStepTitle = (params: RenderStepTitleParams) => {
88
98
  <div className={`min-h-8 h-full w-[2px] ${style.iconConnector} ${margin}`} />
89
99
  )}
90
100
  </div>
91
- <div className="flex flex-col justify-start relative">
101
+ <div
102
+ className={`flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`}
103
+ >
92
104
  {step.label && (
93
105
  <div className="font-medium text-m-title-xs m-0 text-left">{step.label}</div>
94
106
  )}
@@ -110,10 +122,7 @@ const renderStepTitle = (params: RenderStepTitleParams) => {
110
122
  const renderIconArea = (params: RenderStepTitleParams) => {
111
123
  const { step, size, i, version } = params;
112
124
  const style = styleMaps(version);
113
- const iconAreaSize =
114
- size === 'normal'
115
- ? 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]'
116
- : 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]';
125
+ const iconAreaSize = STEPS_SIZE_MAP[size];
117
126
 
118
127
  const iconSize = size === 'normal' ? '38' : '27';
119
128
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
@@ -123,7 +132,8 @@ const renderIconArea = (params: RenderStepTitleParams) => {
123
132
  className={`${iconAreaSize} ${style.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`}
124
133
  >
125
134
  <span className={`font-medium flex self-center ${style.title} ${iconTextSize}`}>
126
- {(step.icon && <Icon name={step.icon} width={iconSize} height={iconSize} asSVG />) || i + 1}
135
+ {(step.icon?.icon && <Img image={step.icon} width={iconSize} height={iconSize} asSVG />) ||
136
+ i + 1}
127
137
  </span>
128
138
  </div>
129
139
  );
@@ -1,19 +1,24 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { UniBlockProps } from '../../types';
3
3
  import { Heading } from '../../ui-kit/Heading/Heading';
4
- import { Icon } from '../../ui-kit/Icon/Icon';
4
+ import { Img } from '../../ui-kit/Img/Img';
5
5
  import { joinList } from '../../utils/joinList';
6
6
  import type { Step, StepsBlockContent } from './StepsBlockContent';
7
7
 
8
8
  export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
9
9
 
10
10
  export const StepsBlock = JSX<StepsBlockProps>(
11
- ({ className, title, showLines = true, steps, anchor = null }) => {
11
+ ({ className = '', title, showLines = true, steps = [], anchor = null }) => {
12
+ const shortGaps = steps.length > 3;
13
+
12
14
  return (
13
15
  <section
14
- className={`box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${
15
- className || ''
16
- }`}
16
+ className={[
17
+ 'box-border font-sans text-primary-text bg-white',
18
+ shortGaps ? 'px-20' : 'px-[70px]',
19
+ 'py-[50px] flex flex-col items-center',
20
+ className,
21
+ ].join(' ')}
17
22
  id={anchor}
18
23
  >
19
24
  <Heading headingType="h2" className="max-w-[47rem] text-center" title={title} />
@@ -24,9 +29,11 @@ export const StepsBlock = JSX<StepsBlockProps>(
24
29
  <div
25
30
  className={`h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}`}
26
31
  />,
27
- )(steps.map((step, i) => renderStepIcon(step, i)))}
32
+ )(steps.map(renderStepIcon))}
33
+ </div>
34
+ <div className={`flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`}>
35
+ {steps.map(renderStepTitle)}
28
36
  </div>
29
- <div className="flex justify-between gap-x-[101px]">{steps.map(renderStepTitle)}</div>
30
37
  </div>
31
38
  ) : null}
32
39
  </section>
@@ -38,7 +45,7 @@ const renderStepIcon = (step: Step, i: number) => {
38
45
  return (
39
46
  <div key={String(i)} className="flex flex-col items-center text-center relative">
40
47
  <div className="h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10">
41
- {(step.icon && <Icon name={step.icon} width="48" height="48" />) || (
48
+ {(step.icon?.icon && <Img image={step.icon} width="48" height="48" />) || (
42
49
  <span className="font-medium text-title-sm text-secondary-text">{i + 1}</span>
43
50
  )}
44
51
  </div>
@@ -1,6 +1,6 @@
1
- import type { IconName } from '../../ui-kit/Icon/IconProps';
2
1
  import type { SizeVersion } from '../../model/SizeVersion';
3
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
+ import type { Picture } from '../../model/Picture';
4
4
 
5
5
  /**
6
6
  * @title Шаг
@@ -10,7 +10,7 @@ export interface Step {
10
10
  label?: string;
11
11
  /** @title Описание */
12
12
  description?: string;
13
- icon?: IconName;
13
+ icon?: Picture;
14
14
  }
15
15
 
16
16
  /**
@@ -26,9 +26,10 @@ export interface StepsBlockContent {
26
26
  /**
27
27
  * @title Шаги
28
28
  * @minItems 2
29
- * @maxItems 3
29
+ * @maxItems 4
30
30
  */
31
31
  steps?: Step[];
32
+ /** @title Размер шагов (моб.) */
32
33
  size?: SizeVersion; // TODO: mobile content
33
34
  version?: BlockVersion; // TODO: mobile content
34
35
  }
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Heading } from '../../ui-kit/Heading/Heading';
3
- import { Icon } from '../../ui-kit/Icon/Icon';
3
+ import { Img } from '../../ui-kit/Img/Img';
4
4
  import type { TariffsTableRowHeader } from './TariffsTableContent';
5
5
 
6
6
  export const TableTileHeader = JSX<TariffsTableRowHeader>(({ title, icon }) => {
@@ -8,7 +8,7 @@ export const TableTileHeader = JSX<TariffsTableRowHeader>(({ title, icon }) => {
8
8
  <div className="flex gap-2.5 mb-2">
9
9
  {title ? <Heading headingType="h3" className="font-medium" title={title} /> : null}
10
10
  {icon ? (
11
- <Icon className="ml-auto max-w-6 max-h-6" name={icon} width="24px" height="24px" />
11
+ <Img className="ml-auto max-w-6 max-h-6" image={icon} width="24px" height="24px" />
12
12
  ) : null}
13
13
  </div>
14
14
  );
@@ -5,11 +5,15 @@
5
5
  "rowHeaders": [
6
6
  {
7
7
  "title": "Параметр 1",
8
- "icon": "MoneyIcon"
8
+ "icon": {
9
+ "icon": "MoneyIcon"
10
+ }
9
11
  },
10
12
  {
11
13
  "title": "Параметр 2",
12
- "icon": "DollarIcon"
14
+ "icon": {
15
+ "icon": "DollarIcon"
16
+ }
13
17
  },
14
18
  {
15
19
  "title": "Параметр 3"
@@ -45,7 +49,9 @@
45
49
  "label": "Ячейка 3-2",
46
50
  "buttons": [
47
51
  {
48
- "icon": "AppleIcon",
52
+ "icon": {
53
+ "icon": "AppleIcon"
54
+ },
49
55
  "rounded": true,
50
56
  "version": "secondary",
51
57
  "href": "/",
@@ -53,7 +59,9 @@
53
59
  "text": ""
54
60
  },
55
61
  {
56
- "icon": "PlayMarketIcon",
62
+ "icon": {
63
+ "icon": "PlayMarketIcon"
64
+ },
57
65
  "rounded": true,
58
66
  "version": "secondary",
59
67
  "href": "/",
@@ -1,9 +1,6 @@
1
1
  import { mobileContext } from '../../setup-fixture';
2
2
  import { TariffsTable } from './TariffsTable';
3
- import type {
4
- TariffsTableColumn,
5
- TariffsTableRowHeader,
6
- } from '../TariffsTable/TariffsTableContent';
3
+ import type { TariffsTableColumn, TariffsTableRowHeader } from './TariffsTableContent';
7
4
  import type { Picture } from '../../model/Picture';
8
5
 
9
6
  const image: Picture = {
@@ -18,9 +15,9 @@ const image: Picture = {
18
15
  };
19
16
 
20
17
  const rowHeaders: TariffsTableRowHeader[] = [
21
- { title: 'Начисление процентов на остаток по счету', icon: 'OkIcon' },
22
- { title: 'Снятие наличных', icon: 'GlassIcon' },
23
- { title: 'Оформление онлайн', icon: 'ShieldTickIcon' },
18
+ { title: 'Начисление процентов на остаток по счету', icon: { icon: 'OkIcon' } },
19
+ { title: 'Снятие наличных', icon: { icon: 'GlassIcon' } },
20
+ { title: 'Оформление онлайн', icon: { icon: 'ShieldTickIcon' } },
24
21
  { title: 'Кэшбэк баллами' },
25
22
  { title: 'Кнопки-иконки' },
26
23
  { title: 'Стоимость SMS-сервиса' },
@@ -51,14 +48,14 @@ const columns: TariffsTableColumn[] = [
51
48
  {
52
49
  buttons: [
53
50
  {
54
- icon: 'AppleIcon',
51
+ icon: { icon: 'AppleIcon' },
55
52
  rounded: true,
56
53
  version: 'secondary',
57
54
  href: '/',
58
55
  target: '_blank',
59
56
  },
60
57
  {
61
- icon: 'PlayMarketIcon',
58
+ icon: { icon: 'PlayMarketIcon' },
62
59
  rounded: true,
63
60
  version: 'secondary',
64
61
  href: '/',
@@ -15,9 +15,9 @@ const image: Picture = {
15
15
  };
16
16
 
17
17
  const rowHeaders: TariffsTableRowHeader[] = [
18
- { title: 'Начисление процентов на остаток по счету', icon: 'OkIcon' },
19
- { title: 'Снятие наличных', icon: 'GlassIcon' },
20
- { title: 'Оформление онлайн', icon: 'ShieldTickIcon' },
18
+ { title: 'Начисление процентов на остаток по счету', icon: { icon: 'OkIcon' } },
19
+ { title: 'Снятие наличных', icon: { icon: 'GlassIcon' } },
20
+ { title: 'Оформление онлайн', icon: { icon: 'ShieldTickIcon' } },
21
21
  { title: 'Кэшбэк баллами' },
22
22
  { title: 'Стоимость обслуживания' },
23
23
  { title: 'Стоимость SMS-сервиса' },
@@ -45,14 +45,14 @@ const columns: TariffsTableColumn[] = [
45
45
  {
46
46
  buttons: [
47
47
  {
48
- icon: 'AppleIcon',
48
+ icon: { icon: 'AppleIcon' },
49
49
  rounded: true,
50
50
  version: 'secondary',
51
51
  href: '/',
52
52
  target: '_blank',
53
53
  },
54
54
  {
55
- icon: 'PlayMarketIcon',
55
+ icon: { icon: 'PlayMarketIcon' },
56
56
  rounded: true,
57
57
  version: 'secondary',
58
58
  href: '/',
@@ -1,10 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { Button } from '../../ui-kit/Button/Button';
3
- import { Icon } from '../../ui-kit/Icon/Icon';
3
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  import { Img } from '../../ui-kit/Img/Img';
5
5
  import { List } from '../../ui-kit/List/List';
6
6
  import type { TariffsTableCellData, TariffsTableList } from './TariffsTableContent';
7
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
8
7
 
9
8
  export interface TariffsTableCellProps {
10
9
  cell: TariffsTableCellData[];
@@ -55,7 +54,7 @@ const renderButtons = (buttons: ButtonWithIconProps[]) => (
55
54
  className={`${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`}
56
55
  key={String(idx)}
57
56
  rounded={rounded}
58
- appendLeft={icon && <Icon name={icon} width="24px" height="24px" asSVG />}
57
+ appendLeft={icon ? <Img image={icon} width="24px" height="24px" asSVG /> : null}
59
58
  {...buttonProps}
60
59
  />
61
60
  ))}
@@ -1,4 +1,3 @@
1
- import type { IconName } from '../../icons/IconName';
2
1
  import type { CellData } from '../ComparisonTable/ComparisonTableContent';
3
2
  import type { ListOrientation } from '../../model/ListOrientation';
4
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
@@ -6,6 +5,7 @@ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
6
5
  import type { ListContent } from '../../ui-kit/List/ListContent';
7
6
  import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
8
7
  import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
8
+ import { Picture } from '../../model/Picture';
9
9
 
10
10
  /**
11
11
  * @title Ряд
@@ -44,7 +44,7 @@ export type TariffsTableCellData = CellData &
44
44
  * @title Параметр
45
45
  */
46
46
  export type TariffsTableRowHeader = HeadingContent & {
47
- icon?: IconName;
47
+ icon?: Picture;
48
48
  };
49
49
 
50
50
  /**
@@ -1,9 +1,9 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
+ import { Img } from '../../ui-kit/Img/Img';
3
+ import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer';
4
+ import { TableRowContainer } from '../ComparisonTable/TableRowContainer';
2
5
  import { COLUMN_WIDTH, DIVIDER_CLASSES, FIRST_CELL_CLASSES } from './constants';
3
- import { Icon } from '../../ui-kit/Icon/Icon';
4
6
  import { TariffsTableCell } from './TariffsTableCell';
5
- import { TableRowContainer } from '../ComparisonTable/TableRowContainer';
6
- import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer';
7
7
  import type { TariffsTableRowData } from './TariffsTableContent';
8
8
 
9
9
  export interface TariffsTableRowProps {
@@ -23,15 +23,15 @@ export const TariffsTableRow = JSX<TariffsTableRowProps>(
23
23
  }`}
24
24
  >
25
25
  <div className="flex items-center text-primary-text">
26
- {header?.icon && (
27
- <Icon
26
+ {header?.icon ? (
27
+ <Img
28
28
  className="mr-[14px] max-w-6 max-h-6"
29
- name={header.icon}
29
+ image={header.icon}
30
30
  width="24px"
31
31
  height="24px"
32
32
  asSVG
33
33
  />
34
- )}
34
+ ) : null}
35
35
  {header?.title}
36
36
  </div>
37
37
  </div>
@@ -1,15 +1,14 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { TableTileHeader } from './TableTileHeader';
3
- import { Img } from '../../ui-kit/Img/Img';
4
2
  import { Button } from '../../ui-kit/Button/Button';
5
- import { Icon } from '../../ui-kit/Icon/Icon';
3
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
+ import { Img } from '../../ui-kit/Img/Img';
6
5
  import { List } from '../../ui-kit/List/List';
6
+ import { TableTileHeader } from './TableTileHeader';
7
7
  import type {
8
8
  TariffsTableCellData,
9
9
  TariffsTableList,
10
10
  TariffsTableTileCellProps,
11
11
  } from './TariffsTableContent';
12
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
13
12
 
14
13
  export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ header, data }) => {
15
14
  return (
@@ -54,7 +53,7 @@ const renderButtons = (buttons: ButtonWithIconProps[]) => (
54
53
  className={`mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`}
55
54
  key={String(idx)}
56
55
  rounded={rounded}
57
- appendLeft={icon && <Icon name={icon} width="24px" height="24px" asSVG />}
56
+ appendLeft={icon ? <Img image={icon} width="24px" height="24px" asSVG /> : null}
58
57
  {...buttonProps}
59
58
  aria-label={icon}
60
59
  />
@@ -16,7 +16,7 @@ export async function transformContentPage(
16
16
  const content = await readFile(pagePath, 'utf8');
17
17
  return mapJSON<ContentPageDef>(JSON.parse(content), async (value: any, [key]) => {
18
18
  const isMarkdown = typeof value === 'string' && key?.endsWith('__md');
19
- const isPicture = value && isLocalPath(value.src);
19
+ const isPicture = value && isLocalPath(value?.src);
20
20
  if (isMarkdown) {
21
21
  return await transformMarkdown(value);
22
22
  } else if (isPicture) {
@@ -1,3 +1,5 @@
1
+ import type { IconName } from '../icons/IconName';
2
+
1
3
  export interface Img {
2
4
  /** @title Картинка */
3
5
  src?: string;
@@ -8,6 +10,8 @@ export interface Img {
8
10
  }
9
11
 
10
12
  export interface ImgSource {
13
+ /** @title Иконка */
14
+ icon?: IconName;
11
15
  /** @title Картинка */
12
16
  src?: string;
13
17
  /** @title Формат */
@@ -1,5 +1,5 @@
1
1
  import type { LinkProps } from './LinkProps';
2
- import { IconName } from '../icons/IconName';
2
+ import type { Picture } from './Picture';
3
3
 
4
4
  /**
5
5
  * @title Меню
@@ -16,7 +16,7 @@ export interface TopMenuItem extends LinkProps {
16
16
  */
17
17
  export interface DispositionItem extends LinkProps {
18
18
  /** @hidden */
19
- icon?: IconName;
19
+ icon?: Picture;
20
20
  }
21
21
 
22
22
  export interface SitemapProps {
@@ -1,5 +1,5 @@
1
1
  import type { LinkProps } from '../../model/LinkProps';
2
- import { IconName } from '../../icons/IconName';
2
+ import type { Picture } from '../../model/Picture';
3
3
 
4
4
  /**
5
5
  * @title Ссылка
@@ -16,7 +16,7 @@ export interface TopMenuItem extends LinkProps {
16
16
  */
17
17
  export interface DispositionItem extends LinkProps {
18
18
  /** @hidden */
19
- icon?: IconName;
19
+ icon?: Picture;
20
20
  }
21
21
 
22
22
  export interface SitemapProps {
@@ -18,13 +18,11 @@ const Router = () => {
18
18
  href: href,
19
19
  pathname: '/credits',
20
20
  query: {},
21
- push: (url?: string) => {
22
- if (!url) return;
21
+ push: (url: string) => {
23
22
  globalThis.history.pushState(null, '', url);
24
23
  setHref(globalThis.location.href);
25
24
  },
26
- replace: (url?: string) => {
27
- if (!url) return;
25
+ replace: (url: string) => {
28
26
  globalThis.history.replaceState(null, '', url);
29
27
  setHref(globalThis.location.href);
30
28
  },
@@ -88,10 +86,10 @@ export const mobileContext: ContentPageContext = {
88
86
  href: `${TEST_ORIGIN}/mobile/credits`,
89
87
  pathname: '/mobile/credits',
90
88
  query: {},
91
- push: (url?: string) => {
89
+ push: (url: string) => {
92
90
  console.log(url);
93
91
  },
94
- replace: (url?: string) => {
92
+ replace: (url: string) => {
95
93
  console.log(url);
96
94
  },
97
95
  }),
@@ -1,5 +1,5 @@
1
1
  import '../../setup-fixture';
2
- import { Icon } from '../Icon/Icon';
2
+ import { Img } from '../Img/Img';
3
3
  import { Button } from './Button';
4
4
 
5
5
  export default {
@@ -66,7 +66,7 @@ export default {
66
66
  appendLeft={
67
67
  /** Div need for perfect pixel */
68
68
  <div>
69
- <Icon name="PlayMarketIcon" width="24" height="24" asSVG />
69
+ <Img image={{ icon: 'PlayMarketIcon' }} width="24" height="24" asSVG />
70
70
  </div>
71
71
  }
72
72
  text="Google Play"
@@ -78,7 +78,7 @@ export default {
78
78
  aboveText="Загрузите в"
79
79
  appendLeft={
80
80
  <div>
81
- <Icon name="AppleIcon" width="24" height="24" asSVG />
81
+ <Img image={{ icon: 'AppleIcon' }} width="24" height="24" asSVG />
82
82
  </div>
83
83
  }
84
84
  text="App Store"
@@ -94,14 +94,14 @@ export default {
94
94
  href="https://www.rshb.ru/"
95
95
  target="_blank"
96
96
  version="secondary"
97
- appendLeft={<Icon name="PlayMarketIcon" width="20" height="21" asSVG />}
97
+ appendLeft={<Img image={{ icon: 'PlayMarketIcon' }} width="20" height="21" asSVG />}
98
98
  />
99
99
  <Button
100
100
  rounded
101
101
  href="https://www.rshb.ru/"
102
102
  target="_blank"
103
103
  version="secondary"
104
- appendLeft={<Icon name="AppleIcon" width="18" height="20" asSVG />}
104
+ appendLeft={<Img image={{ icon: 'AppleIcon' }} width="18" height="20" asSVG />}
105
105
  />
106
106
  </div>
107
107
  </div>
@@ -13,8 +13,8 @@ export const ButtonInner = JSX<ButtonInnerProps>((props) => {
13
13
  {appendLeft ? appendLeft : null}
14
14
  {isWithText(props) ? (
15
15
  <div>
16
- <div className="text-m-2xs text-left">{aboveText}</div>
17
- <div className="text-m-button font-medium text-left">{text}</div>
16
+ <div className="text-m-2xs font-light text-left">{aboveText}</div>
17
+ <div className="text-base text-left">{text}</div>
18
18
  </div>
19
19
  ) : null}
20
20
  </div>
@@ -28,7 +28,7 @@ const getButtonStyle = (props: ButtonInnerProps) => {
28
28
  return '';
29
29
  }
30
30
 
31
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
31
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
32
32
 
33
33
  return [
34
34
  'flex items-center justify-center',
@@ -1,6 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { LinkProps } from '../../model/LinkProps';
3
- import type { IconName } from '../Icon/IconProps';
3
+ import type { Picture } from '../../model/Picture';
4
4
 
5
5
  /**
6
6
  * @hidden
@@ -24,7 +24,7 @@ export interface ButtonProps extends ButtonAdditionalProps, LinkProps {
24
24
 
25
25
  export interface ButtonWithIconProps extends ButtonProps {
26
26
  /** @title Иконка */
27
- icon?: IconName;
27
+ icon?: Picture;
28
28
  /** @title Верхний текст */
29
29
  aboveText?: string;
30
30
  /** @hidden */
@@ -1,7 +1,7 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { useLink } from '../../hooks/useLink';
3
3
  import { UniBlockProps } from '../../types';
4
- import { Icon } from '../Icon/Icon';
4
+ import { Img } from '../Img/Img';
5
5
  import { Button } from './Button';
6
6
  import type { ButtonContent, ButtonWithIconProps } from './ButtonProps';
7
7
 
@@ -25,7 +25,7 @@ function renderButton({ icon, ...button }: ButtonWithIconProps, i: number) {
25
25
  return icon ? (
26
26
  <Button
27
27
  key={String(i)}
28
- appendLeft={<Icon name={icon} width="24" height="24" asSVG />}
28
+ appendLeft={<Img image={icon} width="24" height="24" asSVG />}
29
29
  {...button}
30
30
  />
31
31
  ) : (
@@ -22,8 +22,6 @@ export const Heading = JSX<HeadingProps>((props) => {
22
22
  const Tag = headingType;
23
23
 
24
24
  return (
25
- <Tag className={`font-sans font-medium m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`}>
26
- {title}
27
- </Tag>
25
+ <Tag className={`font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`}>{title}</Tag>
28
26
  );
29
27
  });
@@ -12,7 +12,7 @@ const svgColorsMap: Record<IconColor, string> = {
12
12
  export const Icon = JSX<IconProps>(
13
13
  ({
14
14
  className = '',
15
- name,
15
+ name = '',
16
16
  alt = `Иконка ${IconTitleMap[name] || name}`,
17
17
  title = alt,
18
18
  asSVG,
@@ -8,13 +8,22 @@ export type { IconName };
8
8
  */
9
9
  export type IconColor = 'none' | 'primary' | 'secondary';
10
10
 
11
- export interface IconProps {
12
- className?: string;
13
- name: IconName;
11
+ export interface IconCompatibilityFields {
12
+ /** @title Альтернативный текст (alt) */
14
13
  alt?: string;
14
+ /** @title Текст подсказки (title) */
15
15
  title?: string;
16
+ /** @title Ширина */
16
17
  width?: string;
18
+ /** @title Высота */
17
19
  height?: string;
20
+ /** @hidden */
18
21
  asSVG?: boolean;
22
+ /** @hidden */
19
23
  color?: IconColor;
20
24
  }
25
+
26
+ export type IconProps = IconCompatibilityFields & {
27
+ className?: string;
28
+ name?: IconName;
29
+ };