@redneckz/wildless-cms-uni-blocks 0.3.30 → 0.3.33

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 (716) hide show
  1. package/README.md +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +184 -129
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/dist/components/Accordion/Accordion.js +2 -6
  6. package/dist/components/Accordion/Accordion.js.map +1 -1
  7. package/dist/components/Accordion/AccordionContent.d.ts +3 -3
  8. package/dist/components/Accordion/AccordionItem.js +5 -12
  9. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.js +7 -4
  11. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  12. package/dist/components/Accordion/AccordionItemInner.js +2 -2
  13. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  14. package/dist/components/Accordion/AccordionItemInner.mobile.js +2 -3
  15. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  16. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  17. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  19. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  20. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  21. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  22. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  23. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  24. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  25. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  26. package/dist/components/CreditCalculator/defaultTabs.js +3 -3
  27. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  28. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  29. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  30. package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  31. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  32. package/dist/components/Footer/Footer.mobile.js +2 -2
  33. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  34. package/dist/components/Footer/FooterContent.d.ts +2 -2
  35. package/dist/components/Footer/MediaButton.js +17 -5
  36. package/dist/components/Footer/MediaButton.js.map +1 -1
  37. package/dist/components/Footer/SocialMedia.js +1 -1
  38. package/dist/components/Footer/SocialMedia.js.map +1 -1
  39. package/dist/components/Gallery/Gallery.mobile.js +1 -2
  40. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  41. package/dist/components/Gallery/GalleryCardInner.js +1 -2
  42. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  43. package/dist/components/Header/Header.js +1 -1
  44. package/dist/components/Header/Header.js.map +1 -1
  45. package/dist/components/Header/HeaderBurger.js +3 -3
  46. package/dist/components/Header/HeaderBurger.js.map +1 -1
  47. package/dist/components/Header/HeaderContent.d.ts +3 -3
  48. package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  49. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  50. package/dist/components/Header/HeaderTop.js +2 -2
  51. package/dist/components/Header/HeaderTop.js.map +1 -1
  52. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  53. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  54. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  55. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  56. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  57. package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  58. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  59. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  60. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  61. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  62. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  63. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  64. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  65. package/dist/components/PictureText/PictureText.js +8 -5
  66. package/dist/components/PictureText/PictureText.js.map +1 -1
  67. package/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  68. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  69. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  70. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  71. package/dist/components/ProductBlock/ProductBlockInner.js +4 -4
  72. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  73. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  74. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  75. package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
  76. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  77. package/dist/components/ProductGallery/ProductGallery.js +2 -5
  78. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  79. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  80. package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  81. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  82. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  83. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  84. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  85. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  86. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  87. package/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  88. package/dist/components/Recommendation/Recommendation.js +2 -2
  89. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  90. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  91. package/dist/components/Recommendation/RecommendationCard.js +3 -3
  92. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  93. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  94. package/dist/components/StepsBlock/StepsBlock.js +10 -4
  95. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  96. package/dist/components/StepsBlock/StepsBlock.mobile.js +13 -6
  97. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  98. package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  99. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  100. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  101. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  102. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  103. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  104. package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  105. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  106. package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  107. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  108. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
  109. package/dist/content-page-repository/transformContentPage.js +1 -1
  110. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  111. package/dist/model/Picture.d.ts +3 -0
  112. package/dist/model/SitemapProps.d.ts +2 -2
  113. package/dist/services/sitemap/SitemapProps.d.ts +2 -2
  114. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  115. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +17 -0
  116. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
  117. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  118. package/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  119. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  120. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  121. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  122. package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  123. package/dist/ui-kit/Button/ButtonSection.js +2 -2
  124. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  125. package/dist/ui-kit/Heading/Heading.js +1 -1
  126. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  127. package/dist/ui-kit/Icon/Icon.js +1 -1
  128. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  129. package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  130. package/dist/ui-kit/Img/Img.d.ts +4 -7
  131. package/dist/ui-kit/Img/Img.js +27 -9
  132. package/dist/ui-kit/Img/Img.js.map +1 -1
  133. package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
  134. package/dist/ui-kit/Img/Img.mobile.js +12 -3
  135. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  136. package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  137. package/dist/ui-kit/List/ListItem.js +2 -2
  138. package/dist/ui-kit/List/ListItem.js.map +1 -1
  139. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  140. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  141. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  142. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  143. package/dist/ui-kit/SearchBar.mobile.js +2 -2
  144. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  145. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  146. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  147. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  148. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  149. package/dist/ui-kit/Tabs/Tabs.js +2 -2
  150. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  151. package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  152. package/lib/common.css +1 -1
  153. package/lib/components/Accordion/Accordion.js +2 -6
  154. package/lib/components/Accordion/Accordion.js.map +1 -1
  155. package/lib/components/Accordion/AccordionContent.d.ts +3 -3
  156. package/lib/components/Accordion/AccordionItem.js +5 -12
  157. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  158. package/lib/components/Accordion/AccordionItem.mobile.js +7 -4
  159. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  160. package/lib/components/Accordion/AccordionItemInner.js +2 -2
  161. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  162. package/lib/components/Accordion/AccordionItemInner.mobile.js +2 -3
  163. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  164. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  165. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  166. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  167. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  168. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  169. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  170. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  171. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  172. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  173. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  174. package/lib/components/CreditCalculator/defaultTabs.js +3 -3
  175. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  176. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  177. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  178. package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  179. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  180. package/lib/components/Footer/Footer.mobile.js +2 -2
  181. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  182. package/lib/components/Footer/FooterContent.d.ts +2 -2
  183. package/lib/components/Footer/MediaButton.js +17 -5
  184. package/lib/components/Footer/MediaButton.js.map +1 -1
  185. package/lib/components/Footer/SocialMedia.js +1 -1
  186. package/lib/components/Footer/SocialMedia.js.map +1 -1
  187. package/lib/components/Gallery/Gallery.mobile.js +1 -2
  188. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  189. package/lib/components/Gallery/GalleryCardInner.js +1 -2
  190. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  191. package/lib/components/Header/Header.js +1 -1
  192. package/lib/components/Header/Header.js.map +1 -1
  193. package/lib/components/Header/HeaderBurger.js +3 -3
  194. package/lib/components/Header/HeaderBurger.js.map +1 -1
  195. package/lib/components/Header/HeaderContent.d.ts +3 -3
  196. package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  197. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  198. package/lib/components/Header/HeaderTop.js +2 -2
  199. package/lib/components/Header/HeaderTop.js.map +1 -1
  200. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  201. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  202. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  203. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  204. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  205. package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  206. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  207. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  208. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  209. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  210. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  211. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  212. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  213. package/lib/components/PictureText/PictureText.js +8 -5
  214. package/lib/components/PictureText/PictureText.js.map +1 -1
  215. package/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  216. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  217. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  218. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  219. package/lib/components/ProductBlock/ProductBlockInner.js +4 -4
  220. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  221. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  222. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  223. package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
  224. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  225. package/lib/components/ProductGallery/ProductGallery.js +2 -5
  226. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  227. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  228. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  229. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  230. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  231. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  232. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  233. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.fixture.d.ts +1 -0
  234. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  235. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  236. package/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  237. package/lib/components/Recommendation/Recommendation.js +2 -2
  238. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  239. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  240. package/lib/components/Recommendation/RecommendationCard.js +3 -3
  241. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  242. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  243. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  244. package/lib/components/StepsBlock/StepsBlock.js +10 -4
  245. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  246. package/lib/components/StepsBlock/StepsBlock.mobile.js +13 -6
  247. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  248. package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  249. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  250. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  251. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  252. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  253. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  254. package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  255. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  256. package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  257. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  258. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
  259. package/lib/content-page-repository/transformContentPage.js +1 -1
  260. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  261. package/lib/model/Picture.d.ts +3 -0
  262. package/lib/model/SitemapProps.d.ts +2 -2
  263. package/lib/services/sitemap/SitemapProps.d.ts +2 -2
  264. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  265. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +15 -0
  266. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
  267. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  268. package/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  269. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  270. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  271. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  272. package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  273. package/lib/ui-kit/Button/ButtonSection.js +2 -2
  274. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  275. package/lib/ui-kit/Heading/Heading.js +1 -1
  276. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  277. package/lib/ui-kit/Icon/Icon.js +1 -1
  278. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  279. package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  280. package/lib/ui-kit/Img/Img.d.ts +4 -7
  281. package/lib/ui-kit/Img/Img.js +26 -8
  282. package/lib/ui-kit/Img/Img.js.map +1 -1
  283. package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
  284. package/lib/ui-kit/Img/Img.mobile.js +11 -2
  285. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  286. package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  287. package/lib/ui-kit/List/ListItem.js +2 -2
  288. package/lib/ui-kit/List/ListItem.js.map +1 -1
  289. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  290. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  291. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  292. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  293. package/lib/ui-kit/SearchBar.mobile.js +2 -2
  294. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  295. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -0
  296. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  297. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  298. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +4 -1
  299. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  300. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  301. package/lib/ui-kit/Tabs/Tabs.js +2 -2
  302. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  303. package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  304. package/mobile/bundle/bundle.umd.js +141 -217
  305. package/mobile/bundle/bundle.umd.min.js +1 -1
  306. package/mobile/dist/components/Accordion/AccordionContent.d.ts +3 -3
  307. package/mobile/dist/components/Accordion/AccordionItem.js +7 -4
  308. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  309. package/mobile/dist/components/Accordion/AccordionItemInner.js +2 -3
  310. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  311. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  312. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  313. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  314. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  315. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  316. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
  317. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  318. package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
  319. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  320. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  321. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  322. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  323. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  324. package/mobile/dist/components/Footer/Footer.js +2 -2
  325. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  326. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -2
  327. package/mobile/dist/components/Footer/MediaButton.js +17 -5
  328. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  329. package/mobile/dist/components/Gallery/Gallery.js +1 -2
  330. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  331. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
  332. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  333. package/mobile/dist/components/Header/HeaderBurger.js +3 -3
  334. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  335. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
  336. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  337. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  338. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  339. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  340. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  341. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  342. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  343. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  344. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  345. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  346. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  347. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  348. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  349. package/mobile/dist/components/PictureText/PictureText.js +8 -5
  350. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  351. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  352. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  353. package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
  354. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  355. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  356. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  357. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  358. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  359. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  360. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  361. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  362. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  363. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  364. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
  365. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  366. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  367. package/mobile/dist/components/StepsBlock/StepsBlock.js +13 -6
  368. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  369. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  370. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  371. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  372. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  373. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  374. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  375. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  376. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  377. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  378. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  379. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
  380. package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
  381. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  382. package/mobile/dist/model/Picture.d.ts +3 -0
  383. package/mobile/dist/model/SitemapProps.d.ts +2 -2
  384. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
  385. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
  386. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
  387. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
  388. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  389. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  390. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  391. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  392. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  393. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  394. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
  395. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  396. package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
  397. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  398. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  399. package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
  400. package/mobile/dist/ui-kit/Img/Img.js +12 -3
  401. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  402. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  403. package/mobile/dist/ui-kit/List/ListItem.js +2 -2
  404. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  405. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
  406. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  407. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  408. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  409. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  410. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  411. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
  412. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  413. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  414. package/mobile/lib/components/Accordion/AccordionContent.d.ts +3 -3
  415. package/mobile/lib/components/Accordion/AccordionItem.js +7 -4
  416. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  417. package/mobile/lib/components/Accordion/AccordionItemInner.js +2 -3
  418. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  419. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  420. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  421. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  422. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  423. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  424. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
  425. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  426. package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
  427. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  428. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  429. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  430. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  431. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  432. package/mobile/lib/components/Footer/Footer.js +2 -2
  433. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  434. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -2
  435. package/mobile/lib/components/Footer/MediaButton.js +17 -5
  436. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  437. package/mobile/lib/components/Gallery/Gallery.js +1 -2
  438. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  439. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
  440. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  441. package/mobile/lib/components/Header/HeaderBurger.js +3 -3
  442. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  443. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
  444. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  445. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  446. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  447. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  448. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  449. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  450. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  451. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  452. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  453. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  454. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  455. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  456. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  457. package/mobile/lib/components/PictureText/PictureText.js +8 -5
  458. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  459. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  460. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  461. package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
  462. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  463. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  464. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  465. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  466. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  467. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  468. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  469. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  470. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  471. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  472. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
  473. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  474. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  475. package/mobile/lib/components/StepsBlock/StepsBlock.js +13 -6
  476. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  477. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  478. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  479. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  480. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  481. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  482. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  483. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  484. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  485. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  486. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  487. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
  488. package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
  489. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  490. package/mobile/lib/model/Picture.d.ts +3 -0
  491. package/mobile/lib/model/SitemapProps.d.ts +2 -2
  492. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
  493. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
  494. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
  495. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
  496. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  497. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  498. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  499. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  500. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  501. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  502. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
  503. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  504. package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
  505. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  506. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  507. package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
  508. package/mobile/lib/ui-kit/Img/Img.js +11 -2
  509. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  510. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  511. package/mobile/lib/ui-kit/List/ListItem.js +2 -2
  512. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  513. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
  514. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  515. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  516. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  517. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  518. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  519. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
  520. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  521. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  522. package/mobile/src/components/Accordion/Accordion.example.json +9 -0
  523. package/mobile/src/components/Accordion/AccordionContent.ts +4 -5
  524. package/mobile/src/components/Accordion/AccordionItem.tsx +33 -28
  525. package/mobile/src/components/Accordion/AccordionItemInner.tsx +8 -11
  526. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  527. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  528. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  529. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  530. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
  531. package/mobile/src/components/ContentPage/ContentPage.page.json +267 -82
  532. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  533. package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
  534. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  535. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  536. package/mobile/src/components/Footer/Footer.tsx +2 -2
  537. package/mobile/src/components/Footer/FooterContent.ts +2 -2
  538. package/mobile/src/components/Footer/MediaButton.tsx +22 -10
  539. package/mobile/src/components/Gallery/Gallery.tsx +2 -3
  540. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
  541. package/mobile/src/components/Header/Header.example.json +3 -0
  542. package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
  543. package/mobile/src/components/Header/HeaderContent.ts +3 -3
  544. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  545. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  546. package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
  547. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  548. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  549. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  550. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  551. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  552. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  553. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -12
  554. package/mobile/src/components/PictureText/PictureText.example.json +8 -2
  555. package/mobile/src/components/PictureText/PictureText.tsx +37 -12
  556. package/mobile/src/components/PictureText/PictureTextContent.ts +7 -0
  557. package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
  558. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  559. package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
  560. package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
  561. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
  562. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  563. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  564. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  565. package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
  566. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  567. package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
  568. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
  569. package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
  570. package/mobile/src/components/StepsBlock/StepsBlock.tsx +19 -9
  571. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  572. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  573. package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
  574. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  575. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  576. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  577. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  578. package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -1
  579. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  580. package/mobile/src/model/Picture.ts +4 -0
  581. package/mobile/src/model/SitemapProps.ts +2 -2
  582. package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
  583. package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -8
  584. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
  585. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
  586. package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
  587. package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
  588. package/mobile/src/ui-kit/Icon/Icon.tsx +1 -1
  589. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
  590. package/mobile/src/ui-kit/Img/Img.tsx +38 -22
  591. package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
  592. package/mobile/src/ui-kit/List/ListItem.tsx +2 -2
  593. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
  594. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  595. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
  596. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
  597. package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
  598. package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
  599. package/package.json +2 -3
  600. package/src/components/Accordion/Accordion.example.json +9 -0
  601. package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -0
  602. package/src/components/Accordion/Accordion.fixture.tsx +2 -0
  603. package/src/components/Accordion/Accordion.tsx +4 -17
  604. package/src/components/Accordion/AccordionContent.ts +4 -5
  605. package/src/components/Accordion/AccordionItem.mobile.tsx +33 -28
  606. package/src/components/Accordion/AccordionItem.tsx +24 -50
  607. package/src/components/Accordion/AccordionItemInner.mobile.tsx +8 -11
  608. package/src/components/Accordion/AccordionItemInner.tsx +8 -10
  609. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  610. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  611. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  612. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  613. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
  614. package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  615. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
  616. package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
  617. package/src/components/ContentPage/ContentPage.page.json +267 -82
  618. package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  619. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
  620. package/src/components/CreditCalculator/defaultTabs.ts +3 -3
  621. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  622. package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  623. package/src/components/Footer/Footer.mobile.tsx +2 -2
  624. package/src/components/Footer/FooterContent.ts +2 -2
  625. package/src/components/Footer/MediaButton.tsx +22 -10
  626. package/src/components/Footer/SocialMedia.tsx +1 -1
  627. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  628. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  629. package/src/components/Gallery/Gallery.mobile.tsx +2 -3
  630. package/src/components/Gallery/GalleryCardInner.tsx +2 -3
  631. package/src/components/Header/Header.example.json +3 -0
  632. package/src/components/Header/Header.tsx +8 -1
  633. package/src/components/Header/HeaderBurger.tsx +5 -5
  634. package/src/components/Header/HeaderContent.ts +3 -3
  635. package/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  636. package/src/components/Header/HeaderTop.tsx +3 -3
  637. package/src/components/LinkDocs/LinkDocs.example.json +3 -1
  638. package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
  639. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  640. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  641. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  642. package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  643. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  644. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  645. package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  646. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  647. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  648. package/src/components/OtherProducts/OtherProducts.fixture.tsx +61 -6
  649. package/src/components/OtherProducts/OtherProductsContent.ts +3 -12
  650. package/src/components/PictureText/PictureText.example.json +8 -2
  651. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  652. package/src/components/PictureText/PictureText.tsx +37 -12
  653. package/src/components/PictureText/PictureTextContent.ts +7 -0
  654. package/src/components/ProductBlock/ProductBlock.example.json +11 -3
  655. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
  656. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -7
  657. package/src/components/ProductBlock/ProductBlock.tsx +2 -4
  658. package/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  659. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -11
  660. package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
  661. package/src/components/ProductBlock/renderBenefit.tsx +5 -5
  662. package/src/components/ProductGallery/ProductGallery.example.json +22 -1
  663. package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
  664. package/src/components/ProductGallery/ProductGallery.tsx +4 -17
  665. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
  666. package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
  667. package/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  668. package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +74 -2
  669. package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  670. package/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  671. package/src/components/Recommendation/Recommendation.example.json +18 -3
  672. package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
  673. package/src/components/Recommendation/Recommendation.tsx +6 -6
  674. package/src/components/Recommendation/RecommendationCard.tsx +21 -12
  675. package/src/components/Recommendation/RecommendationContent.ts +6 -4
  676. package/src/components/StepsBlock/StepsBlock.example.json +9 -3
  677. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
  678. package/src/components/StepsBlock/StepsBlock.fixture.tsx +14 -0
  679. package/src/components/StepsBlock/StepsBlock.mobile.tsx +19 -9
  680. package/src/components/StepsBlock/StepsBlock.tsx +15 -8
  681. package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  682. package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  683. package/src/components/TariffsTable/TariffsTable.example.json +12 -4
  684. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
  685. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
  686. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  687. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  688. package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  689. package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  690. package/src/components/TextBlock/TextBlockContent.ts +1 -1
  691. package/src/content-page-repository/transformContentPage.ts +1 -1
  692. package/src/model/Picture.ts +4 -0
  693. package/src/model/SitemapProps.ts +2 -2
  694. package/src/services/sitemap/SitemapProps.ts +2 -2
  695. package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +15 -0
  696. package/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
  697. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  698. package/src/ui-kit/Button/ButtonInner.tsx +3 -3
  699. package/src/ui-kit/Button/ButtonProps.ts +2 -2
  700. package/src/ui-kit/Button/ButtonSection.tsx +2 -2
  701. package/src/ui-kit/Heading/Heading.tsx +1 -3
  702. package/src/ui-kit/Icon/Icon.tsx +1 -1
  703. package/src/ui-kit/Icon/IconProps.ts +12 -3
  704. package/src/ui-kit/Img/Img.mobile.tsx +38 -22
  705. package/src/ui-kit/Img/Img.tsx +50 -23
  706. package/src/ui-kit/Img/ImgProps.ts +7 -4
  707. package/src/ui-kit/List/ListItem.tsx +2 -2
  708. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
  709. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  710. package/src/ui-kit/SearchBar.mobile.tsx +2 -2
  711. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -6
  712. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  713. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
  714. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
  715. package/src/ui-kit/Tabs/Tabs.tsx +2 -2
  716. package/src/ui-kit/Tabs/TabsProps.ts +2 -2
