@redneckz/wildless-cms-uni-blocks 0.6.34 → 0.6.36

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 (586) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +214 -71
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/Calculator/constants.d.ts +3 -0
  5. package/bundle/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  6. package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  7. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  8. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  9. package/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -1
  10. package/bundle/hooks/useIntersectionObserver.d.ts +7 -1
  11. package/bundle/services/sitemap/SitemapProps.d.ts +1 -2
  12. package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  13. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  14. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  15. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  16. package/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  17. package/bundle/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  18. package/bundle/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  19. package/bundle/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  20. package/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  21. package/bundle/utils/areArraysEqual.d.ts +1 -0
  22. package/bundle/utils/mapChildren.d.ts +2 -0
  23. package/bundle/utils/maxBy.d.ts +2 -2
  24. package/bundle/utils/minBy.d.ts +1 -0
  25. package/dist/components/Blocks.js +3 -1
  26. package/dist/components/Blocks.js.map +1 -1
  27. package/dist/components/Calculator/DepositCalculatorForm.js +13 -11
  28. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  29. package/dist/components/Calculator/constants.d.ts +3 -0
  30. package/dist/components/Calculator/constants.js +10 -1
  31. package/dist/components/Calculator/constants.js.map +1 -1
  32. package/dist/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  33. package/dist/components/Calculator/useDepositCalculatorParams.js +28 -0
  34. package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -0
  35. package/dist/components/Carousel/Carousel.js +14 -15
  36. package/dist/components/Carousel/Carousel.js.map +1 -1
  37. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  38. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +12 -0
  39. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -0
  40. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  41. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +2 -0
  42. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +1 -0
  43. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +7 -13
  44. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  45. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
  46. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  47. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  48. package/dist/components/Header/Header.js +2 -2
  49. package/dist/components/Header/Header.js.map +1 -1
  50. package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  51. package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  52. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  53. package/dist/components/Header/HeaderSubMenu.js +1 -1
  54. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  55. package/dist/components/Header/HeaderSubMenuItem.d.ts +2 -1
  56. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  57. package/dist/components/OtherProductsItem/OtherProductsItem.js +1 -1
  58. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  59. package/dist/components/RollupItem/RollupItem.js +10 -1
  60. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  61. package/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  62. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  63. package/dist/hooks/useIntersectionObserver.d.ts +7 -1
  64. package/dist/hooks/useIntersectionObserver.js +10 -1
  65. package/dist/hooks/useIntersectionObserver.js.map +1 -1
  66. package/dist/hooks/useLink.js +1 -1
  67. package/dist/hooks/useLink.js.map +1 -1
  68. package/dist/services/sitemap/SitemapProps.d.ts +1 -2
  69. package/dist/ui-kit/BlockWrapper.js +1 -11
  70. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  71. package/dist/ui-kit/Button/ArrowButton.d.ts +2 -0
  72. package/dist/ui-kit/Button/ArrowButton.js +3 -1
  73. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  74. package/dist/ui-kit/Foldable/FoldableSection.js +1 -1
  75. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  76. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  77. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +35 -0
  78. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -0
  79. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +17 -38
  80. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  81. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  82. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +10 -27
  83. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  84. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  85. package/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  86. package/dist/ui-kit/SwipeListControl/SwipeListItem.js +16 -0
  87. package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -0
  88. package/dist/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  89. package/dist/ui-kit/SwipeListControl/scrollBy.js +8 -0
  90. package/dist/ui-kit/SwipeListControl/scrollBy.js.map +1 -0
  91. package/dist/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  92. package/dist/ui-kit/SwipeListControl/scrollToEnd.js +7 -0
  93. package/dist/ui-kit/SwipeListControl/scrollToEnd.js.map +1 -0
  94. package/dist/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  95. package/dist/ui-kit/SwipeListControl/scrollToStart.js +7 -0
  96. package/dist/ui-kit/SwipeListControl/scrollToStart.js.map +1 -0
  97. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  98. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +57 -0
  99. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -0
  100. package/dist/utils/areArraysEqual.d.ts +1 -0
  101. package/dist/utils/areArraysEqual.js +5 -0
  102. package/dist/utils/areArraysEqual.js.map +1 -0
  103. package/dist/utils/mapChildren.d.ts +2 -0
  104. package/dist/utils/mapChildren.js +10 -0
  105. package/dist/utils/mapChildren.js.map +1 -0
  106. package/dist/utils/maxBy.d.ts +2 -2
  107. package/dist/utils/maxBy.js +4 -4
  108. package/dist/utils/maxBy.js.map +1 -1
  109. package/dist/utils/minBy.d.ts +1 -0
  110. package/dist/utils/minBy.js +6 -0
  111. package/dist/utils/minBy.js.map +1 -0
  112. package/lib/common.css +1 -1
  113. package/lib/components/Blocks.js +3 -1
  114. package/lib/components/Blocks.js.map +1 -1
  115. package/lib/components/Calculator/DepositCalculatorForm.js +14 -12
  116. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  117. package/lib/components/Calculator/constants.d.ts +3 -0
  118. package/lib/components/Calculator/constants.js +9 -0
  119. package/lib/components/Calculator/constants.js.map +1 -1
  120. package/lib/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  121. package/lib/components/Calculator/useDepositCalculatorParams.js +25 -0
  122. package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -0
  123. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  124. package/lib/components/Carousel/Carousel.js +14 -15
  125. package/lib/components/Carousel/Carousel.js.map +1 -1
  126. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  127. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +8 -0
  128. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +10 -0
  129. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -0
  130. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  131. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +2 -0
  132. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +1 -0
  133. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -1
  134. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +7 -13
  135. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  136. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
  137. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  138. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  139. package/lib/components/Header/Header.js +2 -2
  140. package/lib/components/Header/Header.js.map +1 -1
  141. package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  142. package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  143. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  144. package/lib/components/Header/HeaderSubMenu.js +1 -1
  145. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  146. package/lib/components/Header/HeaderSubMenuItem.d.ts +2 -1
  147. package/lib/components/Header/HeaderSubMenuItem.js +1 -1
  148. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  149. package/lib/components/OtherProductsItem/OtherProductsItem.js +1 -1
  150. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  151. package/lib/components/RollupItem/RollupItem.js +10 -1
  152. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  153. package/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  154. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  155. package/lib/hooks/useIntersectionObserver.d.ts +7 -1
  156. package/lib/hooks/useIntersectionObserver.js +11 -2
  157. package/lib/hooks/useIntersectionObserver.js.map +1 -1
  158. package/lib/hooks/useLink.js +2 -2
  159. package/lib/hooks/useLink.js.map +1 -1
  160. package/lib/services/sitemap/SitemapProps.d.ts +1 -2
  161. package/lib/ui-kit/BlockWrapper.js +1 -11
  162. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  163. package/lib/ui-kit/Button/ArrowButton.d.ts +2 -0
  164. package/lib/ui-kit/Button/ArrowButton.js +2 -0
  165. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  166. package/lib/ui-kit/Foldable/FoldableSection.js +1 -1
  167. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  168. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  169. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +33 -0
  170. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -0
  171. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +17 -38
  172. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  173. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  174. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +10 -27
  175. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  176. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  177. package/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  178. package/lib/ui-kit/SwipeListControl/SwipeListItem.js +14 -0
  179. package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -0
  180. package/lib/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  181. package/lib/ui-kit/SwipeListControl/scrollBy.js +5 -0
  182. package/lib/ui-kit/SwipeListControl/scrollBy.js.map +1 -0
  183. package/lib/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  184. package/lib/ui-kit/SwipeListControl/scrollToEnd.js +4 -0
  185. package/lib/ui-kit/SwipeListControl/scrollToEnd.js.map +1 -0
  186. package/lib/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  187. package/lib/ui-kit/SwipeListControl/scrollToStart.js +4 -0
  188. package/lib/ui-kit/SwipeListControl/scrollToStart.js.map +1 -0
  189. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  190. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +54 -0
  191. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -0
  192. package/lib/utils/areArraysEqual.d.ts +1 -0
  193. package/lib/utils/areArraysEqual.js +2 -0
  194. package/lib/utils/areArraysEqual.js.map +1 -0
  195. package/lib/utils/mapChildren.d.ts +2 -0
  196. package/lib/utils/mapChildren.js +7 -0
  197. package/lib/utils/mapChildren.js.map +1 -0
  198. package/lib/utils/maxBy.d.ts +2 -2
  199. package/lib/utils/maxBy.js +2 -2
  200. package/lib/utils/maxBy.js.map +1 -1
  201. package/lib/utils/minBy.d.ts +1 -0
  202. package/lib/utils/minBy.js +3 -0
  203. package/lib/utils/minBy.js.map +1 -0
  204. package/mobile/bundle/bundle.umd.js +141 -140
  205. package/mobile/bundle/bundle.umd.min.js +1 -1
  206. package/mobile/bundle/components/Calculator/constants.d.ts +3 -0
  207. package/mobile/bundle/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  208. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  209. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  210. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  211. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +2 -1
  212. package/mobile/bundle/hooks/useIntersectionObserver.d.ts +7 -1
  213. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +1 -2
  214. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  215. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  216. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  217. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  218. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  219. package/mobile/bundle/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  220. package/mobile/bundle/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  221. package/mobile/bundle/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  222. package/mobile/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  223. package/mobile/bundle/utils/areArraysEqual.d.ts +1 -0
  224. package/mobile/bundle/utils/mapChildren.d.ts +2 -0
  225. package/mobile/bundle/utils/maxBy.d.ts +2 -2
  226. package/mobile/bundle/utils/minBy.d.ts +1 -0
  227. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +13 -11
  228. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  229. package/mobile/dist/components/Calculator/constants.d.ts +3 -0
  230. package/mobile/dist/components/Calculator/constants.js +10 -1
  231. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  232. package/mobile/dist/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  233. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +28 -0
  234. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -0
  235. package/mobile/dist/components/Carousel/Carousel.js +14 -15
  236. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  237. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  238. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +12 -0
  239. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -0
  240. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  241. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +2 -0
  242. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +1 -0
  243. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +7 -13
  244. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  245. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  246. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  247. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  248. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  249. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  250. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  251. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  252. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  253. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +2 -1
  254. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  255. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +1 -1
  256. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  257. package/mobile/dist/components/RollupItem/RollupItem.js +10 -1
  258. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  259. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  260. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  261. package/mobile/dist/hooks/useIntersectionObserver.d.ts +7 -1
  262. package/mobile/dist/hooks/useIntersectionObserver.js +10 -1
  263. package/mobile/dist/hooks/useIntersectionObserver.js.map +1 -1
  264. package/mobile/dist/hooks/useLink.js +1 -1
  265. package/mobile/dist/hooks/useLink.js.map +1 -1
  266. package/mobile/dist/services/sitemap/SitemapProps.d.ts +1 -2
  267. package/mobile/dist/ui-kit/BlockWrapper.js +1 -11
  268. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  269. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +2 -0
  270. package/mobile/dist/ui-kit/Button/ArrowButton.js +3 -1
  271. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  272. package/mobile/dist/ui-kit/Foldable/FoldableSection.js +1 -1
  273. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
  274. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  275. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +35 -0
  276. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -0
  277. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +17 -38
  278. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  279. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  280. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +10 -27
  281. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  282. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  283. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  284. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js +16 -0
  285. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -0
  286. package/mobile/dist/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  287. package/mobile/dist/ui-kit/SwipeListControl/scrollBy.js +8 -0
  288. package/mobile/dist/ui-kit/SwipeListControl/scrollBy.js.map +1 -0
  289. package/mobile/dist/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  290. package/mobile/dist/ui-kit/SwipeListControl/scrollToEnd.js +7 -0
  291. package/mobile/dist/ui-kit/SwipeListControl/scrollToEnd.js.map +1 -0
  292. package/mobile/dist/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  293. package/mobile/dist/ui-kit/SwipeListControl/scrollToStart.js +7 -0
  294. package/mobile/dist/ui-kit/SwipeListControl/scrollToStart.js.map +1 -0
  295. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  296. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +57 -0
  297. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -0
  298. package/mobile/dist/utils/areArraysEqual.d.ts +1 -0
  299. package/mobile/dist/utils/areArraysEqual.js +5 -0
  300. package/mobile/dist/utils/areArraysEqual.js.map +1 -0
  301. package/mobile/dist/utils/mapChildren.d.ts +2 -0
  302. package/mobile/dist/utils/mapChildren.js +10 -0
  303. package/mobile/dist/utils/mapChildren.js.map +1 -0
  304. package/mobile/dist/utils/maxBy.d.ts +2 -2
  305. package/mobile/dist/utils/maxBy.js +4 -4
  306. package/mobile/dist/utils/maxBy.js.map +1 -1
  307. package/mobile/dist/utils/minBy.d.ts +1 -0
  308. package/mobile/dist/utils/minBy.js +6 -0
  309. package/mobile/dist/utils/minBy.js.map +1 -0
  310. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +14 -12
  311. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  312. package/mobile/lib/components/Calculator/constants.d.ts +3 -0
  313. package/mobile/lib/components/Calculator/constants.js +9 -0
  314. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  315. package/mobile/lib/components/Calculator/useDepositCalculatorParams.d.ts +22 -0
  316. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +25 -0
  317. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -0
  318. package/mobile/lib/components/Carousel/Carousel.js +14 -15
  319. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  320. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +5 -0
  321. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +10 -0
  322. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -0
  323. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +12 -0
  324. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +2 -0
  325. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +1 -0
  326. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +7 -13
  327. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  328. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  329. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  330. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  331. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -0
  332. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  333. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  334. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  335. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  336. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +2 -1
  337. package/mobile/lib/components/Header/HeaderSubMenuItem.js +1 -1
  338. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  339. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +1 -1
  340. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  341. package/mobile/lib/components/RollupItem/RollupItem.js +10 -1
  342. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  343. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  344. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  345. package/mobile/lib/hooks/useIntersectionObserver.d.ts +7 -1
  346. package/mobile/lib/hooks/useIntersectionObserver.js +11 -2
  347. package/mobile/lib/hooks/useIntersectionObserver.js.map +1 -1
  348. package/mobile/lib/hooks/useLink.js +2 -2
  349. package/mobile/lib/hooks/useLink.js.map +1 -1
  350. package/mobile/lib/services/sitemap/SitemapProps.d.ts +1 -2
  351. package/mobile/lib/ui-kit/BlockWrapper.js +1 -11
  352. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  353. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +2 -0
  354. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -0
  355. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  356. package/mobile/lib/ui-kit/Foldable/FoldableSection.js +1 -1
  357. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
  358. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +19 -0
  359. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +33 -0
  360. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -0
  361. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +17 -38
  362. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  363. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +7 -4
  364. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +10 -27
  365. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  366. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +3 -3
  367. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.d.ts +14 -0
  368. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js +14 -0
  369. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -0
  370. package/mobile/lib/ui-kit/SwipeListControl/scrollBy.d.ts +1 -0
  371. package/mobile/lib/ui-kit/SwipeListControl/scrollBy.js +5 -0
  372. package/mobile/lib/ui-kit/SwipeListControl/scrollBy.js.map +1 -0
  373. package/mobile/lib/ui-kit/SwipeListControl/scrollToEnd.d.ts +1 -0
  374. package/mobile/lib/ui-kit/SwipeListControl/scrollToEnd.js +4 -0
  375. package/mobile/lib/ui-kit/SwipeListControl/scrollToEnd.js.map +1 -0
  376. package/mobile/lib/ui-kit/SwipeListControl/scrollToStart.d.ts +1 -0
  377. package/mobile/lib/ui-kit/SwipeListControl/scrollToStart.js +4 -0
  378. package/mobile/lib/ui-kit/SwipeListControl/scrollToStart.js.map +1 -0
  379. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +17 -0
  380. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +54 -0
  381. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -0
  382. package/mobile/lib/utils/areArraysEqual.d.ts +1 -0
  383. package/mobile/lib/utils/areArraysEqual.js +2 -0
  384. package/mobile/lib/utils/areArraysEqual.js.map +1 -0
  385. package/mobile/lib/utils/mapChildren.d.ts +2 -0
  386. package/mobile/lib/utils/mapChildren.js +7 -0
  387. package/mobile/lib/utils/mapChildren.js.map +1 -0
  388. package/mobile/lib/utils/maxBy.d.ts +2 -2
  389. package/mobile/lib/utils/maxBy.js +2 -2
  390. package/mobile/lib/utils/maxBy.js.map +1 -1
  391. package/mobile/lib/utils/minBy.d.ts +1 -0
  392. package/mobile/lib/utils/minBy.js +3 -0
  393. package/mobile/lib/utils/minBy.js.map +1 -0
  394. package/mobile/src/common.css +0 -7
  395. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +17 -22
  396. package/mobile/src/components/Calculator/constants.ts +11 -0
  397. package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +64 -0
  398. package/mobile/src/components/Carousel/Carousel.tsx +41 -23
  399. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +25 -0
  400. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +36 -0
  401. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +1 -0
  402. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +13 -0
  403. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +44 -43
  404. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  405. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  406. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +12 -9
  407. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -4
  408. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +5 -2
  409. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +1 -1
  410. package/mobile/src/components/RollupItem/RollupItem.tsx +10 -1
  411. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +5 -3
  412. package/mobile/src/hooks/useIntersectionObserver.ts +23 -2
  413. package/mobile/src/hooks/useLink.ts +2 -2
  414. package/mobile/src/services/sitemap/SitemapProps.ts +1 -2
  415. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -16
  416. package/mobile/src/ui-kit/Button/ArrowButton.tsx +13 -0
  417. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +3 -1
  418. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +97 -0
  419. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +31 -55
  420. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +25 -59
  421. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +3 -3
  422. package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +44 -0
  423. package/mobile/src/ui-kit/SwipeListControl/scrollBy.ts +10 -0
  424. package/mobile/src/ui-kit/SwipeListControl/scrollToEnd.ts +3 -0
  425. package/mobile/src/ui-kit/SwipeListControl/scrollToStart.ts +3 -0
  426. package/mobile/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +84 -0
  427. package/mobile/src/utils/areArraysEqual.ts +2 -0
  428. package/mobile/src/utils/mapChildren.ts +11 -0
  429. package/mobile/src/utils/maxBy.ts +3 -4
  430. package/mobile/src/utils/minBy.ts +5 -0
  431. package/package.json +2 -2
  432. package/src/common.css +0 -7
  433. package/src/components/Blocks.ts +3 -1
  434. package/src/components/Calculator/Calculator.fixture.tsx +0 -5
  435. package/src/components/Calculator/DepositCalculatorForm.tsx +17 -22
  436. package/src/components/Calculator/constants.ts +11 -0
  437. package/src/components/Calculator/useDepositCalculatorParams.ts +64 -0
  438. package/src/components/Carousel/Carousel.fixture.tsx +20 -0
  439. package/src/components/Carousel/Carousel.tsx +41 -23
  440. package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +25 -0
  441. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +38 -0
  442. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +36 -0
  443. package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +1 -0
  444. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +13 -0
  445. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -2
  446. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +44 -43
  447. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  448. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  449. package/src/components/Header/Header.tsx +2 -1
  450. package/src/components/Header/HeaderSecondaryMenu.tsx +12 -9
  451. package/src/components/Header/HeaderSubMenu.tsx +2 -4
  452. package/src/components/Header/HeaderSubMenuItem.tsx +5 -2
  453. package/src/components/OtherProductsItem/OtherProductsItem.tsx +1 -1
  454. package/src/components/RollupItem/RollupItem.tsx +10 -1
  455. package/src/components/VerticalLayout/VerticalLayout.tsx +5 -3
  456. package/src/hooks/useIntersectionObserver.ts +23 -2
  457. package/src/hooks/useLink.ts +2 -2
  458. package/src/services/sitemap/SitemapProps.ts +1 -2
  459. package/src/ui-kit/BlockWrapper.tsx +1 -16
  460. package/src/ui-kit/Button/ArrowButton.tsx +13 -0
  461. package/src/ui-kit/Foldable/FoldableSection.tsx +3 -1
  462. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +97 -0
  463. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +31 -55
  464. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +25 -59
  465. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +3 -3
  466. package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +44 -0
  467. package/src/ui-kit/SwipeListControl/scrollBy.ts +10 -0
  468. package/src/ui-kit/SwipeListControl/scrollToEnd.ts +3 -0
  469. package/src/ui-kit/SwipeListControl/scrollToStart.ts +3 -0
  470. package/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +84 -0
  471. package/src/utils/areArraysEqual.ts +2 -0
  472. package/src/utils/mapChildren.ts +11 -0
  473. package/src/utils/maxBy.ts +3 -4
  474. package/src/utils/minBy.ts +5 -0
  475. package/bundle/components/Carousel/CarouselContainer.d.ts +0 -10
  476. package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  477. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  478. package/bundle/ui-kit/SwipeListControl/constants.d.ts +0 -2
  479. package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  480. package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -4
  481. package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -8
  482. package/dist/components/Carousel/CarouselContainer.d.ts +0 -10
  483. package/dist/components/Carousel/CarouselContainer.js +0 -14
  484. package/dist/components/Carousel/CarouselContainer.js.map +0 -1
  485. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  486. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +0 -8
  487. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +0 -1
  488. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  489. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +0 -11
  490. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +0 -1
  491. package/dist/ui-kit/SwipeListControl/constants.d.ts +0 -2
  492. package/dist/ui-kit/SwipeListControl/constants.js +0 -12
  493. package/dist/ui-kit/SwipeListControl/constants.js.map +0 -1
  494. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  495. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +0 -13
  496. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +0 -1
  497. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -4
  498. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +0 -19
  499. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +0 -1
  500. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -8
  501. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +0 -33
  502. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +0 -1
  503. package/lib/components/Carousel/CarouselContainer.d.ts +0 -10
  504. package/lib/components/Carousel/CarouselContainer.js +0 -12
  505. package/lib/components/Carousel/CarouselContainer.js.map +0 -1
  506. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  507. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +0 -6
  508. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +0 -1
  509. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  510. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +0 -9
  511. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +0 -1
  512. package/lib/ui-kit/SwipeListControl/constants.d.ts +0 -2
  513. package/lib/ui-kit/SwipeListControl/constants.js +0 -10
  514. package/lib/ui-kit/SwipeListControl/constants.js.map +0 -1
  515. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  516. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +0 -10
  517. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +0 -1
  518. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -7
  519. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +0 -16
  520. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +0 -1
  521. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -11
  522. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +0 -30
  523. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +0 -1
  524. package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +0 -10
  525. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  526. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  527. package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +0 -2
  528. package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  529. package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -4
  530. package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -8
  531. package/mobile/dist/components/Carousel/CarouselContainer.d.ts +0 -10
  532. package/mobile/dist/components/Carousel/CarouselContainer.js +0 -14
  533. package/mobile/dist/components/Carousel/CarouselContainer.js.map +0 -1
  534. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  535. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +0 -8
  536. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +0 -1
  537. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  538. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +0 -11
  539. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +0 -1
  540. package/mobile/dist/ui-kit/SwipeListControl/constants.d.ts +0 -2
  541. package/mobile/dist/ui-kit/SwipeListControl/constants.js +0 -12
  542. package/mobile/dist/ui-kit/SwipeListControl/constants.js.map +0 -1
  543. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  544. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +0 -13
  545. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +0 -1
  546. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -4
  547. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +0 -19
  548. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +0 -1
  549. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -8
  550. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +0 -33
  551. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +0 -1
  552. package/mobile/lib/components/Carousel/CarouselContainer.d.ts +0 -10
  553. package/mobile/lib/components/Carousel/CarouselContainer.js +0 -12
  554. package/mobile/lib/components/Carousel/CarouselContainer.js.map +0 -1
  555. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +0 -9
  556. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +0 -6
  557. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +0 -1
  558. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +0 -11
  559. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +0 -9
  560. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +0 -1
  561. package/mobile/lib/ui-kit/SwipeListControl/constants.d.ts +0 -2
  562. package/mobile/lib/ui-kit/SwipeListControl/constants.js +0 -10
  563. package/mobile/lib/ui-kit/SwipeListControl/constants.js.map +0 -1
  564. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +0 -1
  565. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +0 -10
  566. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +0 -1
  567. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +0 -4
  568. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +0 -16
  569. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +0 -1
  570. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +0 -8
  571. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +0 -30
  572. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +0 -1
  573. package/mobile/src/components/Carousel/CarouselContainer.tsx +0 -34
  574. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +0 -24
  575. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +0 -50
  576. package/mobile/src/ui-kit/SwipeListControl/constants.ts +0 -10
  577. package/mobile/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +0 -9
  578. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +0 -25
  579. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +0 -49
  580. package/src/components/Carousel/CarouselContainer.tsx +0 -34
  581. package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +0 -24
  582. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +0 -50
  583. package/src/ui-kit/SwipeListControl/constants.ts +0 -10
  584. package/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +0 -9
  585. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +0 -25
  586. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +0 -49
