@redneckz/wildless-cms-uni-blocks 0.3.22 → 0.3.25

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 (423) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +62 -70
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +6 -2
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/AccordionContent.d.ts +7 -0
  7. package/dist/components/Accordion/AccordionItem.js +14 -5
  8. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  9. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  11. package/dist/components/Accordion/AccordionItemInner.js +2 -2
  12. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  13. package/dist/components/Accordion/AccordionItemInner.mobile.js +2 -2
  14. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  15. package/dist/components/Accordion/useActiveHandler.d.ts +7 -0
  16. package/dist/components/Accordion/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  17. package/dist/components/Accordion/useActiveHandler.js.map +1 -0
  18. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +17 -5
  19. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  20. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  21. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  22. package/dist/components/Gallery/Gallery.mobile.js +4 -4
  23. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  24. package/dist/components/Gallery/GalleryCardInner.js +4 -9
  25. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  26. package/dist/components/Gallery/GalleryContent.d.ts +3 -2
  27. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  28. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  29. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  30. package/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  31. package/dist/components/OtherProducts/OtherProductsItem.js +4 -4
  32. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  33. package/dist/components/OtherProducts/useActiveHandler.d.ts +7 -0
  34. package/dist/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  35. package/dist/components/OtherProducts/useActiveHandler.js.map +1 -0
  36. package/dist/components/ProductBlock/ProductBlock.mobile.js +7 -5
  37. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  38. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  39. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  40. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  41. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +8 -3
  42. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  43. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  44. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  45. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  46. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  47. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  48. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  49. package/dist/components/TariffsTable/TariffsTableCell.js +4 -4
  50. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  51. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  52. package/dist/components/TariffsTable/TariffsTableTileCell.js +4 -2
  53. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  54. package/dist/components/TextBlock/TextBlock.mobile.js +1 -1
  55. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  56. package/dist/components/Tile/Tile.js +1 -1
  57. package/dist/components/Tile/Tile.js.map +1 -1
  58. package/dist/content-page-repository/transformPicture.js +2 -1
  59. package/dist/content-page-repository/transformPicture.js.map +1 -1
  60. package/dist/model/Picture.d.ts +2 -2
  61. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  62. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  63. package/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  64. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  65. package/dist/ui-kit/Icon/Icon.js +2 -1
  66. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  67. package/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  68. package/dist/ui-kit/Img/Img.js +3 -1
  69. package/dist/ui-kit/Img/Img.js.map +1 -1
  70. package/dist/ui-kit/List/List.d.ts +1 -1
  71. package/dist/ui-kit/List/List.js +7 -2
  72. package/dist/ui-kit/List/List.js.map +1 -1
  73. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  74. package/dist/ui-kit/List/ListItem.js +4 -9
  75. package/dist/ui-kit/List/ListItem.js.map +1 -1
  76. package/dist/ui-kit/List/ListProps.d.ts +2 -0
  77. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +1 -1
  78. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  79. package/lib/common.css +1 -1
  80. package/lib/components/Accordion/Accordion.js +6 -2
  81. package/lib/components/Accordion/Accordion.js.map +1 -1
  82. package/lib/components/Accordion/AccordionContent.d.ts +7 -0
  83. package/lib/components/Accordion/AccordionItem.js +14 -5
  84. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  85. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  86. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  87. package/lib/components/Accordion/AccordionItemInner.js +2 -2
  88. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  89. package/lib/components/Accordion/AccordionItemInner.mobile.js +2 -2
  90. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  91. package/lib/components/Accordion/useActiveHandler.d.ts +7 -0
  92. package/{mobile/lib/components/Accordion/utils → lib/components/Accordion}/useActiveHandler.js +2 -2
  93. package/lib/components/Accordion/useActiveHandler.js.map +1 -0
  94. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +17 -5
  95. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  96. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  97. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  98. package/lib/components/Gallery/Gallery.mobile.js +4 -4
  99. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  100. package/lib/components/Gallery/GalleryCardInner.js +4 -9
  101. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  102. package/lib/components/Gallery/GalleryContent.d.ts +3 -2
  103. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  104. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  105. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  106. package/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  107. package/lib/components/OtherProducts/OtherProductsItem.js +4 -4
  108. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  109. package/lib/components/OtherProducts/useActiveHandler.d.ts +7 -0
  110. package/lib/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  111. package/lib/components/OtherProducts/useActiveHandler.js.map +1 -0
  112. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +4 -0
  113. package/lib/components/ProductBlock/ProductBlock.mobile.js +7 -5
  114. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  115. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  116. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  117. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  118. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +8 -3
  119. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  120. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  121. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  122. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  123. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  124. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  125. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  126. package/lib/components/TariffsTable/TariffsTableCell.js +4 -4
  127. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  128. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  129. package/lib/components/TariffsTable/TariffsTableTileCell.js +4 -2
  130. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  131. package/lib/components/TextBlock/TextBlock.mobile.js +1 -1
  132. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  133. package/lib/components/Tile/Tile.js +1 -1
  134. package/lib/components/Tile/Tile.js.map +1 -1
  135. package/lib/content-page-repository/transformPicture.js +2 -1
  136. package/lib/content-page-repository/transformPicture.js.map +1 -1
  137. package/lib/model/Picture.d.ts +2 -2
  138. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  139. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  140. package/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  141. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  142. package/lib/ui-kit/Icon/Icon.js +2 -1
  143. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  144. package/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  145. package/lib/ui-kit/Img/Img.js +3 -1
  146. package/lib/ui-kit/Img/Img.js.map +1 -1
  147. package/lib/ui-kit/List/List.d.ts +1 -1
  148. package/lib/ui-kit/List/List.fixture.d.ts +10 -0
  149. package/lib/ui-kit/List/List.js +7 -2
  150. package/lib/ui-kit/List/List.js.map +1 -1
  151. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  152. package/lib/ui-kit/List/ListItem.js +4 -9
  153. package/lib/ui-kit/List/ListItem.js.map +1 -1
  154. package/lib/ui-kit/List/ListProps.d.ts +2 -0
  155. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +1 -1
  156. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  157. package/mobile/bundle/bundle.umd.js +72 -74
  158. package/mobile/bundle/bundle.umd.min.js +1 -1
  159. package/mobile/dist/components/Accordion/AccordionContent.d.ts +7 -0
  160. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  161. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  162. package/mobile/dist/components/Accordion/AccordionItemInner.js +2 -2
  163. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  164. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +7 -0
  165. package/mobile/dist/components/Accordion/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  166. package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -0
  167. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +17 -5
  168. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  169. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  170. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  171. package/mobile/dist/components/Gallery/Gallery.js +4 -4
  172. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  173. package/mobile/dist/components/Gallery/GalleryCardInner.js +4 -9
  174. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  175. package/mobile/dist/components/Gallery/GalleryContent.d.ts +3 -2
  176. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  177. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  178. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  179. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  180. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -4
  181. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  182. package/mobile/dist/components/OtherProducts/useActiveHandler.d.ts +7 -0
  183. package/mobile/dist/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  184. package/mobile/dist/components/OtherProducts/useActiveHandler.js.map +1 -0
  185. package/mobile/dist/components/ProductBlock/ProductBlock.js +7 -5
  186. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  187. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  188. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +8 -3
  189. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  190. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  191. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  192. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  193. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  194. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  195. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  196. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +4 -4
  197. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  198. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  199. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +4 -2
  200. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  201. package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
  202. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  203. package/mobile/dist/components/Tile/Tile.js +1 -1
  204. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  205. package/mobile/dist/content-page-repository/transformPicture.js +2 -1
  206. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  207. package/mobile/dist/model/Picture.d.ts +2 -2
  208. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  209. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  210. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  211. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  212. package/mobile/dist/ui-kit/Icon/Icon.js +2 -1
  213. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  214. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -2
  215. package/mobile/dist/ui-kit/List/List.d.ts +1 -1
  216. package/mobile/dist/ui-kit/List/List.js +7 -2
  217. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  218. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  219. package/mobile/dist/ui-kit/List/ListItem.js +4 -9
  220. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  221. package/mobile/dist/ui-kit/List/ListProps.d.ts +2 -0
  222. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -1
  223. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  224. package/mobile/lib/components/Accordion/AccordionContent.d.ts +7 -0
  225. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  226. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  227. package/mobile/lib/components/Accordion/AccordionItemInner.js +2 -2
  228. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  229. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +7 -0
  230. package/{lib/components/Accordion/utils → mobile/lib/components/Accordion}/useActiveHandler.js +2 -2
  231. package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -0
  232. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +17 -5
  233. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  234. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -2
  235. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  236. package/mobile/lib/components/Gallery/Gallery.js +4 -4
  237. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  238. package/mobile/lib/components/Gallery/GalleryCardInner.js +4 -9
  239. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  240. package/mobile/lib/components/Gallery/GalleryContent.d.ts +3 -2
  241. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  242. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  243. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -9
  244. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  245. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -4
  246. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  247. package/mobile/lib/components/OtherProducts/useActiveHandler.d.ts +7 -0
  248. package/mobile/lib/components/OtherProducts/{utils/useActiveHandler.js → useActiveHandler.js} +2 -2
  249. package/mobile/lib/components/OtherProducts/useActiveHandler.js.map +1 -0
  250. package/mobile/lib/components/ProductBlock/ProductBlock.js +7 -5
  251. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  252. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -0
  253. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +8 -3
  254. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  255. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  256. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  257. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  258. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +4 -1
  259. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  260. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  261. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +4 -4
  262. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  263. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  264. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +4 -2
  265. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  266. package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
  267. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  268. package/mobile/lib/components/Tile/Tile.js +1 -1
  269. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  270. package/mobile/lib/content-page-repository/transformPicture.js +2 -1
  271. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  272. package/mobile/lib/model/Picture.d.ts +2 -2
  273. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +46 -18
  274. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +4 -2
  275. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  276. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  277. package/mobile/lib/ui-kit/Icon/Icon.js +2 -1
  278. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  279. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -2
  280. package/mobile/lib/ui-kit/List/List.d.ts +1 -1
  281. package/mobile/lib/ui-kit/List/List.js +7 -2
  282. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  283. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  284. package/mobile/lib/ui-kit/List/ListItem.js +4 -9
  285. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  286. package/mobile/lib/ui-kit/List/ListProps.d.ts +2 -0
  287. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -1
  288. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  289. package/mobile/src/components/Accordion/AccordionContent.ts +8 -1
  290. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  291. package/mobile/src/components/Accordion/AccordionItemInner.tsx +11 -9
  292. package/mobile/src/components/Accordion/{utils/useActiveHandler.ts → useActiveHandler.ts} +4 -3
  293. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +51 -30
  294. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +3 -2
  295. package/mobile/src/components/ContentPage/ContentPage.tsx +0 -1
  296. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
  297. package/mobile/src/components/Gallery/Gallery.tsx +5 -4
  298. package/mobile/src/components/Gallery/GalleryCardInner.tsx +13 -18
  299. package/mobile/src/components/Gallery/GalleryContent.ts +3 -2
  300. package/mobile/src/components/LinkDocs/LinkDocs.tsx +3 -1
  301. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -10
  302. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  303. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +29 -27
  304. package/{src/components/OtherProducts/utils → mobile/src/components/OtherProducts}/useActiveHandler.ts +4 -3
  305. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -0
  306. package/mobile/src/components/ProductBlock/ProductBlock.tsx +17 -12
  307. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -0
  308. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +25 -5
  309. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -1
  310. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +4 -1
  311. package/mobile/src/components/TariffsTable/TariffsTable.tsx +3 -1
  312. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +28 -27
  313. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  314. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +33 -31
  315. package/mobile/src/components/TextBlock/TextBlock.example.json +2 -1
  316. package/mobile/src/components/TextBlock/TextBlock.tsx +2 -2
  317. package/mobile/src/components/Tile/Tile.tsx +3 -1
  318. package/mobile/src/content-page-repository/transformPicture.ts +2 -1
  319. package/mobile/src/model/Picture.ts +2 -2
  320. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +27 -29
  321. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +12 -4
  322. package/mobile/src/ui-kit/Icon/Icon.tsx +7 -1
  323. package/mobile/src/ui-kit/Icon/IconProps.ts +2 -2
  324. package/mobile/src/ui-kit/List/List.tsx +9 -3
  325. package/mobile/src/ui-kit/List/ListItem.tsx +5 -12
  326. package/mobile/src/ui-kit/List/ListProps.ts +2 -0
  327. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  328. package/package.json +1 -1
  329. package/src/components/Accordion/Accordion.tsx +27 -14
  330. package/src/components/Accordion/AccordionContent.ts +8 -1
  331. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  332. package/src/components/Accordion/AccordionItem.tsx +48 -26
  333. package/src/components/Accordion/AccordionItemInner.mobile.tsx +11 -9
  334. package/src/components/Accordion/AccordionItemInner.tsx +10 -8
  335. package/src/components/Accordion/{utils/useActiveHandler.ts → useActiveHandler.ts} +4 -3
  336. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
  337. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +51 -30
  338. package/src/components/ComparisonTable/ComparisonTableContent.ts +3 -2
  339. package/src/components/ContentPage/ContentPage.tsx +0 -1
  340. package/src/components/CreditCalculator/CreditCalculator.example.json +19 -0
  341. package/src/components/Gallery/Gallery.fixture.mobile.tsx +3 -2
  342. package/src/components/Gallery/Gallery.mobile.tsx +5 -4
  343. package/src/components/Gallery/GalleryCardInner.tsx +13 -18
  344. package/src/components/Gallery/GalleryContent.ts +3 -2
  345. package/src/components/LinkDocs/LinkDocs.mobile.tsx +3 -1
  346. package/src/components/LinkDocs/LinkDocsContent.ts +3 -10
  347. package/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  348. package/src/components/OtherProducts/OtherProductsItem.tsx +29 -27
  349. package/{mobile/src/components/OtherProducts/utils → src/components/OtherProducts}/useActiveHandler.ts +4 -3
  350. package/src/components/ProductBlock/ProductBlock.example.json +1 -0
  351. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +49 -13
  352. package/src/components/ProductBlock/ProductBlock.mobile.tsx +17 -12
  353. package/src/components/ProductBlock/ProductBlockContent.ts +4 -0
  354. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +25 -5
  355. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -1
  356. package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -1
  357. package/src/components/ProductGallery/ProductGalleryContent.ts +4 -1
  358. package/src/components/TariffsTable/TariffsTable.mobile.tsx +3 -1
  359. package/src/components/TariffsTable/TariffsTableCell.tsx +28 -27
  360. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  361. package/src/components/TariffsTable/TariffsTableTileCell.tsx +33 -31
  362. package/src/components/TextBlock/TextBlock.example.json +2 -1
  363. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +8 -0
  364. package/src/components/TextBlock/TextBlock.mobile.tsx +2 -2
  365. package/src/components/Tile/Tile.tsx +3 -1
  366. package/src/content-page-repository/transformPicture.ts +2 -1
  367. package/src/model/Picture.ts +2 -2
  368. package/src/ui-kit/BlocksList/BlocksListProps.ts +27 -29
  369. package/src/ui-kit/BlocksList/renderBlocksList.tsx +12 -4
  370. package/src/ui-kit/Icon/Icon.tsx +7 -1
  371. package/src/ui-kit/Icon/IconProps.ts +2 -2
  372. package/src/ui-kit/Img/Img.tsx +5 -2
  373. package/src/ui-kit/List/List.fixture.tsx +37 -0
  374. package/src/ui-kit/List/List.tsx +9 -3
  375. package/src/ui-kit/List/ListItem.tsx +5 -12
  376. package/src/ui-kit/List/ListProps.ts +2 -0
  377. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  378. package/dist/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  379. package/dist/components/Accordion/utils/useActiveHandler.js.map +0 -1
  380. package/dist/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  381. package/dist/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  382. package/dist/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  383. package/dist/ui-kit/BlockItem/BlockItem.js +0 -23
  384. package/dist/ui-kit/BlockItem/BlockItem.js.map +0 -1
  385. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  386. package/dist/ui-kit/BlockItem/BlockItemProps.js +0 -2
  387. package/dist/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  388. package/lib/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  389. package/lib/components/Accordion/utils/useActiveHandler.js.map +0 -1
  390. package/lib/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  391. package/lib/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  392. package/lib/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  393. package/lib/ui-kit/BlockItem/BlockItem.fixture.d.ts +0 -8
  394. package/lib/ui-kit/BlockItem/BlockItem.js +0 -21
  395. package/lib/ui-kit/BlockItem/BlockItem.js.map +0 -1
  396. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  397. package/lib/ui-kit/BlockItem/BlockItemProps.js +0 -2
  398. package/lib/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  399. package/mobile/dist/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  400. package/mobile/dist/components/Accordion/utils/useActiveHandler.js.map +0 -1
  401. package/mobile/dist/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  402. package/mobile/dist/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  403. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  404. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +0 -23
  405. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +0 -1
  406. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  407. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js +0 -2
  408. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  409. package/mobile/lib/components/Accordion/utils/useActiveHandler.d.ts +0 -9
  410. package/mobile/lib/components/Accordion/utils/useActiveHandler.js.map +0 -1
  411. package/mobile/lib/components/OtherProducts/utils/useActiveHandler.d.ts +0 -9
  412. package/mobile/lib/components/OtherProducts/utils/useActiveHandler.js.map +0 -1
  413. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +0 -2
  414. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +0 -21
  415. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +0 -1
  416. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +0 -21
  417. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js +0 -2
  418. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js.map +0 -1
  419. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +0 -33
  420. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +0 -23
  421. package/src/ui-kit/BlockItem/BlockItem.fixture.tsx +0 -12
  422. package/src/ui-kit/BlockItem/BlockItem.tsx +0 -33
  423. package/src/ui-kit/BlockItem/BlockItemProps.ts +0 -23