@@ -398,7 +398,7 @@
398
398
  primary: 'text-primary-main',
399
399
  secondary: 'text-primary-text',
400
400
  };
401
- const Icon = JSX(({ className = '', name, alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
401
+ const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
402
402
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
403
403
  if (asSVG) {
404
404
  return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", style: color === 'secondary' ? { filter: 'invert(1)' } : null, children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
@@ -406,11 +406,19 @@
406
406
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
407
407
  });
408
408
 
409
- const Img = JSX(({ className = '', image, imageClassName }) => {
409
+ const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
410
+ // backwards compatibility with existing icons in usage
411
+ const icon = typeof image === 'string' ? image : image?.icon;
412
+ if (icon || icon === '') {
413
+ return jsx(Icon, { className: className, name: icon, ...iconProps });
414
+ }
415
+ return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
416
+ });
417
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '' }) => {
410
418
  if (!image) {
411
419
  return null;
412
420
  }
413
- return (jsxs("picture", { className: className, children: [image.sources?.length
421
+ return (jsxs("picture", { className: className, children: [image?.sources?.length
414
422
  ? image.sources.map(({ src, format }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
415
423
  : null, renderImg(image, imageClassName)] }));
416
424
  });
@@ -477,7 +485,7 @@
477
485
  }
478
486
  const contentContainer = e.currentTarget.parentElement
479
487
  ?.previousElementSibling;
480
- contentContainer?.children[idx]?.scrollIntoView({ behavior: 'smooth' });
488
+ contentContainer?.children[idx]?.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
481
489
  };
482
490
  return showDots && children?.length ? (jsx("div", { className: "flex gap-2 mx-auto mt-5 w-fit", children: children?.map((_, idx) => (jsx("div", { onClick: handleClick(idx), className: `${DOT_STYLES}`, style: getDotStyles(idx, activeIndex, indexFraction), "aria-hidden": true }, String(idx)))) })) : null;
483
491
  });
@@ -535,8 +543,14 @@
535
543
  Returns array of tuples consisting of [start, end] boundary scrollLeft values.
536
544
  */
537
545
  const getScrollPoints = ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }) => {
538
- const scrollItemWidth = itemWidth + gap;
539
546
  const scrollableDistance = scrollWidth - clientWidth;
547
+ if (childElementCount === 2) {
548
+ return [
549
+ [0, scrollableDistance],
550
+ [scrollableDistance, scrollWidth],
551
+ ];
552
+ }
553
+ const scrollItemWidth = itemWidth + gap;
540
554
  const edgeScrollDistance = clientWidth - gap - padding;
541
555
  const lastScrollableIdx = childElementCount - 2;
542
556
  const scrollPoints = new Array(childElementCount)
@@ -588,7 +602,7 @@
588
602
 
589
603
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
590
604
  const { text, fileSize, ...linkProps } = doc;
591
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Icon, { className: iconClassName, name: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
605
+ return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Img, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
592
606
  });