@@ -311,8 +311,10 @@
311
311
  }
312
312
  }
313
313
 
314
- function useIntersectionObserver(observerCallback, observerOptions) {
314
+ const SENSITIVITY_SCALE = 10;
315
+ function useIntersectionObserver(observerCallback, { sensitivity, rootRef } = {}) {
315
316
  const ref = useRef(null);
317
+ const observerOptions = useMemo(() => ({ threshold: sensitivityToThreshold(sensitivity), root: rootRef?.current }), [sensitivity, rootRef?.current]);
316
318
  useEffect(() => {
317
319
  if (!ref.current) {
318
320
  return undefined;
@@ -325,6 +327,13 @@
325
327
  }, [observerCallback, observerOptions]);
326
328
  return ref;
327
329
  }
330
+ function sensitivityToThreshold(sensitivity = 0) {
331
+ const thresholdsCount = Math.round(sensitivity * SENSITIVITY_SCALE);
332
+ return new Array(thresholdsCount)
333
+ .fill(0)
334
+ .map((_, thi) => Math.min(thi / thresholdsCount), 1)
335
+ .concat(1);
336
+ }
328
337
 
329
338
  const changeHashOnObserve = ({ anchor, anchorClickRef }) => (entries) => {
330
339
  if (!entries?.length) {
@@ -343,19 +352,13 @@
343
352
  }
344
353
  };
345
354
 
346
- const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
347
- const THRESHOLD_ARRAY_LENGTH = 18;
348
- const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
349
- const OBSERVER_OPTIONS = {
350
- threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
351
- };
352
355
  const BlockWrapper = JSX(({ className, block, tag = 'section', role, children }) => {
353
356
  const Tag = tag;
354
357
  const { anchor, labels } = block || {};
355
358
  const [isVisible, setVisible] = useState(true);
356
359
  const anchorClickRef = useRef({});
357
360
  const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
358
- const ref = useIntersectionObserver(observerCallback, OBSERVER_OPTIONS);
361
+ const ref = useIntersectionObserver(observerCallback, { sensitivity: 1 });
359
362
  useEffect(() => EventBus.inst.subscribe('anchorClick', (e) => {
360
363
  setVisible(true);
361
364
  anchorClickRef.current = e;
@@ -372,10 +375,6 @@
372
375
  }), []);
373
376
  return isVisible ? (jsx(Tag, { className: className, role: role, ...(anchor ? { id: anchor, ref } : {}), children: children })) : null;
374
377
  });
375
- function getIntersectionThreshold(_, i) {
376
- const value = (i + 1) / THRESHOLD_ACCURACY + THRESHOLD_ARRAY_START_VALUE;
377
- return Math.round(value * THRESHOLD_ACCURACY) / THRESHOLD_ACCURACY;
378
- }
379
378
  function changeHash(label) {
380
379
  if (label) {
381
380
  globalThis.document.location.hash = label;
@@ -426,7 +425,7 @@
426
425
  : '';
427
426
  }
428
427
  }, [isUnfolded, children?.length]);
429
- return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${className}`, children: children }));
428
+ return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden ${containerRef.current || !isUnfolded ? 'max-h-0' : ''} ${className}`, children: children }));
430
429
  });
