@redneckz/wildless-cms-uni-blocks 0.3.32 → 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 (594) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +133 -93
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/AccordionContent.d.ts +2 -2
  5. package/dist/components/Accordion/AccordionItem.js +2 -2
  6. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  7. package/dist/components/Accordion/AccordionItem.mobile.js +2 -2
  8. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  9. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  10. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  11. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  12. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  13. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  14. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  15. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  16. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  17. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  18. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  19. package/dist/components/CreditCalculator/defaultTabs.js +3 -3
  20. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  21. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  22. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  23. package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  24. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  25. package/dist/components/Footer/Footer.mobile.js +2 -2
  26. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  27. package/dist/components/Footer/FooterContent.d.ts +2 -2
  28. package/dist/components/Footer/MediaButton.js +17 -5
  29. package/dist/components/Footer/MediaButton.js.map +1 -1
  30. package/dist/components/Footer/SocialMedia.js +1 -1
  31. package/dist/components/Footer/SocialMedia.js.map +1 -1
  32. package/dist/components/Gallery/Gallery.mobile.js +1 -2
  33. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  34. package/dist/components/Gallery/GalleryCardInner.js +1 -2
  35. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  36. package/dist/components/Header/HeaderBurger.js +3 -3
  37. package/dist/components/Header/HeaderBurger.js.map +1 -1
  38. package/dist/components/Header/HeaderContent.d.ts +3 -3
  39. package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  40. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  41. package/dist/components/Header/HeaderTop.js +2 -2
  42. package/dist/components/Header/HeaderTop.js.map +1 -1
  43. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  44. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  45. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  46. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  47. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  48. package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  49. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  50. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  51. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  52. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  53. package/dist/components/PictureText/PictureText.js +1 -2
  54. package/dist/components/PictureText/PictureText.js.map +1 -1
  55. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  56. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  57. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  58. package/dist/components/ProductBlock/ProductBlockInner.js +4 -4
  59. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  60. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  61. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  62. package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
  63. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  64. package/dist/components/ProductGallery/ProductGallery.js +2 -5
  65. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  66. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  67. package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  68. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  69. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  70. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  71. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  72. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  73. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  74. package/dist/components/Recommendation/Recommendation.js +2 -2
  75. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  76. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  77. package/dist/components/Recommendation/RecommendationCard.js +3 -3
  78. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  79. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  80. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  81. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  82. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -2
  83. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  84. package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  85. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  86. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  87. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  88. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  89. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  90. package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  91. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  92. package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  93. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  94. package/dist/content-page-repository/transformContentPage.js +1 -1
  95. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  96. package/dist/model/Picture.d.ts +3 -0
  97. package/dist/model/SitemapProps.d.ts +2 -2
  98. package/dist/services/sitemap/SitemapProps.d.ts +2 -2
  99. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  100. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  101. package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  102. package/dist/ui-kit/Button/ButtonSection.js +2 -2
  103. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  104. package/dist/ui-kit/Icon/Icon.js +1 -1
  105. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  106. package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  107. package/dist/ui-kit/Img/Img.d.ts +4 -7
  108. package/dist/ui-kit/Img/Img.js +27 -9
  109. package/dist/ui-kit/Img/Img.js.map +1 -1
  110. package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
  111. package/dist/ui-kit/Img/Img.mobile.js +12 -3
  112. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  113. package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  114. package/dist/ui-kit/List/ListItem.js +2 -2
  115. package/dist/ui-kit/List/ListItem.js.map +1 -1
  116. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  117. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  118. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  119. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  120. package/dist/ui-kit/SearchBar.mobile.js +2 -2
  121. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  122. package/dist/ui-kit/Tabs/Tabs.js +2 -2
  123. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  124. package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  125. package/lib/common.css +1 -1
  126. package/lib/components/Accordion/AccordionContent.d.ts +2 -2
  127. package/lib/components/Accordion/AccordionItem.js +2 -2
  128. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  129. package/lib/components/Accordion/AccordionItem.mobile.js +2 -2
  130. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  131. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  132. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  133. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  134. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  135. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  136. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  137. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  138. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  139. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  140. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  141. package/lib/components/CreditCalculator/defaultTabs.js +3 -3
  142. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  143. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  144. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  145. package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  146. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  147. package/lib/components/Footer/Footer.mobile.js +2 -2
  148. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  149. package/lib/components/Footer/FooterContent.d.ts +2 -2
  150. package/lib/components/Footer/MediaButton.js +17 -5
  151. package/lib/components/Footer/MediaButton.js.map +1 -1
  152. package/lib/components/Footer/SocialMedia.js +1 -1
  153. package/lib/components/Footer/SocialMedia.js.map +1 -1
  154. package/lib/components/Gallery/Gallery.mobile.js +1 -2
  155. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  156. package/lib/components/Gallery/GalleryCardInner.js +1 -2
  157. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  158. package/lib/components/Header/HeaderBurger.js +3 -3
  159. package/lib/components/Header/HeaderBurger.js.map +1 -1
  160. package/lib/components/Header/HeaderContent.d.ts +3 -3
  161. package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  162. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  163. package/lib/components/Header/HeaderTop.js +2 -2
  164. package/lib/components/Header/HeaderTop.js.map +1 -1
  165. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  166. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  167. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  168. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  169. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  170. package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  171. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  172. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  173. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  174. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  175. package/lib/components/PictureText/PictureText.js +1 -2
  176. package/lib/components/PictureText/PictureText.js.map +1 -1
  177. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  178. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  179. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  180. package/lib/components/ProductBlock/ProductBlockInner.js +4 -4
  181. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  182. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  183. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  184. package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
  185. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  186. package/lib/components/ProductGallery/ProductGallery.js +2 -5
  187. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  188. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  189. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  190. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  191. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  192. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  193. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  194. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  195. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  196. package/lib/components/Recommendation/Recommendation.js +2 -2
  197. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  198. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  199. package/lib/components/Recommendation/RecommendationCard.js +3 -3
  200. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  201. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  202. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  203. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  204. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -2
  205. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  206. package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  207. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  208. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  209. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  210. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  211. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  212. package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  213. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  214. package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  215. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  216. package/lib/content-page-repository/transformContentPage.js +1 -1
  217. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  218. package/lib/model/Picture.d.ts +3 -0
  219. package/lib/model/SitemapProps.d.ts +2 -2
  220. package/lib/services/sitemap/SitemapProps.d.ts +2 -2
  221. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  222. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  223. package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  224. package/lib/ui-kit/Button/ButtonSection.js +2 -2
  225. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  226. package/lib/ui-kit/Icon/Icon.js +1 -1
  227. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  228. package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  229. package/lib/ui-kit/Img/Img.d.ts +4 -7
  230. package/lib/ui-kit/Img/Img.js +26 -8
  231. package/lib/ui-kit/Img/Img.js.map +1 -1
  232. package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
  233. package/lib/ui-kit/Img/Img.mobile.js +11 -2
  234. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  235. package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  236. package/lib/ui-kit/List/ListItem.js +2 -2
  237. package/lib/ui-kit/List/ListItem.js.map +1 -1
  238. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  239. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  240. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  241. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  242. package/lib/ui-kit/SearchBar.mobile.js +2 -2
  243. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  244. package/lib/ui-kit/Tabs/Tabs.js +2 -2
  245. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  246. package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  247. package/mobile/bundle/bundle.umd.js +57 -31
  248. package/mobile/bundle/bundle.umd.min.js +1 -1
  249. package/mobile/dist/components/Accordion/AccordionContent.d.ts +2 -2
  250. package/mobile/dist/components/Accordion/AccordionItem.js +2 -2
  251. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  252. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  253. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  254. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  255. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  256. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  257. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
  258. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  259. package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
  260. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  261. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  262. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  263. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  264. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  265. package/mobile/dist/components/Footer/Footer.js +2 -2
  266. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  267. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -2
  268. package/mobile/dist/components/Footer/MediaButton.js +17 -5
  269. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  270. package/mobile/dist/components/Gallery/Gallery.js +1 -2
  271. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  272. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
  273. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  274. package/mobile/dist/components/Header/HeaderBurger.js +3 -3
  275. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  276. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
  277. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  278. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  279. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  280. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  281. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  282. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  283. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  284. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  285. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  286. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  287. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  288. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  289. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  290. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  291. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  292. package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
  293. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  294. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  295. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  296. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  297. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  298. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  299. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  300. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  301. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  302. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
  303. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  304. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  305. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -2
  306. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  307. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  308. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  309. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  310. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  311. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  312. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  313. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  314. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  315. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  316. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  317. package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
  318. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  319. package/mobile/dist/model/Picture.d.ts +3 -0
  320. package/mobile/dist/model/SitemapProps.d.ts +2 -2
  321. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
  322. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  323. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  324. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  325. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
  326. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  327. package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
  328. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  329. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  330. package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
  331. package/mobile/dist/ui-kit/Img/Img.js +12 -3
  332. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  333. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  334. package/mobile/dist/ui-kit/List/ListItem.js +2 -2
  335. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  336. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
  337. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  338. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
  339. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  340. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  341. package/mobile/lib/components/Accordion/AccordionContent.d.ts +2 -2
  342. package/mobile/lib/components/Accordion/AccordionItem.js +2 -2
  343. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  344. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  345. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  346. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  347. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  348. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  349. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
  350. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  351. package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
  352. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  353. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  354. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  355. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  356. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  357. package/mobile/lib/components/Footer/Footer.js +2 -2
  358. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  359. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -2
  360. package/mobile/lib/components/Footer/MediaButton.js +17 -5
  361. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  362. package/mobile/lib/components/Gallery/Gallery.js +1 -2
  363. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  364. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
  365. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  366. package/mobile/lib/components/Header/HeaderBurger.js +3 -3
  367. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  368. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
  369. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  370. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  371. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  372. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  373. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  374. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  375. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  376. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  377. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  378. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  379. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  380. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  381. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  382. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  383. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  384. package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
  385. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  386. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  387. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  388. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  389. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  390. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  391. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  392. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  393. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  394. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
  395. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  396. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  397. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -2
  398. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  399. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  400. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  401. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  402. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  403. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  404. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  405. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  406. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  407. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  408. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  409. package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
  410. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  411. package/mobile/lib/model/Picture.d.ts +3 -0
  412. package/mobile/lib/model/SitemapProps.d.ts +2 -2
  413. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
  414. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  415. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  416. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  417. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
  418. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  419. package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
  420. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  421. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  422. package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
  423. package/mobile/lib/ui-kit/Img/Img.js +11 -2
  424. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  425. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  426. package/mobile/lib/ui-kit/List/ListItem.js +2 -2
  427. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  428. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
  429. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  430. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
  431. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  432. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  433. package/mobile/src/components/Accordion/Accordion.example.json +9 -3
  434. package/mobile/src/components/Accordion/AccordionContent.ts +2 -2
  435. package/mobile/src/components/Accordion/AccordionItem.tsx +3 -3
  436. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  437. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  438. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  439. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  440. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
  441. package/mobile/src/components/ContentPage/ContentPage.page.json +267 -82
  442. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  443. package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
  444. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  445. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  446. package/mobile/src/components/Footer/Footer.tsx +2 -2
  447. package/mobile/src/components/Footer/FooterContent.ts +2 -2
  448. package/mobile/src/components/Footer/MediaButton.tsx +21 -9
  449. package/mobile/src/components/Gallery/Gallery.tsx +2 -3
  450. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
  451. package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
  452. package/mobile/src/components/Header/HeaderContent.ts +3 -3
  453. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  454. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  455. package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
  456. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  457. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  458. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  459. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  460. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  461. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  462. package/mobile/src/components/PictureText/PictureText.example.json +6 -2
  463. package/mobile/src/components/PictureText/PictureText.tsx +4 -5
  464. package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
  465. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  466. package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
  467. package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
  468. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
  469. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +23 -23
  470. package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
  471. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  472. package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
  473. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
  474. package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
  475. package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -4
  476. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  477. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  478. package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
  479. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  480. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  481. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  482. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  483. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  484. package/mobile/src/model/Picture.ts +4 -0
  485. package/mobile/src/model/SitemapProps.ts +2 -2
  486. package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
  487. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -2
  488. package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
  489. package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
  490. package/mobile/src/ui-kit/Icon/Icon.tsx +1 -1
  491. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
  492. package/mobile/src/ui-kit/Img/Img.tsx +38 -22
  493. package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
  494. package/mobile/src/ui-kit/List/ListItem.tsx +2 -2
  495. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
  496. package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
  497. package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
  498. package/package.json +1 -1
  499. package/src/components/Accordion/Accordion.example.json +9 -3
  500. package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -1
  501. package/src/components/Accordion/AccordionContent.ts +2 -2
  502. package/src/components/Accordion/AccordionItem.mobile.tsx +3 -3
  503. package/src/components/Accordion/AccordionItem.tsx +2 -2
  504. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  505. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  506. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  507. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  508. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
  509. package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  510. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
  511. package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
  512. package/src/components/ContentPage/ContentPage.page.json +267 -82
  513. package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  514. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
  515. package/src/components/CreditCalculator/defaultTabs.ts +3 -3
  516. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  517. package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  518. package/src/components/Footer/Footer.mobile.tsx +2 -2
  519. package/src/components/Footer/FooterContent.ts +2 -2
  520. package/src/components/Footer/MediaButton.tsx +21 -9
  521. package/src/components/Footer/SocialMedia.tsx +1 -1
  522. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  523. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  524. package/src/components/Gallery/Gallery.mobile.tsx +2 -3
  525. package/src/components/Gallery/GalleryCardInner.tsx +2 -3
  526. package/src/components/Header/HeaderBurger.tsx +5 -5
  527. package/src/components/Header/HeaderContent.ts +3 -3
  528. package/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  529. package/src/components/Header/HeaderTop.tsx +3 -3
  530. package/src/components/LinkDocs/LinkDocs.example.json +3 -1
  531. package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
  532. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  533. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  534. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  535. package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  536. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  537. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  538. package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  539. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  540. package/src/components/PictureText/PictureText.example.json +6 -2
  541. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  542. package/src/components/PictureText/PictureText.tsx +4 -5
  543. package/src/components/ProductBlock/ProductBlock.example.json +11 -3
  544. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
  545. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -7
  546. package/src/components/ProductBlock/ProductBlock.tsx +2 -4
  547. package/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  548. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -11
  549. package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
  550. package/src/components/ProductBlock/renderBenefit.tsx +5 -5
  551. package/src/components/ProductGallery/ProductGallery.example.json +22 -1
  552. package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
  553. package/src/components/ProductGallery/ProductGallery.tsx +4 -17
  554. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
  555. package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
  556. package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +2 -3
  557. package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +23 -23
  558. package/src/components/Recommendation/Recommendation.example.json +18 -3
  559. package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
  560. package/src/components/Recommendation/Recommendation.tsx +6 -6
  561. package/src/components/Recommendation/RecommendationCard.tsx +21 -12
  562. package/src/components/Recommendation/RecommendationContent.ts +6 -4
  563. package/src/components/StepsBlock/StepsBlock.example.json +9 -3
  564. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
  565. package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -4
  566. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  567. package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  568. package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  569. package/src/components/TariffsTable/TariffsTable.example.json +12 -4
  570. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
  571. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
  572. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  573. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  574. package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  575. package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  576. package/src/content-page-repository/transformContentPage.ts +1 -1
  577. package/src/model/Picture.ts +4 -0
  578. package/src/model/SitemapProps.ts +2 -2
  579. package/src/services/sitemap/SitemapProps.ts +2 -2
  580. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  581. package/src/ui-kit/Button/ButtonInner.tsx +2 -2
  582. package/src/ui-kit/Button/ButtonProps.ts +2 -2
  583. package/src/ui-kit/Button/ButtonSection.tsx +2 -2
  584. package/src/ui-kit/Icon/Icon.tsx +1 -1
  585. package/src/ui-kit/Icon/IconProps.ts +12 -3
  586. package/src/ui-kit/Img/Img.mobile.tsx +38 -22
  587. package/src/ui-kit/Img/Img.tsx +50 -23
  588. package/src/ui-kit/Img/ImgProps.ts +7 -4
  589. package/src/ui-kit/List/ListItem.tsx +2 -2
  590. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
  591. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  592. package/src/ui-kit/SearchBar.mobile.tsx +2 -2
  593. package/src/ui-kit/Tabs/Tabs.tsx +2 -2
  594. package/src/ui-kit/Tabs/TabsProps.ts +2 -2
