@redneckz/wildless-cms-uni-blocks 0.10.10 → 0.11.0

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 (1043) hide show
  1. package/bin/migration-scripts/0.11.0.js +29 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +234 -189
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  6. package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  7. package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  8. package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  9. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  10. package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  11. package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  12. package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  13. package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  14. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  15. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  16. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  17. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  18. package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  19. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  20. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  21. package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  22. package/bundle/components/RollupItem/getIconName.d.ts +1 -0
  23. package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
  24. package/bundle/components/RollupItem/labelSize.d.ts +1 -0
  25. package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
  26. package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  27. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  28. package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  29. package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  30. package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  31. package/bundle/icons/IconName.d.ts +12 -2
  32. package/bundle/services/sitemap/SitemapData.d.ts +1 -1
  33. package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  34. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  35. package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  36. package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  37. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  38. package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  39. package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  40. package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  41. package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  42. package/bundle/ui-kit/List/ListProps.d.ts +0 -2
  43. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  44. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  45. package/bundle/utils/isEmpty.d.ts +1 -0
  46. package/bundle/utils/joinList.d.ts +1 -1
  47. package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
  48. package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
  49. package/cosmos-static/icons/BagIcon.svg +1 -0
  50. package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
  51. package/cosmos-static/icons/ClientIcon.svg +1 -0
  52. package/dist/components/BaseTile/BaseTile.d.ts +12 -2
  53. package/dist/components/BaseTile/BaseTile.js +2 -1
  54. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  55. package/dist/components/Blocks.js +6 -4
  56. package/dist/components/Blocks.js.map +1 -1
  57. package/dist/components/Blocks.mobile.js +0 -2
  58. package/dist/components/Blocks.mobile.js.map +1 -1
  59. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  60. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  61. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  62. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  63. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  64. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  65. package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  66. package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  67. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  68. package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  69. package/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  70. package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  71. package/dist/components/Footer/Footer.mobile.js +3 -9
  72. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  73. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
  74. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  75. package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  76. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  77. package/dist/components/Footer/MediaButton.js +2 -8
  78. package/dist/components/Footer/MediaButton.js.map +1 -1
  79. package/dist/components/Footer/TextInformation.js +3 -1
  80. package/dist/components/Footer/TextInformation.js.map +1 -1
  81. package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  82. package/dist/components/Footer/buttonStylesWithText.js +12 -0
  83. package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  84. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  85. package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
  86. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  87. package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  88. package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  89. package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  90. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  91. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
  92. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  93. package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  94. package/dist/components/Footer/textInformationTextSize.js +4 -0
  95. package/dist/components/Footer/textInformationTextSize.js.map +1 -0
  96. package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  97. package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
  98. package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  99. package/dist/components/Header/Header.mobile.js +2 -2
  100. package/dist/components/Header/Header.mobile.js.map +1 -1
  101. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  102. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  103. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  104. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  105. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  106. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  107. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  108. package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  109. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  110. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  111. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  112. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  113. package/dist/components/ProductBlock/ProductBlock.js +3 -8
  114. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  115. package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  116. package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
  117. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  118. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  119. package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  120. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  121. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  122. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  123. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  124. package/dist/components/ProductGallery/ProductGallery.js +9 -18
  125. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  126. package/dist/components/RollupItem/RollupItem.js +19 -4
  127. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  128. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  129. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  130. package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  131. package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  132. package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  133. package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
  134. package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  135. package/dist/components/RollupItem/getIconName.d.ts +1 -0
  136. package/dist/components/RollupItem/getIconName.js +5 -0
  137. package/dist/components/RollupItem/getIconName.js.map +1 -0
  138. package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
  139. package/dist/components/RollupItem/getIconName.mobile.js +5 -0
  140. package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
  141. package/dist/components/RollupItem/labelSize.d.ts +1 -0
  142. package/dist/components/RollupItem/labelSize.js +4 -0
  143. package/dist/components/RollupItem/labelSize.js.map +1 -0
  144. package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
  145. package/dist/components/RollupItem/labelSize.mobile.js +4 -0
  146. package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
  147. package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  148. package/dist/components/RollupItem/rollupIconVersion.js +4 -0
  149. package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  150. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  151. package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
  152. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  153. package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  154. package/dist/components/RollupItem/rollupItemStyles.js +4 -0
  155. package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  156. package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  157. package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
  158. package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  159. package/dist/components/Tile/Tile.js +2 -2
  160. package/dist/components/Tile/Tile.js.map +1 -1
  161. package/dist/content-page-repository/transformContentPage.js +12 -4
  162. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  163. package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  164. package/dist/content-page-repository/transformDocumentLink.js +32 -0
  165. package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  166. package/dist/icons/IconName.d.ts +12 -2
  167. package/dist/icons/IconName.js +11 -1
  168. package/dist/icons/IconName.js.map +1 -1
  169. package/dist/services/sitemap/SitemapData.d.ts +1 -1
  170. package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  171. package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  172. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  173. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  174. package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  175. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  176. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  177. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  178. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  179. package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  180. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  181. package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  182. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  183. package/dist/ui-kit/BlockWrapper.js +1 -1
  184. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  185. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  186. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  187. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  188. package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  189. package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  190. package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  191. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  192. package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  193. package/dist/ui-kit/LinkList/LinkList.js +12 -0
  194. package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  195. package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  196. package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  197. package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  198. package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  199. package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  200. package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  201. package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  202. package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
  203. package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  204. package/dist/ui-kit/List/List.js +2 -1
  205. package/dist/ui-kit/List/List.js.map +1 -1
  206. package/dist/ui-kit/List/ListItem.js +5 -4
  207. package/dist/ui-kit/List/ListItem.js.map +1 -1
  208. package/dist/ui-kit/List/ListProps.d.ts +0 -2
  209. package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  210. package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  211. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  212. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  213. package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  214. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  215. package/dist/utils/isEmpty.d.ts +1 -0
  216. package/dist/utils/isEmpty.js +9 -0
  217. package/dist/utils/isEmpty.js.map +1 -0
  218. package/dist/utils/joinList.d.ts +1 -1
  219. package/dist/utils/joinList.js +1 -3
  220. package/dist/utils/joinList.js.map +1 -1
  221. package/lib/common.css +1 -1
  222. package/lib/components/BaseTile/BaseTile.d.ts +12 -2
  223. package/lib/components/BaseTile/BaseTile.js +2 -1
  224. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  225. package/lib/components/Blocks.js +6 -4
  226. package/lib/components/Blocks.js.map +1 -1
  227. package/lib/components/Blocks.mobile.js +0 -2
  228. package/lib/components/Blocks.mobile.js.map +1 -1
  229. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  230. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  231. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  232. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  233. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  234. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  235. package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  236. package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  237. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  238. package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  239. package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  240. package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  241. package/lib/components/Footer/Footer.mobile.js +3 -9
  242. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  243. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
  244. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  245. package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  246. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  247. package/lib/components/Footer/MediaButton.js +1 -7
  248. package/lib/components/Footer/MediaButton.js.map +1 -1
  249. package/lib/components/Footer/TextInformation.js +3 -1
  250. package/lib/components/Footer/TextInformation.js.map +1 -1
  251. package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  252. package/lib/components/Footer/buttonStylesWithText.js +9 -0
  253. package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  254. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  255. package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
  256. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  257. package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  258. package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  259. package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  260. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  261. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
  262. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  263. package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  264. package/lib/components/Footer/textInformationTextSize.js +2 -0
  265. package/lib/components/Footer/textInformationTextSize.js.map +1 -0
  266. package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  267. package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
  268. package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  269. package/lib/components/Header/Header.mobile.js +2 -2
  270. package/lib/components/Header/Header.mobile.js.map +1 -1
  271. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  272. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  273. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  274. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  275. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  276. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  277. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  278. package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  279. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  280. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  281. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  282. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  283. package/lib/components/ProductBlock/ProductBlock.js +3 -8
  284. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  285. package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  286. package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
  287. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  288. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  289. package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  290. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  291. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  292. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  293. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  294. package/lib/components/ProductGallery/ProductGallery.js +10 -19
  295. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  296. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
  297. package/lib/components/RollupItem/RollupItem.js +19 -4
  298. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  299. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  300. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  301. package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  302. package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  303. package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  304. package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
  305. package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  306. package/lib/components/RollupItem/getIconName.d.ts +1 -0
  307. package/lib/components/RollupItem/getIconName.js +2 -0
  308. package/lib/components/RollupItem/getIconName.js.map +1 -0
  309. package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
  310. package/lib/components/RollupItem/getIconName.mobile.js +2 -0
  311. package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
  312. package/lib/components/RollupItem/labelSize.d.ts +1 -0
  313. package/lib/components/RollupItem/labelSize.js +2 -0
  314. package/lib/components/RollupItem/labelSize.js.map +1 -0
  315. package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
  316. package/lib/components/RollupItem/labelSize.mobile.js +2 -0
  317. package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
  318. package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  319. package/lib/components/RollupItem/rollupIconVersion.js +2 -0
  320. package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  321. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  322. package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
  323. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  324. package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  325. package/lib/components/RollupItem/rollupItemStyles.js +2 -0
  326. package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  327. package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  328. package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
  329. package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  330. package/lib/components/Tile/Tile.js +2 -2
  331. package/lib/components/Tile/Tile.js.map +1 -1
  332. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
  333. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
  334. package/lib/content-page-repository/transformContentPage.js +12 -4
  335. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  336. package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  337. package/lib/content-page-repository/transformDocumentLink.js +26 -0
  338. package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  339. package/lib/icons/IconName.d.ts +12 -2
  340. package/lib/icons/IconName.js +11 -1
  341. package/lib/icons/IconName.js.map +1 -1
  342. package/lib/services/sitemap/SitemapData.d.ts +1 -1
  343. package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  344. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  345. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  346. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  347. package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  348. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  349. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  350. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  351. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  352. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  353. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  354. package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  355. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  356. package/lib/ui-kit/BlockWrapper.js +1 -1
  357. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  358. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  359. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  360. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  361. package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  362. package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  363. package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  364. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  365. package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  366. package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
  367. package/lib/ui-kit/LinkList/LinkList.js +10 -0
  368. package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  369. package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  370. package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  371. package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  372. package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  373. package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  374. package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  375. package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  376. package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
  377. package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  378. package/lib/ui-kit/List/List.js +2 -1
  379. package/lib/ui-kit/List/List.js.map +1 -1
  380. package/lib/ui-kit/List/ListItem.js +5 -4
  381. package/lib/ui-kit/List/ListItem.js.map +1 -1
  382. package/lib/ui-kit/List/ListProps.d.ts +0 -2
  383. package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  384. package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  385. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  386. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  387. package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  388. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  389. package/lib/utils/isEmpty.d.ts +1 -0
  390. package/lib/utils/isEmpty.js +6 -0
  391. package/lib/utils/isEmpty.js.map +1 -0
  392. package/lib/utils/joinList.d.ts +1 -1
  393. package/lib/utils/joinList.js +1 -3
  394. package/lib/utils/joinList.js.map +1 -1
  395. package/mobile/bundle/bundle.umd.js +224 -204
  396. package/mobile/bundle/bundle.umd.min.js +1 -1
  397. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  398. package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  399. package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  400. package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  401. package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  402. package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  403. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  404. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  405. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  406. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  407. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  408. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  409. package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  410. package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
  411. package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
  412. package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  413. package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  414. package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  415. package/mobile/bundle/icons/IconName.d.ts +12 -2
  416. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
  417. package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +34 -16
  418. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  419. package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  420. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  421. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  422. package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  423. package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  424. package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  425. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
  426. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  427. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  428. package/mobile/bundle/utils/isEmpty.d.ts +1 -0
  429. package/mobile/bundle/utils/joinList.d.ts +1 -1
  430. package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
  431. package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
  432. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  433. package/mobile/dist/components/Blocks.js +0 -2
  434. package/mobile/dist/components/Blocks.js.map +1 -1
  435. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  436. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  437. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  438. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  439. package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  440. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  441. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  442. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  443. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  444. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  445. package/mobile/dist/components/Footer/Footer.js +3 -9
  446. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  447. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
  448. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  449. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  450. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  451. package/mobile/dist/components/Footer/MediaButton.js +2 -8
  452. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  453. package/mobile/dist/components/Footer/TextInformation.js +3 -3
  454. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  455. package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  456. package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
  457. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  458. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  459. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  460. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  461. package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  462. package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
  463. package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
  464. package/mobile/dist/components/Header/Header.js +2 -2
  465. package/mobile/dist/components/Header/Header.js.map +1 -1
  466. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  467. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  468. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
  469. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  470. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  471. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  472. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  473. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  474. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  475. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  476. package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
  477. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  478. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  479. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
  480. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  481. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  482. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  483. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  484. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  485. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  486. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  487. package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
  488. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  489. package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
  490. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  491. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  492. package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  493. package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  494. package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  495. package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
  496. package/mobile/dist/components/RollupItem/getIconName.js +5 -0
  497. package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
  498. package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
  499. package/mobile/dist/components/RollupItem/labelSize.js +4 -0
  500. package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
  501. package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  502. package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
  503. package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  504. package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  505. package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
  506. package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  507. package/mobile/dist/components/Tile/Tile.js +2 -2
  508. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  509. package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
  510. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  511. package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  512. package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
  513. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  514. package/mobile/dist/icons/IconName.d.ts +12 -2
  515. package/mobile/dist/icons/IconName.js +11 -1
  516. package/mobile/dist/icons/IconName.js.map +1 -1
  517. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
  518. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  519. package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  520. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  521. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  522. package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  523. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  524. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  525. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  526. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  527. package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  528. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  529. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  530. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  531. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  532. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  533. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  534. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  535. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  536. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  537. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  538. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  539. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  540. package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  541. package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
  542. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  543. package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  544. package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  545. package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  546. package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  547. package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  548. package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  549. package/mobile/dist/ui-kit/List/List.js +2 -1
  550. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  551. package/mobile/dist/ui-kit/List/ListItem.js +5 -4
  552. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  553. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
  554. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  555. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  556. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  557. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  558. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  559. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  560. package/mobile/dist/utils/isEmpty.d.ts +1 -0
  561. package/mobile/dist/utils/isEmpty.js +9 -0
  562. package/mobile/dist/utils/isEmpty.js.map +1 -0
  563. package/mobile/dist/utils/joinList.d.ts +1 -1
  564. package/mobile/dist/utils/joinList.js +1 -3
  565. package/mobile/dist/utils/joinList.js.map +1 -1
  566. package/mobile/lib/common.css +1 -1
  567. package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
  568. package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
  569. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  570. package/mobile/lib/components/Blocks.js +0 -2
  571. package/mobile/lib/components/Blocks.js.map +1 -1
  572. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  573. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  574. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  575. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  576. package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  577. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  578. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  579. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  580. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  581. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  582. package/mobile/lib/components/Footer/Footer.js +3 -9
  583. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  584. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
  585. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  586. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  587. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  588. package/mobile/lib/components/Footer/MediaButton.js +1 -7
  589. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  590. package/mobile/lib/components/Footer/TextInformation.js +3 -3
  591. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  592. package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  593. package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
  594. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  595. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  596. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  597. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  598. package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  599. package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
  600. package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
  601. package/mobile/lib/components/Header/Header.js +2 -2
  602. package/mobile/lib/components/Header/Header.js.map +1 -1
  603. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  604. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  605. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
  606. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  607. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  608. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  609. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  610. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  611. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  612. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  613. package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
  614. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  615. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  616. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
  617. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  618. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  619. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  620. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  621. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  622. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  623. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  624. package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
  625. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  626. package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
  627. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  628. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  629. package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  630. package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  631. package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  632. package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
  633. package/mobile/lib/components/RollupItem/getIconName.js +2 -0
  634. package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
  635. package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
  636. package/mobile/lib/components/RollupItem/labelSize.js +2 -0
  637. package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
  638. package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  639. package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
  640. package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  641. package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  642. package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
  643. package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  644. package/mobile/lib/components/Tile/Tile.js +2 -2
  645. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  646. package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
  647. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  648. package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  649. package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
  650. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  651. package/mobile/lib/icons/IconName.d.ts +12 -2
  652. package/mobile/lib/icons/IconName.js +11 -1
  653. package/mobile/lib/icons/IconName.js.map +1 -1
  654. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
  655. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  656. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  657. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  658. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  659. package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  660. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  661. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  662. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  663. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  664. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  665. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  666. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  667. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  668. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  669. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  670. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  671. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  672. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  673. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  674. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  675. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  676. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  677. package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  678. package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
  679. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  680. package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  681. package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  682. package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  683. package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  684. package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  685. package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  686. package/mobile/lib/ui-kit/List/List.js +2 -1
  687. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  688. package/mobile/lib/ui-kit/List/ListItem.js +5 -4
  689. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  690. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
  691. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  692. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  693. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  694. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  695. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  696. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  697. package/mobile/lib/utils/isEmpty.d.ts +1 -0
  698. package/mobile/lib/utils/isEmpty.js +6 -0
  699. package/mobile/lib/utils/isEmpty.js.map +1 -0
  700. package/mobile/lib/utils/joinList.d.ts +1 -1
  701. package/mobile/lib/utils/joinList.js +1 -3
  702. package/mobile/lib/utils/joinList.js.map +1 -1
  703. package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
  704. package/mobile/src/components/Blocks.ts +0 -2
  705. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  706. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  707. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  708. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  709. package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  710. package/mobile/src/components/Footer/Footer.tsx +21 -30
  711. package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
  712. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  713. package/mobile/src/components/Footer/MediaButton.tsx +1 -10
  714. package/mobile/src/components/Footer/TextInformation.tsx +17 -17
  715. package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
  716. package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  717. package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
  718. package/mobile/src/components/Header/Header.tsx +2 -2
  719. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  720. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  721. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
  722. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  723. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  724. package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
  725. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  726. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
  727. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  728. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
  729. package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
  730. package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
  731. package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
  732. package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  733. package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
  734. package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
  735. package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  736. package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
  737. package/mobile/src/components/Tile/Tile.tsx +2 -8
  738. package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
  739. package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
  740. package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
  741. package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
  742. package/mobile/src/icons/BagIcon.svg +1 -0
  743. package/mobile/src/icons/BriefcaseIcon.svg +7 -0
  744. package/mobile/src/icons/ClientIcon.svg +1 -0
  745. package/mobile/src/icons/IconName.ts +5 -5
  746. package/mobile/src/services/sitemap/SitemapData.ts +1 -1
  747. package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +36 -17
  748. package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  749. package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  750. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  751. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  752. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
  753. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  754. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  755. package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
  756. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  757. package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
  758. package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  759. package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  760. package/mobile/src/ui-kit/List/List.tsx +10 -11
  761. package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
  762. package/mobile/src/ui-kit/List/ListProps.ts +0 -2
  763. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
  764. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  765. package/mobile/src/utils/isEmpty.ts +6 -0
  766. package/mobile/src/utils/joinList.ts +4 -4
  767. package/package.json +1 -1
  768. package/src/components/BaseTile/BaseTile.tsx +32 -9
  769. package/src/components/Blocks.mobile.ts +0 -2
  770. package/src/components/Blocks.ts +6 -4
  771. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  772. package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  773. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
  774. package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  775. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
  776. package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  777. package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  778. package/src/components/Footer/Footer.mobile.tsx +21 -30
  779. package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
  780. package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  781. package/src/components/Footer/MediaButton.tsx +1 -10
  782. package/src/components/Footer/TextInformation.tsx +5 -3
  783. package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
  784. package/src/components/Footer/buttonStylesWithText.ts +15 -0
  785. package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
  786. package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  787. package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
  788. package/src/components/Footer/textInformationTextSize.ts +1 -0
  789. package/src/components/Header/Header.mobile.tsx +2 -2
  790. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  791. package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  792. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
  793. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  794. package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +5 -5
  795. package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  796. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  797. package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -2
  798. package/src/components/ProductBlock/ProductBlock.tsx +14 -31
  799. package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  800. package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
  801. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  802. package/src/components/ProductBlock/renderBenefit.tsx +3 -12
  803. package/src/components/ProductGallery/ProductGallery.tsx +50 -73
  804. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +22 -2
  805. package/src/components/RollupItem/RollupItem.tsx +73 -34
  806. package/src/components/RollupItem/RollupItemContent.ts +2 -0
  807. package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
  808. package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  809. package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
  810. package/src/components/RollupItem/getIconName.tsx +1 -0
  811. package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
  812. package/src/components/RollupItem/labelSize.tsx +1 -0
  813. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
  814. package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  815. package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
  816. package/src/components/RollupItem/rollupItemStyles.ts +2 -0
  817. package/src/components/Tile/Tile.tsx +2 -8
  818. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +69 -1
  819. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -1
  820. package/src/content-page-repository/transformContentPage.ts +19 -7
  821. package/src/content-page-repository/transformDocumentLink.ts +37 -0
  822. package/src/icons/ArrowDownSolidIcon.svg +1 -0
  823. package/src/icons/ArrowUpSolidIcon.svg +1 -0
  824. package/src/icons/BagIcon.svg +1 -0
  825. package/src/icons/BriefcaseIcon.svg +7 -0
  826. package/src/icons/ClientIcon.svg +1 -0
  827. package/src/icons/IconName.ts +19 -1
  828. package/src/services/sitemap/SitemapData.ts +1 -1
  829. package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +36 -17
  830. package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  831. package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  832. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  833. package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  834. package/src/ui-kit/BlockWrapper.tsx +1 -9
  835. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  836. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  837. package/src/ui-kit/Icon/IconProps.ts +5 -0
  838. package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  839. package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
  840. package/src/ui-kit/LinkList/LinkList.tsx +25 -0
  841. package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  842. package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
  843. package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  844. package/src/ui-kit/List/List.tsx +10 -11
  845. package/src/ui-kit/List/ListItem.tsx +11 -7
  846. package/src/ui-kit/List/ListProps.ts +0 -2
  847. package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
  848. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  849. package/src/utils/isEmpty.ts +6 -0
  850. package/src/utils/joinList.ts +4 -4
  851. package/tailwind.config.cjs +9 -4
  852. package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  853. package/bundle/components/Filtration/Filtration.d.ts +0 -6
  854. package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  855. package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  856. package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
  857. package/bundle/components/LinkList/LinkList.d.ts +0 -5
  858. package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  859. package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  860. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  861. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  862. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  863. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  864. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  865. package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  866. package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  867. package/dist/components/Filtration/Filtration.d.ts +0 -6
  868. package/dist/components/Filtration/Filtration.js +0 -18
  869. package/dist/components/Filtration/Filtration.js.map +0 -1
  870. package/dist/components/Filtration/FiltrationContent.js.map +0 -1
  871. package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  872. package/dist/components/Filtration/FiltrationInner.js.map +0 -1
  873. package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  874. package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  875. package/dist/components/Filtration/renderFormItem.d.ts +0 -4
  876. package/dist/components/Filtration/renderFormItem.js.map +0 -1
  877. package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
  878. package/dist/components/Footer/TextInformation.mobile.js +0 -9
  879. package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
  880. package/dist/components/LinkList/LinkList.d.ts +0 -5
  881. package/dist/components/LinkList/LinkList.js +0 -13
  882. package/dist/components/LinkList/LinkList.js.map +0 -1
  883. package/dist/components/LinkList/LinkListContent.d.ts +0 -9
  884. package/dist/components/LinkList/LinkListContent.js.map +0 -1
  885. package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  886. package/dist/components/LinkList/linkListContentExample.js +0 -23
  887. package/dist/components/LinkList/linkListContentExample.js.map +0 -1
  888. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  889. package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
  890. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  891. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  892. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
  893. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  894. package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  895. package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
  896. package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
  897. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  898. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
  899. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  900. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  901. package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  902. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  903. package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  904. package/lib/components/BaseTile/BaseTileProps.js +0 -2
  905. package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  906. package/lib/components/Filtration/Filtration.d.ts +0 -6
  907. package/lib/components/Filtration/Filtration.js +0 -16
  908. package/lib/components/Filtration/Filtration.js.map +0 -1
  909. package/lib/components/Filtration/FiltrationContent.js +0 -2
  910. package/lib/components/Filtration/FiltrationContent.js.map +0 -1
  911. package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  912. package/lib/components/Filtration/FiltrationInner.js.map +0 -1
  913. package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  914. package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  915. package/lib/components/Filtration/renderFormItem.d.ts +0 -4
  916. package/lib/components/Filtration/renderFormItem.js +0 -19
  917. package/lib/components/Filtration/renderFormItem.js.map +0 -1
  918. package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
  919. package/lib/components/Footer/TextInformation.mobile.js +0 -7
  920. package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
  921. package/lib/components/LinkList/LinkList.d.ts +0 -5
  922. package/lib/components/LinkList/LinkList.js +0 -11
  923. package/lib/components/LinkList/LinkList.js.map +0 -1
  924. package/lib/components/LinkList/LinkListContent.d.ts +0 -9
  925. package/lib/components/LinkList/LinkListContent.js +0 -2
  926. package/lib/components/LinkList/LinkListContent.js.map +0 -1
  927. package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  928. package/lib/components/LinkList/linkListContentExample.js +0 -21
  929. package/lib/components/LinkList/linkListContentExample.js.map +0 -1
  930. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  931. package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
  932. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  933. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  934. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
  935. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  936. package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  937. package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
  938. package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
  939. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  940. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
  941. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  942. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  943. package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  944. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  945. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  946. package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
  947. package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  948. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  949. package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
  950. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  951. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  952. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  953. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  954. package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  955. package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
  956. package/mobile/dist/components/Filtration/Filtration.js +0 -18
  957. package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
  958. package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -84
  959. package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
  960. package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
  961. package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  962. package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
  963. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  964. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  965. package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
  966. package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
  967. package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
  968. package/mobile/dist/components/LinkList/LinkList.js +0 -13
  969. package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
  970. package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
  971. package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
  972. package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
  973. package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  974. package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
  975. package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
  976. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  977. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  978. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  979. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  980. package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
  981. package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  982. package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
  983. package/mobile/lib/components/Filtration/Filtration.js +0 -16
  984. package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
  985. package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -84
  986. package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
  987. package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
  988. package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  989. package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
  990. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  991. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  992. package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
  993. package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
  994. package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
  995. package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
  996. package/mobile/lib/components/LinkList/LinkList.js +0 -11
  997. package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
  998. package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
  999. package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
  1000. package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
  1001. package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1002. package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
  1003. package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1004. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1005. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1006. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1007. package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
  1008. package/mobile/src/components/Filtration/Filtration.tsx +0 -38
  1009. package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1010. package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
  1011. package/mobile/src/components/LinkList/LinkList.example.json +0 -23
  1012. package/mobile/src/components/LinkList/LinkList.tsx +0 -29
  1013. package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
  1014. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1015. package/src/components/BaseTile/BaseTileProps.ts +0 -15
  1016. package/src/components/Filtration/Filtration.tsx +0 -38
  1017. package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1018. package/src/components/Filtration/renderFormItem.tsx +0 -36
  1019. package/src/components/Footer/TextInformation.mobile.tsx +0 -22
  1020. package/src/components/LinkList/LinkList.example.json +0 -23
  1021. package/src/components/LinkList/LinkList.fixture.tsx +0 -12
  1022. package/src/components/LinkList/LinkList.tsx +0 -29
  1023. package/src/components/LinkList/LinkListContent.ts +0 -10
  1024. package/src/components/LinkList/linkListContentExample.ts +0 -22
  1025. package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
  1026. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
  1027. package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
  1028. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
  1029. package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1030. /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1031. /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1032. /package/lib/components/{Filtration/Filtration.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
  1033. /package/lib/components/{LinkList/LinkList.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +0 -0
  1034. /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1035. /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1036. /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1037. /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1038. /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1039. /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1040. /package/mobile/src/components/{LinkList/LinkList.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
  1041. /package/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1042. /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1043. /package/src/components/{LinkList/LinkList.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
@@ -360,7 +360,7 @@
360
360
  transparent: 'bg-transparent text-primary-text',
361
361
  '': '',
362
362
  };
363
- const BlockWrapper = JSX(({ className = '', version = 'primary', isTheme = true, block, tag = 'section', role, children, }) => {
363
+ const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, block, tag = 'section', role, children }) => {
364
364
  const Tag = tag;
365
365
  const ref = useBlockIntersectionObserver(block);
366
366
  const [isHidden, setHidden] = useState(false);
@@ -818,11 +818,11 @@
818
818
  });
819
819
 
820
820
  const DOT_SIZE_MAP = {
821
- L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
822
- M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
823
- S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
821
+ L: 'w-1.5 h-1.5 mr-4',
822
+ M: 'w-1.5 h-1.5 mr-3',
823
+ S: 'w-1 h-1 mr-2',
824
824
  };
825
- const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] })));
825
+ const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
826
826
 
