@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
@@ -1,98 +1,75 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
3
  import type { UniBlockProps } from '../../model/JSXBlock';
5
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
- import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
5
+ import { style } from '../../utils/style';
7
6
  import { ProductBlockInner } from '../ProductBlock/ProductBlockInner';
8
- import type { ProductGalleryContent } from './ProductGalleryContent';
7
+ import type { ProductGalleryContent, ProductSlide } from './ProductGalleryContent';
9
8
 
10
9
  export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {}
11
10
 
12
- interface NavButtonProps {
13
- slide?: HeadlineCommonProps;
14
- i: number;
15
- isActive: boolean;
16
- onClick: () => void;
17
- }
18
-
19
11
  export const ProductGallery = JSX<ProductGalleryProps>(
20
12
  ({ className = '', slides = [], ...rest }) => {
21
- const galleryNav = slides.map((s) => s.nav);
22
- const galleryBlocks = slides.map((s) => s.productBlock);
23
13
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
24
- const handleActiveSlideIndex = useCallback((_: number) => setActiveSlideIndex(_), []);
25
14
 
26
15
  return (
27
- <BlockWrapper
28
- className={`box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`}
29
- {...rest}
30
- >
16
+ <BlockWrapper className={style('box-border py-default overflow-hidden', className)} {...rest}>
31
17
  <div
32
- className="flex duration-1000 pb-14"
33
- style={{ transform: `translateX(-${activeSlideIndex}00%)` }}
18
+ className="flex duration-1000"
19
+ style={{ transform: `translateX(-${activeSlideIndex * 100}%)` }}
34
20
  role="list"
35
21
  >
36
- {galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i))}
22
+ {slides.map(({ productBlock }, i) => (
23
+ <div key={String(i)} className="box-border grow-0 shrink-0 basis-full" role="listitem">
24
+ <ProductBlockInner
25
+ className="pl-default h-full"
26
+ headlineVersion="XXL"
27
+ {...productBlock}
28
+ {...rest}
29
+ />
30
+ </div>
31
+ ))}
37
32
  </div>
38
-
39
- <div className="flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28">
40
- {galleryNav.map((slide, i) =>
41
- renderNavButton({
42
- slide,
43
- i,
44
- isActive: Boolean(i === activeSlideIndex),
45
- onClick: () => handleActiveSlideIndex(i),
46
- }),
47
- )}
33
+ <div className="h-28 px-6 mt-6 -mb-6 flex items-center gap-2 box-border">
34
+ {slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex }))}
48
35
  </div>
49
36
  </BlockWrapper>
50
37
  );
51
38
  },
52
39
  );
53
40
 