@@ -1,8 +1,5 @@
1
- import type { Picture, ImgSource } from '../../model/Picture';
2
- export interface ImageProps {
3
- className?: string;
4
- imageClassName?: string;
5
- image: Picture;
6
- }
7
- export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps, any>, context?: any) => any;
1
+ import type { ImgSource, Picture } from '../../model/Picture';
2
+ import type { Image, ImageProps } from './ImgProps';
3
+ export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps<Image>, any>, context?: any) => any;
4
+ export declare const ImgAsPicture: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps<Picture>, any>, context?: any) => any;
8
5
  export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
@@ -1,16 +1,34 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const Img = JSX(({ className = '', image: { size, ...image }, imageClassName = '' }) => {
3
+ import { Icon } from '../Icon/Icon.js';
4
+ export const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
5
+ if (!image) {
6
+ return null;
7
+ }
8
+ // backwards compatibility with existing icons in usage
9
+ const icon = typeof image === 'string' ? image : image.icon;
10
+ if (icon || icon === '') {
11
+ return icon.length ? _jsx(Icon, { className: className, name: icon, ...iconProps }) : null;
12
+ }
13
+ return (_jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
14
+ });
15
+ export const ImgAsPicture = JSX(({ className = '', image, imageClassName = '' }) => {
16
+ if (!image) {
17
+ return null;
18
+ }
19
+ return (_jsxs("picture", { className: `flex-none ${className}`, children: [image?.sources?.length
20
+ ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
21
+ : null, renderImg(image, imageClassName)] }));
22
+ });
23
+ const renderImg = (image, imageClassName = '') => {
4
24
  const style = {
5
- width: size?.width ? `${size?.width}px` : '100%',
6
- height: size?.height ? `${size?.height}px` : '100%',
25
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
26
+ height: image.size?.height ? `${image.size?.height}px` : '100%',
7
27
  };
8
28
  const title = image.title || '';
9
- const alt = image.alt || title;
10
- return (_jsxs("picture", { className: `flex-none ${className}`, children: [image.sources?.length
11
- ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
12
- : null, _jsx("img", { className: imageClassName, src: image.src, alt: alt, title: title, style: style, ...size })] }));
13
- });
29
+ const alt = image.alt || image.title;
30
+ return (_jsx("img", { src: image.src, className: imageClassName, alt: alt, title: title, style: style, ...image.size }));
31
+ };
14
32
  export function formatToMimeType(format) {
15
33
  return format ? `image/${String(format)}` : undefined;
16
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AASxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CACpB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,EAAE,EAAE,EAAE,EAAE;IACrE,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAChD,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KACpD,CAAC;IAEF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;IAChC,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,I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AAC,MAAM;QAC5D,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KAChE,CAAC;IACF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;IAChC,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC;IAErC,OAAO,CACL,cACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,cAAc,EACzB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,KACR,KAAK,CAAC,IAAI,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
@@ -1,8 +1,5 @@
1
- import type { Picture, ImgSource } from '../../model/Picture';
2
- export interface ImageProps {
3
- className?: string;
4
- imageClassName?: string;
5
- image: Picture;
6
- }
7
- export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps, any>, context?: any) => any;
1
+ import type { ImgSource, Picture } from '../../model/Picture';
2
+ import type { Image, ImageProps } from './ImgProps';
3
+ export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps<Image>, any>, context?: any) => any;
4
+ export declare const ImgAsPicture: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps<Picture>, any>, context?: any) => any;
8
5
  export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