827
827
  const TEXT_SIZE_MAP = {
828
828
  S: 'text-l-light',
@@ -834,7 +834,15 @@
834
834
  M: 'ml-3',
835
835
  L: 'ml-4',
836
836
  };
837
- const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
837
+ const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
838
+
839
+ const buttonSizeStyles = {
840
+ default: 'w-24 h-14',
841
+ small: 'w-12 h-12',
842
+ };
843
+ const buttonStylesWithText = (text, buttonSize) => text
844
+ ? ''
845
+ : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
838
846
 
839
847
  const ICONS_MAP = [
840
848
  {
@@ -868,13 +876,6 @@
868
876
  label: 'Youtube',
869
877
  },
870
878
  ];
871
- const buttonSizeStyles = {
872
- default: 'w-14 h-14',
873
- small: 'w-12 h-12',
874
- };
875
- const buttonStylesWithText = (text, buttonSize) => text
876
- ? ''
877
- : `group/media flex items-center justify-center box-border ${buttonSizeStyles[buttonSize]}`;
878
879
  const MediaButton = JSX(({ buttonSize = 'default', rounded = false, icon, ...rest }) => {
879
880
  const { href, version, text = '' } = rest;
880
881
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
@@ -972,7 +973,7 @@
972
973
 
973
974
  const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-default mt-6' : 'mt-6 p-default'; // Хак для мобильной версии т.к. контракт должен быть идентичный
974
975
 
975
- const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
976
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'flex-wrap gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
976
977
  const renderButton = (buttonClassName = '') => (button, index) => {
977
978
  const { text, icon, iconRight, version, ...rest } = button || {};
978
979
  const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
@@ -1150,6 +1151,170 @@
1150
1151
  return data || EMPTY_VALUE;
1151
1152
  }
1152
1153
 
1154
+ const linkListStyles = '';
1155
+
1156
+ const LinkList = JSX(({ className = '', items }) => items?.length ? (jsx("ul", { className: style('flex flex-col p-0', linkListStyles, className), children: items.map(renderLinkListItem) })) : null);
1157
+ const renderLinkListItem = (item, i) => {
1158
+ const { text, ...linkProps } = item;
1159
+ return (jsx("li", { className: "list-none mb-4 sm:mb-6 sm:last:mb-0", children: jsx("a", { className: "hover:text-primary-main sm:font-light", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
1160
+ };
1161
+
1162
+ const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
1163
+ return (jsxs("button", { className: style('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
1164
+ ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
1165
+ : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(Img, { image: {
1166
+ icon,
1167
+ iconVersion: 'white',
1168
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
1169
+ });
1170
+
1171
+ const iconBgStyles = {
1172
+ primary: 'bg-main-divider',
1173
+ secondary: 'bg-white/30',
1174
+ 'secondary-light': 'bg-secondary-light',
1175
+ };
1176
+ const RoundedIcon = JSX(({ iconBgVersion = 'primary', ...rest }) => (jsx("div", { className: style('rounded-icon p-2.5 mr-3', iconBgStyles[iconBgVersion]), children: jsx(Icon, { ...rest }) })));
1177
+
1178
+ const foldableSectionStyles = 'flex flex-wrap group-last:last:pb-0';
1179
+
1180
+ const getIconName = (isUnfolded) => isUnfolded ? 'ArrowUpSolidIcon' : 'ArrowDownSolidIcon';
1181
+
1182
+ const labelSize = 'text-l';
1183
+
1184
+ const rollupIconVersion = 'normal';
1185
+
1186
+ const rollupItemStyles = '';
1187
+
1188
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
1189
+ return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle }) }) }));
1190
+ });
1191
+ RollupItem.childrenTypes = {
1192
+ exclude: ['RollupItem'],
1193
+ };
1194
+ const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
1195
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
1196
+ return version === 'primary' ? (renderPrimaryFoldButton({
1197
+ label,
1198
+ labelIcon,
1199
+ icon: getIconName(isUnfolded),
1200
+ onToggle,
1201
+ })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
1202
+ };
1203
+ const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
1204
+ const iconWidth = String(labelIcon?.size?.width || 24);
1205
+ const iconHeight = String(labelIcon?.size?.height || 24);
1206
+ const iconName = labelIcon?.icon;
1207
+ return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
1208
+ };
1209
+
1210
+ const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
1211
+ const renderContact = (item, index) => {
1212
+ const { type, text, description } = item;
1213
+ return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 text-s-light text-secondary-text", children: description })] }, String(index)));
1214
+ };
1215
+ const renderText = (type, text = '') => {
1216
+ switch (type) {
1217
+ case 'tel':
1218
+ return (jsx("a", { className: "text-h6 text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: text }));
1219
+ case 'email':
1220
+ return (jsx("a", { className: "text-xl-light text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1221
+ default:
1222
+ return jsx("span", { children: text });
1223
+ }
1224
+ };
1225
+ const formatTel = (s) => s.replaceAll(/\D/g, '');
1226
+
1227
+ const horizontalNavigationLinkStyles = '';
1228
+
1229
+ const HorizontalNavigationLink = JSX(({ className = '', index, text, ...rest }) => {
1230
+ const link = useLink();
1231
+ const { href, target, onClick } = link(rest);
1232
+ return (jsx("a", { className: style(horizontalNavigationLinkStyles, className), href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
1233
+ });
1234
+
1235
+ const HorizontalNavigation = JSX(({ title, links, className = '' }) => (jsxs("div", { className: className, children: [jsx(Text, { size: "text-h6", children: title }), links?.length ? (jsx("div", { className: "flex flex-col gap-6 mt-7", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, ..._ }, String(i)))) })) : null] })));
1236
+
1237
+ const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
1238
+ const link = useLink({ isRemote: true });
1239
+ const { href, target, text, onClick } = link(rest);
1240
+ return (jsx("a", { className: `text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
1241
+ });
1242
+
1243
+ const textInformationTextSize = 'text-s';
1244
+
1245
+ const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-5 sm:py-4", children: jsx(Text, { size: textInformationTextSize, color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-2.5", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
1246
+
1247
+ const Footer = JSX(({ className = '', ...rest }) => {
1248
+ const fallback = rest.options?.page?.fallback;
1249
+ const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
1250
+ const { documents, relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
1251
+ return (jsxs(BlockWrapper, { tag: "footer", className: style('px-4 py-6', className), ...rest, children: [jsx("div", { className: "mb-4 pb-5 border-b border-main-divider", children: sitemap.topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, labelIcon: item?.icon, children: jsx(LinkList, { items: item.items, className: "my-3" }) }, String(i)))) }), jsx(Contacts, { className: "overflow-hidden", items: contacts }), jsx(SocialMedia, { className: "mb-4", media: socialMedia }), jsx(Button, { className: "w-full mb-4", text: "Google Play", version: "secondary", href: "/", target: "_blank" }), jsx(HorizontalNavigation, { className: "pt-4 pb-7 border-y border-main-divider", title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, {})] }));
1252
+ });
1253
+
1254
+ const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
1255
+
1256
+ const findActiveSubItem = (router) => (items = []) => {
1257
+ const possibleActiveSubItems = items?.filter(isHrefActive(router));
1258
+ return possibleActiveSubItems?.length
1259
+ ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
1260
+ : undefined;
1261
+ };
1262
+
1263
+ const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
1264
+
1265
+ const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
1266
+ const link = useLink();
1267
+ const { href, target, text, onClick } = link(rest);
1268
+ return (jsxs("a", { className: style('relative inline-block bg-transparent text-center no-underline', className), href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? (jsx("div", { className: "absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent" })) : null] }));
1269
+ });
1270
+ const getTextStyle = (active = false) => style('font-sans text-s', active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
1271
+
1272
+ const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
1273
+ function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
1274
+ const cachedFetcher = useCallback(async (...args) => {
1275
+ const storageKey = `async:${key}`;
1276
+ const storageData = storage.getItem(storageKey);
1277
+ const cachedData = getParsedData(storageData);
1278
+ if (cachedData) {
1279
+ return cachedData;
1280
+ }
1281
+ const data = await fetcher(...args);
1282
+ storage.setItem(storageKey, JSON.stringify({ data, timestamp: Date.now() }));
1283
+ return data;
1284
+ }, [key, fetcher]);
1285
+ return useAsyncData(key, cachedFetcher);
1286
+ }
1287
+ function getParsedData(storageData) {
1288
+ const { data = null, timestamp = null } = storageData ? JSON.parse(storageData) : {};
1289
+ return data && Date.now() - timestamp < STORAGE_DEFAULT_TTL ? data : undefined;
1290
+ }
1291
+
1292
+ const REGION_URL = '/api/v1/region';
1293
+ function useLocation(defaultLocation = 'Москва') {
1294
+ const currentLocation = getLocalStorageLocation();
1295
+ const [location, setLocation] = useState(currentLocation?.region ?? { name: defaultLocation });
1296
+ const { data } = useCachedAsyncData(REGION_URL, fetchJSONUnsafe);
1297
+ useEffect(() => {
1298
+ setLocation(currentLocation?.region && currentLocation?.manual
1299
+ ? currentLocation.region
1300
+ : data || { name: defaultLocation });
1301
+ }, [data]);
1302
+ const onChangeLocation = useCallback((region) => {
1303
+ globalThis.localStorage?.setItem('location', JSON.stringify({ manual: true, region }));
1304
+ setLocation(region);
1305
+ }, []);
1306
+ return [location, onChangeLocation];
1307
+ }
1308
+ const getLocalStorageLocation = () => {
1309
+ const localStorageLocation = globalThis.localStorage?.getItem('location');
1310
+ try {
1311
+ return localStorageLocation ? JSON.parse(localStorageLocation) : null;
1312
+ }
1313
+ catch (_) {
1314
+ return null;
1315
+ }
1316
+ };
1317
+
1153
1318
  const CloseButton = JSX(({ className, onClick }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClick, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
1154
1319
 
1155
1320
  function assertUnreachable(x) {
@@ -1391,11 +1556,11 @@
1391
1556
  return (jsx("a", { className: style('text-l-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
1392
1557
  });
1393
1558
 
1394
- const SearchInput = JSX(({ className, isMobile, value, autoFocus, onChange, onFocus }) => {
1559
+ const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
1395
1560
  const handleChange = useCallback((ev) => {
1396
1561
  onChange && onChange(ev.target?.value || '');
1397
1562
  }, [onChange]);
1398
- return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text', isMobile ? '' : 'h-full'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
1563
+ return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
1399
1564
  });
1400
1565
 
1401
1566
  const SEARCH_DIALOG_ID = 'search';
@@ -1427,7 +1592,7 @@
1427
1592
  }
1428
1593
 
1429
1594
  const MIN_QUERY_LEN = 3;
1430
- const SearchBarInner = JSX(({ className, isMobile }) => {
1595
+ const SearchBar = JSX(({ className }) => {
1431
1596
  const [value, setValue] = useState('');
1432
1597
  const resetQueryOnDialogClose = useCallback(() => setValue(''), []);
1433
1598
  useDialogHandlers({ onClose: resetQueryOnDialogClose });
@@ -1438,18 +1603,17 @@
1438
1603
  open(_);
1439
1604
  }
1440
1605
  }, []);
1441
- return (jsxs("div", { className: className, children: [jsx(SearchInput, { isMobile: isMobile, value: value, onChange: handleInitialInputChange }), isMobile ? (jsx(CloseButton, { className: "absolute top-2 right-3", onClick: resetQueryOnDialogClose })) : null] }));
1606
+ return (jsxs("div", { className: className, children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-2 right-3 sm:hidden", onClick: resetQueryOnDialogClose })] }));
1442
1607
  });
1443
1608
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
1444
1609
 
1445
- const SearchBar = JSX((props) => (jsx(SearchBarInner, { ...props, isMobile: true })));
1446
-
1447
- const LinkList = JSX(({ className = '', documents, ...rest }) => (jsx(BlockWrapper, { className: `mt-2.5 ${className}`, ...rest, children: jsx("ul", { className: "flex flex-col text-s text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) })));
1448
- const renderLinkListItem = (documents) => {
1449
- return documents.map((doc, i) => {
1450
- const { text, ...linkProps } = doc;
1451
- return (jsx("li", { className: "mb-4 list-none", children: jsx("a", { className: "hover:text-primary-main", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
1452
- });
1610
+ const HeaderBurger = JSX(({ burgerSubMenu, onClick, defaultLocation = '', children }) => {
1611
+ const [location] = useLocation(defaultLocation);
1612
+ return (jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [jsx("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) }), jsxs("button", { className: "flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer", children: [jsx(Img, { image: { icon: 'GeolocationIcon' }, width: "20", height: "20", className: "text-primary-main box-border mr-2" }), jsx(Text, { color: "text-secondary-text", children: location.name })] }), children, jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), jsx(SearchBar, { className: "grow" })] }));
1613
+ });
1614
+ const renderBurgerSubMenuItem = (menu, i) => {
1615
+ const { icon, href, text } = menu;
1616
+ return (jsxs("a", { href: href, className: "flex text-s mb-4 hover:text-primary-main", children: [icon ? jsx(Img, { className: "text-primary-main pr-1", image: icon, width: "24", height: "24" }) : null, jsx("span", { className: "font-medium pl-0.5", children: text })] }, `headerSubMenu-${i}`));
1453
1617
  };
1454
1618
 
1455
1619
  const ICON_VERSION_MAP = {
@@ -1460,7 +1624,7 @@
1460
1624
  'bg-white': 'text-primary-main',
1461
1625
  transparent: 'text-white',
1462
1626
  };
1463
- const renderImage$2 = (bgColor, image, size) => {
1627
+ const renderImage$1 = (bgColor, image, size) => {
1464
1628
  return image?.src ? (jsx(Img, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/" })) : (jsx(Img, { image: {
1465
1629
  icon: image?.icon || 'LogoIcon',
1466
1630
  iconVersion: ICON_VERSION_MAP[bgColor],
@@ -1476,159 +1640,9 @@
1476
1640
  };
1477
1641
 
1478
1642
  const Logo = JSX(({ bgColor = 'bg-white', children, className = '', href, logo, showTitle = true, targetBlank, }) => {
1479
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$2(bgColor, logo?.image, { width: '34', height: '34' }), showTitle ? renderTitle(children || logo?.title, bgColor, 'text-s') : null] }));
1643
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, { width: '34', height: '34' }), showTitle ? renderTitle(children || logo?.title, bgColor, 'text-s') : null] }));
1480
1644
  });
1481
1645
 
1482
- const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
1483
- return (jsx("div", { className: `col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${className}`, children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-12 h-12", children: jsx(Logo, { className: "w-8", bgColor: "transparent", showTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [jsx("div", { className: "text-s font-medium mb-[3px]", children: title }), jsx("div", { className: "text-s text-secondary-text", children: description })] })] })) : null }));
1484
- });
1485
-
1486
- const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
1487
- return (jsxs("button", { className: style('flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text', disabled
1488
- ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
1489
- : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(Img, { image: {
1490
- icon,
1491
- iconVersion: 'white',
1492
- }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
1493
- });
1494
-
1495
- const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
1496
- return (jsx(BlockWrapper, { className: style('border-b border-solid border-main-divider w-full', className), tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) }));
1497
- });
1498
- RollupItem.childrenTypes = {
1499
- exclude: ['RollupItem'],
1500
- };
1501
- const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, className = '', primaryIcon, }) => {
1502
- const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
1503
- return version === 'primary' ? (renderPrimaryFoldButton({
1504
- label,
1505
- icon: isUnfolded ? 'MinusIcon' : 'PlusIcon',
1506
- onToggle,
1507
- className,
1508
- primaryIcon,
1509
- })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
1510
- };
1511
- const renderPrimaryFoldButton = ({ label, icon, primaryIcon, onToggle, }) => (jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0`, onClick: onToggle, children: [jsxs("div", { className: "flex group-hover:text-primary-main", children: [primaryIcon ? (jsx(Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24" })) : null, jsx(Text, { size: "text-m-title-xs", font: "font-medium", children: label })] }), jsx(Img, { className: "flex-shrink-0", image: { icon }, width: "24", height: "24" })] }));
1512
-
1513
- const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
1514
- const renderContact = (item, index) => {
1515
- const { type, text, description } = item;
1516
- return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 text-s-light text-secondary-text", children: description })] }, String(index)));
1517
- };
1518
- const renderText = (type, text = '') => {
1519
- switch (type) {
1520
- case 'tel':
1521
- return (jsx("a", { className: "text-h6 text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: text }));
1522
- case 'email':
1523
- return (jsx("a", { className: "text-xl-light text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1524
- default:
1525
- return jsx("span", { children: text });
1526
- }
1527
- };
1528
- const formatTel = (s) => s.replaceAll(/\D/g, '');
1529
-
1530
- const HorizontalNavigationLink = JSX(({ className = '', index, text, ...rest }) => {
1531
- const link = useLink();
1532
- const { href, target, onClick } = link(rest);
1533
- return (jsx("a", { className: `text-secondary-text hover:text-primary-main inline-block no-underline ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
1534
- });
1535
-
1536
- const HorizontalNavigation = JSX(({ title, links, className = '' }) => (jsxs("div", { className: className, children: [jsx("span", { className: "text-primary-text text-s font-medium", children: title }), links?.length ? (jsx("div", { className: "flex flex-col gap-2 pt-3", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-s", ..._ }, String(i)))) })) : null] })));
1537
-
1538
- const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
1539
- const link = useLink({ isRemote: true });
1540
- const { href, target, text, onClick } = link(rest);
1541
- return (jsx("a", { className: `text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
1542
- });
1543
-
1544
- const TextInformation = JSX(({ className = '', links }) => {
1545
- return (jsxs("div", { className: className, children: [jsx("div", { className: "py-6", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: `flex flex-col justify-start items-start gap-2`, children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] }));
1546
- });
1547
-
1548
- const Footer = JSX(({ className = '', ...rest }) => {
1549
- const fallback = rest.options?.page?.fallback;
1550
- const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
1551
- const { documents, relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
1552
- return (jsxs(BlockWrapper, { tag: "footer", className: `px-4 py-[26px] ${className}`, ...rest, children: [jsx(Contacts, { className: "overflow-hidden", items: contacts, hasButton: true }), jsx("div", { className: "m-0 p-0", children: sitemap.topItems?.map((item, i) => (jsx(RollupItem, { label: item?.text, children: jsx(LinkList, { documents: item.items }) }, String(i)))) }), jsx("div", { className: "mt-4", children: sitemap?.dispositions?.map(renderSubMenuItem) }), jsx(MobileAppTile, { title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android", ...rest }), jsx(SearchBar, { className: "grow" }), jsx(SocialMedia, { className: "pt-6 pb-6", media: socialMedia }), jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
1553
- });
1554
- const renderSubMenuItem = (menu, i) => {
1555
- const { icon, href, text } = menu;
1556
- return (jsxs(Button, { version: "link", href: href, className: "flex text-s mb-4 w-6", children: [icon ? jsx(Img, { className: "pr-1", image: icon, width: "24", height: "24" }) : null, jsx("span", { className: "pl-2.5 font-medium text-primary-text", children: text })] }, `footer-${i}`));
1557
- };
1558
-
1559
- const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
1560
-
1561
- const findActiveSubItem = (router) => (items = []) => {
1562
- const possibleActiveSubItems = items?.filter(isHrefActive(router));
1563
- return possibleActiveSubItems?.length
1564
- ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
1565
- : undefined;
1566
- };
1567
-
1568
- const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
1569
-
1570
- const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
1571
- const link = useLink();
1572
- const { href, target, text, onClick } = link(rest);
1573
- return (jsxs("a", { className: style('relative inline-block bg-transparent text-center no-underline', className), href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? (jsx("div", { className: "absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent" })) : null] }));
1574
- });
1575
- const getTextStyle = (active = false) => style('font-sans text-s', active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
1576
-
1577
- const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
1578
- function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
1579
- const cachedFetcher = useCallback(async (...args) => {
1580
- const storageKey = `async:${key}`;
1581
- const storageData = storage.getItem(storageKey);
1582
- const cachedData = getParsedData(storageData);
1583
- if (cachedData) {
1584
- return cachedData;
1585
- }
1586
- const data = await fetcher(...args);
1587
- storage.setItem(storageKey, JSON.stringify({ data, timestamp: Date.now() }));
1588
- return data;
1589
- }, [key, fetcher]);
1590
- return useAsyncData(key, cachedFetcher);
1591
- }
1592
- function getParsedData(storageData) {
1593
- const { data = null, timestamp = null } = storageData ? JSON.parse(storageData) : {};
1594
- return data && Date.now() - timestamp < STORAGE_DEFAULT_TTL ? data : undefined;
1595
- }
1596
-
1597
- const REGION_URL = '/api/v1/region';
1598
- function useLocation(defaultLocation = 'Москва') {
1599
- const currentLocation = getLocalStorageLocation();
1600
- const [location, setLocation] = useState(currentLocation?.region ?? { name: defaultLocation });
1601
- const { data } = useCachedAsyncData(REGION_URL, fetchJSONUnsafe);
1602
- useEffect(() => {
1603
- setLocation(currentLocation?.region && currentLocation?.manual
1604
- ? currentLocation.region
1605
- : data || { name: defaultLocation });
1606
- }, [data]);
1607
- const onChangeLocation = useCallback((region) => {
1608
- globalThis.localStorage?.setItem('location', JSON.stringify({ manual: true, region }));
1609
- setLocation(region);
1610
- }, []);
1611
- return [location, onChangeLocation];
1612
- }
1613
- const getLocalStorageLocation = () => {
1614
- const localStorageLocation = globalThis.localStorage?.getItem('location');
1615
- try {
1616
- return localStorageLocation ? JSON.parse(localStorageLocation) : null;
1617
- }
1618
- catch (_) {
1619
- return null;
1620
- }
1621
- };
1622
-
1623
- const HeaderBurger = JSX(({ burgerSubMenu, onClick, defaultLocation = '', children }) => {
1624
- const [location] = useLocation(defaultLocation);
1625
- return (jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [jsx("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) }), jsxs("button", { className: "flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer", children: [jsx(Img, { image: { icon: 'GeolocationIcon' }, width: "20", height: "20", className: "text-primary-main box-border mr-2" }), jsx(Text, { color: "text-secondary-text", children: location.name })] }), children, jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), jsx(SearchBar, { className: "grow" })] }));
1626
- });
1627
- const renderBurgerSubMenuItem = (menu, i) => {
1628
- const { icon, href, text } = menu;
1629
- return (jsxs("a", { href: href, className: "flex text-s mb-4 hover:text-primary-main", children: [icon ? jsx(Img, { className: "text-primary-main pr-1", image: icon, width: "24", height: "24" }) : null, jsx("span", { className: "font-medium pl-0.5", children: text })] }, `headerSubMenu-${i}`));
1630
- };
1631
-
1632
1646
  const HeaderTop = JSX(({ onClick, bgColor, logo }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-12", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24" }) }), jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo })] }), jsx("button", { className: "text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent", children: "\u0412\u043E\u0439\u0442\u0438" })] })));
1633
1647
 
1634
1648
  const BG_COLOR_TO_BLOCK_VERSION = {
@@ -1644,7 +1658,7 @@
1644
1658
  const activeSubItem = findActiveSubItem(router)(subItems);
1645
1659
  const [burgerMenuShow, setBurgerMenuShow] = useState(false);
1646
1660
  const handleBurgerMenuShow = useCallback(() => setBurgerMenuShow((_) => !_), []);
1647
- return (jsxs(BlockWrapper, { tag: "header", version: version, ...rest, children: [jsxs("div", { className: "container px-4 py-0 box-border", children: [jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: jsx("div", { className: "list-none m-0 p-0", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item.text, children: jsx(LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
1661
+ return (jsxs(BlockWrapper, { tag: "header", version: version, ...rest, children: [jsxs("div", { className: "container px-4 py-0 box-border", children: [jsx(HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => (jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? (jsx(HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: jsx("div", { className: "list-none m-0 p-0", children: topItems?.map((item, i) => (jsx(RollupItem, { label: item.text, children: jsx(LinkList, { className: "mt-2.5", items: item.items }) }, String(i)))) }) })) : null] }));
1648
1662
  });
1649
1663
 
1650
1664
  const ImgBlock = JSX((props) => {
@@ -1672,6 +1686,10 @@
1672
1686
 
1673
1687
  const LinkDocs = JSX(({ className = '', title, description, icon = { icon: 'DocDownloadIcon', iconVersion: 'black' }, documents, align, ...rest }) => (jsxs(BlockWrapper, { className: style('p-default', className), ...rest, children: [jsx(Headline, { isPadding: false, title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: "mt-5 flex flex-col gap-6", role: "list", children: documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(Img, { className: "min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
1674
1688
 
1689
+ const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', description, href = '#' }) => {
1690
+ return (jsx("div", { className: style('col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans', className), children: href ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "flex justify-center align-middle rounded-md bg-primary-main w-12 h-12", children: jsx(Logo, { className: "w-8", bgColor: "transparent", showTitle: true }) }), jsxs("a", { href: href, target: "_blank", className: "flex flex-col justify-center pl-3", children: [jsx("div", { className: "text-s font-medium mb-[3px]", children: title }), jsx("div", { className: "text-s text-secondary-text", children: description })] })] })) : null }));
1691
+ });
1692
+
1675
1693
  const getColSpan = (className) => {
1676
1694
  const colSpanPrefix = 'col-span-';
1677
1695
  const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
@@ -1727,13 +1745,14 @@
1727
1745
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1728
1746
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1729
1747
 
1730
- const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
1731
-
1732
- const BenefitItem = JSX((props) => {
1733
- const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
1734
- const listItemAlign = description ? 'items-start' : 'items-center';
1735
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
1748
+ const RichText = JSX((props) => {
1749
+ const { __html = '', richVersion = '' } = props;
1750
+ return (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
1736
1751
  });
1752
+
1753
+ const BaseTile = JSX(({ className, title = '', insetTitle = '', buttons, leftImage, rightImage, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col font-sans', className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title, jsxs("div", { className: "grow relative flex flex-wrap justify-between items-stretch gap-8", children: [leftImage, jsxs("div", { className: style('flex flex-col gap-8', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), rightImage ? jsx("div", { className: "sm:-order-1 md:-order-1", children: rightImage }) : null] })] })));
1754
+
1755
+ const BenefitItem = JSX(({ className, icon, label, description, version = 'primary', benefitsVersion = 'normal' }) => (jsxs("div", { className: style('flex gap-5', description ? 'items-start' : 'items-center', className), children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { children: [label ? (jsx(Text, { size: "text-h6", color: "text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx(Paragraph, { size: "text-m-light", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
1737
1756
  function getBenefitIconBgStyle(version, benefitsVersion) {
1738
1757
  let bgColorStyle = 'bg-primary-main text-black';
1739
1758
  if (version === 'secondary') {
@@ -1745,23 +1764,27 @@
1745
1764
  return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
1746
1765
  }
1747
1766
 
1748
- const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
1767
+ const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => (props, i) => jsx(BenefitItem, { version: version, benefitsVersion: benefitsVersion, ...props }, String(i));
1749
1768
 
1750
- const ProductBlockInner = JSX(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, isDotted = true, label, title, description, ...rest }) => (jsxs(BlockWrapper, { className: `w-full ${className}`, ...rest, children: [jsxs("div", { children: [label ? renderLabel(label) : null, jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs(BaseTile, { buttons: renderButtonsSection(buttons, { className: 'mt-5', isVertical: true }), children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "mt-3", children: benefits.map(renderBenefit('primary', benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-3 text-m", items: items, isDotted: isDotted })) : null] })] }), renderImage$1(image)] })));
1751
- function renderImage$1(image) {
1752
- return image?.src ? (jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
1753
- }
1754
- const renderLabel = (label) => (jsx("div", { className: "w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover", children: jsx(Text, { color: "text-primary-main group-data-secondary:text-white/80", children: label }) }));
1755
-
1756
- const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
1757
- const { className = '', ...rest } = props;
1758
- return (jsx(BlockWrapper, { className: `px-4 py-6 ${className}`, ...rest, children: jsx(ProductBlockInner, { ...props }) }));
1769
+ const ProductBlockInner = JSX(({ className, version = 'primary', headlineVersion = 'L', title, description, benefits, benefitsVersion, items, isDotted = true, __html, buttons, image, directionRight = true, }) => {
1770
+ const benefitsWithLabel = benefits?.filter((_) => _.label);
1771
+ const img = image?.src ? jsx(Img, { className: "mt-[-50px]", image: image }) : null;
1772
+ return (jsxs(BaseTile, { className: className, insetTitle: jsx(Headline, { className: "max-w-[600px] xl:max-w-[800px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", isPadding: false }), ...(directionRight ? { rightImage: img } : { leftImage: img }), buttons: renderButtonsSection(buttons), children: [benefitsWithLabel?.length ? (jsx("div", { className: "flex flex-wrap gap-6", children: benefitsWithLabel.map(renderBenefit(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? jsx(List, { className: "mt-5", items: items, isDotted: isDotted }) : null] }));
1759
1773
  });
1760
1774
 
1761
- const RichText = JSX((props) => {
1762
- const { __html = '', richVersion = '' } = props;
1763
- return (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
1764
- });
1775
+ function renderBackwardButton({ text, href, target, icon }, version) {
1776
+ const iconVersion = version === 'primary' ? 'white' : 'black';
1777
+ const commonProps = { text, href, target, ariaLabel: text };
1778
+ return (jsxs("div", { className: "flex items-center gap-3", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(Img, { className: "w-4 h-4", image: {
1779
+ ...icon,
1780
+ icon: icon?.icon || 'ArrowLeftIcon',
1781
+ iconVersion: icon?.iconVersion || iconVersion,
1782
+ } }) }), jsx(Button, { version: "link", ...commonProps })] }));
1783
+ }
1784
+
1785
+ const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-default flex flex-col gap-10 box-border', className), ...rest, children: [backwardButton?.text
1786
+ ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
1787
+ : null, jsx(ProductBlockInner, { className: "grow", ...rest })] })));
1765
1788
 
1766
1789
  const RichTextBlock = JSX((props) => {
1767
1790
  const { __html, richVersion, ...rest } = props;
@@ -1910,7 +1933,6 @@
1910
1933
  Headline,
1911
1934
  ImgBlock,
1912
1935
  LinkDocs,
1913
- LinkList,
1914
1936
  MobileAppTile,
1915
1937
  Placeholder,
1916
1938
  ProductBlock,
@@ -2063,11 +2085,9 @@
2063
2085
  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" }) }));
2064
2086
  }
2065
2087
 
2066
- function joinList(sep) {
2067
- return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
2068
- }
2088
+ const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
2069
2089
 
2070
- const packageVersion = "0.10.10";
2090
+ const packageVersion = "0.11.0";
2071
2091
 
2072
2092
  exports.Blocks = Blocks;
2073
2093
  exports.ContentPage = ContentPage;