@redneckz/wildless-cms-uni-blocks 0.13.17 → 0.13.19

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 (323) 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/ContentPage/toMobileBlock.d.ts +2 -0
  7. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  8. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  9. package/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  10. package/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  11. package/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  12. package/bundle/icons/IconName.d.ts +4 -2
  13. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  14. package/cosmos-static/icons/RutubeIcon.svg +1 -0
  15. package/dist/components/Blocks.mobile.js +4 -0
  16. package/dist/components/Blocks.mobile.js.map +1 -1
  17. package/dist/components/Carousel/Carousel.js +2 -2
  18. package/dist/components/Carousel/Carousel.js.map +1 -1
  19. package/dist/components/Carousel/CarouselContent.d.ts +0 -2
  20. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  21. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  22. package/dist/components/ContentPage/ContentPage.js +1 -1
  23. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  24. package/dist/components/ContentPage/normalizeBlock.mobile.js +3 -5
  25. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  26. package/dist/components/ContentPage/toMobileBlock.d.ts +2 -0
  27. package/dist/components/ContentPage/toMobileBlock.js +12 -0
  28. package/dist/components/ContentPage/toMobileBlock.js.map +1 -0
  29. package/dist/components/Footer/iconsMap.js +5 -0
  30. package/dist/components/Footer/iconsMap.js.map +1 -1
  31. package/dist/components/Header/HeaderTop.js +5 -5
  32. package/dist/components/Header/HeaderTop.js.map +1 -1
  33. package/dist/components/Header/isHrefActive.js +3 -1
  34. package/dist/components/Header/isHrefActive.js.map +1 -1
  35. package/dist/components/ProductBlock/ProductBlock.js +12 -3
  36. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  37. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  38. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  39. package/dist/components/ProductBlock/renderBackwardButton.js +8 -7
  40. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  41. package/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  42. package/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  43. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  44. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  45. package/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  46. package/dist/components/StickyBottomMenu/RenderItem.js +7 -5
  47. package/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
  48. package/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  49. package/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
  50. package/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  51. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
  52. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  53. package/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  54. package/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  55. package/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  56. package/dist/icons/IconName.d.ts +4 -2
  57. package/dist/icons/IconName.js +2 -0
  58. package/dist/icons/IconName.js.map +1 -1
  59. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  60. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  61. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  62. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  63. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  64. package/dist/ui-kit/DialogManager/Dialog.js +1 -1
  65. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  66. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  67. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  68. package/lib/common.css +1 -1
  69. package/lib/components/Blocks.mobile.js +4 -0
  70. package/lib/components/Blocks.mobile.js.map +1 -1
  71. package/lib/components/Carousel/Carousel.js +2 -2
  72. package/lib/components/Carousel/Carousel.js.map +1 -1
  73. package/lib/components/Carousel/CarouselContent.d.ts +0 -2
  74. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  75. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  76. package/lib/components/ContentPage/ContentPage.js +1 -1
  77. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  78. package/lib/components/ContentPage/normalizeBlock.mobile.js +3 -5
  79. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
  80. package/lib/components/ContentPage/toMobileBlock.d.ts +2 -0
  81. package/lib/components/ContentPage/toMobileBlock.js +9 -0
  82. package/lib/components/ContentPage/toMobileBlock.js.map +1 -0
  83. package/lib/components/DepositFiltration/DepositFiltration.fixture.mobile.d.ts +6 -0
  84. package/lib/components/Footer/iconsMap.js +5 -0
  85. package/lib/components/Footer/iconsMap.js.map +1 -1
  86. package/lib/components/Header/HeaderTop.js +5 -5
  87. package/lib/components/Header/HeaderTop.js.map +1 -1
  88. package/lib/components/Header/isHrefActive.js +3 -1
  89. package/lib/components/Header/isHrefActive.js.map +1 -1
  90. package/lib/components/MortgageFiltration/MortgageFiltration.fixture.mobile.d.ts +6 -0
  91. package/lib/components/ProductBlock/ProductBlock.js +12 -3
  92. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  93. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  94. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  95. package/lib/components/ProductBlock/renderBackwardButton.js +8 -7
  96. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  97. package/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  98. package/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  99. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  100. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  101. package/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  102. package/lib/components/StickyBottomMenu/RenderItem.js +7 -5
  103. package/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
  104. package/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  105. package/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
  106. package/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  107. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +2 -2
  108. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  109. package/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  110. package/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
  111. package/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  112. package/lib/icons/IconName.d.ts +4 -2
  113. package/lib/icons/IconName.js +2 -0
  114. package/lib/icons/IconName.js.map +1 -1
  115. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  116. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  117. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  118. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +0 -1
  119. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  120. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  121. package/lib/ui-kit/DialogManager/Dialog.js +1 -1
  122. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  123. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  124. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  125. package/mobile/bundle/bundle.umd.js +240 -46
  126. package/mobile/bundle/bundle.umd.min.js +1 -1
  127. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +0 -2
  128. package/mobile/bundle/components/ContentPage/toMobileBlock.d.ts +2 -0
  129. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  130. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  131. package/mobile/bundle/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  132. package/mobile/bundle/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  133. package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  134. package/mobile/bundle/icons/IconName.d.ts +4 -2
  135. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  136. package/mobile/dist/components/Blocks.js +4 -0
  137. package/mobile/dist/components/Blocks.js.map +1 -1
  138. package/mobile/dist/components/Carousel/Carousel.js +2 -2
  139. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  140. package/mobile/dist/components/Carousel/CarouselContent.d.ts +0 -2
  141. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  142. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  143. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  144. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  145. package/mobile/dist/components/ContentPage/normalizeBlock.js +3 -5
  146. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
  147. package/mobile/dist/components/ContentPage/toMobileBlock.d.ts +2 -0
  148. package/mobile/dist/components/ContentPage/toMobileBlock.js +12 -0
  149. package/mobile/dist/components/ContentPage/toMobileBlock.js.map +1 -0
  150. package/mobile/dist/components/Footer/iconsMap.js +5 -0
  151. package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
  152. package/mobile/dist/components/Header/HeaderTop.js +5 -5
  153. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  154. package/mobile/dist/components/Header/isHrefActive.js +3 -1
  155. package/mobile/dist/components/Header/isHrefActive.js.map +1 -1
  156. package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -3
  157. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  158. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  159. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  160. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +8 -7
  161. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  162. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  163. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  164. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  165. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  166. package/mobile/dist/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  167. package/mobile/dist/components/StickyBottomMenu/RenderItem.js +7 -5
  168. package/mobile/dist/components/StickyBottomMenu/RenderItem.js.map +1 -1
  169. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  170. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js +12 -0
  171. package/mobile/dist/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  172. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
  173. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  174. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  175. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  176. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  177. package/mobile/dist/icons/IconName.d.ts +4 -2
  178. package/mobile/dist/icons/IconName.js +2 -0
  179. package/mobile/dist/icons/IconName.js.map +1 -1
  180. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  181. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  182. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  183. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  184. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  185. package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
  186. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  187. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  188. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  189. package/mobile/lib/common.css +1 -1
  190. package/mobile/lib/components/Blocks.js +4 -0
  191. package/mobile/lib/components/Blocks.js.map +1 -1
  192. package/mobile/lib/components/Carousel/Carousel.js +2 -2
  193. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  194. package/mobile/lib/components/Carousel/CarouselContent.d.ts +0 -2
  195. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  196. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  197. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  198. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  199. package/mobile/lib/components/ContentPage/normalizeBlock.js +3 -5
  200. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
  201. package/mobile/lib/components/ContentPage/toMobileBlock.d.ts +2 -0
  202. package/mobile/lib/components/ContentPage/toMobileBlock.js +9 -0
  203. package/mobile/lib/components/ContentPage/toMobileBlock.js.map +1 -0
  204. package/mobile/lib/components/Footer/iconsMap.js +5 -0
  205. package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
  206. package/mobile/lib/components/Header/HeaderTop.js +5 -5
  207. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  208. package/mobile/lib/components/Header/isHrefActive.js +3 -1
  209. package/mobile/lib/components/Header/isHrefActive.js.map +1 -1
  210. package/mobile/lib/components/ProductBlock/ProductBlock.js +12 -3
  211. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  212. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -3
  213. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -2
  214. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +8 -7
  215. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  216. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js +1 -3
  217. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -1
  218. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +6 -1
  219. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  220. package/mobile/lib/components/StickyBottomMenu/RenderItem.d.ts +1 -0
  221. package/mobile/lib/components/StickyBottomMenu/RenderItem.js +7 -5
  222. package/mobile/lib/components/StickyBottomMenu/RenderItem.js.map +1 -1
  223. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.d.ts +7 -0
  224. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js +10 -0
  225. package/mobile/lib/components/StickyBottomMenu/RenderMenuItems.js.map +1 -0
  226. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +2 -2
  227. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  228. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +1 -1
  229. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js +1 -1
  230. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  231. package/mobile/lib/icons/IconName.d.ts +4 -2
  232. package/mobile/lib/icons/IconName.js +2 -0
  233. package/mobile/lib/icons/IconName.js.map +1 -1
  234. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +1 -1
  235. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +2 -2
  236. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  237. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +1 -1
  238. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -1
  239. package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
  240. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  241. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  242. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  243. package/mobile/src/components/Blocks.ts +4 -0
  244. package/mobile/src/components/Carousel/Carousel.tsx +6 -9
  245. package/mobile/src/components/Carousel/CarouselContent.ts +0 -2
  246. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
  247. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  248. package/mobile/src/components/ContentPage/normalizeBlock.ts +3 -10
  249. package/mobile/src/components/ContentPage/toMobileBlock.ts +11 -0
  250. package/mobile/src/components/Footer/iconsMap.ts +5 -0
  251. package/mobile/src/components/Header/HeaderTop.tsx +34 -28
  252. package/mobile/src/components/Header/isHrefActive.ts +3 -1
  253. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -4
  254. package/mobile/src/components/ProductBlock/ProductBlock.tsx +27 -16
  255. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +0 -8
  256. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +2 -3
  257. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
  258. package/mobile/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
  259. package/mobile/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
  260. package/mobile/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
  261. package/mobile/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
  262. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
  263. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +2 -2
  264. package/mobile/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
  265. package/mobile/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
  266. package/mobile/src/icons/IconName.ts +4 -4
  267. package/mobile/src/icons/RutubeIcon.svg +1 -0
  268. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
  269. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
  270. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +1 -1
  271. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
  272. package/package.json +1 -1
  273. package/src/components/Blocks.mobile.ts +4 -0
  274. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -8
  275. package/src/components/Carousel/Carousel.tsx +6 -9
  276. package/src/components/Carousel/CarouselContent.ts +0 -2
  277. package/src/components/CarouselLinks/CarouselLinks.tsx +0 -1
  278. package/src/components/ContentPage/ContentPage.tsx +2 -2
  279. package/src/components/ContentPage/normalizeBlock.mobile.ts +3 -10
  280. package/src/components/ContentPage/toMobileBlock.ts +11 -0
  281. package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +203 -0
  282. package/src/components/Footer/iconsMap.ts +5 -0
  283. package/src/components/Header/HeaderTop.tsx +34 -28
  284. package/src/components/Header/isHrefActive.ts +3 -1
  285. package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +205 -0
  286. package/src/components/ProductBlock/ProductBlock.example.json +1 -4
  287. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -9
  288. package/src/components/ProductBlock/ProductBlock.tsx +27 -16
  289. package/src/components/ProductBlock/ProductBlock.ui.json +0 -8
  290. package/src/components/ProductBlock/ProductBlockContent.ts +2 -3
  291. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -16
  292. package/src/components/StickyBottomMenu/ActiveSubMenu.tsx +4 -4
  293. package/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +9 -1
  294. package/src/components/StickyBottomMenu/RenderItem.tsx +9 -6
  295. package/src/components/StickyBottomMenu/RenderMenuItems.tsx +24 -0
  296. package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +4 -4
  297. package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.mobile.tsx +4 -4
  298. package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.tsx +4 -4
  299. package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +2 -2
  300. package/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +1 -1
  301. package/src/components/StickyBottomMenu/TopItemMobile.tsx +1 -1
  302. package/src/icons/IconName.ts +4 -1
  303. package/src/icons/RutubeIcon.svg +1 -0
  304. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +3 -3
  305. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +3 -3
  306. package/src/ui-kit/DialogManager/Dialog.tsx +1 -1
  307. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +5 -1
  308. package/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  309. package/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  310. package/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
  311. package/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  312. package/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -2
  313. package/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
  314. package/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  315. package/mobile/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  316. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  317. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js +0 -8
  318. package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  319. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.d.ts +0 -3
  320. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js +0 -5
  321. package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js.map +0 -1
  322. package/mobile/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
  323. package/src/components/StickyBottomMenu/renderMenuItems.tsx +0 -13