@@ -1,10 +1,19 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const Img = JSX(({ className = '', image, imageClassName }) => {
3
+ import { Icon } from '../Icon/Icon.js';
4
+ export const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
5
+ // backwards compatibility with existing icons in usage
6
+ const icon = typeof image === 'string' ? image : image?.icon;
7
+ if (icon || icon === '') {
8
+ return _jsx(Icon, { className: className, name: icon, ...iconProps });
9
+ }
10
+ return (_jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
11
+ });
12
+ export const ImgAsPicture = JSX(({ className = '', image, imageClassName = '' }) => {
4
13
  if (!image) {
5
14
  return null;
6
15
  }
7
- return (_jsxs("picture", { className: className, children: [image.sources?.length
16
+ return (_jsxs("picture", { className: className, children: [image?.sources?.length
8
17
  ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
9
18
  : null, renderImg(image, imageClassName)] }));
10
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Img.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AASxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE;IAC/E,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5C,iBAAgC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,IAA9D,GAAG,KAAK,IAAI,GAAG,EAAE,CAAiD,CAChF,CAAC;gBACJ,CAAC,CAAC,IAAI,EACP,S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AK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAC5D,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KAChE,CAAC;IACF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;IAChC,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC;IAErC,OAAO,CACL,cACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,UAAU,cAAc,EAAE,EACrC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,KACR,KAAK,CAAC,IAAI,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- export interface ImageContent {
3
- image?: Picture;
2
+ import type { IconCompatibilityFields, IconName } from '../Icon/IconProps';
3
+ export declare type Image = Picture | IconName;
4
+ export interface ImageContent<T = Picture> {
5
+ image?: T;
4
6
  }
5
- export interface ImageProps extends ImageContent {
7
+ export interface ImageProps<T> extends ImageContent<T>, IconCompatibilityFields {
6
8
  className?: string;
9
+ imageClassName?: string;
7
10
  }
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
3
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
4
4
  const LIST_DOT_STYLE_MAP = {
5
5
  primary: 'bg-primary-main',
6
6
  secondary: 'bg-white',
7
7
  gray: 'bg-secondary-text',
8
8
  };
9
9
  export const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
10
- return (_jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && _jsx("div", { className: getListStyle(version) }), _jsx("span", { children: children })] }));
10
+ return (_jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && _jsx("div", { className: getListStyle(version) }), _jsx("span", { children: children })] }));
11
11
  });
12
12
  const getListStyle = (version) => {
13
13
  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';
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,kBAAkB,GAAG,qCAAqC,CAAC;AAEjE,MAAM,kBAAkB,GAAoC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACrE,OAAO,CACL,eAAK,SAAS,EAAE,8BAA8B,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aACvE,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,GAAI,EACtD,yBAAO,QAAQ,GAAQ,IACnB,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAwB,EAAE,EAAE;IAChD,MAAM,IAAI,GAAG,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAChG,OAAO,GAAG,kBAAkB,IAAI,kBAAkB,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;AACxE,CAAC,CAAC"}
1
+ {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,kBAAkB,GAAoC;IAC1D,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACrE,OAAO,CACL,eAAK,SAAS,EAAE,+BAA+B,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aACxE,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,GAAI,EACtD,yBAAO,QAAQ,GAAQ,IACnB,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAwB,EAAE,EAAE;IAChD,MAAM,IAAI,GAAG,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAChG,OAAO,GAAG,kBAAkB,IAAI,kBAAkB,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;AACxE,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Button } from '../Button/Button.js';
4
- import { Icon } from '../Icon/Icon.js';
4
+ import { Img } from '../Img/Img.js';
5
5
  export const SearchBar = JSX(({ className, context }) => {
6
6
  const { term, setTerm } = context.useSearch();
7
- 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-[24px] h-[24px]", children: _jsx(Icon, { name: "LoupeIcon", width: "24", height: "24" }) }), !term && (_jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-base 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 font-sans font-normal text-base text-black border border-solid rounded h-full 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" }), _jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
7
+ 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-[24px] h-[24px]", children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), !term && (_jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-base 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 font-sans font-normal text-base text-black border border-solid rounded h-full 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" }), _jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
8
8
  e.preventDefault();
