@redneckz/wildless-cms-uni-blocks 0.13.18 → 0.13.20

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 (297) hide show
  1. package/bin/migration-scripts/0.13.14.js +25 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +34 -20
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Carousel/CarouselContent.d.ts +0 -2
  6. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  7. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  8. package/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  9. package/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  10. package/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  11. package/bundle/icons/IconName.d.ts +4 -2
  12. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  13. package/cosmos-static/icons/RutubeIcon.svg +1 -0
  14. package/dist/components/Blocks.mobile.js +4 -0
  15. package/dist/components/Blocks.mobile.js.map +1 -1
  16. package/dist/components/Carousel/Carousel.js +2 -2
  17. package/dist/components/Carousel/Carousel.js.map +1 -1
  18. package/dist/components/Carousel/CarouselContent.d.ts +0 -2
  19. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  20. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  21. package/dist/components/ContentPage/ContentPage.js +1 -1
  22. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  23. package/dist/components/Footer/iconsMap.js +5 -0
  24. package/dist/components/Footer/iconsMap.js.map +1 -1
  25. package/dist/components/Header/HeaderTop.js +5 -5
  26. package/dist/components/Header/HeaderTop.js.map +1 -1
  27. package/dist/components/Header/isHrefActive.js +3 -1
  28. package/dist/components/Header/isHrefActive.js.map +1 -1
  29. package/dist/components/ProductBlock/ProductBlock.js +12 -3
  30. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  31. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  32. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  33. package/dist/components/ProductBlock/renderBackwardButton.js +8 -7
  34. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  35. package/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  36. package/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  37. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  38. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  39. package/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  40. package/dist/components/StickyBottomMenu/RenderItem.js +7 -5
  41. package/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
  42. package/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  43. package/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
  44. package/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  45. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
  46. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  47. package/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  48. package/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  49. package/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  50. package/dist/icons/IconName.d.ts +4 -2
  51. package/dist/icons/IconName.js +2 -0
  52. package/dist/icons/IconName.js.map +1 -1
  53. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  54. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  55. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  56. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  57. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  58. package/dist/ui-kit/DialogManager/Dialog.js +1 -1
  59. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  60. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  61. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  62. package/lib/common.css +1 -1
  63. package/lib/components/Blocks.mobile.js +4 -0
  64. package/lib/components/Blocks.mobile.js.map +1 -1
  65. package/lib/components/Carousel/Carousel.js +2 -2
  66. package/lib/components/Carousel/Carousel.js.map +1 -1
  67. package/lib/components/Carousel/CarouselContent.d.ts +0 -2
  68. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  69. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  70. package/lib/components/ContentPage/ContentPage.js +1 -1
  71. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  72. package/lib/components/DepositFiltration/DepositFiltration.fixture.mobile.d.ts +6 -0
  73. package/lib/components/Footer/iconsMap.js +5 -0
  74. package/lib/components/Footer/iconsMap.js.map +1 -1
  75. package/lib/components/Header/HeaderTop.js +5 -5
  76. package/lib/components/Header/HeaderTop.js.map +1 -1
  77. package/lib/components/Header/isHrefActive.js +3 -1
  78. package/lib/components/Header/isHrefActive.js.map +1 -1
  79. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +6 -0
  80. package/lib/components/ProductBlock/ProductBlock.js +12 -3
  81. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  82. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  83. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  84. package/lib/components/ProductBlock/renderBackwardButton.js +8 -7
  85. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  86. package/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  87. package/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  88. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  89. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  90. package/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  91. package/lib/components/StickyBottomMenu/RenderItem.js +7 -5
  92. package/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
  93. package/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  94. package/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
  95. package/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  96. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
  97. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  98. package/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  99. package/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
  100. package/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  101. package/lib/icons/IconName.d.ts +4 -2
  102. package/lib/icons/IconName.js +2 -0
  103. package/lib/icons/IconName.js.map +1 -1
  104. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  105. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  106. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  107. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +0 -1
  108. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  109. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  110. package/lib/ui-kit/DialogManager/Dialog.js +1 -1
  111. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  112. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  113. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  114. package/mobile/bundle/bundle.umd.js +240 -46
  115. package/mobile/bundle/bundle.umd.min.js +1 -1
  116. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +0 -2
  117. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  118. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  119. package/mobile/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  120. package/mobile/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  121. package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  122. package/mobile/bundle/icons/IconName.d.ts +4 -2
  123. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  124. package/mobile/dist/components/Blocks.js +4 -0
  125. package/mobile/dist/components/Blocks.js.map +1 -1
  126. package/mobile/dist/components/Carousel/Carousel.js +2 -2
  127. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  128. package/mobile/dist/components/Carousel/CarouselContent.d.ts +0 -2
  129. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  130. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  131. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  132. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  133. package/mobile/dist/components/Footer/iconsMap.js +5 -0
  134. package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
  135. package/mobile/dist/components/Header/HeaderTop.js +5 -5
  136. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  137. package/mobile/dist/components/Header/isHrefActive.js +3 -1
  138. package/mobile/dist/components/Header/isHrefActive.js.map +1 -1
  139. package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -3
  140. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  141. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  142. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  143. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +8 -7
  144. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  145. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  146. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  147. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  148. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  149. package/mobile/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  150. package/mobile/dist/components/StickyBottomMenu/RenderItem.js +7 -5
  151. package/mobile/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
  152. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  153. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
  154. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  155. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
  156. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  157. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  158. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  159. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  160. package/mobile/dist/icons/IconName.d.ts +4 -2
  161. package/mobile/dist/icons/IconName.js +2 -0
  162. package/mobile/dist/icons/IconName.js.map +1 -1
  163. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  164. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  165. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  166. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  167. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  168. package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
  169. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  170. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  171. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  172. package/mobile/lib/common.css +1 -1
  173. package/mobile/lib/components/Blocks.js +4 -0
  174. package/mobile/lib/components/Blocks.js.map +1 -1
  175. package/mobile/lib/components/Carousel/Carousel.js +2 -2
  176. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  177. package/mobile/lib/components/Carousel/CarouselContent.d.ts +0 -2
  178. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  179. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  180. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  181. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  182. package/mobile/lib/components/Footer/iconsMap.js +5 -0
  183. package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
  184. package/mobile/lib/components/Header/HeaderTop.js +5 -5
  185. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  186. package/mobile/lib/components/Header/isHrefActive.js +3 -1
  187. package/mobile/lib/components/Header/isHrefActive.js.map +1 -1
  188. package/mobile/lib/components/ProductBlock/ProductBlock.js +12 -3
  189. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  190. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  191. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  192. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +8 -7
  193. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  194. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  195. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  196. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  197. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  198. package/mobile/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  199. package/mobile/lib/components/StickyBottomMenu/RenderItem.js +7 -5
  200. package/mobile/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
  201. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  202. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
  203. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  204. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
  205. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  206. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  207. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
  208. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  209. package/mobile/lib/icons/IconName.d.ts +4 -2
  210. package/mobile/lib/icons/IconName.js +2 -0
  211. package/mobile/lib/icons/IconName.js.map +1 -1
  212. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  213. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  214. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  215. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  216. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  217. package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
  218. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  219. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  220. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  221. package/mobile/src/components/Blocks.ts +4 -0
  222. package/mobile/src/components/Carousel/Carousel.tsx +6 -9
  223. package/mobile/src/components/Carousel/CarouselContent.ts +0 -2
  224. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
  225. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  226. package/mobile/src/components/Footer/iconsMap.ts +5 -0
  227. package/mobile/src/components/Header/HeaderTop.tsx +34 -28
  228. package/mobile/src/components/Header/isHrefActive.ts +3 -1
  229. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -4
  230. package/mobile/src/components/ProductBlock/ProductBlock.tsx +27 -16
  231. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +0 -8
  232. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -3
  233. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
  234. package/mobile/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
  235. package/mobile/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
  236. package/mobile/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
  237. package/mobile/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
  238. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
  239. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +2 -2
  240. package/mobile/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
  241. package/mobile/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
  242. package/mobile/src/icons/IconName.ts +4 -4
  243. package/mobile/src/icons/RutubeIcon.svg +1 -0
  244. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
  245. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
  246. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +1 -1
  247. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
  248. package/package.json +1 -1
  249. package/src/components/Blocks.mobile.ts +4 -0
  250. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -8
  251. package/src/components/Carousel/Carousel.tsx +6 -9
  252. package/src/components/Carousel/CarouselContent.ts +0 -2
  253. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
  254. package/src/components/ContentPage/ContentPage.tsx +2 -2
  255. package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +203 -0
  256. package/src/components/Footer/iconsMap.ts +5 -0
  257. package/src/components/Header/HeaderTop.tsx +34 -28
  258. package/src/components/Header/isHrefActive.ts +3 -1
  259. package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +205 -0
  260. package/src/components/ProductBlock/ProductBlock.example.json +1 -4
  261. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -9
  262. package/src/components/ProductBlock/ProductBlock.tsx +27 -16
  263. package/src/components/ProductBlock/ProductBlock.ui.json +0 -8
  264. package/src/components/ProductBlock/ProductBlockContent.ts +2 -3
  265. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
  266. package/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
  267. package/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
  268. package/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
  269. package/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
  270. package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
  271. package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.mobile.tsx +4 -4
  272. package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.tsx +4 -4
  273. package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +2 -2
  274. package/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
  275. package/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
  276. package/src/icons/IconName.ts +4 -1
  277. package/src/icons/RutubeIcon.svg +1 -0
  278. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
  279. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
  280. package/src/ui-kit/DialogManager/Dialog.tsx +1 -1
  281. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
  282. package/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  283. package/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  284. package/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
  285. package/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  286. package/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -2
  287. package/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
  288. package/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  289. package/mobile/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  290. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  291. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
  292. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  293. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  294. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
  295. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  296. package/mobile/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
  297. package/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