431
430
 
432
431
  const svgUseStyleMap = {
@@ -626,7 +625,7 @@
626
625
  props.onClick && props.onClick(ev);
627
626
  const isLocalHref = href && !isURL(href);
628
627
  const isLocalTarget = !props.target || props.target === '_self';
629
- if (isLocalHref && isLocalTarget) {
628
+ if (isLocalHref && isLocalTarget && !isHash(href)) {
630
629
  ev?.preventDefault();
631
630
  router.push(href);
632
631
  }
@@ -865,6 +864,8 @@
865
864
  const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
866
865
  ? 'bg-secondary-light text-secondary-text'
867
866
  : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
867
+ const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
868
+ const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
868
869
 
869
870
  function renderArrows({ dec, inc, canDec, canInc, btnClass, className = '', }) {
870
871
  const isVisible = canDec || canInc;
@@ -909,8 +910,17 @@
909
910
  travelBonusRate: 0.015,
910
911
  restBonusRate: 0.01,
911
912
  };
913
+ const DEFAULT_DEPOSIT_CALCULATOR_PARAMS = {
914
+ minSum: 50000,
915
+ maxSum: 5000000,
916
+ minMonths: 2,
917
+ maxMonths: 120,
918
+ rate: 5.9,
919
+ isMonthlyInterestPayment: true,
920
+ };
912
921
  const CREDIT_CALC_DEFAULT_DIR = 'credit-calculator-data';
913
922
  const BONUS_CALC_DEFAULT_DIR = 'bonus-calculator-data';
923
+ const DEPOSIT_CALC_DEFAULT_DIR = 'deposit-calculator-data';
914
924
 
915
925
  const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-l-light text-secondary-text", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "gradient-color-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
916
926
 
@@ -1182,6 +1192,29 @@
1182
1192
  return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1183
1193
  });