593
607
  const formatSuffix = (ext, fileSize) => {
594
608
  const prefix = ext || fileSize ? ',' : '';
@@ -617,17 +631,10 @@
617
631
  : null }));
618
632
  });
619
633
 
620
- const LinkDocs = JSX(({ className = '', context, title, subtitle, icon = 'DocIconMonoColor', documents, orientation = 'vertical', hasBorder = true, }) => {
634
+ const LinkDocs = JSX(({ className = '', context, title, subtitle, icon = { icon: 'DocIconMonoColor' }, documents, orientation = 'vertical', hasBorder = true, }) => {
621
635
  return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${subtitle ? 'mb-2' : 'mb-5'}`, title: title })) : null, subtitle ? (jsx("h3", { className: "mt-0 font-normal mb-5 text-center text-m-md", children: subtitle })) : null, orientation === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
622
636
  });
623
637
 
624
- const PictureText = JSX(({ className = '', title, image, benefits, anchor = null }) => {
625
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, id: anchor, children: [jsx(Heading, { headingType: "h2", className: "text-center", title: title }), jsxs("div", { className: 'flex justify-center mt-9', children: [image?.src && jsx(Img, { className: "mr-6", image: image }), benefits?.length ? (jsx("div", { className: "flex flex-col", children: benefits.map(renderBenefit$1) })) : null] })] }));
626
- });
627
- function renderBenefit$1(benefit, i) {
628
- return (jsxs("div", { className: "flex flex-row mb-8", children: [benefit.icon && (jsx(Icon, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", name: benefit.icon, width: "48", height: "48", asSVG: true })), jsxs("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && (jsx("div", { className: "font-medium text-primary-text text-xl m-0", children: benefit.label })), benefit.description && (jsx("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
629
- }
630
-
631
638
  const isURL = (href) => href?.includes('//');
632
639
  const withoutQuery = (href) => (href || '').replace(/\/?\?.*/, '');
633
640
  const getOrigin = (href) => {
@@ -695,14 +702,14 @@
695
702
 
696
703
  const ButtonInner = JSX((props) => {
697
704
  const { text, aboveText, appendLeft } = props;
698
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs text-left", children: aboveText }), jsx("div", { className: "text-m-button font-medium text-left", children: text })] })) : null] }));
705
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-base text-left", children: text })] })) : null] }));
699
706
  });
700
707
  const getButtonStyle = (props) => {
701
708
  const { version, aboveText, rounded } = props;
702
709
  if (version === 'link') {
703
710
  return '';
704
711
  }
705
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
712
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
706
713
  return [
707
714
  'flex items-center justify-center',
708
715
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -733,12 +740,12 @@
733
740
  const ButtonSection = JSX(({ context, className = '', buttons }) => {
734
741
  const { handlerDecorator } = context;
735
742
  const router = context.useRouter();
736
- return buttons?.length ? (jsx("div", { className: `${className}`, children: buttons.map((button, index) => renderButton$3(useLink({ router, handlerDecorator }, button), index)) })) : null;
743
+ return buttons?.length ? (jsx("div", { className: `${className}`, children: buttons.map((button, index) => renderButton$2(useLink({ router, handlerDecorator }, button), index)) })) : null;
737
744
  });
738
- function renderButton$3({ icon, ...button }, i) {
745
+ function renderButton$2({ icon, ...button }, i) {
739
746
  if (!button?.text)
740
747
  return;
741
- return icon ? (jsx(Button, { appendLeft: jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
748
+ return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
742
749
  }
743
750
 
744
751
  const Description = JSX((props) => {
@@ -746,14 +753,14 @@
746
753
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
747
754
  });
748
755
 
749
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
756
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
750
757
  const LIST_DOT_STYLE_MAP = {
751
758
  primary: 'bg-primary-main',
752
759
  secondary: 'bg-white',
753
760
  gray: 'bg-secondary-text',
754
761
  };
755
762
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
756
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
763
+ return (jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
757
764
  });
758
765
  const getListStyle = (version) => {
759
766
  const size = version === 'gray' ? 'w-1.5 h-1.5 min-w-1.5 min-h-1.5' : 'w-2 h-2 min-w-2 min-h-2';
@@ -785,7 +792,7 @@
785
792
  secondary: 'text-white',
786
793
  };
787
794
  function renderBenefit(benefit, i, version) {
788
- return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && (jsx(Icon, { className: "w-6 h-6 rounded-full box-border", name: benefit.icon, width: "24", height: "24", asSVG: true, color: version })), jsx("div", { className: `font-medium text-m-title-xs m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
795
+ return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon ? (jsx(Img, { className: "w-6 h-6 rounded-full box-border", image: benefit.icon, width: "24", height: "24", asSVG: true, color: version })) : null, jsx("div", { className: `font-medium text-m-title-xs m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
789
796
  }
790
797
 
791
798
  const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, label, }) => {
@@ -840,82 +847,6 @@
840
847
  return image?.src ? jsx(Img, { className: "pb-3 mr-auto", image: image }) : null;
841
848
  }
842
849
 
843
- const getColSpan = (className) => {
844
- const colSpanPrefix = 'col-span-';
845
- const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
846
- return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
847
- };
848
-
849
- function getTileHeadingType(className = '') {
850
- const colSpan = getColSpan(className);
851
- if (colSpan <= 4) {
852
- return 'h4';
853
- }
854
- else if (colSpan <= 8) {
855
- return 'h3';
856
- }
857
- else {
858
- return 'h2';
859
- }
860
- }
861
-
862
- function getTileMinHeight(className = '') {
863
- const colSpan = getColSpan(className);
864
- if (colSpan <= 6) {
865
- return 'min-h-[300px]';
866
- }
867
- else if (colSpan <= 8) {
868
- return 'min-h-[320px]';
869
- }
870
- else {
871
- return 'min-h-[360px]';
872
- }
873
- }
874
-
875
- function getTileRightPadding(className = '') {
876
- const colSpan = getColSpan(className);
877
- if (colSpan <= 6) {
878
- return 'pr-9';
879
- }
880
- else if (colSpan <= 8) {
881
- return 'pr-[4.75rem]';
882
- }
883
- else {
884
- return 'pr-[9.4rem]';
885
- }
886
- }
887
-
888
- const tileStyleMap = {
889
- primary: 'bg-white text-primary-text',
890
- secondary: 'bg-primary-main text-white',
891
- };
892
- const Tile = JSX((props) => {
893
- const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, anchor = null, } = props;
894
- return (jsx("section", { className: `overflow-hidden font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
895
- ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList$1(items, version)] }) }));
896
- });
897
- function renderList$1(items, version) {
898
- return items?.length ? (jsx(List, { items: items, itemClassName: "mt-2.5 first:mt-0", version: version })) : null;
899
- }
900
-
901
- const productTileStyleMap = {
902
- primary: 'bg-white text-primary-text',
903
- secondary: 'bg-primary-main text-white',
904
- };
905
- const ProductTile = JSX(({ context, className = '', title, description, benefits, buttons, image, version = 'primary', anchor = null, }) => {
906
- return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), jsxs("div", { className: "flex mt-5 mb-1", children: [benefits?.length ? (jsx("div", { className: "mr-8", children: benefits.map(renderBenefitLabel) })) : null, benefits?.length ? (jsx("div", { className: "pt-1", children: benefits.map((_, i) => renderBenefitDescription(_, i, version)) })) : null] })] }) }));
907
- });
908
- function renderBenefitLabel(benefit, i) {
909
- return (jsx("div", { className: `text-xl font-medium ${i ? 'mt-2.5' : ''}`, children: benefit.label }, String(i)));
910
- }
911
- function renderBenefitDescription(benefit, i, version = 'primary') {
912
- const labelStyleMap = {
913
- primary: 'text-secondary-text',
914
- secondary: 'text-white',
915
- };
916
- return (jsx("div", { className: `text-sm ${i ? 'mt-4' : ''} ${labelStyleMap[version]}`, children: benefit.description }, String(i)));
917
- }
918
-
919
850
  const blockStyle = {
920
851
  primary: 'bg-white',
921
852
  secondary: 'bg-primary-main text-white',
@@ -924,100 +855,22 @@
924
855
  return (jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? (jsx("div", { className: "font-normal text-m-md max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(orientation, cards, context)] }));
925
856
  });
926
857
  function renderCardsLayout(orientation, cards, context) {
927
- return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard$1) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard$1) }));
858
+ return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard) }));
928
859
  }