@@ -2355,7 +2355,7 @@
2355
2355
  });
2356
2356
  }
2357
2357
  };
2358
- return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2358
+ return dotCount ? (jsx("div", { className: style('flex gap-xs @lg:hidden', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2359
2359
  });
2360
2360
 
2361
2361
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
@@ -2540,7 +2540,7 @@
2540
2540
  'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider');
2541
2541
  const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
2542
2542
 
2543
- const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, showDots, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
2543
+ const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
2544
2544
  const { blocks: childBlocks = [] } = rest.block || {};
2545
2545
  const count = itemCount || childBlocks?.length;
2546
2546
  const [activeIndex, { inc: increaseActiveIndex, dec: decreaseActiveIndex }] = useCarouselControls({
@@ -2551,7 +2551,7 @@
2551
2551
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
2552
2552
  // TODO Remove
2553
2553
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
2554
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })) : null] }) }));
2554
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, cardSize, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count })] }), jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })] }));
2555
2555
  });
2556
2556
  Carousel.childrenTypes = [
2557
2557
  'CarouselCard',
@@ -2639,7 +2639,7 @@
2639
2639
  const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })) : null] }), links?.length ? renderLinks(links, maxLinksCount) : null] })));
2640
2640
  const renderLinks = (links, maxLinksCount) => {
2641
2641
  const itemCount = Math.ceil(links.length / maxLinksCount);
2642
- return (jsx(Carousel, { className: "@container-normal sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false, showDots: false, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start w-full sm:w-[672px]'), children: links
2642
+ return (jsx(Carousel, { className: "@container-normal sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start w-full sm:w-[672px]'), children: links
2643
2643
  .slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
2644
2644
  .map((link, index) => (jsx(CarouselLinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2645
2645
  };
@@ -2777,6 +2777,11 @@
2777
2777
  iconMapped: { icon: 'YoutubeIcon' },
2778
2778
  label: 'Youtube',
2779
2779
  },
2780
+ {
2781
+ origins: ['rutube.ru'],
2782
+ iconMapped: { icon: 'RutubeIcon' },
2783
+ label: 'Rutube',
2784
+ },
2780
2785
  ];
2781
2786
 
2782
2787
  const findIconByHref = (href) => ICONS_MAP.find(({ origins }) => origins?.some((_) => href?.includes(_))) || {};
@@ -2954,7 +2959,7 @@
2954
2959
  };
2955
2960
 
2956
2961
  const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
2957
- const resultsGridStyle = 'grid grid-cols-12 gap-2xs border-box';
2962
+ const resultsGridStyle = 'space-y-px lg:space-y-0 lg:grid lg:grid-cols-12 gap-2xs border-box';
2958
2963
  const BaseFiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
2959
2964
  const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
2960
2965
  const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
@@ -2984,7 +2989,7 @@
2984
2989
  return items.map((item) => (jsx(SlideCheckbox, { text: item.title, value: [value].flatMap((_) => _).includes(item.value), onChange: () => handleChange(item.value), type: multiple ? 'checkbox' : 'radio' }, item.value)));
2985
2990
  });
2986
2991
 
2987
- const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex justify-between bg-white p-4xl", children: [jsxs("div", { className: "flex gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-72 ml-s", onClick: reset, ...resetButton }) })) : null] }));
2992
+ const renderFiltrationForm = ({ field, reset, filtrationSchema, resetButton, children, }) => (jsxs("form", { className: "flex flex-col @4xl:flex-row justify-between bg-white p-4xl gap-s @4xl:gap-0", children: [jsxs("div", { className: "flex flex-col @4xl:flex-row gap-5xl", children: [children, Object.entries(filtrationSchema).map(renderFormItem(field))] }), resetButton ? (jsx("div", { children: jsx(Button, { className: "w-full @4xl:w-72 @4xl:ml-s", onClick: reset, ...resetButton }) })) : null] }));
2988
2993
  const renderFormItem = (field) => ([key, item]) => {
2989
2994
  const type = item?.type;
2990
2995
  switch (type) {
@@ -3386,7 +3391,7 @@
3386
3391
  close();
3387
3392
  onClose && onClose();
3388
3393
  }, [onClose]);
3389
- return (jsxs("div", { className: style('relative min-h-full bg-white p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
3394
+ return (jsxs("div", { className: style('relative min-h-full bg-white pt-0 p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
3390
3395
  });
3391
3396
 
3392
3397
  const Sitemap = JSX(({ className, topItems }) => {
@@ -3516,7 +3521,9 @@
3516
3521
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
3517
3522
  const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
3518
3523
 
3519
- const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
3524
+ const isHrefActive = (router) => ({ href }) => !href
3525
+ ? false
3526
+ : withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
3520
3527
 
3521
3528
  const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
3522
3529
 
@@ -4476,19 +4483,26 @@
4476
4483
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-xs bg-secondary-light" }, String(index)));
4477
4484
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4478
4485
 
4479
- function renderBackwardButton({ text, href, target, icon }, version) {
4486
+ function renderBackwardButton(version, handleClick) {
4480
4487
  const iconVersion = version === 'primary' ? 'white' : 'black';
4481
- const commonProps = { text, href, target, ariaLabel: text };
4482
- return (jsxs("div", { className: "flex items-center gap-s", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(Img, { className: "w-4 h-4", image: {
4483
- ...icon,
4484
- icon: icon?.icon || 'ArrowLeftIcon',
4485
- iconVersion: icon?.iconVersion || iconVersion,
4486
- } }) }), jsx(Button, { version: "link", ...commonProps })] }));
4488
+ const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
4489
+ const text = 'Вернуться назад';
4490
+ return (jsxs("div", { className: "flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
4491
+ icon: 'ArrowLeftIcon',
4492
+ iconVersion: iconVersion,
4493
+ } }) }), jsx(Button, { version: "link", text: text, ariaLabel: text, onClick: handleClick })] }));
4487
4494
  }
4488
4495
 
4489
- const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton?.text
4490
- ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
4491
- : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] })));
4496
+ const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) => {
4497
+ const router = useRouter();
4498
+ const handleClick = useCallback((ev) => {
4499
+ ev?.preventDefault();
4500
+ router.back();
4501
+ }, []);
4502
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
4503
+ ? renderBackwardButton(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
4504
+ : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] }));
4505
+ });
4492
4506
 
4493
4507
  const ProductGallery = JSX(({ className = '', padding, slides = [], ...rest }) => {
4494
4508
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
@@ -5291,7 +5305,7 @@
5291
5305
  parent: data,
5292
5306
  };
5293
5307
  useBlockRouterProvider();
5294
- return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5308
+ return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container space-y-px @lg:space-y-0 @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null, jsx(StickyBottomMenu, {}), jsx(DialogManager, {})] }), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5295
5309
  });
5296
5310
  ContentPage.childrenTypes = [];
5297
5311
  ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
@@ -5299,7 +5313,7 @@
5299
5313
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5300
5314
  }
5301
5315
 
5302
- const packageVersion = "0.13.18";
5316
+ const packageVersion = "0.13.20";
5303
5317
 
5304
5318
  exports.Blocks = Blocks;
5305
5319
  exports.ContentPage = ContentPage;