@@ -1,6 +1,7 @@
1
1
  import type { ListContent } from './ListContent';
2
2
  /**
3
3
  * @title Версия списка
4
+ * @enumNames ["Основной", "Второстепенный", "Серый"]
4
5
  */
5
6
  export declare type ListItemVersion = 'primary' | 'secondary' | 'gray';
6
7
  /**
@@ -8,6 +9,7 @@ export declare type ListItemVersion = 'primary' | 'secondary' | 'gray';
8
9
  */
9
10
  export interface ListProps extends ListContent {
10
11
  className?: string;
12
+ /** @title Буллиты */
11
13
  isDotted?: boolean;
12
14
  version?: ListItemVersion;
13
15
  itemClassName?: string;
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Icon } from '../Icon/Icon.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", 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(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) => {
7
7
  e.preventDefault();
8
8
  setTerm('');
9
9
  }, children: _jsx(Icon, { name: "CloseIcon", width: "24", height: "24" }) })] }));
@@ -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,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,2GAA2G,EACrH,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
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,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,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,IACJ,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -396,11 +396,12 @@
396
396
  const svgColorsMap = {
397
397
  none: '',
398
398
  primary: 'text-primary-main',
399
+ secondary: 'text-primary-text',
399
400
  };
400
401
  const Icon = JSX(({ className = '', name, alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
401
402
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
402
403
  if (asSVG) {
403
- return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
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` })] }));
404
405
  }
405
406
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
406
407
  });
@@ -617,7 +618,7 @@
617
618
  });
618
619
 
619
620
  const LinkDocs = JSX(({ className = '', context, title, subtitle, icon = 'DocIconMonoColor', documents, listMode = 'vertical', hasBorder = true, }) => {
620
- return (jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white ${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, listMode === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
621
+ 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, listMode === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
621
622
  });
622
623
 
623
624
  const PictureText = JSX(({ className = '', title, image, benefits }) => {
@@ -737,28 +738,28 @@
737
738
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
738
739
  });
739
740
 
740
- const LIST_STYLE_CLASSES$1 = 'rounded-full inline-block mr-3 mt-2';
741
- const TEXT_STYLE_MAP$1 = {
742
- primary: 'text-primary-text',
743
- secondary: 'text-white',
744
- gray: 'text-secondary-text',
745
- };
746
- const LIST_STYLE_MAP$1 = {
741
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
742
+ const LIST_DOT_STYLE_MAP = {
747
743
  primary: 'bg-primary-main',
748
744
  secondary: 'bg-white',
749
745
  gray: 'bg-secondary-text',
750
746
  };
751
747
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
752
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle$1(version) }), jsx("span", { className: `text-m-md ${TEXT_STYLE_MAP$1[version]}`, children: children })] }));
748
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
753
749
  });
754
- const getListStyle$1 = (version) => {
755
- const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
756
- return `${LIST_STYLE_CLASSES$1} ${LIST_STYLE_MAP$1[version]} ${size}`;
750
+ const getListStyle = (version) => {
751
+ 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';
752
+ return `${LIST_STYLE_CLASSES} ${LIST_DOT_STYLE_MAP[version]} ${size}`;
757
753
  };
758
754
 
755
+ const TEXT_STYLE_MAP = {
756
+ primary: 'text-primary-text',
757
+ secondary: 'text-white',
758
+ gray: 'text-secondary-text',
759
+ };
759
760
  const List = JSX((props) => {
760
- const { className = '', itemClassName, isDotted, items, version } = props;
761
- return (jsx("section", { className: `${className}`, role: "list", children: items?.length
761
+ const { className = '', itemClassName, isDotted, items, version = 'primary' } = props;
762
+ return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${className}`, role: "list", children: items?.length
762
763
  ? items.map((_, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, version: version, children: _ }, String(i))))
763
764
  : null }));