1184
1194
 
1195
+ const useDepositCalculatorParams = (userInputParams, sourceBookDir) => {
1196
+ const { isMonthlyInterestPayment, moneyValue } = userInputParams;
1197
+ const data = useCalculatorParams(sourceBookDir || DEPOSIT_CALC_DEFAULT_DIR);
1198
+ const depositCalculatorSourceBookParams = data?.rows.find((_) => isMonthlyInterestPayment === _.isMonthlyInterestPayment) ||
1199
+ DEFAULT_DEPOSIT_CALCULATOR_PARAMS;
1200
+ const { rate } = depositCalculatorSourceBookParams;
1201
+ const income = getDepositIncome(rate, userInputParams);
1202
+ const finalSum = moneyValue + income;
1203
+ return { ...depositCalculatorSourceBookParams, ...userInputParams, income, finalSum };
1204
+ };
1205
+ const getDepositIncome = (rate, userInputParams) => {
1206
+ const { isMonthlyInterestPayment, moneyValue, monthsValue } = userInputParams;
1207
+ if (isMonthlyInterestPayment) {
1208
+ return Math.round(moneyValue * Math.pow((1200 + rate) / 1200, monthsValue) - moneyValue);
1209
+ }
1210
+ else {
1211
+ /*
1212
+ Приблизительный расчёт, не учитывающий разницу в количестве дней в месяцах. Месяц принят за 30 дней, год за 365 дней.
1213
+ */
1214
+ return Math.round((moneyValue * rate * 30 * monthsValue) / 365 / 100);
1215
+ }
1216
+ };
1217
+
1185
1218
  const EVERY_MONTH = 'everyMonth';