54
- function renderProductBlock(block: ProductBlockInnerContent, i: number) {
55
- return (
56
- <section
57
- key={String(i)}
58
- className="box-border relative flex grow-0 shrink-0 basis-full"
59
- role="listitem"
60
- >
61
- <div className="flex grow">
62
- <ProductBlockInner
63
- className="pl-12 z-10 group-data-secondary:text-white"
64
- textBlockClassName="mb-[154px]"
65
- headlineVersion="XXL"
66
- {...block}
67
- />
68
- </div>
69
- </section>
70
- );
41
+ interface NavButtonProps {
42
+ activeSlideIndex: number;
43
+ onClick: (i: number) => void;
71
44
  }
72
45
 
73
- function renderNavButton({ slide, i, isActive, onClick }: NavButtonProps) {
74
- const btnClassName = isActive
75
- ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
76
- : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
77
- const btnTitleClassName = isActive
78
- ? 'text-primary-text !text-h6 p-2'
79
- : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
80
- const btnDescClassName = isActive
81
- ? 'text-secondary-text text-l-light'
82
- : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
46
+ const renderNavButton =
47
+ ({ activeSlideIndex, onClick }: NavButtonProps) =>
48
+ ({ nav }: ProductSlide, i: number) => {
49
+ const isActive = i === activeSlideIndex;
50
+ const btnClassName = isActive
51
+ ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
52
+ : 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
53
+ const btnTitleClassName = isActive
54
+ ? 'text-primary-text text-h6 py-2'
55
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
56
+ const btnDescClassName = isActive
57
+ ? 'text-secondary-text text-l-light'
58
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
83
59
 
84
- return (
85
- <button
86
- type="button"
87
- key={String(i)}
88
- onClick={onClick}
89
- aria-label={slide?.title}
90
- className={`relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`}
91
- >
92
- <div className="border-0 px-6">
93
- <div className={`last:pb-0 ${btnTitleClassName}`}>{slide?.title}</div>
94
- <div className={`text-secondary-text ${btnDescClassName}`}>{slide?.description}</div>
95
- </div>
96
- </button>
97
- );
98
- }
60
+ return (
61
+ <button
62
+ type="button"
63
+ key={String(i)}
64
+ onClick={() => onClick(i)}
65
+ aria-label={nav?.title}
66
+ className={style(
67
+ 'relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50',
68
+ btnClassName,
69
+ )}
70
+ >
71
+ <div className={btnTitleClassName}>{nav?.title}</div>
72
+ <div className={btnDescClassName}>{nav?.description}</div>
73
+ </button>
74
+ );
75
+ };
@@ -3,8 +3,9 @@ import '../../setup-fixture';
3
3
  import type { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
4
4
  import { BlockDef } from '../../model/ContentPageDef';
5
5
  import { Blocks } from '../Blocks.mobile';
6
+ import type { Picture } from '../../model/Picture';
6
7
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture.mobile';
7
- import { RollupItem } from './RollupItem.mobile';
8
+ import { RollupItem } from './RollupItem';
8
9
 
9
10
  const options = {
10
11
  blocksRegistry: Blocks,
@@ -14,7 +15,6 @@ export const ROLLUP_ITEM: BlockDef = {
14
15
  type: 'RollupItem',
15
16
  content: {
16
17
  label: 'RollupItem label 1',
17
- labelIcon: { icon: 'CardIcon' },
18
18
  isExpanded: true,
19
19
  },
20
20
  blocks: [
@@ -22,13 +22,33 @@ export const ROLLUP_ITEM: BlockDef = {
22
22
  { type: 'TextBlock', content: TEXT_BLOCK },
23
23
  ],
24
24
  };
25
+ const labelIcon: Picture = { icon: 'BriefcaseIcon' };
25
26
 
26
27
  export default {
27
28
  default: (
28
29
  <div>
29
30
  <div className="list-none m-0 p-0">
31
+ <RollupItem
32
+ {...ROLLUP_ITEM.content}
33
+ version="secondary"
34
+ block={ROLLUP_ITEM}
35
+ options={options}
36
+ />
30
37
  <RollupItem {...ROLLUP_ITEM.content} block={ROLLUP_ITEM} options={options} />
31
38
  </div>
32
39
  </div>
33
40
  ),
41
+ labelIcon: (
42
+ <div>
43
+ <div className="list-none m-0 p-0">
44
+ <RollupItem
45
+ label="RollupItem label 1"
46
+ labelIcon={labelIcon}
47
+ isExpanded={true}
48
+ block={ROLLUP_ITEM}
49
+ options={options}
50
+ />
51
+ </div>
52
+ </div>
53
+ ),
34
54
  };
@@ -2,15 +2,23 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { renderChildren } from '../../BlockRenderer/renderChildren';
3
3
  import type { BlockVersion } from '../../model/BlockVersion';
4
4
  import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
5
+ import type { Picture } from '../../model/Picture';
5
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
6
7
  import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
7
8
  import { Foldable } from '../../ui-kit/Foldable/Foldable';
8
9
  import type { FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
9
10
  import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
10
11
  import { Icon } from '../../ui-kit/Icon/Icon';
11
- import type { IconName } from '../../ui-kit/Icon/IconProps';
12
+ import type { IconName, IconProps } from '../../ui-kit/Icon/IconProps';
13
+ import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
12
14
  import { Text } from '../../ui-kit/Text/Text';
15
+ import { style } from '../../utils/style';
16
+ import { foldableSectionStyles } from './foldableSectionStyles';
17
+ import { getIconName } from './getIconName';
18
+ import { labelSize } from './labelSize';
19
+ import { rollupIconVersion } from './rollupIconVersion';
13
20
  import type { RollupItemContent } from './RollupItemContent';
21
+ import { rollupItemStyles } from './rollupItemStyles';
14
22
 
15
23
  export interface RollupItemProps extends RollupItemContent, UniBlockProps {}
16
24
 
@@ -18,31 +26,37 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
18
26
  ({
19
27
  className = '',
20
28
  label = 'Развернуть',
29
+ labelIcon,
21
30
  isExpanded,
22
31
  isFoldButtonOnTop = true,
23
32
  version = 'primary',
24
33
  ...rest
25
- }) => (
26
- <BlockWrapper
27
- className={`w-full border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`}
28
- tag="div"
29
- version="transparent"
30
- {...rest}
31
- >
32
- <Foldable
33
- isFoldButtonOnTop={isFoldButtonOnTop}
34
- unfoldedByDefault={isExpanded}
35
- renderFoldableSection={({ isUnfolded }) => (
36
- <FoldableSection className={`grid grid-cols-12 gap-5 [&>*]:p-0`} isUnfolded={isUnfolded}>
37
- {renderChildren(rest)}
38
- </FoldableSection>
39
- )}
40
- renderFoldButton={({ isUnfolded, onToggle }) =>
41
- renderFoldButton({ version, label, isUnfolded, onToggle })
42
- }
43
- />
44
- </BlockWrapper>
45
- ),
34
+ }) => {
35
+ return (
36
+ <BlockWrapper
37
+ className={style('w-full', rollupItemStyles, className)}
38
+ tag="div"
39
+ version="transparent"
40
+ {...rest}
41
+ >
42
+ <Foldable
43
+ isFoldButtonOnTop={isFoldButtonOnTop}
44
+ unfoldedByDefault={isExpanded}
45
+ renderFoldableSection={({ isUnfolded }) => (
46
+ <FoldableSection
47
+ className={style('gap-5 [&>*]:p-0', foldableSectionStyles)}
48
+ isUnfolded={isUnfolded}
49
+ >
50
+ {renderChildren(rest)}
51
+ </FoldableSection>
52
+ )}
53
+ renderFoldButton={({ isUnfolded, onToggle }) =>
54
+ renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle })
55
+ }
56
+ />
57
+ </BlockWrapper>
58
+ );
59
+ },
46
60
  );