764
765
  });
@@ -776,21 +777,28 @@
776
777
  secondary: 'text-white',
777
778
  };
778
779
  function renderBenefit(benefit, i, version) {
779
- 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 })), 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)));
780
+ 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)));
780
781
  }
781
782
 
782
- const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', }) => {
783
- return (jsxs("div", { className: `w-full text-primary-text ${className}`, children: [jsx("div", { children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, title: title, className: "whitespace-pre-wrap max-w-[600px]" })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [description ? (jsx(Description, { className: "mt-3 text-m-md", description: description })) : null, benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? jsx(List, { className: "mt-3", items: items }) : null] }) }), renderImage$1(image)] }));
783
+ const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, label, }) => {
784
+ return (jsxs("div", { className: `w-full ${className}`, children: [jsxs("div", { children: [label ? renderLabel(label, version) : null, jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, title: title, className: "whitespace-pre-wrap max-w-[600px]" })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [description ? (jsx(Description, { className: "mt-3 text-m-md", description: description })) : null, benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-3 text-m-md", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage$1(image)] }));
784
785
  });
785
786
  function renderImage$1(image) {
786
- return image?.src ? (jsx("div", { className: "mt-5", children: jsx(Img, { image: { className: 'block', ...image } }) })) : null;
787
+ return image?.src ? (jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
787
788
  }
789
+ const labelStyleMap = {
790
+ primary: 'text-primary-main border-secondary-hover',
791
+ secondary: 'text-white/80',
792
+ };
793
+ const renderLabel = (label, version) => (jsx("div", { className: `m-xs px-2.5 py-1.5 mb-5 rounded-md border-2 w-fit ${labelStyleMap[version]}`, children: label }));
788
794
 
789
- const ProductBlock = JSX(
790
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
791
- (props /* Get rid of image and benefits */) => {
792
- const { className } = props;
793
- return (jsx("section", { className: `font-sans bg-white px-4 py-6 ${className || ''}`, children: jsx(ProductBlockInner, { ...props }) }));
795
+ const productBlockStyleMap = {
796
+ primary: 'bg-white text-primary-text',
797
+ secondary: 'bg-primary-main text-white',
798
+ };
799
+ const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
800
+ const { className = '', version = 'primary' } = props;
801
+ return (jsx("section", { className: `font-sans bg-white px-4 py-6 ${productBlockStyleMap[version]} ${className}`, children: jsx(ProductBlockInner, { ...props }) }));
794
802
  });
795
803
 
796
804
  const textBlockStyleMaps = {
@@ -815,7 +823,7 @@
815
823
  };
816
824
  const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items, isDotted = true, }) => {
817
825
  const textBlockStyleMap = textBlockStyleMaps[blockVersion];
818
- return (jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (jsx(List, { className: "mt-1", items: items, isDotted: isDotted, version: blockVersion.indexOf('secondary') !== -1 ? 'secondary' : 'gray' })) : null] })] }));
826
+ return (jsxs("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? (jsx(List, { className: "mt-1 text-m-md", items: items, isDotted: isDotted, version: blockVersion === 'secondary' ? 'secondary' : 'gray' })) : null] })] }));
819
827
  });