929
- function renderCard$1(card, key) {
860
+ function renderCard(card, key) {
930
861
  return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
931
- ${blockStyle[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `font-medium text-m-title-xs m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems$1(card.items, card.version) : null] }), card?.button?.text ? renderButton$2(card.button) : null] }, key));
862
+ ${blockStyle[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `font-medium text-m-title-xs m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.version) : null] }), card?.button?.text ? renderButton$1(card.button) : null] }, key));
932
863
  }
933
- function renderButton$2(button) {
934
- return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Icon, { name: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
864
+ function renderButton$1(button) {
865
+ return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
935
866
  }
936
867
  function renderDescription(card) {
937
868
  return (jsx("div", { className: `text-secondary-text mt-1 text-m-sm ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
938
869
  }
939
- function renderItems$1(items, version = 'primary') {
940
- return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [jsx("span", { className: "text-m-md font-medium", children: item.title }), jsx("span", { className: `text-m-sm pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
941
- }
942
-
943
- const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
944
- return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill, ...options }, i) => (jsx("path", { d: d, fill: fill || 'currentColor', ...commonOptions, ...options }, i))) }));
945
- });
946
-
947
- const ARROW_PATHS = [
948
- {
949
- d: 'm9 12 4-4-4-4',
950
- stroke: 'currentColor',
951
- strokeWidth: '2',
952
- strokeLinecap: 'round',
953
- fill: 'none',
954
- },
955
- {
956
- d: 'M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z',
957
- },
958
- ];
959
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
960
- ? 'bg-secondary-light text-secondary-text'
961
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(SVG, { paths: ARROW_PATHS, viewBox: "0 0 16 16", fill: "none", width: "16", height: "16" }) })));
962
-
963
- const cardVersionMap = {
964
- primary: 'bg-white text-secondary-text',
965
- secondary: 'bg-primary-main text-white',
966
- };
967
- const galleryLengthForScrollMap = {
968
- normal: 3,
969
- mini: 4,
970
- };
971
- const cardStyleMap = {
972
- normal: 'min-w-[364px] w-[364px]',
973
- mini: 'min-w-[260px] w-[260px]',
974
- };
975
- const cardWidthMap = {
976
- normal: 380,
977
- mini: 276,
978
- };
979
-
980
- const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
981
- const titleStyleClasses = getTitleStyle(version, description, items);
982
- return (jsxs("div", { className: "h-full flex flex-col justify-between", children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
983
- });
984
- function renderButton$1(button) {
985
- return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Icon, { name: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
986
- }
987
- function renderCardTitle(title, className) {
988
- return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
989
- }
990
870
  function renderItems(items, version = 'primary') {
991
- return (jsx(List, { className: `max-w-[308px] mt-2 text-sm ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), version: version }));
992
- }
993
- function getTitleStyle(version, description, items) {
994
- return `font-medium text-xl m-0
995
- ${version !== 'secondary' ? 'text-primary-text' : ''}
996
- ${!description && !items?.length ? 'text-center' : ''}
997
- `;
998
- }
999
-
1000
- const GalleryContainer = JSX(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
1001
- return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsxs("div", { className: "flex flex-col items-center mb-8", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "font-normal text-base max-w-[600px] mt-2.5", children: description })) : null] }), jsx("div", { className: `flex ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
1002
- });
1003
- function renderCard({ card, version }, i) {
1004
- return (jsx("section", { className: `box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between
1005
- items-stretch ${cardStyleMap[version]} ${cardVersionMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
871
+ return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [jsx("span", { className: "text-m-md font-medium", children: item.title }), jsx("span", { className: `text-m-sm pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
1006
872
  }
1007
873
 
1008
- const GalleryInner = JSX(({ context, cards = [], className = '', version = 'normal', anchor = null, ...rest }) => {
1009
- const [activeCardIndex, setActiveCardIndex] = context.useState(0);
1010
- const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
1011
- const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
1012
- const isGalleryScrollAvailable = cards?.length > galleryLengthForScrollMap[version];
1013
- const showNextButton = isGalleryScrollAvailable &&
1014
- cards?.length - activeCardIndex > galleryLengthForScrollMap[version];
1015
- const showPrevButton = isGalleryScrollAvailable && activeCardIndex > 0;
1016
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${className}`, id: anchor, children: [jsx(GalleryContainer, { context: context, cards: cards, version: version, activeCardIndex: activeCardIndex, ...rest }), showPrevButton && (jsx(ArrowButton, { className: "absolute top-1/2 left-8 rotate-180 z-10 mt-[25px]", onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })), showNextButton && (jsx(ArrowButton, { className: "absolute top-1/2 right-8 z-10 mt-[25px]", onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })), jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[100px] bg-opacity-to-white" })] }));
1017
- });
1018
-
1019
- const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, version: "mini" })));
1020
-
1021
874
  const LinkList = JSX(({ className = '', documents, anchor = null }) => {
1022
875
  return (jsx("section", { className: `font-sans bg-white mt-[10px] ${className}`, id: anchor, children: jsx("ul", { className: "flex flex-col text-sm text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) }));
1023
876
  });
@@ -1032,30 +885,25 @@
1032
885
  Headline,
1033
886
  LinkDocs,
1034
887
  TextBlock,
1035
- PictureText,
1036
888
  ProductBlock,
1037
- Tile,
1038
- ProductTile,
1039
889
  Gallery,
1040
- MiniGallery,
1041
890
  LinkList,
1042
891
  };
1043
892
 
1044
- const renderBlocksList = ({ blocks, context, className, columns, version, }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns, version })) : null;
1045
- const renderBlock$1 = ({ context, columns, className, version }) => (block, i) => {
893
+ const renderBlocksList = ({ blocks, context, className, columns }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns })) : null;
894
+ const renderBlock$1 = ({ context, columns, className }) => (block, i) => {
1046
895
  const type = block?.blockListType;
1047
896
  if (!type || !(type in EmbeddableBlocks)) {
1048
897
  return null;
1049
898
  }
1050
899
  const columnsCountClass = columns === 2 ? 'w-1/2' : '';
1051
900
  const EmbeddedBlock = EmbeddableBlocks[type];
1052
- return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, blockVersion: version, className: "!p-0" }) }, `block_${i}`));
901
+ return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
1053
902
  };
1054
903
 
1055
- const AccordionItemInner = JSX(({ blocks, context, version = 'primary' }) => {
904
+ const AccordionItemInner = JSX(({ blocks, context }) => {
1056
905
  const className = 'mb-5 last:mb-0 first:mt-2';
1057
- const columns = 1;
1058
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, className, columns, blocks, version }) }));
906
+ return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, className, blocks }) }));
1059
907
  });
1060
908
 
1061
909
  const useActiveHandler = ({ context, blocks, initialState = false }) => {
@@ -1076,15 +924,18 @@
1076
924
  return { isActive, hasContent, icon, handleToggle };
1077
925
  };
1078
926
 
1079
- const AccordionItem = JSX(({ label, blocks, bordered, context }) => {
927
+ const AccordionItem = JSX(({ label, labelIcon, blocks, bordered, context }) => {
1080
928
  const { hasContent, icon, handleToggle } = useActiveHandler({
1081
929
  context,
1082
930
  blocks,
1083
931
  });
1084
- return (jsxs("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0'} border-solid border-main-divider`, children: [jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
932
+ return (jsxs("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: [jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
1085
933
  ${bordered ? '' : 'py-[14px] px-0'}
1086
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsx("span", { className: `text-m-title-xs pr-2.5 font-medium ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: label }), hasContent ? jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? jsx(AccordionItemInner, { blocks: blocks, context: context }) : null] }));
934
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsxs("span", { className: `text-m-title-xs pr-2.5 font-medium flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [labelIcon ? (jsx(Img, { image: labelIcon, width: "24", height: "24", asSVG: true, className: "mr-3" })) : null, label] }), hasContent ? jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? jsx(AccordionItemInner, { blocks: blocks, context: context }) : null] }));
1087
935
  });
936
+ function borderedLiClass(bordered) {
937
+ return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
938
+ }
1088
939
 
1089
940
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered }) => {
1090
941
  return (jsxs("section", { className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
@@ -1093,7 +944,7 @@
1093
944
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
1094
945
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
1095
946
 
1096
- const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader", scope: "col", children: [icon && (jsx(Icon, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", name: icon, width: "63", height: "63" })), image?.src && (jsx("div", { className: "mb-3.5", children: jsx(Img, { image: image }) })), title && (jsx(Heading, { headingType: "h4", className: `${isFillGradient ? 'text-white' : ''}`, title: title })), subtitle && (jsx("div", { className: `text-m-sm mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`, children: subtitle }))] })));
947
+ const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { role: "columnheader", scope: "col", children: [icon ? (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && (jsx("div", { className: "mb-3.5", children: jsx(Img, { image: image }) })), title && (jsx(Heading, { headingType: "h4", className: `${isFillGradient ? 'text-white' : ''}`, title: title })), subtitle && (jsx("div", { className: `text-m-sm mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`, children: subtitle }))] })));
1097
948
 
