@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
@@ -12,7 +12,7 @@ export const Radio = JSX<RadioProps>(({ name, text, value, checked, onChange, cl
12
12
  value={value}
13
13
  name={name}
14
14
  checked={checked}
15
- onChange={onChange}
15
+ onChange={(_) => onChange(_.target.value)}
16
16
  />
17
17
  {text ? <span className="text-primary-text ml-3 cursor-pointer">{text}</span> : null}
18
18
  </label>
@@ -3,6 +3,6 @@ export interface RadioProps {
3
3
  text?: string;
4
4
  value: string;
5
5
  checked: boolean;
6
- onChange: (value: React.ChangeEvent<HTMLInputElement>) => void;
6
+ onChange: (value: string) => void;
7
7
  className?: string;
8
8
  }
@@ -22,7 +22,6 @@ export const Select = JSX<SelectProps>(
22
22
  ({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
23
23
  const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
24
24
  const [isOpen, setIsOpen] = useState(false);
25
-
26
25
  const handleClickOutside = useCallback(() => setIsOpen(false), []);
27
26
  const wrapperRef = useOutsideClick<HTMLDivElement>(handleClickOutside);
28
27
 
@@ -1,67 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
-
3
- /**
4
- * @title Размер текста
5
- */
6
- export type TextSize =
7
- | ''
8
- | 'text-xs-light'
9
- | 'text-s-light'
10
- | 'text-s'
11
- | 'text-m-light'
12
- | 'text-m'
13
- | 'text-l-light'
14
- | 'text-l'
15
- | 'text-xl-light'
16
- | 'text-xl';
17
-
18
- /**
19
- * @title Размер текста
20
- */
21
- export type TitleSize =
22
- | ''
23
- | 'text-h6'
24
- | 'text-h5'
25
- | 'text-h5-light'
26
- | 'text-h4'
27
- | 'text-h3'
28
- | 'text-h2'
29
- | 'text-h1'
30
- | 'text-h0'
31
- | 'text-m-title'
32
- | 'text-m-title-xs'
33
- | 'title-extra'
34
- | 'title-huge';
35
-
36
- /**
37
- * @title Цвет текста
38
- */
39
- export type TextColor =
40
- | ''
41
- | 'text-main'
42
- | 'text-primary-text'
43
- | 'text-primary-main'
44
- | 'text-secondary-text'
45
- | 'text-secondary-light'
46
- | 'text-error'
47
- | 'text-white'
48
- | 'text-green';
49
-
50
- /**
51
- * @title Выравнивание
52
- * @enumNames [
53
- * "По умолчанию",
54
- * "По левому краю",
55
- * "По центру",
56
- * "По правому краю"
57
- * ]
58
- */
59
- export type TextAlign = '' | 'text-left' | 'text-center' | 'text-right';
60
-
61
- /**
62
- * @title Насыщенность шрифта
63
- */
64
- export type FontWeight = '' | 'font-light' | 'font-normal' | 'font-medium';
2
+ import type { FontWeight, TextAlign, TextColor, TextSize, TitleSize } from './TextProps';
65
3
 
66
4
  interface TextProps {
67
5
  size?: TextSize | TitleSize;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @title Размер текста
3
+ */
4
+ export type TextSize =
5
+ | ''
6
+ | 'text-xs'
7
+ | 'text-xs-light'
8
+ | 'text-s-light'
9
+ | 'text-s'
10
+ | 'text-m-light'
11
+ | 'text-m'
12
+ | 'text-l-light'
13
+ | 'text-l'
14
+ | 'text-xl-light'
15
+ | 'text-xl';
16
+
17
+ /**
18
+ * @title Размер текста
19
+ */
20
+ export type TitleSize =
21
+ | ''
22
+ | 'text-h6'
23
+ | 'text-h5'
24
+ | 'text-h5-light'
25
+ | 'text-h4'
26
+ | 'text-h3'
27
+ | 'text-h2'
28
+ | 'text-h1'
29
+ | 'text-h0'
30
+ | 'text-m-title'
31
+ | 'text-m-title-xs'
32
+ | 'title-extra'
33
+ | 'title-huge';
34
+
35
+ /**
36
+ * @title Цвет текста
37
+ */
38
+ export type TextColor =
39
+ | ''
40
+ | 'text-main'
41
+ | 'text-primary-text'
42
+ | 'text-primary-main'
43
+ | 'text-secondary-text'
44
+ | 'text-secondary-light'
45
+ | 'text-error'
46
+ | 'text-white'
47
+ | 'text-green';
48
+
49
+ /**
50
+ * @title Выравнивание
51
+ * @enumNames [
52
+ * "По умолчанию",
53
+ * "По левому краю",
54
+ * "По центру",
55
+ * "По правому краю"
56
+ * ]
57
+ */
58
+ export type TextAlign = '' | 'text-left' | 'text-center' | 'text-right';
59
+
60
+ /**
61
+ * @title Насыщенность шрифта
62
+ */
63
+ export type FontWeight = '' | 'font-light' | 'font-normal' | 'font-medium';
@@ -181,6 +181,14 @@ module.exports = {
181
181
  fontWeight: '300',
182
182
  },
183
183
  ],
184
+ xs: [
185
+ '0.75rem',
186
+ {
187
+ // 12px 18px
188
+ lineHeight: '1.125rem',
189
+ fontWeight: '400',
190
+ },
191
+ ],
184
192
  'xs-light': [
185
193
  '0.75rem',
186
194
  {
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,26 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.InvestmentGallery = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const useCarouselControls_1 = require("../../hooks/useCarouselControls");
6
- const BlockVersion_1 = require("../../model/BlockVersion");
7
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
- const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
9
- const Heading_1 = require("../../ui-kit/Heading/Heading");
10
- const InvestmentGalleryCard_1 = require("./InvestmentGalleryCard");
11
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
12
- const CARD_FULL_VIEW_COUNT = 1;
13
- exports.InvestmentGallery = (0, uni_jsx_1.JSX)(({ cards = [], className = '', title, version = 'primary', ...rest }) => {
14
- const cardWidth = 710;
15
- const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
16
- itemCount: cards.length,
17
- visibleItemCount: CARD_FULL_VIEW_COUNT,
18
- });
19
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${BlockVersion_1.VersionStyleMap[version]} ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-9", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * cardWidth}px)` }, role: "list", children: cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null }), (0, renderArrows_1.renderArrows)({
20
- ...controls,
21
- btnClass: ['left-8', 'right-8'],
22
- className: 'top-1/2 mt-3',
23
- })] }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
24
- });
25
- const renderInvestmentGalleryCard = (className, version) => (card, i) => (0, jsx_runtime_1.jsx)(InvestmentGalleryCard_1.InvestmentGalleryCard, { className: className, version: version, ...card }, String(i));
26
- //# sourceMappingURL=InvestmentGallery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,2DAA2D;AAE3D,4DAAyD;AACzD,mEAAgE;AAChE,0DAAuD;AACvD,mEAAgE;AAMhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAIlB,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,SAAS,GAAG,GAAG,CAAC;IAEtB,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,CAAC,MAAM;QACvB,gBAAgB,EAAE,oBAAoB;KACvC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,sDAAsD,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KACpG,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC3E,4CACE,gCACE,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,SAAS,KAAK,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,2BAA2B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAC9E,EACL,IAAA,2BAAY,EAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,gCACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,gCACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,2BAA2B,GAC/B,CAAC,SAAiB,EAAE,OAAsB,EAAE,EAAE,CAAC,CAAC,IAAgC,EAAE,CAAS,EAAE,EAAE,CAC7F,uBAAC,6CAAqB,IAAiB,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,IAA3D,MAAM,CAAC,CAAC,CAAC,CAAsD,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.InvestmentGalleryCard = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BorderVersion_1 = require("../../model/BorderVersion");
6
- const Heading_1 = require("../../ui-kit/Heading/Heading");
7
- const Img_1 = require("../../ui-kit/Img/Img");
8
- const BaseTile_1 = require("../BaseTile/BaseTile");
9
- const getItemListFontSize = (colValue) => (colValue === 'single' ? 'text-h6' : 'text-l');
10
- const cardColumnsModeStyleMap = {
11
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
12
- single: 'flex gap-y-2 flex-col',
13
- };
14
- exports.InvestmentGalleryCard = (0, uni_jsx_1.JSX)(({ className = '', columnsMode = 'double', description, additionalDescription, image, cardList, title, version = 'primary', }) => {
15
- const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
16
- const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
17
- return ((0, jsx_runtime_1.jsx)("section", { className: `relative overflow-hidden text-left border border-solid box-border
18
- p-9 min-w-[697px] min-h-[319px]
19
- ${BorderVersion_1.BorderVersionStyleMap[version]}
20
- ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex itens-center justify-between mb-4", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "text-h6", children: description }) : null, additionalDescription ? ((0, jsx_runtime_1.jsxs)("span", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
21
- });
22
- const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => ((0, jsx_runtime_1.jsxs)("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? ((0, jsx_runtime_1.jsx)("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? ((0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
23
- //# sourceMappingURL=InvestmentGalleryCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAAkE;AAClE,0DAAuD;AACvD,8CAA2C;AAC3C,mDAAgD;AAWhD,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElG,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,QAAQ,EACtB,WAAW,EACX,qBAAqB,EACrB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,oCACE,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C,YAAE,IAAI,CAAC,qBAAqB,GAAQ,CACvF,CAAC,CAAC,CAAC,IAAI,KATH,MAAM,CAAC,CAAC,CAAC,CAUV,CACP,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryContent.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,24 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
- import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
7
- import { Heading } from '../../ui-kit/Heading/Heading.js';
8
- import { InvestmentGalleryCard } from './InvestmentGalleryCard.js';
9
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
10
- const CARD_FULL_VIEW_COUNT = 1;
11
- export const InvestmentGallery = JSX(({ cards = [], className = '', title, version = 'primary', ...rest }) => {
12
- const cardWidth = 710;
13
- const [activeIndex, controls] = useCarouselControls({
14
- itemCount: cards.length,
15
- visibleItemCount: CARD_FULL_VIEW_COUNT,
16
- });
17
- return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-9", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * cardWidth}px)` }, role: "list", children: cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null }), renderArrows({
18
- ...controls,
19
- btnClass: ['left-8', 'right-8'],
20
- className: 'top-1/2 mt-3',
21
- })] }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
22
- });
23
- const renderInvestmentGalleryCard = (className, version) => (card, i) => _jsx(InvestmentGalleryCard, { className: className, version: version, ...card }, String(i));
24
- //# sourceMappingURL=InvestmentGallery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAMhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAI/B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,SAAS,GAAG,GAAG,CAAC;IAEtB,MAAM,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AE,SAAS,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,IAA3D,MAAM,CAAC,CAAC,CAAC,CAAsD,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
4
- import { Heading } from '../../ui-kit/Heading/Heading.js';
5
- import { Img } from '../../ui-kit/Img/Img.js';
6
- import { BaseTile } from '../BaseTile/BaseTile.js';
7
- const getItemListFontSize = (colValue) => (colValue === 'single' ? 'text-h6' : 'text-l');
8
- const cardColumnsModeStyleMap = {
9
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
10
- single: 'flex gap-y-2 flex-col',
11
- };
12
- export const InvestmentGalleryCard = JSX(({ className = '', columnsMode = 'double', description, additionalDescription, image, cardList, title, version = 'primary', }) => {
13
- const tileTitle = title ? (_jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
14
- const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
15
- return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border
16
- p-9 min-w-[697px] min-h-[319px]
17
- ${BorderVersionStyleMap[version]}
18
- ${className}`, role: "listitem", children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "flex flex-col justify-between", children: [_jsxs("div", { className: "flex itens-center justify-between mb-4", children: [description ? _jsx("span", { className: "text-h6", children: description }) : null, additionalDescription ? (_jsxs("span", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? (_jsx("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
19
- });
20
- const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => (_jsxs("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? (_jsx("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? (_jsx("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
21
- //# sourceMappingURL=InvestmentGalleryCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAWhD,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElG,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CACtC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,QAAQ,EACtB,WAAW,EACX,qBAAqB,EACrB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,OAAO,GAAG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AAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,eAEE,SAAS,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EACnE,IAAI,EAAC,UAAU,aAEd,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CACjB,eAAM,SAAS,EAAE,UAAU,mBAAmB,CAAC,WAAW,CAAC,EAAE,YAAG,IAAI,CAAC,SAAS,GAAQ,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAC7B,eAAM,SAAS,EAAC,kCAAkC,YAAE,IAAI,CAAC,qBAAqB,GAAQ,CACvF,CAAC,CAAC,CAAC,IAAI,KATH,MAAM,CAAC,CAAC,CAAC,CAUV,CACP,CAAC,CAAC"}
@@ -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,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,26 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.InvestmentGallery = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const useCarouselControls_1 = require("../../hooks/useCarouselControls");
6
- const BlockVersion_1 = require("../../model/BlockVersion");
7
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
- const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
9
- const Heading_1 = require("../../ui-kit/Heading/Heading");
10
- const InvestmentGalleryCard_1 = require("./InvestmentGalleryCard");
11
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
12
- const CARD_FULL_VIEW_COUNT = 1;
13
- exports.InvestmentGallery = (0, uni_jsx_1.JSX)(({ cards = [], className = '', title, version = 'primary', ...rest }) => {
14
- const cardWidth = 710;
15
- const [activeIndex, controls] = (0, useCarouselControls_1.useCarouselControls)({
16
- itemCount: cards.length,
17
- visibleItemCount: CARD_FULL_VIEW_COUNT,
18
- });
19
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${BlockVersion_1.VersionStyleMap[version]} ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-9", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * cardWidth}px)` }, role: "list", children: cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null }), (0, renderArrows_1.renderArrows)({
20
- ...controls,
21
- btnClass: ['left-8', 'right-8'],
22
- className: 'top-1/2 mt-3',
23
- })] }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
24
- });
25
- const renderInvestmentGalleryCard = (className, version) => (card, i) => (0, jsx_runtime_1.jsx)(InvestmentGalleryCard_1.InvestmentGalleryCard, { className: className, version: version, ...card }, String(i));
26
- //# sourceMappingURL=InvestmentGallery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,2DAA2D;AAE3D,4DAAyD;AACzD,mEAAgE;AAChE,0DAAuD;AACvD,mEAAgE;AAMhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAIlB,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,SAAS,GAAG,GAAG,CAAC;IAEtB,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,CAAC,MAAM;QACvB,gBAAgB,EAAE,oBAAoB;KACvC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,sDAAsD,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KACpG,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC3E,4CACE,gCACE,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,SAAS,KAAK,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,2BAA2B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAC9E,EACL,IAAA,2BAAY,EAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,gCACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,gCACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,2BAA2B,GAC/B,CAAC,SAAiB,EAAE,OAAsB,EAAE,EAAE,CAAC,CAAC,IAAgC,EAAE,CAAS,EAAE,EAAE,CAC7F,uBAAC,6CAAqB,IAAiB,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,IAA3D,MAAM,CAAC,CAAC,CAAC,CAAsD,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,23 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.InvestmentGalleryCard = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BorderVersion_1 = require("../../model/BorderVersion");
6
- const Heading_1 = require("../../ui-kit/Heading/Heading");
7
- const Img_1 = require("../../ui-kit/Img/Img");
8
- const BaseTile_1 = require("../BaseTile/BaseTile");
9
- const getItemListFontSize = (colValue) => (colValue === 'single' ? 'text-h6' : 'text-l');
10
- const cardColumnsModeStyleMap = {
11
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
12
- single: 'flex gap-y-2 flex-col',
13
- };
14
- exports.InvestmentGalleryCard = (0, uni_jsx_1.JSX)(({ className = '', columnsMode = 'double', description, additionalDescription, image, cardList, title, version = 'primary', }) => {
15
- const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
16
- const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
17
- return ((0, jsx_runtime_1.jsx)("section", { className: `relative overflow-hidden text-left border border-solid box-border
18
- p-9 min-w-[697px] min-h-[319px]
19
- ${BorderVersion_1.BorderVersionStyleMap[version]}
20
- ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex itens-center justify-between mb-4", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "text-h6", children: description }) : null, additionalDescription ? ((0, jsx_runtime_1.jsxs)("span", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
21
- });
22
- const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => ((0, jsx_runtime_1.jsxs)("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? ((0, jsx_runtime_1.jsx)("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? ((0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
23
- //# sourceMappingURL=InvestmentGalleryCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAAkE;AAClE,0DAAuD;AACvD,8CAA2C;AAC3C,mDAAgD;AAWhD,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElG,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,QAAQ,EACtB,WAAW,EACX,qBAAqB,EACrB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,G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AAI,EAAE,SAAS,CAAC,CAAC,CAAC,CACjB,iCAAM,SAAS,EAAE,UAAU,mBAAmB,CAAC,WAAW,CAAC,EAAE,YAAG,IAAI,CAAC,SAAS,GAAQ,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAC7B,iCAAM,SAAS,EAAC,kCAAkC,YAAE,IAAI,CAAC,qBAAqB,GAAQ,CACvF,CAAC,CAAC,CAAC,IAAI,KATH,MAAM,CAAC,CAAC,CAAC,CAUV,CACP,CAAC,CAAC"}
@@ -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 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryContent.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { InvestmentGalleryContent } from './InvestmentGalleryContent';
3
- export interface InvestmentGalleryProps extends InvestmentGalleryContent, UniBlockProps {
4
- }
5
- export declare const InvestmentGallery: import("@redneckz/uni-jsx").UNIComponent<InvestmentGalleryProps, any, any>;
@@ -1,24 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { useCarouselControls } from '../../hooks/useCarouselControls.js';
4
- import { VersionStyleMap } from '../../model/BlockVersion.js';
5
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
- import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
7
- import { Heading } from '../../ui-kit/Heading/Heading.js';
8
- import { InvestmentGalleryCard } from './InvestmentGalleryCard.js';
9
- const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
10
- const CARD_FULL_VIEW_COUNT = 1;
11
- export const InvestmentGallery = JSX(({ cards = [], className = '', title, version = 'primary', ...rest }) => {
12
- const cardWidth = 710;
13
- const [activeIndex, controls] = useCarouselControls({
14
- itemCount: cards.length,
15
- visibleItemCount: CARD_FULL_VIEW_COUNT,
16
- });
17
- return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-9", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * cardWidth}px)` }, role: "list", children: cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null }), renderArrows({
18
- ...controls,
19
- btnClass: ['left-8', 'right-8'],
20
- className: 'top-1/2 mt-3',
21
- })] }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
22
- });
23
- const renderInvestmentGalleryCard = (className, version) => (card, i) => _jsx(InvestmentGalleryCard, { className: className, version: version, ...card }, String(i));
24
- //# sourceMappingURL=InvestmentGallery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAMhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAI/B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,SAAS,GAAG,GAAG,CAAC;IAEtB,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,KAAK,CAAC,MAAM;QACvB,gBAAgB,EAAE,oBAAoB;KACvC,CAAC,CAAC;IAEH,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,sDAAsD,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KACpG,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC3E,0BACE,cACE,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,WAAW,GAAG,SAAS,KAAK,EAAE,EACjE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,2BAA2B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAC9E,EACL,YAAY,CAAC;wBACZ,GAAG,QAAQ;wBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,cAAc;qBAC1B,CAAC,IACE,EACN,cACE,SAAS,EAAE,GAAG,kBAAkB,WAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,uBACrD,EAAE,GACF,EACF,cACE,SAAS,EAAE,GAAG,kBAAkB,YAC9B,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,2BAA2B,GAC/B,CAAC,SAAiB,EAAE,OAAsB,EAAE,EAAE,CAAC,CAAC,IAAgC,EAAE,CAAS,EAAE,EAAE,CAC7F,KAAC,qBAAqB,IAAiB,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,IAA3D,MAAM,CAAC,CAAC,CAAC,CAAsD,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
3
- export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
4
- className?: string;
5
- version?: BlockVersion;
6
- }
7
- export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
4
- import { Heading } from '../../ui-kit/Heading/Heading.js';
5
- import { Img } from '../../ui-kit/Img/Img.js';
6
- import { BaseTile } from '../BaseTile/BaseTile.js';
7
- const getItemListFontSize = (colValue) => (colValue === 'single' ? 'text-h6' : 'text-l');
8
- const cardColumnsModeStyleMap = {
9
- double: 'flex gap-y-2 gap-x-10 flex-wrap',
10
- single: 'flex gap-y-2 flex-col',
11
- };
12
- export const InvestmentGalleryCard = JSX(({ className = '', columnsMode = 'double', description, additionalDescription, image, cardList, title, version = 'primary', }) => {
13
- const tileTitle = title ? (_jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
14
- const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
15
- return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border
16
- p-9 min-w-[697px] min-h-[319px]
17
- ${BorderVersionStyleMap[version]}
18
- ${className}`, role: "listitem", children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "flex flex-col justify-between", children: [_jsxs("div", { className: "flex itens-center justify-between mb-4", children: [description ? _jsx("span", { className: "text-h6", children: description }) : null, additionalDescription ? (_jsxs("span", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? (_jsx("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
19
- });
20
- const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => (_jsxs("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? (_jsx("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? (_jsx("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
21
- //# sourceMappingURL=InvestmentGalleryCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAWhD,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAElG,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CACtC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,QAAQ,EACtB,WAAW,EACX,qBAAqB,EACrB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAA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