1186
1219
  const AT_END_TERM = 'atEndTerm';
1187
1220
  const depositTypeItems = [
@@ -1194,21 +1227,22 @@
1194
1227
  text: 'В конце срока',
1195
1228
  },
1196
1229
  ];
1197
- const DepositCalculatorForm = JSX(({ className = '', rate, buttons, footnote }) => {
1230
+ const DepositCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote }) => {
1198
1231
  const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
1199
1232
  const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
1200
- const [isEveryMonth, toggleIsEveryMonth] = useState(false);
1201
- const income = 948841;
1202
- const finallySum = 1218841;
1233
+ const [isMonthlyInterestPayment, toggleIsMonthlyInterestPayment] = useState(false);
1234
+ const userInputParams = {
1235
+ moneyValue,
1236
+ monthsValue,
1237
+ isMonthlyInterestPayment,
1238
+ };
1239
+ const calculatorParams = useDepositCalculatorParams(userInputParams, sourceBookDir);
1240
+ const { income, finalSum, rate } = calculatorParams;
1203
1241
  return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма вклада, ₽', {
1204
- moneyValue,
1205
- minSum: DEFAULT_MIN_SUM,
1206
- maxSum: DEFAULT_MAX_SUM,
1242
+ ...calculatorParams,
1207
1243
  }, setMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