47
61
 
48
62
  RollupItem.childrenTypes = {
@@ -52,12 +66,14 @@ RollupItem.childrenTypes = {
52
66
  interface FoldButtonProps extends FoldablePartProps {
53
67
  version?: BlockVersion;
54
68
  label?: string;
69
+ labelIcon?: IconProps;
55
70
  isPadding?: boolean;
56
71
  }
57
72
 
58
73
  const renderFoldButton = ({
59
74
  version,
60
75
  label: defaultLabel,
76
+ labelIcon,
61
77
  isUnfolded,
62
78
  onToggle,
63
79
  }: FoldButtonProps) => {
@@ -66,7 +82,8 @@ const renderFoldButton = ({
66
82
  return version === 'primary' ? (
67
83
  renderPrimaryFoldButton({
68
84
  label,
69
- icon: isUnfolded ? 'MinusIcon' : 'PlusIcon',
85
+ labelIcon,
86
+ icon: getIconName(isUnfolded),
70
87
  onToggle,
71
88
  })
72
89
  ) : (
@@ -82,16 +99,38 @@ interface PrimaryFoldButtonProps {
82
99
  label?: string;
83
100
  icon?: IconName;
84
101
  onToggle?: () => void;
102
+ labelIcon?: Picture;
85
103
  }
86
104
 
87
- const renderPrimaryFoldButton = ({ label, icon, onToggle }: PrimaryFoldButtonProps) => (
88
- <button
89
- className={`border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`}
90
- onClick={onToggle}
91
- >
92
- <Text size="text-xl" font="font-medium">
93
- {label}
94
- </Text>
95
- {icon ? <Icon name={icon} width="24" height="24" /> : null}
96
- </button>
97
- );
105
+ const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }: PrimaryFoldButtonProps) => {
106
+ const iconWidth = String(labelIcon?.size?.width || 24);
107
+ const iconHeight = String(labelIcon?.size?.height || 24);
108
+ const iconName = labelIcon?.icon;
109
+
110
+ return (
111
+ <button
112
+ className={style(
113
+ 'border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button',
114
+ iconName ? 'py-2' : 'py-5',
115
+ )}
116
+ onClick={onToggle}
117
+ >
118
+ <div className="flex items-center group-hover/button:text-primary-main">
119
+ {iconName ? (
120
+ <RoundedIcon
121
+ name={iconName}
122
+ width={iconWidth}
123
+ height={iconHeight}
124
+ iconVersion={labelIcon?.iconVersion}
125
+ />
126
+ ) : null}
127
+ {label ? (
128
+ <Text size={labelSize} font="font-normal">
129
+ {label}
130
+ </Text>
131
+ ) : null}
132
+ </div>
133
+ {icon ? <Icon name={icon} iconVersion={rollupIconVersion} width="24" height="24" /> : null}
134
+ </button>
135
+ );
136
+ };
@@ -1,5 +1,6 @@
1
1
  import type { LabelProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../ui-kit/Icon/IconProps';
3
4
 
4
5
  /**
5
6
  * @title Сворачивающаяся секция
@@ -10,4 +11,5 @@ export type RollupItemContent = UniBlockContent &
10
11
  isExpanded?: boolean;
11
12
  /** @title Кнопка сверху */
12
13
  isFoldButtonOnTop?: boolean;
14
+ labelIcon?: IconProps; // TODO: только для мобильной версии
13
15
  };
@@ -0,0 +1 @@
1
+ export const foldableSectionStyles = 'flex flex-wrap group-last:last:pb-0';
@@ -0,0 +1 @@
1
+ export const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
@@ -0,0 +1,2 @@
1
+ export const getIconName = (isUnfolded?: boolean) =>
2
+ isUnfolded ? 'ArrowUpSolidIcon' : 'ArrowDownSolidIcon';
@@ -0,0 +1 @@
1
+ export const getIconName = (isUnfolded?: boolean) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
@@ -0,0 +1 @@
1
+ export const labelSize = 'text-l';
@@ -0,0 +1 @@
1
+ export const labelSize = 'text-h6';
@@ -0,0 +1 @@
1
+ export const rollupIconVersion = 'normal';
@@ -0,0 +1 @@
1
+ export const rollupIconVersion = 'color';
@@ -0,0 +1 @@
1
+ export const rollupItemStyles = '';
@@ -0,0 +1,2 @@
1
+ export const rollupItemStyles =
2
+ 'border-0 border-b border-solid border-main-divider last:border-b-0';
@@ -7,11 +7,11 @@ import { Img } from '../../ui-kit/Img/Img';
7
7
  import { List } from '../../ui-kit/List/List';
8
8
  import { RichText } from '../../ui-kit/RichText/RichText';
9
9
  import { Tags } from '../../ui-kit/Tags/Tags';
10
+ import { style } from '../../utils/style';
10
11
  import { BaseTile } from '../BaseTile/BaseTile';
11
12
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
12
13
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
13
14
  import type { TileContent } from './TileContent';
14
- import { style } from '../../utils/style';
15
15
 
16
16
  export interface TileProps extends TileContent, UniBlockProps {}
17
17
 
@@ -66,13 +66,7 @@ export const Tile = JSX<TileProps>(
66
66
  </div>
67
67
  ) : null}
68
68
  {children}
69
- <List
70
- className="mt-2.5"
71
- itemClassName="mb-1.5"
72
- items={items}
73
- isDotted={isDotted}
74
- listItemSize={listItemSize}
75
- />
69
+ <List className="mt-2.5" items={items} isDotted={isDotted} listItemSize={listItemSize} />
76
70
  {tags?.length ? <Tags tags={tags} className="mt-5" /> : null}
77
71
  </div>
78
72
  </BaseTile>
@@ -4,13 +4,24 @@ import { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
4
4
  import type { Picture } from '../../model/Picture';
5
5
  import { Blocks } from '../Blocks';
6
6
  import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
7
+ import { RICH_TEXT_SEPARATOR } from '../RichTextBlock/RichTextBlock.fixture';
7
8
  import type { TextBlockContent } from '../TextBlock/TextBlockContent';
8
- import { VerticalLayout } from '../VerticalLayout/VerticalLayout';
9
+ import { VerticalLayout } from './VerticalLayout';
10
+ import type { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
9
11
 
10
12
  const options = {
11
13
  blocksRegistry: Blocks,
12
14
  } as BlockRendererOptions;
13
15
 
16
+ const linkDocsExample: LinkDocsContent = {
17
+ description: 'Ответы на часто задаваемые вопросы',
18
+ documents: [
19
+ { text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
20
+ { text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
21
+ { text: 'GlassIcon', href: '/abc3/map.jpeg' },
22
+ ],
23
+ };
24
+
14
25
  const image: Picture = {
15
26
  src: 'bank-card.png',
16
27
  format: 'webp',
@@ -88,4 +99,61 @@ export default {
88
99
  />
89
100
  </div>
90
101
  ),
102
+ rollup: (
103
+ <div className="container grid grid-cols-12">
104
+ <VerticalLayout
105
+ align="left"
106
+ className="col-span-12"
107
+ version="primary"
108
+ isPadding={true}
109
+ block={{
110
+ type: 'VerticalLayout',
111
+ blocks: [
112
+ {
113
+ type: 'RollupItem',
114
+ content: {
115
+ label: 'Rollup button 1',
116
+ },
117
+ blocks: [
118
+ { type: 'TextBlock', content: TEXT_BLOCK },
119
+ { type: 'TextBlock', content: TEXT_BLOCK },
120
+ ],
121
+ },
122
+ {
123
+ type: 'RollupItem',
124
+ content: {
125
+ label: 'Rollup button 2',
126
+ isExpanded: true,
127
+ },
128
+ blocks: [{ type: 'LinkDocs', content: linkDocsExample }],
129
+ },
130
+ {
131
+ type: 'RollupItem',
132
+ content: {
133
+ label: 'Rollup button 2',
134
+ isExpanded: true,
135
+ },
136
+ blocks: [{ type: 'LinkDocs', content: linkDocsExample }],
137
+ },
138
+
139
+ {
140
+ type: 'RollupItem',
141
+ content: {
142
+ label: 'Rollup button 3 RichText',
143
+ labelIcon: { icon: 'BriefcaseIcon' },
144
+ isExpanded: true,
145
+ },
146
+ blocks: [
147
+ {
148
+ type: 'RichTextBlock',
149
+ content: RICH_TEXT_SEPARATOR,
150
+ },
151
+ ],
152
+ },
153
+ ],
154
+ }}
155
+ options={options}
156
+ />
157
+ </div>
158
+ ),
91
159
  };
@@ -8,7 +8,7 @@ import { RICH_TEXT_SEPARATOR } from '../RichTextBlock/RichTextBlock.fixture';
8
8
  import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
9
9
  import { VerticalLayout } from './VerticalLayout';
10
10
 
11
- export const linkDocsExample: LinkDocsContent = {
11
+ const linkDocsExample: LinkDocsContent = {
12
12
  description: 'Ответы на часто задаваемые вопросы',
13
13
  documents: [
14
14
  { text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
@@ -1,9 +1,12 @@
1
1
  import fs from 'fs';
2
+ import path from 'path';
2
3
  import util from 'util';
3
4
  import type { ContentPageDef } from '../model/ContentPageDef';
5
+ import { LinkProps } from '../model/LinkProps';
4
6
  import type { Picture } from '../model/Picture';
5
7
  import { mapJSON } from './mapJSON';
6
8
  import type { TransformationOptions } from './TransformationOptions';
9
+ import { transformDocumentLink } from './transformDocumentLink';
7
10
  import { transformHTML } from './transformHTML';
8
11
  import { transformMarkdown } from './transformMarkdown';
9
12
  import { transformPicture } from './transformPicture';
@@ -13,6 +16,8 @@ const writeFile = util.promisify(fs.writeFile);
13
16
 
14
17
  const OUTPUT_SUFFIX = '.static';
15
18
 
19
+ const DOCUMENT_EXT_LIST = ['.txt', '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf'];
20
+
16
21
  export async function transformContentPage(
17
22
  pagePath: string,
18
23
  options: TransformationOptions,
@@ -21,14 +26,13 @@ export async function transformContentPage(
21
26
 
22
27
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
23
28
  const result = await mapJSON<ContentPageDef>(JSON.parse(content), async (value: any, [key]) => {
24
- const isMarkdown = isString(value) && key?.endsWith('__md');
25
- const isHTML = isString(value) && key?.endsWith('__html');
26
-
27
29
  try {
28
- if (isMarkdown) {
29
- return await transformMarkdown(value);
30
- } else if (isHTML) {
31
- return await transformHTML(value);
30
+ if (isMarkdown(key, value)) {
31
+ return await transformMarkdown(value as string);
32
+ } else if (isHTML(key, value)) {
33
+ return await transformHTML(value as string);
34
+ } else if (isDocumentLink(value)) {
35
+ return await transformDocumentLink(value, pagePath, options);
32
36
  } else if (isPicture(value)) {
33
37
  return await transformPicture(value, pagePath, options);
34
38
  }
@@ -47,6 +51,14 @@ export async function transformContentPage(
47
51
 
48
52
  export const generatedPagePath = (pagePath: string) => `${pagePath}${OUTPUT_SUFFIX}`;
49
53
 
54
+ const isMarkdown = (key: string, value: any): value is string =>
55
+ isString(value) && key?.endsWith('__md');
56
+ const isHTML = (key: string, value: any): value is string =>
57
+ isString(value) && key?.endsWith('__html');
58
+ const isDocumentLink = (_: any): _ is LinkProps =>
59
+ Boolean(_ && isLocalPath(_?.href) && isDocumentExt(path.extname(_?.href as string)));
60
+ const isDocumentExt = (input: string) =>
61
+ DOCUMENT_EXT_LIST.some((ext) => input.toLowerCase().endsWith(ext));
50
62
  const isPicture = (_: any): _ is Picture => Boolean(_ && isLocalPath(_?.src));
51
63
  const isLocalPath = (_: any): boolean => isString(_) && _.length < 1024 && !isURL(_);
52
64
  const isURL = (src: string) => ['data:', 'https:', 'http:'].some((proto) => src.startsWith(proto));
@@ -0,0 +1,37 @@
1
+ import fs from 'fs';
2
+ import path from 'path';
3
+ import util from 'util';
4
+ import type { LinkProps } from '../model/LinkProps';
5
+ import type { TransformationOptions } from './TransformationOptions';
6
+
7
+ const copyFile = util.promisify(fs.copyFile);
8
+
9
+ export async function transformDocumentLink(
10
+ link: LinkProps,
11
+ pagePath: string,
12
+ options: TransformationOptions,
13
+ ): Promise<LinkProps> {
14
+ if (!link?.href) {
15
+ return link;
16
+ }
17
+
18
+ const { contentDir, publicDir } = options;
19
+ const input = path.join(path.dirname(pagePath), link.href);
20
+ const docRelativePath = path.relative(contentDir, input);
21
+ const output = path.join(publicDir, docRelativePath);
22
+
23
+ try {
24
+ await copyFile(input, output);
25
+ } catch (e) {
26
+ console.error(e);
27
+
28
+ return link;
29
+ }
30
+
31
+ const href = path.join('/', docRelativePath);
32
+
33
+ return {
34
+ ...link,
35
+ href,
36
+ };
37
+ }
@@ -0,0 +1 @@
1
+ <svg title="Стрелка сплошная 'Вниз'" isInverse="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 25"><path fill="#C8CCD0" d="M6.293 9.457a1 1 0 0 1 1.414 0L12 13.75l4.293-4.293a1 1 0 1 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg title="Стрелка сплошная 'Вверх'" isInverse="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 25"><path fill="#C8CCD0" d="M17.707 14.871a1 1 0 0 1-1.414 0L12 10.578l-4.293 4.293a1 1 0 0 1-1.414-1.414l5-5a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" title="Сумка" viewBox="0 0 24 25" fill="none"><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="m21.37 14.164.34-3.57c.26-2.44-.44-4.43-4.71-4.43H7c-4.27 0-4.97 1.99-4.7 4.43l.75 8c.21 1.96.93 3.57 4.95 3.57h8c4.02 0 4.74-1.61 4.95-3.57M8 6.164v-.8c0-1.77 0-3.2 3.2-3.2h1.6c3.2 0 3.2 1.43 3.2 3.2v.8"/><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M14 13.164v1.02c0 1.09-.01 1.98-2 1.98-1.98 0-2-.88-2-1.97v-1.03c0-1 0-1 1-1h2c1 0 1 0 1 1Z"/><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M21.65 11.164a16.484 16.484 0 0 1-7.65 3.02M2.62 11.438c2.25 1.54 4.79 2.47 7.38 2.76"/></svg>
@@ -0,0 +1,7 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.3708 14L21.7108 10.43C21.9708 7.99 21.2708 6 17.0008 6H7.0008C2.7308 6 2.0308 7.99 2.3008 10.43L3.0508 18.43C3.2608 20.39 3.9808 22 8.0008 22H16.0008C20.0208 22 20.7408 20.39 20.9508 18.43" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M8 6V5.2C8 3.43 8 2 11.2 2H12.8C16 2 16 3.43 16 5.2V6" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M14 13V14C14 14.01 14 14.01 14 14.02C14 15.11 13.99 16 12 16C10.02 16 10 15.12 10 14.03V13C10 12 10 12 11 12H13C14 12 14 12 14 13Z" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M21.65 11C19.34 12.68 16.7 13.68 14 14.02" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M2.61719 11.2695C4.86719 12.8095 7.40719 13.7395 9.99719 14.0295" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </svg>