1098
949
  const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => {
1099
950
  const cellWrapperClasses = `box-border flex flex-col`;
@@ -1179,6 +1030,25 @@
1179
1030
  }
1180
1031
  const EXCHANGE_RATES_URL = '/api/v1/exchangerates.json';
1181
1032
 
1033
+ const getColSpan = (className) => {
1034
+ const colSpanPrefix = 'col-span-';
1035
+ const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
1036
+ return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
1037
+ };
1038
+
1039
+ function getTileHeadingType(className = '') {
1040
+ const colSpan = getColSpan(className);
1041
+ if (colSpan <= 4) {
1042
+ return 'h4';
1043
+ }
1044
+ else if (colSpan <= 8) {
1045
+ return 'h3';
1046
+ }
1047
+ else {
1048
+ return 'h2';
1049
+ }
1050
+ }
1051
+
1182
1052
  const currencyNumberFormat = new Intl.NumberFormat('ru', { style: 'currency', currency: 'RUB' });
1183
1053
  const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
1184
1054
 
@@ -1192,10 +1062,10 @@
1192
1062
  });
1193
1063
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1194
1064
  const code = exchangeCurrencyItem?.currency?.currency;
1195
- return (jsxs("tr", { className: "pb-1", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Icon, { name: 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));
1065
+ 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));
1196
1066
  };