9
9
  console.log('click');
10
10
  }, children: _jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAC9C,OAAO,CACL,gBAAM,SAAS,EAAE,YAAY,SAAS,IAAI,EAAE,EAAE,aAC5C,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,CAAC,IAAI,IAAI,CACR,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAC,qDAAqD,2FAGzD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EACP,oLAAoL,EAEtL,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,GACvB,EACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EA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,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { Icon } from '../Icon/Icon.js';
3
+ import { Img } from '../Img/Img.js';
4
4
  export const SearchBar = JSX(({ className, context }) => {
5
5
  const { term, setTerm } = context.useSearch();
6
- 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) => {
6
+ 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) => {
7
7
  e.preventDefault();
8
8
  setTerm('');
9
- }, children: _jsx(Icon, { name: "CloseIcon", width: "24", height: "24" }) })] }));
9
+ }, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })] }));
10
10
  });
11
11
  //# sourceMappingURL=SearchBar.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAC9C,OAAO,CACL,gBAAM,SAAS,EAAE,YAAY,SAAS,IAAI,EAAE,EAAE,aAC5C,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,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AC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,CAAC,IAAI,IAAI,CACR,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAC,mDAAmD,2FAGvD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EACP,qMAAqM,EAEvM,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAC,aAAa,GACzB,EACF,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Button } from './Button/Button.js';