1208
- minMonths: DEFAULT_MIN_MONTHS,
1209
- maxMonths: DEFAULT_MAX_MONTHS,
1210
- monthsValue,
1211
- }, setMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [(jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) , (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) , jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1244
+ ...calculatorParams,
1245
+ }, setMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1212
1246
  });
1213
1247
 
1214
1248
  const EmbeddableCalcBlocks = {
@@ -1343,35 +1377,140 @@
1343
1377
  return (jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1344
1378
  });
1345
1379
 
1346
- const childStyleMap = ['[&>*]:min-w-[100%]', '[&>*]:min-w-[50%]', '[&>*]:min-w-[33.33%]'];
1347
- const CarouselContainer = JSX(({ activeIndex, itemCount, visibleItemCount, containerRef, children }) => {
1348
- const scrollWidth = containerRef?.current?.scrollWidth || 0;
1349
- const maxScrollLeft = scrollWidth - (containerRef?.current?.clientWidth || 0);
1350
- const translateX = visibleItemCount
1351
- ? `${-Math.round((100 * activeIndex) / visibleItemCount)}%`
1352
- : `${-Math.round(Math.min((scrollWidth * activeIndex) / (itemCount || 1), maxScrollLeft))}px`;
1353
- return (jsx("div", { className: `flex gap-1 duration-1000 ${visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''}`, style: { transform: `translateX(${translateX})` }, role: "list", ref: containerRef, children: children }));
1380
+ const mapChildren = (mapper) => (children) => {
1381
+ if (children === null || children === undefined) {
1382
+ return children;
1383
+ }
1384
+ return Array.isArray(children) ? children.map(mapper) : mapper(children, 0);
1385
+ };
1386
+
1387
+ const SwipeListItem = JSX(({ className = '', style, idx, activeIndex, observerOptions, children, onIntersection }) => {
1388
+ const observerCallback = useCallback((entries) => {
1389
+ if (entries.length && onIntersection) {
1390
+ onIntersection(idx || 0, entries[entries.length - 1]);
1391
+ }
1392
+ }, [onIntersection, idx]);
1393
+ const ref = useIntersectionObserver(observerCallback, observerOptions);
1394
+ return (jsx("div", { className: `inline-block snap-always box-border ${className}`, style: style, role: "listitem", "aria-current": Boolean(idx === activeIndex), ref: ref, children: children }));
1395
+ });
1396
+
1397
+ const childStyleMap = ['min-w-[100%]', 'min-w-[50%]', 'min-w-[33.33%]'];
1398
+ const SwipeListContainer = JSX(({ className = '', containerRef, activeIndex, visibleItemCount, gap = 0, padding = 0, snapAlign = 'snap-center', children, onVisibleItemsChange, onVisibleIndicesChange, }) => {
1399
+ const observerOptions = {
1400
+ sensitivity: 1,
1401
+ rootRef: containerRef,
1402
+ };
1403
+ const itemsVisibilityListRef = useRef([]);
1404
+ const handleIntersection = useCallback((idx, entry) => {
1405
+ const itemsVisibilityList = [...(itemsVisibilityListRef.current || [])];
1406
+ itemsVisibilityList[idx] = entry;
1407
+ itemsVisibilityListRef.current = itemsVisibilityList;
1408
+ onVisibleItemsChange && onVisibleItemsChange(itemsVisibilityList);
1409
+ onVisibleIndicesChange && onVisibleIndicesChange(getVisibleIndices(itemsVisibilityList));
1410
+ }, [onVisibleItemsChange, onVisibleIndicesChange]);
1411
+ return (jsx("div", { className: `box-border overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...getContainerStyle(padding), gap: `${gap}px` }, role: "list", ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: `${snapAlign} ${visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''}`, style: getContainerStyle(padding / 4), activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
1354
1412
  });
1413
+ // Styles used to compensate outer container padding to get rid of clipping effect
1414
+ const getContainerStyle = (padding) => ({
1415
+ marginLeft: `${-padding}px`,
1416
+ marginRight: `${-padding}px`,
1417
+ paddingLeft: `${padding}px`,
1418
+ paddingRight: `${padding}px`,
1419
+ });
1420
+ const getVisibleIndices = (itemsVisibilityList) => itemsVisibilityList
1421
+ .map((_, i) => [_, i])
1422
+ .filter(([_]) => _ && _.intersectionRatio >= 0.9)
1423
+ .map(([, i]) => i);
1424
+
1425
+ const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
1426
+
1427
+ const defaultDiscriminator = (_) => _;
1428
+ const maxBy = (discriminator = defaultDiscriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
1429
+
1430
+ const minBy = (discriminator = defaultDiscriminator) => maxBy((_) => -discriminator(_));
1431
+
1432
+ const getItemWidth = (container) => (itemCount) => container.scrollWidth / itemCount;
1433
+ const scrollBy = (container) => (itemCount, delta) => {
1434
+ container.scrollBy({ left: delta * getItemWidth(container)(itemCount), behavior: 'smooth' });
1435
+ };
1436
+
1437
+ const scrollToEnd = (container) => {
1438
+ container.scrollTo({ left: container.scrollWidth, behavior: 'smooth' });
1439
+ };
1440
+
1441
+ const scrollToStart = (container) => {
1442
+ container.scrollTo({ left: 0, behavior: 'smooth' });
1443
+ };
1355
1444
 
1445
+ const useSwipeListScroll = ({ itemCount, isCyclic, onVisibleIndicesChange, }) => {
1446
+ const containerRef = useRef(null);
1447
+ const [visibleIndices, setVisibleIndices] = useState([]);
1448
+ const handleVisibleIndicesChange = useCallback((indices) => {
1449
+ setVisibleIndices((prevIndices) => areArraysEqual(prevIndices, indices) ? prevIndices : indices);
1450
+ onVisibleIndicesChange && onVisibleIndicesChange(indices);
1451
+ }, [itemCount]);
1452
+ const [minIndex, maxIndex] = visibleIndices.length
1453
+ ? [minBy()(visibleIndices), maxBy()(visibleIndices)]
1454
+ : [-1, -1];
1455
+ const canScrollLeft = minIndex > 0;
1456
+ const canScrollRight = maxIndex < itemCount - 1;
1457
+ const scrollLeft = useCallback(() => {
1458
+ if (!containerRef.current) {
1459
+ return;
1460
+ }
1461
+ if (isCyclic && !canScrollLeft) {
1462
+ scrollToEnd(containerRef.current);
1463
+ }
1464
+ else {
1465
+ scrollBy(containerRef.current)(itemCount, -1);
1466
+ }
1467
+ }, [isCyclic, itemCount, canScrollLeft]);
1468
+ const scrollRight = useCallback(() => {
1469
+ if (!containerRef.current) {
1470
+ return;
1471
+ }
1472
+ if (isCyclic && !canScrollRight) {
1473
+ scrollToStart(containerRef.current);
1474
+ }
1475
+ else {
1476
+ scrollBy(containerRef.current)(itemCount, 1);
1477
+ }
1478
+ }, [itemCount, isCyclic, canScrollRight]);
1479
+ return [
1480
+ containerRef,
1481
+ {
1482
+ scrollLeft,
1483
+ scrollRight,
1484
+ canScrollLeft: isCyclic || canScrollLeft,
1485
+ canScrollRight: isCyclic || canScrollRight,
1486
+ visibleIndicesRange: [minIndex, maxIndex],
1487
+ handleVisibleIndicesChange,
1488
+ },
1489
+ ];
1490
+ };
1491
+
1492
+ const ITEMS_GAP = 4;
1356
1493
  const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
1494
+ const scrollButtonStyle = 'absolute top-1/2 z-50';
1357
1495
  const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
1358
1496
  const { blocks: childBlocks } = rest.block || {};
1359
1497
  const count = itemCount || childBlocks?.length || 0;
1360
- const containerRef = useRef(null);
1361
- const [activeIndex, controls] = useCarouselControls({
1498
+ const [containerRef, scroll] = useSwipeListScroll({
1362
1499
  itemCount: count,
1363
- visibleItemCount,
1364
1500
  isCyclic,
1365
- container: containerRef.current,
1366
1501
  });
1367
- const { isScrollAvailable } = controls;
1368
- return (jsxs(BlockWrapper, { className: `relative font-sans overflow-hidden ${className}`, ...rest, children: [jsx(CarouselContainer, { activeIndex: activeIndex, itemCount: count, visibleItemCount: visibleItemCount, containerRef: containerRef, children: renderChildren(rest) }), isScrollAvailable && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderArrows({
1369
- ...controls,
1370
- btnClass: ['left-8', 'right-8'],
1371
- className: 'top-1/2',
1372
- })] }));
1502
+ return (jsxs(BlockWrapper, { className: `relative font-sans ${className}`, ...rest, children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }));
1373
1503
  });
1374
- Carousel.childrenTypes = ['CarouselCard', 'CarouselTariffsCard'];
1504
+ Carousel.childrenTypes = [
1505
+ 'CarouselCard',
1506
+ 'CarouselTariffsCard',
1507
+ 'CarouselLinks',
1508
+ 'CarouselProgramsCard',
1509
+ ];
1510
+ const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
1511
+
1512
+ const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-main-stroke flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-end", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
1513
+ const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1375
1514
 
1376
1515
  const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
1377
1516
  const CARD_WIDTH_MAP = {
@@ -1402,23 +1541,17 @@
1402
1541
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
1403
1542
  };
1404
1543
 
1544
+ const VISIBLE_ROWS_COUNT = 1;
1405
1545
  const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, rows = [], ...rest }) => {
1406
- const hitStyle = getHitStyle(Boolean(isHighlighting));
1407
1546
  const rowsNode = rows.map(renderCardInfo);
1408
- const VISIBLE_ROWS_COUNT = 1;
1409
- const [visibleRows, hiddenRows] = [
1410
- rowsNode.slice(0, VISIBLE_ROWS_COUNT),
1411
- rowsNode.slice(VISIBLE_ROWS_COUNT),
1412
- ];
1413
- return (jsxs(BlockWrapper, { className: `font-sans bg-white p-8 border border-main-stroke relative w-[322px] min-w-[322px] -ml-[1px] ${hitStyle} ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? jsx(ImgInner, { className: "flex justify-center", image: icon }) : null, title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, rows?.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton$1 : null })) : null] }));
1547
+ const visibleRows = rowsNode.slice(0, VISIBLE_ROWS_COUNT);
1548
+ const hiddenRows = rowsNode.slice(VISIBLE_ROWS_COUNT);
1549
+ return (jsx(BlockWrapper, { className: `font-sans ${className}`, ...rest, children: jsxs("div", { className: `relative bg-white border border-main-stroke min-w-[322px] p-8 ${getHitStyle(isHighlighting)}`, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, rows?.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton$1 : null })) : null] }) }));
1414
1550
  });
