@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,6 +1,7 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
2
  import type { IconVersion } from '../../model/IconVersion';
3
3
  export type { IconName };
4
+ export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
4
5
  export interface IconCompatibilityFields {
5
6
  /** @title Альтернативный текст (alt) */
6
7
  alt?: string;
@@ -17,3 +18,6 @@ export declare type IconProps = IconCompatibilityFields & {
17
18
  name?: IconName;
18
19
  iconVersion?: IconVersion;
19
20
  };
21
+ export interface RoundedIconProps extends IconProps {
22
+ iconBgVersion?: IconBgVersion;
23
+ }
@@ -0,0 +1,2 @@
1
+ import type { RoundedIconProps } from './IconProps';
2
+ export declare const RoundedIcon: import("@redneckz/uni-jsx").UNIComponent<RoundedIconProps, any, any>;
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { Icon } from './Icon.js';
4
+ import { style } from '../../utils/style.js';
5
+ const iconBgStyles = {
6
+ primary: 'bg-main-divider',
7
+ secondary: 'bg-white/30',
8
+ 'secondary-light': 'bg-secondary-light',
9
+ };
10
+ export const RoundedIcon = JSX(({ iconBgVersion = 'primary', ...rest }) => (_jsx("div", { className: style('rounded-icon p-2.5 mr-3', iconBgStyles[iconBgVersion]), children: _jsx(Icon, { ...rest }) })));
11
+ //# sourceMappingURL=RoundedIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoundedIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/RoundedIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,YAAY,GAAkC;IAClD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,aAAa;IACxB,iBAAiB,EAAE,oBAAoB;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,aAAa,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3F,cAAK,SAAS,EAAE,KAAK,CAAC,yBAAyB,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,YAC3E,KAAC,IAAI,OAAK,IAAI,GAAI,GACd,CACP,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { LinkListProps } from './LinkListProps';
2
+ export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { style } from '../../utils/style.js';
4
+ import { linkListStyles } from './linkListStyles.js';
5
+ export const LinkList = JSX(({ className = '', items }) => items?.length ? (_jsx("ul", { className: style('flex flex-col p-0', linkListStyles, className), children: items.map(renderLinkListItem) })) : null);
6
+ const renderLinkListItem = (item, i) => {
7
+ const { text, ...linkProps } = item;
8
+ return (_jsx("li", { className: "list-none mb-4 sm:mb-6 sm:last:mb-0", children: _jsx("a", { className: "hover:text-primary-main sm:font-light", role: "link", ...linkProps, children: text ? text : null }) }, `list_item_${String(i)}`));
9
+ };
10
+ //# sourceMappingURL=LinkList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/LinkList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CACvE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,aAAI,SAAS,EAAE,KAAK,CAAC,mBAAmB,EAAE,cAAc,EAAE,SAAS,CAAC,YACjE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAC3B,CACN,CAAC,CAAC,CAAC,IAAI,CACT,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,IAAe,EAAE,CAAS,EAAE,EAAE;IACxD,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,IAAI,CAAC;IAEpC,OAAO,CACL,aAAmC,SAAS,EAAC,qCAAqC,YAChF,YAAG,SAAS,EAAC,uCAAuC,EAAC,IAAI,EAAC,MAAM,KAAK,SAAS,YAC3E,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GACjB,IAHG,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAI5B,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ export interface LinkListProps {
3
+ items?: LinkProps[];
4
+ className?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LinkListProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkListProps.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/LinkListProps.tsx"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare const linkListStyles = "";
@@ -0,0 +1,2 @@
1
+ export const linkListStyles = '';
2
+ //# sourceMappingURL=linkListStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkListStyles.js","sourceRoot":"","sources":["../../../src/ui-kit/LinkList/linkListStyles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { style } from '../../utils/style.js';
3
4
  import { ListItem } from './ListItem.js';
4
5
  const TEXT_SIZE_MAP = {
5
6
  S: 'text-l-light',
@@ -11,5 +12,5 @@ const ITEM_INDENT_MAP = {
11
12
  M: 'ml-3',
12
13
  L: 'ml-4',
13
14
  };
14
- export const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (_jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (_jsx(ListItem, { className: itemClassName, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
15
+ export const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (_jsx("section", { className: style('flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (_jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
15
16
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CACzF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,kBACE,SAAS,EAAE,yFACT,aAAa,CAAC,YAAY,CAC5B,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,QAAQ,IAEP,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,YAAY,YAEjB,IAAI,IALA,MAAM,CAAC,CAAC,CAAC,CAML,CACZ,CAAC,GACM,CACX,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
1
+ {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,aAAa,GAAiC;IAClD,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,SAAS;CACb,CAAC;AAEF,MAAM,eAAe,GAAiC;IACpD,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,GAAG,GAAG,EAAE,EAAE,EAAE,CAChE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,kBACE,SAAS,EAAE,KAAK,CACd,qHAAqH,EACrH,aAAa,CAAC,YAAY,CAAC,EAC3B,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9C,SAAS,CACV,EACD,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,QAAQ,IAAiB,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,YAC7D,IAAI,IADQ,MAAM,CAAC,CAAC,CAAC,CAEb,CACZ,CAAC,GACM,CACX,CAAC,CAAC,CAAC,IAAI,CACX,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { style } from '../../utils/style.js';
3
4
  const DOT_SIZE_MAP = {
4
- L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
5
- M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
6
- S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
5
+ L: 'w-1.5 h-1.5 mr-4',
6
+ M: 'w-1.5 h-1.5 mr-3',
7
+ S: 'w-1 h-1 mr-2',
7
8
  };
8
- export const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (_jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (_jsx("div", { children: _jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, _jsx("span", { children: children })] })));
9
+ export const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (_jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (_jsx("div", { className: "shrink-0", children: _jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, _jsx("span", { children: children })] })));
9
10
  //# sourceMappingURL=ListItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,YAAY,GAAG;IACnB,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,sCAAsC;IACzC,CAAC,EAAE,8BAA8B;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CAC7D,eAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,CAAC,CAAC,CAAC,CACV,wBACE,cACE,SAAS,EAAE,wFAAwF,YAAY,CAAC,IAAI,CAAC,EAAE,GACvH,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,QAAQ,GAAQ,IACnB,CACP,CACF,CAAC"}
1
+ {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAa1C,MAAM,YAAY,GAAG;IACnB,CAAC,EAAE,kBAAkB;IACrB,CAAC,EAAE,kBAAkB;IACrB,CAAC,EAAE,cAAc;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,CACxD,eAAK,SAAS,EAAE,KAAK,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,IAAI,EAAC,UAAU,aAChE,QAAQ,CAAC,CAAC,CAAC,CACV,cAAK,SAAS,EAAC,UAAU,YACvB,cACE,SAAS,EAAE,KAAK,CACd,sFAAsF,EACtF,YAAY,CAAC,IAAI,CAAC,CACnB,GACD,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,yBAAO,QAAQ,GAAQ,IACnB,CACP,CACF,CAAC"}
@@ -13,7 +13,5 @@ export declare type ListProps = ListContent & BulletsProps & {
13
13
  className?: string;
14
14
  /** @title Отступ */
15
15
  hasIndent?: boolean;
16
- /** @hidden */
17
- itemClassName?: string;
18
16
  listItemSize?: ListItemSize;
19
17
  };
@@ -1,2 +1,5 @@
1
- import { SearchBarInnerProps } from './SearchBarInner';
2
- export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<SearchBarInnerProps, any, any>;
1
+ interface SearchBarProps {
2
+ className?: string;
3
+ }
4
+ export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<SearchBarProps, any, any>;
5
+ export {};
@@ -1,5 +1,24 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { SearchBarInner } from './SearchBarInner.js';
4
- export const SearchBar = JSX((props) => (_jsx(SearchBarInner, { ...props, isMobile: true })));
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { CloseButton } from '../Dialog/CloseButton.js';
5
+ import { useDialog } from '../Dialog/useDialog.js';
6
+ import { useDialogHandlers } from '../Dialog/useDialogHandlers.js';
7
+ import { SEARCH_DIALOG_ID } from '../SearchDialog/SearchDialog.js';
8
+ import { SearchInput } from '../SearchDialog/SearchInput.js';
9
+ const MIN_QUERY_LEN = 3;
10
+ export const SearchBar = JSX(({ className }) => {
11
+ const [value, setValue] = useState('');
12
+ const resetQueryOnDialogClose = useCallback(() => setValue(''), []);
13
+ useDialogHandlers({ onClose: resetQueryOnDialogClose });
14
+ const { open } = useDialog(SEARCH_DIALOG_ID);
15
+ const handleInitialInputChange = useCallback((_) => {
16
+ setValue(_);
17
+ if (isQueryLongEnough(_)) {
18
+ open(_);
19
+ }
20
+ }, []);
21
+ return (_jsxs("div", { className: className, children: [_jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), _jsx(CloseButton, { className: "absolute top-2 right-3 sm:hidden", onClick: resetQueryOnDialogClose })] }));
22
+ });
23
+ const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
5
24
  //# sourceMappingURL=SearchBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAuB,MAAM,kBAAkB,CAAC;AAEvE,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAsB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,KAAC,cAAc,OAAK,KAAK,EAAE,QAAQ,EAAE,IAAI,GAAI,CAC9C,CAAC,CAAC"}
1
+ {"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAM1D,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;IAC7D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAEvC,MAAM,uBAAuB,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpE,iBAAiB,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAExD,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAE7C,MAAM,wBAAwB,GAAG,WAAW,CAAC,CAAC,CAAS,EAAE,EAAE;QACzD,QAAQ,CAAC,CAAC,CAAC,CAAC;QACZ,IAAI,iBAAiB,CAAC,CAAC,CAAC,EAAE;YACxB,IAAI,CAAC,CAAC,CAAC,CAAC;SACT;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,KAAC,WAAW,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,GAAI,EACjE,KAAC,WAAW,IAAC,SAAS,EAAC,kCAAkC,EAAC,OAAO,EAAE,uBAAuB,GAAI,IAC1F,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,aAAa,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export interface SearchInputProps {
2
2
  className?: string;
3
- isMobile?: boolean;
4
3
  value?: string;
5
4
  autoFocus?: boolean;
6
5
  onChange?: (value: string) => void;
@@ -3,10 +3,10 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { style } from '../../utils/style.js';
5
5
  import { Img } from '../Img/Img.js';
6
- export const SearchInput = JSX(({ className, isMobile, value, autoFocus, onChange, onFocus }) => {
6
+ export const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
7
7
  const handleChange = useCallback((ev) => {
8
8
  onChange && onChange(ev.target?.value || '');
9
9
  }, [onChange]);
10
- return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text', isMobile ? '' : 'h-full'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
10
+ return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
11
11
  });
12
12
  //# sourceMappingURL=SearchInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchDialog/SearchInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWjC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/D,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,EAAmC,EAAE,EAAE;QACtC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,KAAK,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,IAAI,EAAC,MAAM,aACjE,cAAK,SAAS,EAAC,4DAA4D,YACzE,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACxD,EACN,gBACE,SAAS,EAAE,KAAK,CACd,6DAA6D,EAC7D,4HAA4H,EAC5H,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CACzB,EACD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAC,4EAAgB,EAC5B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,GAChB,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchDialog/SearchInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACrD,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,EAAmC,EAAE,EAAE;QACtC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,KAAK,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,IAAI,EAAC,MAAM,aACjE,cAAK,SAAS,EAAC,4DAA4D,YACzE,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACxD,EACN,gBACE,SAAS,EAAE,KAAK,CACd,6DAA6D,EAC7D,4HAA4H,CAC7H,EACD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAC,4EAAgB,EAC5B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,GAChB,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const isEmpty: <T>(v: T) => v is NonNullable<T>;
@@ -0,0 +1,6 @@
1
+ export const isEmpty = (v) => v === null ||
2
+ v === undefined ||
3
+ v === '' ||
4
+ (Array.isArray(v) && v.length === 0) ||
5
+ (typeof v === 'object' && Object.keys(v).length === 0);
6
+ //# sourceMappingURL=isEmpty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/utils/isEmpty.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAI,CAAI,EAAuB,EAAE,CACtD,CAAC,KAAK,IAAI;IACV,CAAC,KAAK,SAAS;IACf,CAAC,KAAK,EAAE;IACR,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;IACpC,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- export declare function joinList<E>(sep: E): (list: E[]) => E[];
1
+ export declare const joinList: <E>(sep: E) => (list: E[]) => E[];
@@ -1,4 +1,2 @@
1
- export function joinList(sep) {
2
- return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
3
- }
1
+ export const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
4
2
  //# sourceMappingURL=joinList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"joinList.js","sourceRoot":"","sources":["../../src/utils/joinList.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,QAAQ,CAAI,GAAM;IAChC,OAAO,CAAC,IAAI,EAAE,EAAE,CACd,IAAI,CAAC,MAAM,CACT,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EACxE,EAAS,CACV,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"joinList.js","sourceRoot":"","sources":["../../src/utils/joinList.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GACnB,CAAI,GAAM,EAAE,EAAE,CACd,CAAC,IAAS,EAAO,EAAE,CACjB,IAAI,CAAC,MAAM,CACT,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EACjF,EAAS,CACV,CAAC"}
@@ -1,16 +1,39 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { BaseTileCommonProps } from './BaseTileProps';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ import type { VNode } from '../../model/VNode';
4
+ import { style } from '../../utils/style';
3
5
 
4
- export const BaseTile = JSX<BaseTileCommonProps>(
5
- ({ className = '', title = '', buttons, image, children }) => (
6
- <div className={`font-sans flex flex-col grow h-full items-start ${className}`}>
6
+ interface BaseTileProps extends UniBlockProps {
7
+ title?: VNode;
8
+ insetTitle?: VNode;
9
+ leftImage?: VNode;
10
+ rightImage?: VNode;
11
+ backImage?: VNode;
12
+ buttons?: VNode;
13
+ }
14
+
15
+ export const BaseTile = JSX<BaseTileProps>(
16
+ ({
17
+ className,
18
+ title = '',
19
+ insetTitle = '',
20
+ buttons,
21
+ leftImage,
22
+ rightImage,
23
+ backImage,
24
+ children,
25
+ }) => (
26
+ <div className={style('relative flex flex-col font-sans', className)}>
27
+ {backImage ? <div className="absolute bottom-0 right-0 z-0">{backImage}</div> : null}
7
28
  {title}
8
- <div className="flex grow w-full justify-between">
9
- <div className="flex flex-col justify-between w-full">
10
- <div className="h-full">{children}</div>
11
- {buttons ? <div className="mt-auto pt-8">{buttons}</div> : null}
29
+ <div className="grow relative flex flex-wrap justify-between items-stretch gap-8">
30
+ {leftImage}
31
+ <div className={style('flex flex-col gap-8', leftImage ? '' : 'grow')}>
32
+ {insetTitle}
33
+ <div className="grow">{children}</div>
34
+ {buttons}
12
35
  </div>
13
- {image}
36
+ {rightImage ? <div className="sm:-order-1 md:-order-1">{rightImage}</div> : null}
14
37
  </div>
15
38
  </div>
16
39
  ),
@@ -8,7 +8,6 @@ import { Header } from './Header/Header';
8
8
  import { Headline } from './Headline/Headline';
9
9
  import { ImgBlock } from './ImgBlock/ImgBlock';
10
10
  import { LinkDocs } from './LinkDocs/LinkDocs';
11
- import { LinkList } from './LinkList/LinkList';
12
11
  import { MobileAppTile } from './MobileAppTile/MobileAppTile';
13
12
  import { Placeholder } from './Placeholder/Placeholder';
14
13
  import { ProductBlock } from './ProductBlock/ProductBlock';
@@ -28,7 +27,6 @@ export const Blocks: BlocksRegistry = {
28
27
  Headline,
29
28
  ImgBlock,
30
29
  LinkDocs,
31
- LinkList,
32
30
  MobileAppTile,
33
31
  Placeholder,
34
32
  ProductBlock,
@@ -4,6 +4,7 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { Heading } from '../../ui-kit/Heading/Heading';
5
5
  import { Img } from '../../ui-kit/Img/Img';
6
6
  import { Text } from '../../ui-kit/Text/Text';
7
+ import { style } from '../../utils/style';
7
8
  import { BaseTile } from '../BaseTile/BaseTile';
8
9
  import type {
9
10
  CardColumnsMode,
@@ -30,48 +31,46 @@ export const CarouselInvestmentCard = JSX<CarouselInvestmentCardProps>(
30
31
  image,
31
32
  title,
32
33
  ...rest
33
- }) => {
34
- const tileTitle = title ? (
35
- <Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} />
36
- ) : null;
37
-
38
- const tileImage = image?.src ? (
39
- <Img className="absolute bottom-0 right-0 m-0" image={image} />
40
- ) : null;
41
-
42
- return (
43
- <BlockWrapper
44
- className={[
45
- 'relative box-border text-left p-9 w-[697px]',
46
- 'border border-solid border-gray group-data-secondary:border-white/50',
47
- className,
48
- ].join(' ')}
49
- {...rest}
34
+ }) => (
35
+ <BlockWrapper
36
+ className={style(
37
+ 'box-border text-left p-9 w-[697px]',
38
+ 'border border-solid border-gray group-data-secondary:border-white/50',
39
+ className,
40
+ )}
41
+ {...rest}
42
+ >
43
+ <BaseTile
44
+ title={
45
+ title ? <Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} /> : null
46
+ }
47
+ backImage={image?.src ? <Img className="m-0" image={image} /> : null}
50
48
  >
51
- <BaseTile title={tileTitle} image={tileImage}>
52
- <div className="flex justify-between mb-4">
53
- {description ? (
54
- <div className="w-1/3">
55
- <Text size="text-h6">{description}</Text>
56
- </div>
57
- ) : null}
58
- {additionalDescription ? (
59
- <Text size="text-m" font="font-light" color="group-data-primary:text-secondary-text">
60
- {additionalDescription}
61
- </Text>
62
- ) : null}
63
- </div>
64
- {cardsList.length ? (
65
- <ul
66
- className={`list-none m-0 p-0 flex gap-y-2 ${cardColumnsModeStyleMap[columnsMode]}`}
67
- >
68
- {renderCardList(cardsList, columnsMode)}
69
- </ul>
49
+ <div className="flex justify-between mb-4">
50
+ {description ? (
51
+ <div className="w-1/3">
52
+ <Text size="text-h6">{description}</Text>
53
+ </div>
70
54
  ) : null}
71
- </BaseTile>
72
- </BlockWrapper>
73
- );
74
- },
55
+ {additionalDescription ? (
56
+ <Text size="text-m" font="font-light" color="group-data-primary:text-secondary-text">
57
+ {additionalDescription}
58
+ </Text>
59
+ ) : null}
60
+ </div>
61
+ {cardsList.length ? (
62
+ <ul
63
+ className={style(
64
+ 'list-none m-0 p-0 flex gap-y-2',
65
+ cardColumnsModeStyleMap[columnsMode],
66
+ )}
67
+ >
68
+ {renderCardList(cardsList, columnsMode)}
69
+ </ul>
70
+ ) : null}
71
+ </BaseTile>
72
+ </BlockWrapper>
73
+ ),
75
74
  );
76
75
 
77
76
  const renderCardList = (cardsList: CardsListItem[], columnsMode: number) => {
@@ -99,8 +99,10 @@ const renderAdditionalDescription = (additionalDescription?: string) =>
99
99
  const renderItems = (items: ListProps[], isDotted: boolean, version: BlockVersion = 'primary') =>
100
100
  items?.length ? (
101
101
  <List
102
- className={`max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`}
103
- itemClassName="text-left"
102
+ className={style(
103
+ 'max-w-[308px] mt-2 text-s',
104
+ version === 'primary' ? '!text-secondary-text' : '',
105
+ )}
104
106
  items={items.filter((item) => item?.text).map((item) => item.text as string)}
105
107
  isDotted={isDotted}
106
108
  />
@@ -0,0 +1,61 @@
1
+ {
2
+ "content": {
3
+ "filtrationSchema": {
4
+ "currency": {
5
+ "title": "Валюта",
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string",
9
+ "enum": ["rub", "usd", "eur"],
10
+ "enumNames": ["Рубль", "Доллар", "Евро"]
11
+ }
12
+ },
13
+ "options": {
14
+ "title": "Опции",
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string",
18
+ "enum": ["add", "withdrawal", "pensioner", "online"],
19
+ "enumNames": ["Пополнение", "Снятие", "Я пенсионер", "Открытие онлайн"]
20
+ }
21
+ },
22
+ "percents": {
23
+ "title": "Выплата процентов",
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string",
27
+ "enum": ["inTheEnd", "eachMonth"],
28
+ "enumNames": ["В конце срока", "Ежемесячно"]
29
+ }
30
+ },
31
+ "sum": {
32
+ "title": "Сумма",
33
+ "type": "number"
34
+ },
35
+ "period": {
36
+ "title": "Срок",
37
+ "type": "object",
38
+ "properties": {
39
+ "min": {
40
+ "title": "Минимум",
41
+ "type": "number"
42
+ },
43
+ "max": {
44
+ "title": "Максимум",
45
+ "type": "number"
46
+ }
47
+ }
48
+ }
49
+ },
50
+ "sumInput": { "title": "Сумма" },
51
+ "periodInput": { "title": "Срок, месяцев", "min": 3, "max": 36 },
52
+ "resetButton": {
53
+ "text": "Очистить фильтры",
54
+ "version": "secondary"
55
+ },
56
+ "notFound": {
57
+ "title": "Нет подходящей ипотечной программы",
58
+ "description": "Попробуйте очистить фильтры"
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,66 @@
1
+ import { JSX } from '@redneckz/uni-jsx';
2
+ import { useForm } from '../../hooks/useForm';
3
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
4
+ import { BaseFiltrationInner } from '../../ui-kit/BaseFiltration/BaseFiltrationInner';
5
+ import { renderFiltrationForm } from '../../ui-kit/BaseFiltration/renderFiltrationForm';
6
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
+ import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput';
8
+ import { InputRange } from '../../ui-kit/InputRange/InputRange';
9
+ import { style } from '../../utils/style';
10
+ import type { DepositFiltrationContent } from './DepositFiltrationContent';
11
+
12
+ interface DepositFiltrationProps extends DepositFiltrationContent, UniBlockProps {}
13
+
14
+ const initialFiltrationState = {
15
+ sum: 500,
16
+ period: {
17
+ min: 3,
18
+ max: 36,
19
+ },
20
+ };
21
+
22
+ const DEFAULT_MIN_MONTHS = 3;
23
+ const DEFAULT_MAX_MONTHS = 36;
24
+
25
+ const DEFAULT_MIN_SUM = 500;
26
+ const DEFAULT_MAX_SUM = 1000000000;
27
+
28
+ export const DepositFiltration: JSXBlock<DepositFiltrationProps> = JSX<DepositFiltrationProps>(
29
+ ({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
30
+ const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
31
+
32
+ const maxValue = periodInput?.max || DEFAULT_MAX_MONTHS;
33
+
34
+ const Inputs = (
35
+ <div>
36
+ <CurrencyInput
37
+ label={sumInput?.title}
38
+ min={DEFAULT_MIN_SUM}
39
+ max={DEFAULT_MAX_SUM}
40
+ {...field('sum', { parse: Number, format: String })}
41
+ />
42
+ <InputRange
43
+ title={periodInput?.title}
44
+ items={['От 3 мес', 'До 3 лет']}
45
+ min={periodInput?.min || DEFAULT_MIN_MONTHS}
46
+ max={maxValue}
47
+ {...field('period', {
48
+ parse: (min) => ({ min, max: maxValue }),
49
+ format: ({ min }) => min,
50
+ })}
51
+ />
52
+ </div>
53
+ );
54
+
55
+ return (
56
+ <BlockWrapper className={style(className)} version="transparent" {...rest}>
57
+ {renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs })}
58
+ <BaseFiltrationInner filtrationState={filtrationState} {...rest} />
59
+ </BlockWrapper>
60
+ );
61
+ },
62
+ );
63
+
64
+ DepositFiltration.childrenTypes = ['ProductTile'];
65
+ DepositFiltration.childSchema = (content?: DepositFiltrationContent) =>
66
+ content?.filtrationSchema || {};
@@ -0,0 +1,39 @@
1
+ import type {
2
+ BaseFiltrationInnerContent,
3
+ NumberRange,
4
+ NumberValue,
5
+ StringArray,
6
+ } from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
7
+
8
+ export type DepositFiltrationSchema = {
9
+ /** @title Валюта */
10
+ currency?: StringArray;
11
+ /** @title Опции */
12
+ options?: StringArray;
13
+ /** @title Выплата процентов */
14
+ percents?: StringArray;
15
+ /** @hidden */
16
+ sum?: NumberValue;
17
+ /** @hidden */
18
+ period?: NumberRange;
19
+ };
20
+
21
+ /**
22
+ * @title Подборщик вкладов
23
+ */
24
+ export interface DepositFiltrationContent extends BaseFiltrationInnerContent {
25
+ /** @title Параметры фильтрации */
26
+ filtrationSchema?: DepositFiltrationSchema;
27
+ /** @title Поле ввода суммы */
28
+ sumInput?: {
29
+ /** @title Лейбл */
30
+ title?: string;
31
+ };
32
+ /** @title Поле ввода срока */
33
+ periodInput?: {
34
+ /** @title Лейбл */
35
+ title?: string;
36
+ min?: number;
37
+ max?: number;
38
+ };
39
+ }