4
- import { Icon } from './Icon/Icon.js';
4
+ import { Img } from './Img/Img.js';
5
5
  export const SearchBar = JSX(({ className, context }) => {
6
6
  const { term, setTerm } = context.useSearch();
7
- 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 font-sans font-normal text-base text-black border border-solid rounded h-full 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" }), _jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
7
+ 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 font-sans font-normal text-base text-black border border-solid rounded h-full 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" }), _jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
8
8
  e.preventDefault();
9
9
  console.log('click');
10
10
  }, children: _jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.mobile.js","sourceRoot":"","sources":["../../src/ui-kit/SearchBar.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM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runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { Icon } from '../../ui-kit/Icon/Icon.js';
3
+ import { Img } from '../Img/Img.js';
4
4
  const TAB_STYLE = 'px-2 h-14 pb-2 pt-3 border border-b-0 border-main-stroke';
5
5
  const ACTIVE_TAB_STYLE = 'px-2 h-16 pt-4 pb-2 text-white bg-primary-main';
6
6
  export const Tabs = JSX(({ tabs, currentTabIndex, onTabClick }) => {
@@ -10,5 +10,5 @@ const renderTab = (currentTabIndex, onTabClick) => (tab, index) => {
10
10
  const isActive = currentTabIndex === index;
11
11
  return (_jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": String(isActive), children: [tab?.icon ? renderIcon(tab, isActive) : null, _jsxs("div", { children: [tab?.title ? _jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (_jsx("span", { className: `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`, children: tab?.description })) : null] })] }, String(index)));
12
12
  };
13
- const renderIcon = (tab, isActive) => (_jsx("div", { className: "h-full mt-1", style: isActive ? { filter: 'invert(1)' } : null, children: _jsx(Icon, { className: "w-5 h-5 mr-3", name: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
13
+ const renderIcon = (tab, isActive) => (_jsx("div", { className: "h-full mt-1", style: isActive ? { filter: 'invert(1)' } : null, children: _jsx(Img, { className: "w-5 h-5 mr-3", image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
14
14
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/ui-kit/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,SAAS,G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CAAC,KAAK,CAAC,mBACjB,MAAM,CAAC,QAAQ,CAAC,aAE9B,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EAC7C,0BACG,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,2BAA2B,YAAE,GAAG,EAAE,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EAC/E,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,CAClB,eAAM,SAAS,EAAE,sBAAsB,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAC3E,GAAG,EAAE,WAAW,GACZ,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,KAhBD,MAAM,CAAC,KAAK,CAAC,CAiBd,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,GAAQ,EAAE,QAAiB,EAAE,EAAE,CAAC,CAClD,cAAK,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,YAC3E,KAAC,GAAG,IAAC,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,GAAG,EAAE,IAAI,IAAI,UAAU,EAAE,KAAK,EAAE,CAAC,QAAQ,GAAI,GAC9E,CACP,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { IconName } from '../../icons/IconName';
1
+ import type { Picture } from '../../model/Picture';
2
2
  /**
3
3
  * @title Вкладка
4
4
  */
@@ -7,7 +7,7 @@ export interface Tab {
7
7
  title?: string;
8
8
  /** @title Описание */
9
9
  description?: string;
10
- icon?: IconName;
10
+ icon?: Picture;
11
11
  }
12
12
  export declare type TabClickHandler = (value: number) => void;
13
13
  export interface TabsProps {
@@ -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
  });
@@ -594,7 +602,7 @@
594
602
 
595
603
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
596
604
  const { text, fileSize, ...linkProps } = doc;
597
- 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] }));
598
606
  });
599
607
  const formatSuffix = (ext, fileSize) => {
600
608
  const prefix = ext || fileSize ? ',' : '';
@@ -623,7 +631,7 @@
623
631
  : null }));
624
632
  });
625
633
 
626
- 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, }) => {
627
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 }))] }));
628
636
  });
