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

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 (516) hide show
  1. package/bin/migration-scripts/0.6.32.js +6 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +121 -113
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  6. package/{lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts → bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  7. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  8. package/bundle/components/Gallery/GalleryContent.d.ts +5 -0
  9. package/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
  10. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  11. package/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  12. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  13. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  14. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  15. package/bundle/components/Video/VideoContent.d.ts +1 -0
  16. package/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  17. package/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  18. package/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
  19. package/bundle/ui-kit/Text/Text.d.ts +1 -26
  20. package/bundle/ui-kit/Text/TextProps.d.ts +26 -0
  21. package/dist/components/Blocks.js +7 -3
  22. package/dist/components/Blocks.js.map +1 -1
  23. package/dist/components/Calculator/BonusCalculatorForm.js +4 -2
  24. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  25. package/dist/components/Calculator/CreditCalculatorForm.js +3 -1
  26. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  27. package/dist/components/Calculator/DepositCalculatorForm.js +5 -2
  28. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  29. package/dist/components/Carousel/Carousel.js +2 -1
  30. package/dist/components/Carousel/Carousel.js.map +1 -1
  31. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  32. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  33. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  34. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
  35. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  36. package/dist/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  37. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  38. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  39. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  40. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  41. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  42. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  43. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  44. package/dist/components/Gallery/GalleryCardInner.js +6 -1
  45. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  46. package/dist/components/Gallery/GalleryContent.d.ts +5 -0
  47. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  48. package/dist/components/Header/Header.mobile.js +2 -2
  49. package/dist/components/Header/Header.mobile.js.map +1 -1
  50. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  51. package/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
  52. package/dist/components/ImgBlock/ImgBlock.js +11 -0
  53. package/dist/components/ImgBlock/ImgBlock.js.map +1 -0
  54. package/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  55. package/dist/components/{InvestmentGallery/InvestmentGalleryContent.js → ImgBlock/ImgBlockContent.js} +1 -1
  56. package/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
  57. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -7
  58. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  59. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  60. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  61. package/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  62. package/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
  63. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  64. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  65. package/{mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js → dist/components/ParagraphBlock/ParagraphBlockContent.js} +1 -1
  66. package/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  67. package/dist/components/ProductGallery/ProductGallery.js +7 -7
  68. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  69. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  70. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  71. package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  72. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  73. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
  74. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  75. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  76. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  77. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  78. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  79. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  80. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  81. package/dist/components/StepsBlock/StepsBlock.js +1 -3
  82. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  83. package/dist/components/TariffsTable/TableTileHeader.js +1 -3
  84. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  85. package/dist/components/TariffsTable/TariffsTable.js +6 -6
  86. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  87. package/dist/components/TariffsTable/TariffsTableRow.js +3 -1
  88. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  89. package/dist/components/Video/VideoContent.d.ts +1 -0
  90. package/dist/ui-kit/InnerTable/InnerTable.js +3 -2
  91. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  92. package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
  93. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  94. package/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  95. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  96. package/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  97. package/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
  98. package/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  99. package/dist/ui-kit/Radio/Radio.js +1 -1
  100. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  101. package/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
  102. package/dist/ui-kit/Select/Select.js.map +1 -1
  103. package/dist/ui-kit/Text/Text.d.ts +1 -26
  104. package/dist/ui-kit/Text/Text.js.map +1 -1
  105. package/dist/ui-kit/Text/TextProps.d.ts +26 -0
  106. package/dist/ui-kit/Text/TextProps.js +2 -0
  107. package/dist/ui-kit/Text/TextProps.js.map +1 -0
  108. package/lib/common.css +1 -1
  109. package/lib/components/Blocks.js +7 -3
  110. package/lib/components/Blocks.js.map +1 -1
  111. package/lib/components/Calculator/BonusCalculatorForm.js +5 -3
  112. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  113. package/lib/components/Calculator/CreditCalculatorForm.js +4 -2
  114. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  115. package/lib/components/Calculator/DepositCalculatorForm.js +6 -3
  116. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  117. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  118. package/lib/components/Carousel/Carousel.js +2 -1
  119. package/lib/components/Carousel/Carousel.js.map +1 -1
  120. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  121. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  122. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  123. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.d.ts +10 -0
  124. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
  125. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  126. package/{bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts → lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  127. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  128. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  129. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  130. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  131. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  132. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  133. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  134. package/lib/components/Gallery/GalleryCardInner.js +6 -1
  135. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  136. package/lib/components/Gallery/GalleryContent.d.ts +5 -0
  137. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  138. package/lib/components/Header/Header.mobile.js +3 -3
  139. package/lib/components/Header/Header.mobile.js.map +1 -1
  140. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  141. package/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
  142. package/lib/components/{InvestmentGallery/InvestmentGallery.fixture.d.ts → ImgBlock/ImgBlock.fixture.d.ts} +0 -2
  143. package/lib/components/ImgBlock/ImgBlock.js +9 -0
  144. package/lib/components/ImgBlock/ImgBlock.js.map +1 -0
  145. package/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  146. package/lib/components/ImgBlock/ImgBlockContent.js +2 -0
  147. package/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
  148. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
  149. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  150. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  151. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  152. package/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  153. package/lib/components/ParagraphBlock/ParagraphBlock.fixture.d.ts +9 -0
  154. package/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
  155. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  156. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  157. package/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  158. package/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  159. package/lib/components/ProductGallery/ProductGallery.js +8 -8
  160. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  161. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  162. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  163. package/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
  164. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  165. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
  166. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  167. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  168. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  169. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  170. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  171. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  172. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  173. package/lib/components/StepsBlock/StepsBlock.js +1 -3
  174. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  175. package/lib/components/TariffsTable/TableTileHeader.js +1 -3
  176. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  177. package/lib/components/TariffsTable/TariffsTable.js +6 -6
  178. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  179. package/lib/components/TariffsTable/TariffsTableRow.js +4 -2
  180. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  181. package/lib/components/Video/VideoContent.d.ts +1 -0
  182. package/lib/ui-kit/InnerTable/InnerTable.js +4 -3
  183. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  184. package/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
  185. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  186. package/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  187. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  188. package/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  189. package/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
  190. package/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  191. package/lib/ui-kit/Radio/Radio.js +1 -1
  192. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  193. package/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
  194. package/lib/ui-kit/Select/Select.js.map +1 -1
  195. package/lib/ui-kit/Text/Text.d.ts +1 -26
  196. package/lib/ui-kit/Text/Text.js.map +1 -1
  197. package/lib/ui-kit/Text/TextProps.d.ts +26 -0
  198. package/lib/ui-kit/Text/TextProps.js +2 -0
  199. package/lib/ui-kit/Text/TextProps.js.map +1 -0
  200. package/mobile/bundle/bundle.umd.js +4 -6
  201. package/mobile/bundle/bundle.umd.min.js +1 -1
  202. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  203. package/mobile/bundle/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
  204. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  205. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +5 -0
  206. package/mobile/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
  207. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  208. package/mobile/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  209. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  210. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  211. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  212. package/mobile/bundle/components/Video/VideoContent.d.ts +1 -0
  213. package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  214. package/mobile/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  215. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
  216. package/mobile/bundle/ui-kit/Text/Text.d.ts +1 -26
  217. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +26 -0
  218. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -2
  219. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  220. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -1
  221. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  222. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +5 -2
  223. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  224. package/mobile/dist/components/Carousel/Carousel.js +2 -1
  225. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  226. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  227. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  228. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  229. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
  230. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  231. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
  232. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  233. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  234. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  235. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  236. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  237. package/mobile/dist/components/Gallery/GalleryCardInner.js +6 -1
  238. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  239. package/mobile/dist/components/Gallery/GalleryContent.d.ts +5 -0
  240. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  241. package/mobile/dist/components/Header/Header.js +2 -2
  242. package/mobile/dist/components/Header/Header.js.map +1 -1
  243. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  244. package/mobile/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
  245. package/mobile/dist/components/ImgBlock/ImgBlock.js +11 -0
  246. package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -0
  247. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  248. package/mobile/dist/components/ImgBlock/ImgBlockContent.js +2 -0
  249. package/mobile/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
  250. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +5 -7
  251. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  252. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  253. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  254. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  255. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
  256. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  257. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  258. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  259. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  260. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -7
  261. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  262. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  263. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  264. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  265. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  266. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
  267. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  268. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  269. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  270. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  271. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  272. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  273. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  274. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -3
  275. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  276. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -1
  277. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  278. package/mobile/dist/components/Video/VideoContent.d.ts +1 -0
  279. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +3 -2
  280. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  281. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
  282. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  283. package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  284. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  285. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  286. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
  287. package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  288. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  289. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  290. package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
  291. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  292. package/mobile/dist/ui-kit/Text/Text.d.ts +1 -26
  293. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  294. package/mobile/dist/ui-kit/Text/TextProps.d.ts +26 -0
  295. package/mobile/dist/ui-kit/Text/TextProps.js +2 -0
  296. package/mobile/dist/ui-kit/Text/TextProps.js.map +1 -0
  297. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +5 -3
  298. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  299. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -2
  300. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  301. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +6 -3
  302. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  303. package/mobile/lib/components/Carousel/Carousel.js +2 -1
  304. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  305. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  306. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  307. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
  308. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
  309. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
  310. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
  311. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
  312. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
  313. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  314. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
  315. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  316. package/mobile/lib/components/Gallery/GalleryCardInner.js +6 -1
  317. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  318. package/mobile/lib/components/Gallery/GalleryContent.d.ts +5 -0
  319. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  320. package/mobile/lib/components/Header/Header.js +3 -3
  321. package/mobile/lib/components/Header/Header.js.map +1 -1
  322. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  323. package/mobile/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
  324. package/mobile/lib/components/ImgBlock/ImgBlock.js +9 -0
  325. package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -0
  326. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
  327. package/mobile/lib/components/ImgBlock/ImgBlockContent.js +2 -0
  328. package/mobile/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
  329. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
  330. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  331. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  332. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  333. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
  334. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
  335. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
  336. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
  337. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
  338. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
  339. package/mobile/lib/components/ProductGallery/ProductGallery.js +8 -8
  340. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  341. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
  342. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  343. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
  344. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  345. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
  346. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  347. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
  348. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
  349. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  350. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
  351. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
  352. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  353. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -3
  354. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  355. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -2
  356. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  357. package/mobile/lib/components/Video/VideoContent.d.ts +1 -0
  358. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +4 -3
  359. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  360. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
  361. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  362. package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
  363. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  364. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
  365. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
  366. package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
  367. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  368. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  369. package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
  370. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  371. package/mobile/lib/ui-kit/Text/Text.d.ts +1 -26
  372. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  373. package/mobile/lib/ui-kit/Text/TextProps.d.ts +26 -0
  374. package/mobile/lib/ui-kit/Text/TextProps.js +2 -0
  375. package/mobile/lib/ui-kit/Text/TextProps.js.map +1 -0
  376. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
  377. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
  378. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +6 -3
  379. package/mobile/src/components/Carousel/Carousel.tsx +2 -1
  380. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  381. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
  382. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
  383. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
  384. package/mobile/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
  385. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
  386. package/mobile/src/components/Gallery/GalleryCardInner.tsx +7 -1
  387. package/mobile/src/components/Gallery/GalleryContent.ts +5 -0
  388. package/mobile/src/components/Gallery/GalleryInner.tsx +0 -1
  389. package/mobile/src/components/Header/Header.tsx +4 -6
  390. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -0
  391. package/mobile/src/components/ImgBlock/ImgBlock.example.json +11 -0
  392. package/mobile/src/components/ImgBlock/ImgBlock.tsx +17 -0
  393. package/mobile/src/components/ImgBlock/ImgBlock.ui.json +7 -0
  394. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +8 -0
  395. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -11
  396. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  397. package/mobile/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
  398. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
  399. package/mobile/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
  400. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
  401. package/mobile/src/components/ProductGallery/ProductGallery.tsx +13 -13
  402. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
  403. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
  404. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
  405. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
  406. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
  407. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +8 -10
  408. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +11 -4
  409. package/mobile/src/components/Video/VideoContent.ts +1 -0
  410. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
  411. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
  412. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
  413. package/mobile/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
  414. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  415. package/mobile/src/ui-kit/Radio/RadioProps.ts +1 -1
  416. package/mobile/src/ui-kit/Select/Select.tsx +0 -1
  417. package/mobile/src/ui-kit/Text/Text.tsx +1 -63
  418. package/mobile/src/ui-kit/Text/TextProps.ts +63 -0
  419. package/package.json +1 -1
  420. package/src/components/Blocks.ts +7 -3
  421. package/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
  422. package/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
  423. package/src/components/Calculator/DepositCalculatorForm.tsx +6 -3
  424. package/src/components/Carousel/Carousel.fixture.tsx +20 -1
  425. package/src/components/Carousel/Carousel.tsx +2 -1
  426. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
  427. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  428. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
  429. package/src/components/{InvestmentGallery/InvestmentGallery.fixture.tsx → CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx} +21 -27
  430. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
  431. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
  432. package/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
  433. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
  434. package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  435. package/src/components/Gallery/GalleryCardInner.tsx +7 -1
  436. package/src/components/Gallery/GalleryContent.ts +5 -0
  437. package/src/components/Gallery/GalleryInner.tsx +0 -1
  438. package/src/components/Header/Header.mobile.tsx +4 -6
  439. package/src/components/Header/HeaderSubMenu.tsx +1 -0
  440. package/src/components/ImgBlock/ImgBlock.example.json +11 -0
  441. package/src/components/ImgBlock/ImgBlock.fixture.tsx +21 -0
  442. package/src/components/ImgBlock/ImgBlock.tsx +17 -0
  443. package/src/components/ImgBlock/ImgBlock.ui.json +7 -0
  444. package/src/components/ImgBlock/ImgBlockContent.ts +8 -0
  445. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +8 -11
  446. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +3 -3
  447. package/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
  448. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +45 -0
  449. package/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
  450. package/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
  451. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
  452. package/src/components/ProductGallery/ProductGallery.tsx +13 -13
  453. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
  454. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
  455. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
  456. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
  457. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
  458. package/src/components/StepsBlock/StepsBlock.tsx +2 -3
  459. package/src/components/TariffsTable/TableTileHeader.tsx +8 -10
  460. package/src/components/TariffsTable/TariffsTable.tsx +20 -22
  461. package/src/components/TariffsTable/TariffsTableRow.tsx +11 -4
  462. package/src/components/Video/VideoContent.ts +1 -0
  463. package/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
  464. package/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
  465. package/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
  466. package/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
  467. package/src/ui-kit/Radio/Radio.tsx +1 -1
  468. package/src/ui-kit/Radio/RadioProps.ts +1 -1
  469. package/src/ui-kit/Select/Select.tsx +0 -1
  470. package/src/ui-kit/Text/Text.tsx +1 -63
  471. package/src/ui-kit/Text/TextProps.ts +63 -0
  472. package/tailwind.config.cjs +8 -0
  473. package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  474. package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  475. package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  476. package/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
  477. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  478. package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  479. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
  480. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  481. package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  482. package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  483. package/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
  484. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  485. package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  486. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
  487. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  488. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
  489. package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  490. package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  491. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  492. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  493. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
  494. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  495. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  496. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
  497. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  498. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
  499. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  500. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
  501. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
  502. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
  503. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
  504. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
  505. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
  506. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
  507. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
  508. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
  509. package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
  510. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
  511. package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
  512. package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
  513. package/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
  514. package/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
  515. package/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
  516. package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
@@ -1,50 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { Picture } from '../../model/Picture';
3
- import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
4
- /**
5
- * @title Количество колонок в списке
6
- * @enumNames [
7
- * "1 колонка",
8
- * "2 колонки",
9
- * ]
10
- */
11
- export declare type CardColumnsMode = 'single' | 'double';
12
- /**
13
- * @title Карточка
14
- */
15
- export interface InvestmentGalleryCardTypes extends HeadlineCommonProps {
16
- /** @title Доп. описание карточки */
17
- additionalDescription?: string;
18
- /**
19
- * @default {
20
- * "format": "webp",
21
- * "size": {
22
- * "width": 290
23
- * },
24
- * "sources": [{
25
- * "media": 1279,
26
- * "width": 174,
27
- * "format": "webp",
28
- * "alignment": "southeast"
29
- * }]
30
- * }
31
- */
32
- image?: Picture;
33
- columnsMode?: CardColumnsMode;
34
- /** @title Описание пункта */
35
- cardList?: CardListItem[];
36
- }
37
- export interface CardListItem {
38
- /** @title Параметр */
39
- parameter?: string;
40
- /** @title Описание */
41
- parameterDesccription?: string;
42
- }
43
- /**
44
- * @title Карточка
45
- */
46
- export interface InvestmentGalleryContent extends TitleProps {
47
- /** @title Карточки */
48
- cards?: InvestmentGalleryCardTypes[];
49
- version?: BlockVersion;
50
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=InvestmentGalleryContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryContent.ts"],"names":[],"mappings":""}
@@ -1,64 +0,0 @@
1
- {
2
- "title": "Заголовок блока",
3
- "cards": [
4
- {
5
- "image": {
6
- "format": "webp",
7
- "size": {
8
- "width": 180,
9
- "height": 180
10
- }
11
- },
12
- "title": "Заголовок карточки",
13
- "description": "Описание",
14
- "additionalDescription": "Дополнительное описание",
15
- "cardList":[
16
- {
17
- "parametr": "Параметр",
18
- "parametrDesccription": "Описание"
19
- },
20
- {
21
- "parametr": "Параметр",
22
- "parametrDesccription": "Описание"
23
- },
24
- {
25
- "parametr": "Параметр",
26
- "parametrDesccription": "Описание"
27
- }
28
- ]
29
- },
30
- {
31
- "image": {
32
- "format": "webp",
33
- "size": {
34
- "width": 180,
35
- "height": 180
36
- }
37
- },
38
- "title": "Заголовок 2",
39
- "description": "Описание 2",
40
- "socialMedia": [
41
- { "href": "https://t.me" },
42
- { "href": "https://vk.com" },
43
- { "href": "https://ok.ru" }
44
- ]
45
- },
46
- {
47
- "image": {
48
- "format": "webp",
49
- "size": {
50
- "width": 180,
51
- "height": 180
52
- }
53
- },
54
- "title": "Заголовок 3",
55
- "description": "Описание 3",
56
- "socialMedia": [
57
- { "href": "https://t.me" },
58
- { "href": "https://vk.com" },
59
- { "href": "https://ok.ru" }
60
- ]
61
- }
62
- ],
63
- "version": "primary"
64
- }
@@ -1,66 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { useCarouselControls } from '../../hooks/useCarouselControls';
3
- import type { BlockVersion } from '../../model/BlockVersion';
4
- import { VersionStyleMap } from '../../model/BlockVersion';
5
- import type { UniBlockProps } from '../../model/JSXBlock';
6
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
- import { renderArrows } from '../../ui-kit/Button/renderArrows';
8
- import { Heading } from '../../ui-kit/Heading/Heading';
9
- import { InvestmentGalleryCard } from './InvestmentGalleryCard';
10
- import type {
11
- InvestmentGalleryCardTypes,
12
- InvestmentGalleryContent,
13
- } from './InvestmentGalleryContent';
14
-
15
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
16
- const CARD_FULL_VIEW_COUNT = 1;
17
-
18
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {}
19
-
20
- export const InvestmentGallery = JSX<InvestmentGalleryProps>(
21
- ({ cards = [], className = '', title, version = 'primary', ...rest }) => {
22
- const cardWidth = 710;
23
-
24
- const [activeIndex, controls] = useCarouselControls({
25
- itemCount: cards.length,
26
- visibleItemCount: CARD_FULL_VIEW_COUNT,
27
- });
28
-
29
- return (
30
- <BlockWrapper
31
- className={`relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`}
32
- {...rest}
33
- >
34
- {title ? <Heading headingType="h3" className="mb-9" title={title} /> : null}
35
- <div>
36
- <div
37
- className="flex duration-1000 gap-3.5"
38
- style={{ transform: `translateX(-${activeIndex * cardWidth}px)` }}
39
- role="list"
40
- >
41
- {cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null}
42
- </div>
43
- {renderArrows({
44
- ...controls,
45
- btnClass: ['left-8', 'right-8'],
46
- className: 'top-1/2 mt-3',
47
- })}
48
- </div>
49
- <div
50
- className={`${BLUR_BLOCK_CLASSES} left-0 ${
51
- version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'
52
- }`}
53
- />
54
- <div
55
- className={`${BLUR_BLOCK_CLASSES} right-0 ${
56
- version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'
57
- }`}
58
- />
59
- </BlockWrapper>
60
- );
61
- },
62
- );
63
-
64
- const renderInvestmentGalleryCard =
65
- (className: string, version?: BlockVersion) => (card: InvestmentGalleryCardTypes, i: number) =>
66
- <InvestmentGalleryCard key={String(i)} className={className} version={version} {...card} />;
@@ -1,11 +0,0 @@
1
- {
2
- "content": {
3
- "recommendations": {
4
- "items": {
5
- "image": {
6
- "ui:field": "picture"
7
- }
8
- }
9
- }
10
- }
11
- }
@@ -1,84 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
- import { BorderVersionStyleMap } from '../../model/BorderVersion';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
- import { Img } from '../../ui-kit/Img/Img';
6
- import { BaseTile } from '../BaseTile/BaseTile';
7
- import type {
8
- CardColumnsMode,
9
- CardListItem,
10
- InvestmentGalleryCardTypes,
11
- } from './InvestmentGalleryContent';
12
-
13
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
14
- className?: string;
15
- version?: BlockVersion;
16
- }
17
- const getItemListFontSize = (colValue?: string) => (colValue === 'single' ? 'text-h6' : 'text-l');
18
-
19
- const cardColumnsModeStyleMap: Record<CardColumnsMode, string> = {
20
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
21
- single: 'flex gap-y-2 flex-col',
22
- };
23
-
24
- export const InvestmentGalleryCard = JSX<RecommendationCardProps>(
25
- ({
26
- className = '',
27
- columnsMode = 'double',
28
- description,
29
- additionalDescription,
30
- image,
31
- cardList,
32
- title,
33
- version = 'primary',
34
- }) => {
35
- const tileTitle = title ? (
36
- <Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} />
37
- ) : null;
38
- const tileImage = image?.src ? (
39
- <Img className="absolute bottom-0 right-0 m-0" image={image} />
40
- ) : null;
41
-
42
- return (
43
- <section
44
- className={`relative overflow-hidden text-left border border-solid box-border
45
- p-9 min-w-[697px] min-h-[319px]
46
- ${BorderVersionStyleMap[version]}
47
- ${className}`}
48
- role="listitem"
49
- >
50
- <BaseTile className="flex justify-between" title={tileTitle} image={tileImage}>
51
- <div className="flex flex-col justify-between">
52
- <div className="flex itens-center justify-between mb-4">
53
- {description ? <span className="text-h6">{description}</span> : null}
54
- {additionalDescription ? (
55
- <span className="text-m-light text-secondary-text"> {additionalDescription} </span>
56
- ) : null}
57
- </div>
58
- {cardList?.length ? (
59
- <div className={`${cardColumnsModeStyleMap[columnsMode]}`} role="list">
60
- {renderCardList(cardList, columnsMode)}
61
- </div>
62
- ) : null}
63
- </div>
64
- </BaseTile>
65
- </section>
66
- );
67
- },
68
- );
69
-
70
- const renderCardList = (cardList: CardListItem[], columnsMode: string) =>
71
- cardList.map((item, i) => (
72
- <div
73
- key={String(i)}
74
- className={columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}
75
- role="listitem"
76
- >
77
- {item?.parameter ? (
78
- <span className={`pr-2.5 ${getItemListFontSize(columnsMode)}`}>{item.parameter}</span>
79
- ) : null}
80
- {item?.parameterDesccription ? (
81
- <span className="text-m-light text-secondary-text">{item.parameterDesccription}</span>
82
- ) : null}
83
- </div>
84
- ));
@@ -1,64 +0,0 @@
1
- {
2
- "title": "Заголовок блока",
3
- "cards": [
4
- {
5
- "image": {
6
- "format": "webp",
7
- "size": {
8
- "width": 180,
9
- "height": 180
10
- }
11
- },
12
- "title": "Заголовок карточки",
13
- "description": "Описание",
14
- "additionalDescription": "Дополнительное описание",
15
- "cardList":[
16
- {
17
- "parametr": "Параметр",
18
- "parametrDesccription": "Описание"
19
- },
20
- {
21
- "parametr": "Параметр",
22
- "parametrDesccription": "Описание"
23
- },
24
- {
25
- "parametr": "Параметр",
26
- "parametrDesccription": "Описание"
27
- }
28
- ]
29
- },
30
- {
31
- "image": {
32
- "format": "webp",
33
- "size": {
34
- "width": 180,
35
- "height": 180
36
- }
37
- },
38
- "title": "Заголовок 2",
39
- "description": "Описание 2",
40
- "socialMedia": [
41
- { "href": "https://t.me" },
42
- { "href": "https://vk.com" },
43
- { "href": "https://ok.ru" }
44
- ]
45
- },
46
- {
47
- "image": {
48
- "format": "webp",
49
- "size": {
50
- "width": 180,
51
- "height": 180
52
- }
53
- },
54
- "title": "Заголовок 3",
55
- "description": "Описание 3",
56
- "socialMedia": [
57
- { "href": "https://t.me" },
58
- { "href": "https://vk.com" },
59
- { "href": "https://ok.ru" }
60
- ]
61
- }
62
- ],
63
- "version": "primary"
64
- }
@@ -1,66 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { useCarouselControls } from '../../hooks/useCarouselControls';
3
- import type { BlockVersion } from '../../model/BlockVersion';
4
- import { VersionStyleMap } from '../../model/BlockVersion';
5
- import type { UniBlockProps } from '../../model/JSXBlock';
6
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
7
- import { renderArrows } from '../../ui-kit/Button/renderArrows';
8
- import { Heading } from '../../ui-kit/Heading/Heading';
9
- import { InvestmentGalleryCard } from './InvestmentGalleryCard';
10
- import type {
11
- InvestmentGalleryCardTypes,
12
- InvestmentGalleryContent,
13
- } from './InvestmentGalleryContent';
14
-
15
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
16
- const CARD_FULL_VIEW_COUNT = 1;
17
-
18
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {}
19
-
20
- export const InvestmentGallery = JSX<InvestmentGalleryProps>(
21
- ({ cards = [], className = '', title, version = 'primary', ...rest }) => {
22
- const cardWidth = 710;
23
-
24
- const [activeIndex, controls] = useCarouselControls({
25
- itemCount: cards.length,
26
- visibleItemCount: CARD_FULL_VIEW_COUNT,
27
- });
28
-
29
- return (
30
- <BlockWrapper
31
- className={`relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`}
32
- {...rest}
33
- >
34
- {title ? <Heading headingType="h3" className="mb-9" title={title} /> : null}
35
- <div>
36
- <div
37
- className="flex duration-1000 gap-3.5"
38
- style={{ transform: `translateX(-${activeIndex * cardWidth}px)` }}
39
- role="list"
40
- >
41
- {cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null}
42
- </div>
43
- {renderArrows({
44
- ...controls,
45
- btnClass: ['left-8', 'right-8'],
46
- className: 'top-1/2 mt-3',
47
- })}
48
- </div>
49
- <div
50
- className={`${BLUR_BLOCK_CLASSES} left-0 ${
51
- version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'
52
- }`}
53
- />
54
- <div
55
- className={`${BLUR_BLOCK_CLASSES} right-0 ${
56
- version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'
57
- }`}
58
- />
59
- </BlockWrapper>
60
- );
61
- },
62
- );
63
-
64
- const renderInvestmentGalleryCard =
65
- (className: string, version?: BlockVersion) => (card: InvestmentGalleryCardTypes, i: number) =>
66
- <InvestmentGalleryCard key={String(i)} className={className} version={version} {...card} />;
@@ -1,11 +0,0 @@
1
- {
2
- "content": {
3
- "recommendations": {
4
- "items": {
5
- "image": {
6
- "ui:field": "picture"
7
- }
8
- }
9
- }
10
- }
11
- }
@@ -1,84 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { BlockVersion } from '../../model/BlockVersion';
3
- import { BorderVersionStyleMap } from '../../model/BorderVersion';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
- import { Img } from '../../ui-kit/Img/Img';
6
- import { BaseTile } from '../BaseTile/BaseTile';
7
- import type {
8
- CardColumnsMode,
9
- CardListItem,
10
- InvestmentGalleryCardTypes,
11
- } from './InvestmentGalleryContent';
12
-
13
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
14
- className?: string;
15
- version?: BlockVersion;
16
- }
17
- const getItemListFontSize = (colValue?: string) => (colValue === 'single' ? 'text-h6' : 'text-l');
18
-
19
- const cardColumnsModeStyleMap: Record<CardColumnsMode, string> = {
20
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
21
- single: 'flex gap-y-2 flex-col',
22
- };
23
-
24
- export const InvestmentGalleryCard = JSX<RecommendationCardProps>(
25
- ({
26
- className = '',
27
- columnsMode = 'double',
28
- description,
29
- additionalDescription,
30
- image,
31
- cardList,
32
- title,
33
- version = 'primary',
34
- }) => {
35
- const tileTitle = title ? (
36
- <Heading headingType="h4" as="h3" className="mb-3.5 z-10" title={title} />
37
- ) : null;
38
- const tileImage = image?.src ? (
39
- <Img className="absolute bottom-0 right-0 m-0" image={image} />
40
- ) : null;
41
-
42
- return (
43
- <section
44
- className={`relative overflow-hidden text-left border border-solid box-border
45
- p-9 min-w-[697px] min-h-[319px]
46
- ${BorderVersionStyleMap[version]}
47
- ${className}`}
48
- role="listitem"
49
- >
50
- <BaseTile className="flex justify-between" title={tileTitle} image={tileImage}>
51
- <div className="flex flex-col justify-between">
52
- <div className="flex itens-center justify-between mb-4">
53
- {description ? <span className="text-h6">{description}</span> : null}
54
- {additionalDescription ? (
55
- <span className="text-m-light text-secondary-text"> {additionalDescription} </span>
56
- ) : null}
57
- </div>
58
- {cardList?.length ? (
59
- <div className={`${cardColumnsModeStyleMap[columnsMode]}`} role="list">
60
- {renderCardList(cardList, columnsMode)}
61
- </div>
62
- ) : null}
63
- </div>
64
- </BaseTile>
65
- </section>
66
- );
67
- },
68
- );
69
-
70
- const renderCardList = (cardList: CardListItem[], columnsMode: string) =>
71
- cardList.map((item, i) => (
72
- <div
73
- key={String(i)}
74
- className={columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}
75
- role="listitem"
76
- >
77
- {item?.parameter ? (
78
- <span className={`pr-2.5 ${getItemListFontSize(columnsMode)}`}>{item.parameter}</span>
79
- ) : null}
80
- {item?.parameterDesccription ? (
81
- <span className="text-m-light text-secondary-text">{item.parameterDesccription}</span>
82
- ) : null}
83
- </div>
84
- ));