820
828
  function renderIcon(className) {
821
829
  return (jsx("div", { className: "mb-3", children: jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
@@ -876,10 +884,10 @@
876
884
  const Tile = JSX((props) => {
877
885
  const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, } = props;
878
886
  return (jsx("section", { className: `overflow-hidden font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
879
- ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList(items, version)] }) }));
887
+ ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList$1(items, version)] }) }));
880
888
  });
881
- function renderList(items, version) {
882
- return items?.length ? jsx(List, { items: items, version: version }) : null;
889
+ function renderList$1(items, version) {
890
+ return items?.length ? (jsx(List, { items: items, itemClassName: "mt-2.5 first:mt-0", version: version })) : null;
883
891
  }
884
892
 
885
893
  const productTileStyleMap = {
@@ -904,11 +912,11 @@
904
912
  primary: 'bg-white',
905
913
  secondary: 'bg-primary-main text-white',
906
914
  };
907
- const Gallery = JSX(({ context, title, description, cards = [], className, isScroll = true }) => {
908
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? (jsx("div", { className: "font-normal text-m-md max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(isScroll, cards, context)] }));
915
+ const Gallery = JSX(({ context, title, description, cards = [], className, useSwiper = 'horizontal' }) => {
916
+ return (jsxs("section", { className: `relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${className}`, children: [jsxs("div", { className: "flex flex-col items-center mb-5", children: [title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? (jsx("div", { className: "font-normal text-m-md max-w-[600px] text-center mb-5", children: description })) : null] }), renderCardsLayout(useSwiper, cards, context)] }));
909
917
  });
910
- function renderCardsLayout(isScroll, cards, context) {
911
- return isScroll ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard$1) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard$1) }));
918
+ function renderCardsLayout(useSwiper, cards, context) {
919
+ return useSwiper === 'horizontal' ? (jsx(SwipeListControl, { context: context, children: cards?.map(renderCard$1) })) : (jsx("div", { className: "grid gap-[14px]", children: cards?.map(renderCard$1) }));
912
920
  }
913
921
  function renderCard$1(card, key) {
914
922
  return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
@@ -961,28 +969,9 @@
961
969
  mini: 276,
962
970
  };
963
971
 
964
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
965
- const TEXT_STYLE_MAP = {
966
- primary: 'text-secondary-text',
967
- secondary: 'text-white',
968
- gray: 'text-secondary-text',
969
- };
970
- const LIST_STYLE_MAP = {
971
- primary: 'bg-primary-main',
972
- secondary: 'bg-white',
973
- gray: 'bg-secondary-text',
974
- };
975
- const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary' }) => {
976
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { className: TEXT_STYLE_MAP[version], children: text || children })] }));
977
- });
978
- const getListStyle = (version) => {
979
- const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
980
- return `${LIST_STYLE_CLASSES} ${LIST_STYLE_MAP[version]} ${size}`;
981
- };
982
-
983
972
  const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
984
973
  const titleStyleClasses = getTitleStyle(version, description, items);
985
- return (jsxs("div", { children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
974
+ return (jsxs("div", { className: "h-full flex flex-col justify-between", children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
986
975
  });
987
976
  function renderButton$1(button) {
988
977
  return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Icon, { name: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
@@ -990,13 +979,8 @@
990
979
  function renderCardTitle(title, className) {
991
980
  return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
992
981
  }
993
- function renderItems(items, version) {
994
- return (jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
995
- .filter((item) => item?.text)
996
- .map((item, i) => renderItem(item.text, i, version)) }));
997
- }
998
- function renderItem(item, i, version) {
999
- return (jsx(BlockItem, { version: version ?? 'primary', children: jsx("span", { className: "text-sm", children: item }) }, String(i)));
982
+ function renderItems(items, version = 'primary') {
983
+ return (jsx(List, { className: `max-w-[308px] mt-2 text-sm ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), version: version }));
1000
984
  }
1001
985
  function getTitleStyle(version, description, items) {
1002
986
  return `font-medium text-xl m-0
@@ -1049,25 +1033,25 @@
1049
1033
  LinkList,
1050
1034
  };
1051
1035
 
1052
- const renderBlocksList = ({ blocks, context, className, columns }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns })) : null;
1053
- const renderBlock$1 = ({ context, columns, className }) => (block, i) => {
1036
+ const renderBlocksList = ({ blocks, context, className, columns, version, }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns, version })) : null;
1037
+ const renderBlock$1 = ({ context, columns, className, version }) => (block, i) => {
1054
1038
  const type = block?.blockListType;
1055
1039
  if (!type || !(type in EmbeddableBlocks)) {
1056
1040
  return null;
1057
1041
  }
1058
1042
  const columnsCountClass = columns === 2 ? 'w-1/2' : '';
1059
1043
  const EmbeddedBlock = EmbeddableBlocks[type];
1060
- return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
1044
+ return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, blockVersion: version, className: "!p-0" }) }, `block_${i}`));
1061
1045
  };
1062
1046
 
1063
- const AccordionItemInner = JSX(({ blocks, context }) => {
1047
+ const AccordionItemInner = JSX(({ blocks, context, version = 'primary' }) => {
1064
1048
  const className = 'mb-5 last:mb-0 first:mt-2';
1065
1049
  const columns = 1;
1066
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, className, columns, blocks }) }));
1050
+ return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList({ context, className, columns, blocks, version }) }));
1067
1051
  });
1068
1052
 
1069
- const useActiveHandler = ({ context, blocks }) => {
1070
- const [isActive, setIsActive] = context.useState(false);
1053
+ const useActiveHandler = ({ context, blocks, initialState = false }) => {
1054
+ const [isActive, setIsActive] = context.useState(initialState);
1071
1055
  const hasContent = blocks?.length;
1072
1056
  const icon = isActive ? 'MinusIcon' : 'PlusIcon';
1073
1057
  const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
@@ -1121,7 +1105,7 @@
1121
1105
  const renderButton = ({ header, buttonVersion }) => (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "font-medium text-m-sm mt-4 py-[11px]", children: header.link.text }));
1122
1106
  const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `font-medium text-m-sm cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
1123
1107
 
1124
- const ComparisonTable = JSX(({ className, context, title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, useSwiper = false, }) => {
1108
+ const ComparisonTable = JSX(({ className, context, title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, useSwiper = 'horizontal', }) => {
1125
1109
  const tableData = columns?.map(({ data, header }) => ({
1126
1110
  header,
1127
1111
  column: data?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title })),
@@ -1142,19 +1126,31 @@
1142
1126
  setColumnsViewState,
1143
1127
  })] }));
1144
1128
  });