1415
- const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[71px]' : 'mt-[70px] pt-9';
1551
+ const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-9';
1416
1552
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
1417
- const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider flex flex-col gap-1", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? jsx("div", { className: "text-primary-text text-h6", children: cell.description }) : null] }, String(i)));
1418
- const renderHitIcon = () => {
1419
- const POSITION_STYLE = 'absolute -top-7 -right-4';
1420
- return (jsxs("div", { className: `h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)] ${POSITION_STYLE}`, children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx("div", { className: "text-center", children: "\u0425\u0438\u0442" })] }));
1421
- };
1553
+ const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
1554
+ const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx("div", { className: "text-center", children: "\u0425\u0438\u0442" })] }));
1422
1555
 
1423
1556
  const cardStyleMap$1 = {
1424
1557
  black: 'bg-black',
@@ -2065,13 +2198,11 @@
2065
2198
  'bg-white': 'black',
2066
2199
  transparent: 'white',
2067
2200
  };
2068
- const HeaderSecondaryMenu = JSX(({ className, defaultLocation = 'Москва', bgColor = 'bg-white' }) => {
2201
+ const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', bgColor = 'bg-white' }) => {
2069
2202
  const [city, getCity] = useGeolocation(defaultLocation);
2070
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) })] }));
2203
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor })) : null, jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) })] }));
2071
2204
  });