1197
1067
 
1198
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex text-sm ${className}`, children: [jsx(Icon, { className: "min-w-fit", name: "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] })] })));
1068
+ 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] })] })));
1199
1069
 
1200
1070
  const Input = JSX(({ className = '', id, name, type = 'text', placeholder }) => {
1201
1071
  return (jsx("input", { className: className, id: id, name: name || id, type: type, placeholder: placeholder }));
@@ -1242,6 +1112,10 @@
1242
1112
  return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className}`, id: anchor, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-[43px] pt-4", children: [exchangeCurrencyItems ? (jsx(CurrencyTable, { className: "mb-[31px]", exchangeCurrencyItems: exchangeCurrencyItems })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), exchangeCurrencyItems?.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", exchangeCurrencyItems: exchangeCurrencyItems, codes: EXCHANGE_CODES })) : null] }) }) }));
1243
1113
  });
1244
1114
 
1115
+ const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1116
+ return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill, ...options }, i) => (jsx("path", { d: d, fill: fill || 'currentColor', ...commonOptions, ...options }, i))) }));
1117
+ });
1118
+
1245
1119
  const LOGO_PATHS = [
1246
1120
  'm13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z',
1247
1121
  'M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z',
@@ -1300,19 +1174,31 @@
1300
1174
  const ICONS_MAP = [
1301
1175
  {
1302
1176
  origins: ['t.me', 'telegram.org'],
1303
- icon: 'TelegramIcon',
1177
+ icon: { icon: 'TelegramIcon' },
1304
1178
  label: 'Телеграм',
1305
1179
  width: '20px',
1306
1180
  height: '16px',
1307
1181
  },
1308
- { origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
1309
- { origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
1182
+ {
1183
+ origins: ['vk.com'],
1184
+ icon: { icon: 'VKIcon' },
1185
+ label: 'ВКонтакте',
1186
+ width: '24px',
1187
+ height: '12px',
1188
+ },
1189
+ {
1190
+ origins: ['ok.ru'],
1191
+ icon: { icon: 'OkIcon' },
1192
+ label: 'Одноклассники',
1193
+ width: '12px',
1194
+ height: '20px',
1195
+ },
1310
1196
  ];
1311
1197
  const MediaButton = JSX(({ href }) => {
1312
1198
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1313
1199
  if (!icon)
1314
1200
  return null;
1315
- return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:text-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: Icon && (jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) }));
1201
+ return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[40px] h-[40px] box-border hover:text-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1316
1202
  });