629
637
 
@@ -694,14 +702,14 @@
694
702
 
695
703
  const ButtonInner = JSX((props) => {
696
704
  const { text, aboveText, appendLeft } = props;
697
- 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-m-button 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] }));
698
706
  });
699
707
  const getButtonStyle = (props) => {
700
708
  const { version, aboveText, rounded } = props;
701
709
  if (version === 'link') {
702
710
  return '';
703
711
  }
704
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
712
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
705
713
  return [
706
714
  'flex items-center justify-center',
707
715
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -737,7 +745,7 @@
737
745
  function renderButton$2({ icon, ...button }, i) {
738
746
  if (!button?.text)
739
747
  return;
740
- 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)));
741
749
  }
742
750
 
743
751
  const Description = JSX((props) => {
@@ -745,14 +753,14 @@
745
753
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
746
754
  });
747
755
 
748
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
756
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
749
757
  const LIST_DOT_STYLE_MAP = {
750
758
  primary: 'bg-primary-main',
751
759
  secondary: 'bg-white',
752
760
  gray: 'bg-secondary-text',
753
761
  };
754
762
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
755
- 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 })] }));
756
764
  });
757
765
  const getListStyle = (version) => {
758
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';
@@ -784,7 +792,7 @@
784
792
  secondary: 'text-white',
785
793
  };