@@ -41,6 +41,8 @@ import { TariffsTable } from './TariffsTable/TariffsTable';
41
41
  import { TextBlock } from './TextBlock/TextBlock';
42
42
  import { Tile } from './Tile/Tile';
43
43
  import { VerticalLayout } from './VerticalLayout/VerticalLayout';
44
+ import { DepositFiltration } from './DepositFiltration/DepositFiltration';
45
+ import { MortgageFiltration } from './MortgageFiltration/MortgageFiltration';
44
46
 
45
47
  export const Blocks: BlocksRegistry = {
46
48
  ApplicationForm,
@@ -60,6 +62,8 @@ export const Blocks: BlocksRegistry = {
60
62
  CarouselRecommendationCard,
61
63
  CarouselTariffsCard,
62
64
  ComparisonTable,
65
+ DepositFiltration,
66
+ MortgageFiltration,
63
67
  ErrorBlock,
64
68
  ExchangeRateTile,
65
69
  Footer,
@@ -22,7 +22,6 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
22
22
  visibleItemCount = 0,
23
23
  noCardBorder,
24
24
  isAlignCenter,
25
- showDots,
26
25
  arrowsPadded = true,
27
26
  isGap = true,
28
27
  cardSize = 'normal',
@@ -66,15 +65,13 @@ export const Carousel: JSXBlock<CarouselProps> = JSX<CarouselProps>(
66
65
  activeIndex={activeIndex}
67
66
  itemCount={count}
68
67
  />
69
- {showDots ? (
70
- <SwipeListControlDots
71
- containerRef={containerRef}
72
- activeIndex={dotsActiveIndex}
73
- dotCount={count}
74
- listType="horizontal-list"
75
- />
76
- ) : null}
77
68
  </div>
69
+ <SwipeListControlDots
70
+ containerRef={containerRef}
71
+ activeIndex={dotsActiveIndex}
72
+ dotCount={count}
73
+ listType="horizontal-list"
74
+ />
78
75
  </BlockWrapper>
79
76
  );
80
77
  },
@@ -23,7 +23,5 @@ export type CarouselContent = UniBlockContent & {
23
23
  isGap?: boolean;
24
24
  /** @title Не показывать контур на карточках */
25
25
  noCardBorder?: boolean;
26
- /** @title Показывать навигационные точки */
27
- showDots?: boolean;
28
26
  cardSize?: CardSizeMode;
29
27
  };
@@ -57,7 +57,6 @@ const renderLinks = (links: LinkProps[], maxLinksCount: number) => {
57
57
  version="secondary"
58
58
  itemCount={itemCount}
59
59
  arrowsPadded={false}
60
- showDots={false}
61
60
  >
62
61
  {new Array(itemCount).fill(null).map((_, groupIndex) => (
63
62
  <div
@@ -49,9 +49,9 @@ export const ContentPage: JSXBlock<ContentPageProps> = JSX<ContentPageProps>(
49
49
  {renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })}
50
50
  </div>
51
51
  {likeControl ? renderLikeControl() : null}
52
+ <StickyBottomMenu />
53
+ <DialogManager />
52
54
  </section>
53
- <StickyBottomMenu />
54
- <DialogManager />
55
55
  <CookiePopup
56
56
  termLink={{ href: '/pd-policy#cookie', target: '_blank' }}
57
57
  personalDataPolicyLink={{ href: '/pd-policy', target: '_blank' }}
@@ -1,19 +1,12 @@
1
1
  import type { BlocksRegistry } from '../../model/BlocksRegistry';
2
2
  import type { BlockDef, Slot } from '../../model/ContentPageDef';
3
3
  import { mapSlot } from './mapSlot';
4
+ import { toMobileBlock } from './toMobileBlock';
4
5
 
5
6
  export function normalizeBlock<S extends Slot>(block?: S, blocksRegistry?: BlocksRegistry): S {
6
- const { mobile, ...desktop } = (block || {}) as BlockDef;
7
- const result = mobile
8
- ? Object.assign(
9
- {},
10
- desktop,
11
- mobile.style ? { style: mobile.style } : {},
12
- mobile.content ? { content: mobile.content } : {},
13
- )
14
- : block;
7
+ const { mobile } = (block || {}) as BlockDef;
15
8
 
16
- return mapSlot(filterBlocks(blocksRegistry))(result || {}) as S;
9
+ return mapSlot(filterBlocks(blocksRegistry))((mobile ? toMobileBlock(block) : block) || {}) as S;
17
10
  }
18
11
 
19
12
  const filterBlocks =
@@ -0,0 +1,11 @@
1
+ import type { BlockDef } from '../../model/ContentPageDef';
2
+
3
+ export function toMobileBlock(block: BlockDef = {}): BlockDef {
4
+ const { mobile, ...desktop } = block;
5
+
6
+ return {
7
+ ...desktop,
8
+ ...(mobile?.style ? { style: mobile.style } : {}),
9
+ ...(mobile?.content ? { content: mobile.content } : {}),
10
+ };
11
+ }
@@ -37,4 +37,9 @@ export const ICONS_MAP: Array<IconsMapItem> = [
37
37
  iconMapped: { icon: 'YoutubeIcon' },
38
38
  label: 'Youtube',
39
39
  },
40
+ {
41
+ origins: ['rutube.com'],
42
+ iconMapped: { icon: 'RutubeIcon' },
43
+ label: 'Rutube',
44
+ },
40
45
  ];
@@ -34,42 +34,48 @@ export const HeaderTop = JSX<HeaderTopProps>(({ bgColor, logo, internetBankUrl,
34
34
  return (
35
35
  <div className="flex items-center justify-between w-full">
36
36
  {isRootLocation ? (
37
- <Logo className="mt-2xs" bgColor={bgColor} logo={logo} />
37
+ <div>
38
+ <Logo className="my-2xs" bgColor={bgColor} logo={logo} />
39
+ </div>
38
40
  ) : (
39
41
  renderBackButton(onClick)
40
42
  )}
41
43
  {internetBankUrl ? (
42
- <Button
43
- href={internetBankUrl}
44
- ariaLabel="Войти"
45
- target="_blank"
46
- className={style(
47
- 'p-s text-s whitespace-nowrap text-primary-main hover:text-primary-hover',
48
- BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default'],
49
- )}
50
- >
51
- Войти
52
- </Button>
44
+ <div>
45
+ <Button
46
+ href={internetBankUrl}
47
+ ariaLabel="Войти"
48
+ target="_blank"
49
+ className={style(
50
+ 'p-s text-s whitespace-nowrap text-primary-main hover:text-primary-hover',
51
+ BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default'],
52
+ )}
53
+ >
54
+ Войти
55
+ </Button>
56
+ </div>
53
57
  ) : null}
54
58
  </div>
55
59
  );
56
60
  });
57
61
 
58
62
  const renderBackButton = (onClick: (ev?: PreventableEvent) => void) => (
59
- <button
60
- className="flex items-center text-l mt-2xs"
61
- aria-label="Вернуться назад"
62
- onClick={onClick}
63
- >
64
- <Img
65
- className="w-6 h-6"
66
- image={{
67
- icon: 'ChevronLeftIcon',
68
- iconVersion: 'black',
69
- }}
70
- width="24"
71
- height="24"
72
- />
73
- Вернуться назад
74
- </button>
63
+ <div>
64
+ <button
65
+ className="flex items-center text-l my-2xs"
66
+ aria-label="Вернуться назад"
67
+ onClick={onClick}
68
+ >
69
+ <Img
70
+ className="w-6 h-6"
71
+ image={{
72
+ icon: 'ChevronLeftIcon',
73
+ iconVersion: 'black',
74
+ }}
75
+ width="24"
76
+ height="24"
77
+ />
78
+ Вернуться назад
79
+ </button>
80
+ </div>
75
81
  );
@@ -3,4 +3,6 @@ import { isURL, withoutQuery } from '../../utils/url';
3
3
  export const isHrefActive =
4
4
  (router: { href?: string; pathname: string }) =>
5
5
  ({ href }: { href?: string }): boolean =>
6
- withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
6
+ !href
7
+ ? false
8
+ : withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
@@ -3,10 +3,7 @@
3
3
  "title": "Продукт",
4
4
  "description": "Описание",
5
5
  "headlineVersion": "XL",
6
- "backwardButton": {
7
- "text": "Кнопка возврата",
8
- "icon": { "icon": "ArrowLeftIcon" }
9
- },
6
+ "backwardButton": false,
10
7
  "image": {
11
8
  "format": "webp",
12
9
  "size": {
@@ -5,25 +5,36 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
5
  import { style } from '../../utils/style';
6
6
  import type { ProductBlockContent } from './ProductBlockContent';
7
7
  import { renderBackwardButton } from './renderBackwardButton';
8
+ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
9
+ import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
10
+ import { useRouter } from '../../hooks/useRouter';
8
11
 
9
12
  export interface ProductBlockProps extends UniBlockProps, ProductBlockContent {}
10
13
 
11
14
  export const ProductBlock = JSX<ProductBlockProps>(
12
- ({ className, padding, backwardButton, ...rest }) => (
13
- <BlockWrapper
14
- className={style('overflow-hidden flex flex-col gap-3xl box-border', className)}
15
- defaultPadding="p-6xl"
16
- padding={padding}
17
- {...rest}
18
- >
19
- {backwardButton?.text
20
- ? renderBackwardButton(
21
- backwardButton,
22
- !rest.version || rest.version === 'primary' ? 'primary' : 'white',
23
- )
24
- : null}
15
+ ({ className, padding, backwardButton, ...rest }) => {
16
+ const router = useRouter();
17
+ const handleClick = useCallback((ev?: PreventableEvent) => {
18
+ ev?.preventDefault();
19
+ router.back();
20
+ }, []);
25
21
 
26
- <BaseProductTile className="grow h-full" {...rest} />
27
- </BlockWrapper>
28
- ),
22
+ return (
23
+ <BlockWrapper
24
+ className={style('overflow-hidden flex flex-col gap-3xl box-border', className)}
25
+ defaultPadding="p-6xl"
26
+ padding={padding}
27
+ {...rest}
28
+ >
29
+ {backwardButton
30
+ ? renderBackwardButton(
31
+ !rest.version || rest.version === 'primary' ? 'primary' : 'white',
32
+ handleClick,
33
+ )
34
+ : null}
35
+
36
+ <BaseProductTile className="grow h-full" {...rest} />
37
+ </BlockWrapper>
38
+ );
39
+ },
29
40
  );
@@ -1,13 +1,5 @@
1
1
  {
2
2
  "content": {
3
- "backwardButton": {
4
- "icon": {
5
- "ui:field": "icon"
6
- },
7
- "iconRight": {
8
- "ui:field": "icon"
9
- }
10
- },
11
3
  "benefits": {
12
4
  "items": {
13
5
  "__html": {
@@ -1,12 +1,11 @@
1
1
  import type { UniBlockContent } from '../../model/JSXBlock';
2
2
  import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
3
- import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
4
3
 
5
4
  /**
6
5
  * @title Продуктовый блок
7
6
  */
8
7
  export type ProductBlockContent = UniBlockContent &
9
8
  BaseProductTileContent & {
10
- /** @title Кнопка возврата */
11
- backwardButton?: ButtonContent;
9
+ /** @title Отображать кнопку возврата */
10
+ backwardButton?: boolean;
12
11
  };
@@ -1,33 +1,28 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import { Button } from '../../ui-kit/Button/Button';
3
3
  import { Img } from '../../ui-kit/Img/Img';
4
- import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
4
+ import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
5
5
 
6
- export function renderBackwardButton(
7
- { text, href, target, icon }: ButtonContent,
8
- version: ButtonVersion,
9
- ) {
6
+ export function renderBackwardButton(version: ButtonVersion, handleClick: () => void) {
10
7
  const iconVersion = version === 'primary' ? 'white' : 'black';
11
- const commonProps = { text, href, target, ariaLabel: text };
8
+ const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
9
+ const text = 'Вернуться назад';
12
10
 
13
11
  return (
14
12
  <div className="flex items-center gap-s">
15
- <Button
16
- className="w-12 h-12 min-h-12 min-w-12 flex items-center justify-center"
17
- version={version}
18
- rounded
19
- {...commonProps}
13
+ <div
14
+ className={getRegularButtonClasses({ className, version, rounded: true })}
15
+ onClick={handleClick}
20
16
  >
21
17
  <Img
22
18
  className="w-4 h-4"
23
19
  image={{
24
- ...icon,
25
- icon: icon?.icon || 'ArrowLeftIcon',
26
- iconVersion: icon?.iconVersion || iconVersion,
20
+ icon: 'ArrowLeftIcon',
21
+ iconVersion: iconVersion,
27
22
  }}
28
23
  />
29
- </Button>
30
- <Button version="link" {...commonProps} />
24
+ </div>
25
+ <Button version="link" text={text} ariaLabel={text} onClick={handleClick} />
31
26
  </div>
32
27
  );
33
28
  }
@@ -6,12 +6,12 @@ interface ActiveSubMenuProps {
6
6
  activeMenuSubItems?: LinkProps[];
7
7
  basePath?: string;
8
8
  }
9
- export const ActiveSubMenu = JSX<ActiveSubMenuProps>(({ activeMenuSubItems, basePath }) => {
10
- return activeMenuSubItems ? (
9
+ export const ActiveSubMenu = JSX<ActiveSubMenuProps>(({ activeMenuSubItems, basePath }) =>
10
+ activeMenuSubItems ? (
11
11
  <div className="mb-5">
12
12
  {activeMenuSubItems.map((_, i) => (
13
13
  <ActiveSubMenuItem item={_} key={String(i)} basePath={basePath} />
14
14
  ))}
15
15
  </div>
16
- ) : null;
17
- });
16
+ ) : null,
17
+ );
@@ -3,6 +3,9 @@ import { projectSettings } from '../../ProjectSettings';
3
3
  import { useLink } from '../../hooks/useLink';
4
4
  import type { LinkProps } from '../../model/LinkProps';
5
5
  import { Img } from '../../ui-kit/Img/Img';
6
+ import { useRouter } from '../../hooks/useRouter';
7
+ import { isHrefActive } from '../Header/isHrefActive';
8
+ import { style } from '../../utils/style';
6
9
 
7
10
  interface ActiveSubMenuItemProps {
8
11
  item: LinkProps;
@@ -15,10 +18,15 @@ export const ActiveSubMenuItem = JSX<ActiveSubMenuItemProps>(({ item, basePath }
15
18
 
16
19
  const link = useLink({ isRemote: isAnotherPortal, basePath });
17
20
  const { href, target, onClick } = link(item);
21
+ const router = useRouter();
22
+ const isActive = isHrefActive(router)({ href });
18
23
 
19
24
  return (
20
25
  <a
21
- className="py-3 text-h5 font-light flex justify-between cursor-pointer"
26
+ className={style(
27
+ isActive ? 'text-primary-main' : 'text-primary-text',
28
+ `py-3 text-h5 font-light flex justify-between cursor-pointer`,
29
+ )}
22
30
  href={href}
23
31
  target={target}
24
32
  onClick={onClick}
@@ -6,13 +6,14 @@ import { style } from '../../utils/style';
6
6
  import type { MenuItemProps } from './StickyBottomMenuProps';
7
7
 
8
8
  interface RenderItemProps {
9
+ isActive?: boolean;
9
10
  item: MenuItemProps;
10
11
  onClick?: () => void;
11
12
  }
12
13
 
13
- export const RenderItem = JSX<RenderItemProps>(({ item, onClick }) => {
14
+ export const RenderItem = JSX<RenderItemProps>(({ isActive, item, onClick }) => {
14
15
  const isAnotherPortal = projectSettings?.BASE_PATH
15
- ? !item.url?.startsWith(projectSettings?.BASE_PATH)
16
+ ? !item.href?.startsWith(projectSettings?.BASE_PATH)
16
17
  : true;
17
18
 
18
19
  const link = useLink({ isRemote: isAnotherPortal });
@@ -21,15 +22,17 @@ export const RenderItem = JSX<RenderItemProps>(({ item, onClick }) => {
21
22
  target,
22
23
  onClick: handleClick,
23
24
  } = link({
24
- href: item.url,
25
+ href: item.href,
25
26
  target: '_self',
26
27
  });
28
+ const isActiveItem = item?.icon?.icon === 'BurgerIcon' ? item.isActive : isActive;
29
+ const iconVersion = isActiveItem ? 'color' : 'black';
27
30
 
28
31
  return (
29
32
  <a
30
33
  className={style(
31
- item.isActive ? 'text-primary-main' : 'text-primary-text',
32
- `w-10 m-4 flex justify-center items-center flex-col text-[10px] cursor-pointer`,
34
+ isActiveItem ? 'text-primary-main' : 'text-primary-text',
35
+ `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`,
33
36
  )}
34
37
  onClick={() => (item?.icon?.icon === 'BurgerIcon' && onClick ? onClick() : handleClick())}
35
38
  href={href}
@@ -39,7 +42,7 @@ export const RenderItem = JSX<RenderItemProps>(({ item, onClick }) => {
39
42
  className="w-6 h-6"
40
43
  image={{
41
44
  icon: item?.icon?.icon,
42
- iconVersion: item?.icon?.iconVersion || 'black',
45
+ iconVersion: iconVersion,
43
46
  }}
44
47
  />
45
48
  {item.title}
@@ -0,0 +1,24 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import type { MenuItemProps } from './StickyBottomMenuProps';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
+ import { RenderItem } from './RenderItem';
5
+ import { useActiveRoute } from '../../hooks/useActiveRoute';
6
+
7
+ interface RenderMenuItems {
8
+ menuItems: MenuItemProps[];
9
+ onClick?: () => void;
10
+ }
11
+
12
+ export const RenderMenuItems = JSX<RenderMenuItems>(({ menuItems, onClick }) => {
13
+ const [activeIndex] = useActiveRoute(menuItems);
14
+
15
+ return (
16
+ <BlockWrapper className="sticky bottom-0 left-0 right-0 bg-transparent z-[100]" padding="p-0">
17
+ <div className="ml-auto container bg-white flex justify-center shadow-blue-gray">
18
+ {menuItems.map((_, i) => (
19
+ <RenderItem key={String(i)} isActive={i === activeIndex} item={_} onClick={onClick} />
20
+ ))}
21
+ </div>
22
+ </BlockWrapper>
23
+ );
24
+ });
@@ -4,28 +4,28 @@
4
4
  "menuItems": [
5
5
  {
6
6
  "title": "Кредиты",
7
- "url": "#EmptyWalletIcon",
7
+ "href": "#EmptyWalletIcon",
8
8
  "icon": {
9
9
  "icon": "EmptyWalletIcon"
10
10
  }
11
11
  },
12
12
  {
13
13
  "title": "Карты",
14
- "url": "#CardIcon",
14
+ "href": "#CardIcon",
15
15
  "icon": {
16
16
  "icon": "CardIcon"
17
17
  }
18
18
  },
19
19
  {
20
20
  "title": "Вклады",
21
- "url": "#SafeIcon",
21
+ "href": "#SafeIcon",
22
22
  "icon": {
23
23
  "icon": "SafeIcon"
24
24
  }
25
25
  },
26
26
  {
27
27
  "title": "Инвестиции",
28
- "url": "#ChartIcon",
28
+ "href": "#ChartIcon",
29
29
  "icon": {
30
30
  "icon": "ChartIcon"
31
31
  }
@@ -4,7 +4,7 @@ import { projectSettings } from '../../ProjectSettings';
4
4
  import { useSWRResource } from '../../hooks/useSWRResource';
5
5
  import { BurgerMenuDialog } from './BurgerMenuDialog';
6
6
  import type { MenuItemProps, StickyBottomMenuProps } from './StickyBottomMenuProps';
7
- import { renderMenuItems } from './renderMenuItems';
7
+ import { RenderMenuItems } from './RenderMenuItems';
8
8
  import { useBurgerMenuDialog } from './useBurgerMenuDialog';
9
9
 
10
10
  export const StickyBottomMenu = JSX<StickyBottomMenuProps>(({ ...rest }) => {
@@ -36,7 +36,7 @@ export const StickyBottomMenu = JSX<StickyBottomMenuProps>(({ ...rest }) => {
36
36
 
37
37
  return (
38
38
  <div className="contents">
39
- {renderMenuItems(menuItemsWithButton, toggle)}
39
+ {<RenderMenuItems menuItems={menuItemsWithButton} onClick={toggle} />}
40
40
  {isBurgerMenuDialogOpen ? <BurgerMenuDialog /> : null}
41
41
  </div>
42
42
  );
@@ -7,7 +7,7 @@ export interface MenuItem {
7
7
  /** @title Название */
8
8
  title?: string;
9
9
  /** @title Адрес */
10
- url?: string;
10
+ href?: string;
11
11
  /** @title Иконка */
12
12
  icon?: Picture;
13
13
  }
@@ -9,7 +9,7 @@ interface TopItemProps {
9
9
  }
10
10
 
11
11
  export const TopItemMobile = ({ item, isActive, onClick }: TopItemProps) => (
12
- <button type="button" onClick={onClick}>
12
+ <button type="button" className="relative" onClick={onClick}>
13
13
  <span className={style('whitespace-nowrap', isActive ? 'text-primary-main' : '')}>
14
14
  {item.text}
15
15
  </span>