1317
1203
 
1318
1204
  const SocialMedia = JSX(({ className, media, context }) => {
@@ -1342,10 +1228,10 @@
1342
1228
 
1343
1229
  const SearchBar = JSX(({ className, context }) => {
1344
1230
  const { term, setTerm } = context.useSearch();
1345
- return (jsxs("form", { className: `relative ${className || ''}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: "w-[20px] h-[20px]", children: jsx(Icon, { name: "LoupeIcon", width: "24", height: "24" }) }), !term && (jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-sm text-secondary-text", children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: 'h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text', value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: "some search" }), jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
1231
+ return (jsxs("form", { className: `relative ${className || ''}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: "w-[20px] h-[20px]", children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), !term && (jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-sm text-secondary-text", children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: 'h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text', value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: "some search" }), jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
1346
1232
  e.preventDefault();
1347
1233
  setTerm('');
1348
- }, children: jsx(Icon, { name: "CloseIcon", width: "24", height: "24" }) })] }));
1234
+ }, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })] }));
1349
1235
  });
1350
1236
 
1351
1237
  const getAccordionItems = (items) => items?.map((item) => ({
@@ -1365,7 +1251,7 @@
1365
1251
  });
1366
1252
  const renderSubMenuItem = (menu, i) => {
1367
1253
  const { icon, href, text } = menu;
1368
- return (jsxs(Button, { version: "link", href: href, className: "flex text-sm mb-4", children: [icon ? jsx(Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, jsx("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
1254
+ return (jsxs(Button, { version: "link", href: href, className: "flex text-sm mb-4", children: [icon ? jsx(Img, { className: "pr-1", image: icon, width: "24", height: "24", asSVG: true }) : null, jsx("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
1369
1255
  };
1370
1256
 
1371
1257
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -1416,14 +1302,14 @@
1416
1302
 
1417
1303
  const HeaderBurger = JSX(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
1418
1304
  const [city, getCity] = context.useGeolocation(defaultLocation);
1419
- return (jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [jsx("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: jsx(Icon, { name: "CloseIcon", width: "24", height: "24", asSVG: true }) }), jsxs("button", { onClick: getCity, className: "flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer", children: [jsx(Icon, { name: "GeolocationIcon", width: "20", height: "20", className: "text-primary-main box-border mr-2", asSVG: true }), city] }), children, jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), jsx(SearchBar, { context: context, className: "grow" })] }));
1305
+ return (jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [jsx("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24", asSVG: true }) }), jsxs("button", { onClick: getCity, className: "flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer", children: [jsx(Img, { image: "GeolocationIcon", width: "20", height: "20", className: "text-primary-main box-border mr-2", asSVG: true }), city] }), children, jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), jsx(SearchBar, { context: context, className: "grow" })] }));
1420
1306
  });
1421
1307
  const renderBurgerSubMenuItem = (menu, i) => {
1422
1308
  const { icon, href, text } = menu;
1423
- return (jsxs("a", { href: href, className: "flex text-sm mb-4 hover:text-primary-main", children: [icon ? (jsx(Icon, { className: "text-primary-main pr-1", name: icon, width: "24", height: "24", asSVG: true })) : null, jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
1309
+ return (jsxs("a", { href: href, className: "flex text-sm mb-4 hover:text-primary-main", children: [icon ? (jsx(Img, { className: "text-primary-main pr-1", image: icon, width: "24", height: "24", asSVG: true })) : null, jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
1424
1310
  };
1425
1311
 
1426
- const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Icon, { name: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), jsx(Logo, { bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm border-0 bg-transparent cursor-pointer`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
1312
+ const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Img, { image: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), jsx(Logo, { bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm border-0 bg-transparent cursor-pointer`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
1427
1313
 
1428
1314
  const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
1429
1315
  const router = context.useRouter();
@@ -1444,6 +1330,32 @@
1444
1330
  });
1445
1331
  const renderSubItem = (item, i) => (jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-sm", ...item }, String(i)));
1446
1332
 
1333
+ function getTileMinHeight(className = '') {
1334
+ const colSpan = getColSpan(className);
1335
+ if (colSpan <= 6) {
1336
+ return 'min-h-[300px]';
1337
+ }
1338
+ else if (colSpan <= 8) {
1339
+ return 'min-h-[320px]';
1340
+ }
1341
+ else {
1342
+ return 'min-h-[360px]';
1343
+ }
1344
+ }
1345
+
1346
+ function getTileRightPadding(className = '') {
1347
+ const colSpan = getColSpan(className);
1348
+ if (colSpan <= 6) {
1349
+ return 'pr-9';
1350
+ }
1351
+ else if (colSpan <= 8) {
1352
+ return 'pr-[4.75rem]';
1353
+ }
1354
+ else {
1355
+ return 'pr-[9.4rem]';
1356
+ }
1357
+ }
1358
+
1447
1359
  const GOLDEN_RATIO = 1.618;
1448
1360
  const Placeholder = JSX(({ className, context, title, description = 'Блок в разработке...', anchor = null }) => {
1449
1361
  return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, children: [description ? (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })) : null, jsx("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() })] }) }));
@@ -1454,8 +1366,13 @@
1454
1366
  const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1455
1367
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1456
1368
 
1457
- const ProductGalleryBlock = JSX(({ block, headingType, context }) => {
1458
- return (jsx("section", { className: "flex grow-0 shrink-0 basis-full px-4 pt-6", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, headingType: headingType || 'h2', ...block }) }) }));
1369
+ const productGalleryStyleMap = {
1370
+ primary: 'bg-white text-primary-text',
1371
+ secondary: 'bg-primary-main text-white',
1372
+ };
1373
+ const ProductGalleryBlock = JSX(({ block, headingType, context, className = '' }) => {
1374
+ const version = block?.version ?? 'primary';
1375
+ return (jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${productGalleryStyleMap[version]} ${className}`, children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, headingType: headingType || 'h2', ...block }) }) }));
1459
1376
  });
1460
1377
 
1461
1378
  const ProductGallery = JSX(({ className, context, slides = [] }) => {
@@ -1463,6 +1380,14 @@
1463
1380
  return (jsx("section", { className: `font-sans bg-white overflow-hidden w-100 pb-6 ${className || ''}`, children: jsx(SwipeListControl, { context: context, children: galleryBlocks.map((block, i) => (jsx(ProductGalleryBlock, { block: block, context: context }, String(i)))) }) }));
1464
1381
  });
1465
1382
 
1383
+ const STEPS_SIZE_MAP = {
1384
+ normal: 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]',
1385
+ small: 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]',
1386
+ };
1387
+ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
1388
+ normal: 'min-h-[70px]',
1389
+ small: 'min-h-[50px]',
1390
+ };
1466
1391
  const STEPS_BLOCK_STYLE_MAPS = {
1467
1392
  primary: {
1468
1393
  background: 'bg-white',
@@ -1490,21 +1415,20 @@
1490
1415
  const isLastStep = length - 1 === i;
1491
1416
  const margin = size === 'normal' ? 'ml-[34px]' : 'ml-[24px]';
1492
1417
  const style = styleMaps(version);
1493
- return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(params), !isLastStep && (jsx("div", { className: `min-h-8 h-full w-[2px] ${style.iconConnector} ${margin}` }))] }), jsxs("div", { className: "flex flex-col justify-start relative", children: [step.label && (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })), step.description && (jsx("div", { className: `font-normal text-sm ${style.description} text-left ${step.label ? 'mt-1' : ''}`, children: step.description }))] })] }, String(i)) }, String(i)));
1418
+ return (jsx("div", { children: jsxs("div", { className: "flex flex-row text-center relative", children: [jsxs("div", { className: "overflow-hidden", children: [renderIconArea(params), !isLastStep && (jsx("div", { className: `min-h-8 h-full w-[2px] ${style.iconConnector} ${margin}` }))] }), jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label && (jsx("div", { className: "font-medium text-m-title-xs m-0 text-left", children: step.label })), step.description && (jsx("div", { className: `font-normal text-sm ${style.description} text-left ${step.label ? 'mt-1' : ''}`, children: step.description }))] })] }, String(i)) }, String(i)));
1494
1419
  };
1495
1420
  const renderIconArea = (params) => {
1496
1421
  const { step, size, i, version } = params;
1497
1422
  const style = styleMaps(version);
1498
- const iconAreaSize = size === 'normal'
1499
- ? 'h-[70px] w-[70px] min-w-[70px] min-h-[70px]'
1500
- : 'h-[50px] w-[50px] min-w-[50px] min-h-[50px]';
1423
+ const iconAreaSize = STEPS_SIZE_MAP[size];
1501
1424
  const iconSize = size === 'normal' ? '38' : '27';
1502
1425
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
1503
- return (jsx("div", { className: `${iconAreaSize} ${style.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${style.title} ${iconTextSize}`, children: (step.icon && jsx(Icon, { name: step.icon, width: iconSize, height: iconSize, asSVG: true })) || i + 1 }) }));
1426
+ return (jsx("div", { className: `${iconAreaSize} ${style.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${style.title} ${iconTextSize}`, children: (step.icon?.icon && jsx(Img, { image: step.icon, width: iconSize, height: iconSize, asSVG: true })) ||
1427
+ i + 1 }) }));
1504
1428
  };
1505
1429
 
1506
1430
  const TableTileHeader = JSX(({ title, icon }) => {
1507
- return (jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (jsx(Icon, { className: "ml-auto max-w-6 max-h-6", name: icon, width: "24px", height: "24px" })) : null] }));
1431
+ return (jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (jsx(Img, { className: "ml-auto max-w-6 max-h-6", image: icon, width: "24px", height: "24px" })) : null] }));
1508
1432
  });
1509
1433
 
1510
1434
  const TariffsTableTileCell = JSX(({ header, data }) => {
@@ -1512,7 +1436,7 @@
1512
1436
  });
1513
1437
  const renderCellInner = ({ label, description, list, image, buttons }, i) => (jsxs("div", { children: [i > 0 && (jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-2" })), label ? jsx("div", { className: "text-m-sm m-0", children: label }) : null, description ? (jsx("div", { className: "text-m-sm text-secondary-text mt-[3px]", children: description })) : null, list?.items?.length ? renderList(list) : null, image && jsx(Img, { image: { ...image, className: 'm-0' } }), buttons?.length ? renderButtons(buttons) : null] }, String(i)));
1514
1438
  const renderList = (list) => (jsx(List, { className: "flex flex-col justify-between items-start text-m-sm", version: "gray", items: list.items, isDotted: list.isDotted ?? true }));
1515
- const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, rounded: rounded, appendLeft: icon && jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps, "aria-label": icon }, String(idx)))) }));
1439
+ const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, rounded: rounded, appendLeft: icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) }));
1516
1440
 
1517
1441
  const TariffsTableVertical = JSX(({ tiles }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1518
1442