786
794
  function renderBenefit(benefit, i, version) {
787
- 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)));
788
796
  }
789
797
 
790
798
  const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, label, }) => {
@@ -854,7 +862,7 @@
854
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));
855
863
  }
856
864
  function renderButton$1(button) {
857
- return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Icon, { name: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
865
+ return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
858
866
  }
859
867
  function renderDescription(card) {
860
868
  return (jsx("div", { className: `text-secondary-text mt-1 text-m-sm ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
@@ -923,7 +931,7 @@
923
931
  });
924
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
925
933
  ${bordered ? '' : 'py-[14px] px-0'}
926
- ${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(Icon, { name: labelIcon, width: "24", height: "24", asSVG: true, className: "mr-3" })) : null, 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] }));
927
935
  });
928
936
  function borderedLiClass(bordered) {
929
937
  return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
@@ -936,7 +944,7 @@
936
944
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
937
945
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
938
946
 
939
- 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 }))] })));
940
948
 
941
949
  const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => {
942
950
  const cellWrapperClasses = `box-border flex flex-col`;
@@ -1054,10 +1062,10 @@
1054
1062
  });
1055
1063
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1056
1064
  const code = exchangeCurrencyItem?.currency?.currency;
1057
- 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));
1058
1066
  };
1059
1067
 
1060
- 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] })] })));
1061
1069
 
1062
1070
  const Input = JSX(({ className = '', id, name, type = 'text', placeholder }) => {
1063
1071
  return (jsx("input", { className: className, id: id, name: name || id, type: type, placeholder: placeholder }));
@@ -1166,19 +1174,31 @@
1166
1174
  const ICONS_MAP = [
1167
1175
  {
1168
1176
  origins: ['t.me', 'telegram.org'],
1169
- icon: 'TelegramIcon',
1177
+ icon: { icon: 'TelegramIcon' },
1170
1178
  label: 'Телеграм',
1171
1179
  width: '20px',
1172
1180
  height: '16px',
1173
1181
  },
1174
- { origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
1175
- { 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
+ },
1176
1196
  ];
1177
1197
  const MediaButton = JSX(({ href }) => {
1178
1198
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1179
1199
  if (!icon)
1180
1200
  return null;
1181
- 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(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 }));
1182
1202
  });
1183
1203
 
1184
1204
  const SocialMedia = JSX(({ className, media, context }) => {
@@ -1208,10 +1228,10 @@
1208
1228
 
1209
1229
  const SearchBar = JSX(({ className, context }) => {
1210
1230
  const { term, setTerm } = context.useSearch();
1211
- 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) => {
1212
1232
  e.preventDefault();
1213
1233
  setTerm('');
1214
- }, children: jsx(Icon, { name: "CloseIcon", width: "24", height: "24" }) })] }));
1234
+ }, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })] }));
1215
1235
  });
1216
1236
 
1217
1237
  const getAccordionItems = (items) => items?.map((item) => ({
@@ -1231,7 +1251,7 @@
1231
1251
  });
1232
1252
  const renderSubMenuItem = (menu, i) => {
1233
1253
  const { icon, href, text } = menu;
1234
- 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}`));
1235
1255
  };
1236
1256
 
1237
1257
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -1282,14 +1302,14 @@
1282
1302
 
1283
1303
  const HeaderBurger = JSX(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
1284
1304
  const [city, getCity] = context.useGeolocation(defaultLocation);
1285
- 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" })] }));
1286
1306
  });
1287
1307
  const renderBurgerSubMenuItem = (menu, i) => {
1288
1308
  const { icon, href, text } = menu;
1289
- 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}`));
1290
1310
  };
1291
1311
 
1292
- 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" })] })));
1293
1313
 
1294
1314
  const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
1295
1315
  const router = context.useRouter();
@@ -1346,8 +1366,13 @@
1346
1366
  const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1347
1367
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1348
1368
 
1349
- const ProductGalleryBlock = JSX(({ block, headingType, context }) => {
1350
- 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 }) }) }));
1351
1376
  });
1352
1377
 
1353
1378
  const ProductGallery = JSX(({ className, context, slides = [] }) => {
@@ -1398,11 +1423,12 @@
1398
1423
  const iconAreaSize = STEPS_SIZE_MAP[size];
1399
1424
  const iconSize = size === 'normal' ? '38' : '27';
1400
1425
  const iconTextSize = size === 'normal' ? 'text-m-title' : 'text-m-title-xs';
1401
- 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 }) }));
1402
1428
  };
1403
1429
 
1404
1430
  const TableTileHeader = JSX(({ title, icon }) => {
1405
- 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] }));
1406
1432
  });
1407
1433
 
1408
1434
  const TariffsTableTileCell = JSX(({ header, data }) => {
@@ -1410,7 +1436,7 @@
1410
1436
  });
1411
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)));
1412
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 }));
1413
- 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)))) }));
1414
1440
 
1415
1441
  const TariffsTableVertical = JSX(({ tiles }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1416
1442