1145
- const renderColumns = ({ context, tableData, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn, useSwiper, setColumnsViewState, }) => (jsx("div", { role: "table", children: tableData?.length ? (useSwiper ? (jsx(SwipeListControl, { context: context, onSlideChange: onSlideChange(columnsViewState, setColumnsViewState), children: tableData.map(renderColumn({
1129
+ const renderColumns = ({ context, tableData, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn, useSwiper = 'horizontal', setColumnsViewState, }) => (jsx("div", { role: "table", children: tableData?.length
1130
+ ? renderInnerTable({
1131
+ useSwiper,
1146
1132
  context,
1133
+ columnsViewState,
1134
+ setColumnsViewState,
1135
+ tableData,
1147
1136
  visibleRowLength,
1148
1137
  isColoredFirstColumn,
1149
- columnsViewState,
1150
1138
  handleToggleColumn,
1151
- })) })) : (tableData.map(renderColumn({
1139
+ })
1140
+ : null }));
1141
+ const renderInnerTable = ({ useSwiper, context, columnsViewState, setColumnsViewState, tableData, visibleRowLength, isColoredFirstColumn, handleToggleColumn, }) => useSwiper === 'horizontal' ? (tableData.map(renderColumn({
1142
+ context,
1143
+ visibleRowLength,
1144
+ isColoredFirstColumn,
1145
+ columnsViewState,
1146
+ handleToggleColumn,
1147
+ }))) : (jsx(SwipeListControl, { context: context, onSlideChange: onSlideChange(columnsViewState, setColumnsViewState), children: tableData.map(renderColumn({
1152
1148
  context,
1153
1149
  visibleRowLength,
1154
1150
  isColoredFirstColumn,
1155
1151
  columnsViewState,
1156
1152
  handleToggleColumn,
1157
- })))) : null }));
1153
+ })) }));
1158
1154
  const renderColumn = ({ context, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn }) => (columnData, i) => (jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[i], header: columnData.header, columnData: columnData.column, isFillGradient: i === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(i) }, String(i)));