2072
2205
 
2073
- const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
2074
-
2075
2206
  const findActiveSubItem = (router) => (items = []) => {
2076
2207
  const possibleActiveSubItems = items?.filter(isSubItemActive(router));
2077
2208
  return possibleActiveSubItems?.length
@@ -2133,7 +2264,7 @@
2133
2264
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
2134
2265
  const dropDownMenuItems = subItems.slice(visibleItemsCount);
2135
2266
  const subItemsListRef = useRef(null);
2136
- const observerOptions = useMemo(() => ({ threshold: 1, root: subItemsListRef.current }), [subItemsListRef.current]);
2267
+ const observerOptions = { rootRef: subItemsListRef };
2137
2268
  const subItemsVisibilityHandlers = useMemo(() => subItems.map((_, index) => (isIntersecting) => {
2138
2269
  setVisibleItemsCount(isIntersecting
2139
2270
  ? handleIntersectionActivation(index)
@@ -2150,10 +2281,10 @@
2150
2281
  };
2151
2282
  const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
2152
2283
  const router = useRouter();
2153
- const { topItems, logo, defaultLocation } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2284
+ const { topItems, logo, defaultLocation, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2154
2285
  const activeTopItem = showSubMenu ? getActiveItem(topItems, router) : null;
2155
2286
  const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
2156
- return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2287
+ return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2157
2288
  });
2158
2289
  const getActiveItem = (topItems, router) => {
2159
2290
  const [firstPortal] = topItems || [];
@@ -2822,7 +2953,7 @@
2822
2953
  const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2823
2954
  const OtherProductsItem = JSX(({ className, label = '', isUnfolded: unfoldedByDefault, ...rest }) => {
2824
2955
  const { colorPalette } = getParentBlockContent(rest.options, {});
2825
- return (jsx("div", { className: `border-0 border-b border-solid border-main-divider ${className}`, children: jsx(Foldable, { unfoldedByDefault: unfoldedByDefault, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: "grid grid-cols-12 gap-1 border-box", isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { label: label, icon: icons[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette || colorPalette, onClick: onToggle })) }) }));
2956
+ return (jsx("div", { className: `border-0 border-b border-solid border-main-divider ${className}`, children: jsx(Foldable, { unfoldedByDefault: unfoldedByDefault, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: "grid grid-cols-12 gap-1 border-box", isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { label: label, icon: icons[Number(isUnfolded)], dataTheme: colorPalette || rest.options?.page?.colorPalette, onClick: onToggle })) }) }));
2826
2957
  });
2827
2958
  OtherProductsItem.childrenTypes = []; // All types of blocks are suitable
2828
2959
 
@@ -3043,7 +3174,16 @@
3043
3174
  });
3044
3175
 
3045
3176
  const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
3046
- RollupItem.childrenTypes = [];
3177
+ RollupItem.childrenTypes = {
3178
+ exclude: [
3179
+ 'RollupItem',
3180
+ 'Accordion',
3181
+ 'AccordionItem',
3182
+ 'OtherProducts',
3183
+ 'OtherProductsItem',
3184
+ 'VerticalLayout',
3185
+ ],
3186
+ };
3047
3187
  const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
3048
3188
  const iconsPrimary = ['PlusIcon', 'MinusIcon'];
3049
3189
  const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
@@ -3583,13 +3723,15 @@
3583
3723
  primary: 'bg-white',
3584
3724
  secondary: 'bg-primary-main',
3585
3725
  };
3586
- const VerticalLayout = JSX(({ className = '', gap = '', align = 'left', version = 'transparent', ...rest }) => (jsx(BlockWrapper, { className: [
3726
+ const VerticalLayout = JSX(({ className = '', gap = '', align, version = 'transparent', ...rest }) => (jsx(BlockWrapper, { className: [
3587
3727
  'flex flex-col',
3588
3728
  gapStyleMap[gap],
3589
- alignStyle[align],
3729
+ align && alignStyle[align],
3590
3730
  backgroundStyleMap[version],
3591
3731
  className,
3592
- ].join(' '), ...rest, children: renderChildren(rest) })));
3732
+ ]
3733
+ .filter(Boolean)
3734
+ .join(' '), ...rest, children: renderChildren(rest) })));
3593
3735
  VerticalLayout.childrenTypes = {
3594
3736
  exclude: ['VerticalLayout'],
3595
3737
  };
@@ -3605,7 +3747,6 @@
3605
3747
  const Blocks = {
3606
3748
  Accordion,
3607
3749
  AccordionItem,
3608
- CarouselLinks,
3609
3750
  BenefitsBlock,
3610
3751
  BusinessBlock,
3611
3752
  Bonus,
@@ -3614,6 +3755,8 @@
3614
3755
  Calculator,
3615
3756
  Carousel,
3616
3757
  CarouselCard,
3758
+ CarouselLinks,
3759
+ CarouselProgramsCard,
3617
3760
  CarouselTariffsCard,
3618
3761
  Catalog,
3619
3762
  ContactsBlock,
@@ -3720,7 +3863,7 @@
3720
3863
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
3721
3864
  }
3722
3865
 
3723
- const packageVersion = "0.6.34";
3866
+ const packageVersion = "0.6.36";
3724
3867
 
3725
3868
  exports.Blocks = Blocks;
3726
3869
  exports.ContentPage = ContentPage;