1159
1155
  const onSlideChange = (columnsViewState, setColumnsViewState) => () => {
1160
1156
  setColumnsViewState(new Array(columnsViewState.length).fill(false));
@@ -1338,7 +1334,7 @@
1338
1334
 
1339
1335
  const SearchBar = JSX(({ className, context }) => {
1340
1336
  const { term, setTerm } = context.useSearch();
1341
- 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", onClick: (e) => {
1337
+ 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) => {
1342
1338
  e.preventDefault();
1343
1339
  setTerm('');
1344
1340
  }, children: jsx(Icon, { name: "CloseIcon", width: "24", height: "24" }) })] }));
@@ -1496,7 +1492,9 @@
1496
1492
  const TariffsTableTileCell = JSX(({ header, data }) => {
1497
1493
  return (jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [jsx(TableTileHeader, { ...header }), data?.length ? data.map(renderCellInner) : null] }));
1498
1494
  });
1499
- 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 ? (jsx("div", { className: "flex flex-col justify-between items-start", children: jsx("div", { role: "list", children: list.items.map((text, idx) => (jsx(BlockItem, { className: "text-m-sm", text: text, version: "gray", isDotted: list.isDotted ?? true }, String(idx)))) }) })) : null, image && jsx(Img, { image: { ...image, className: 'm-0' } }), buttons?.length ? (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)))) })) : null] }, String(i)));
1495
+ 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)));
1496
+ 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 }));
1497
+ 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)))) }));
1500
1498
 
1501
1499
  const TariffsTableVertical = JSX(({ tiles }) => (jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (jsx(TariffsTableTileCell, { ...tile }, String(i)))) })));
1502
1500
 
@@ -1505,7 +1503,7 @@
1505
1503
  const TariffsTable = JSX(({ className, context, title, description, columns, rowHeaders, orientation = 'vertical' }) => {
1506
1504
  const colData = getColData(columns);
1507
1505
  const tiles = getTiles(rowHeaders, colData);
1508
- return (jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? jsx("div", { className: "mb-5 text-center text-m-md", children: description }) : null, tiles?.length ? renderOrientationTable(orientation, tiles, context) : null] }));
1506
+ return (jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2' : 'mb-5'}`, title: title })) : null, description ? jsx("div", { className: "mb-5 text-center text-m-md", children: description }) : null, tiles?.length ? renderOrientationTable(orientation, tiles, context) : null] }));
1509
1507
  });
1510
1508
  function renderOrientationTable(orientation, tiles, context) {
1511
1509
  return orientation === 'vertical' ? (jsx(TariffsTableVertical, { tiles: tiles })) : (jsx(TariffsTableHorizontal, { context: context, tiles: tiles }));