@cloud-ru/uikit-product-site-section 0.23.3 → 0.23.4

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 (416) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/components/SectionAccordion/SectionAccordion.d.ts +28 -0
  3. package/dist/cjs/components/SectionAccordion/SectionAccordion.js +29 -0
  4. package/dist/cjs/components/SectionAccordion/index.d.ts +1 -0
  5. package/dist/cjs/components/SectionAccordion/index.js +17 -0
  6. package/dist/cjs/components/SectionAccordion/styles.module.css +11 -0
  7. package/dist/cjs/components/SectionAccordion/types.d.ts +9 -0
  8. package/dist/cjs/components/SectionAccordion/types.js +2 -0
  9. package/dist/cjs/components/SectionAccordion/utils.d.ts +4 -0
  10. package/dist/cjs/components/SectionAccordion/utils.js +29 -0
  11. package/dist/cjs/components/SectionBasic/SectionBasic.d.ts +38 -0
  12. package/dist/cjs/components/SectionBasic/SectionBasic.js +45 -0
  13. package/dist/cjs/components/SectionBasic/index.d.ts +1 -0
  14. package/dist/cjs/components/SectionBasic/index.js +17 -0
  15. package/dist/cjs/components/SectionBasic/styles.module.css +73 -0
  16. package/dist/cjs/components/SectionBenefits/SectionBenefits.d.ts +33 -0
  17. package/dist/cjs/components/SectionBenefits/SectionBenefits.js +56 -0
  18. package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +6 -0
  19. package/dist/cjs/components/SectionBenefits/components/CardNumeric/CardNumeric.js +25 -0
  20. package/dist/cjs/components/SectionBenefits/components/CardNumeric/index.d.ts +1 -0
  21. package/dist/cjs/components/SectionBenefits/components/CardNumeric/index.js +17 -0
  22. package/dist/cjs/components/SectionBenefits/components/CardNumeric/styles.module.css +4 -0
  23. package/dist/cjs/components/SectionBenefits/components/index.d.ts +1 -0
  24. package/dist/cjs/components/SectionBenefits/components/index.js +17 -0
  25. package/dist/cjs/components/SectionBenefits/index.d.ts +1 -0
  26. package/dist/cjs/components/SectionBenefits/index.js +17 -0
  27. package/dist/cjs/components/SectionBenefits/styles.module.css +12 -0
  28. package/dist/cjs/components/SectionBenefits/types.d.ts +69 -0
  29. package/dist/cjs/components/SectionBenefits/types.js +2 -0
  30. package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +19 -0
  31. package/dist/cjs/components/SectionBenefitsBanner/SectionBenefitsBanner.js +31 -0
  32. package/dist/cjs/components/SectionBenefitsBanner/index.d.ts +1 -0
  33. package/dist/cjs/components/SectionBenefitsBanner/index.js +17 -0
  34. package/dist/cjs/components/SectionBenefitsBanner/styles.module.css +91 -0
  35. package/dist/cjs/components/SectionBenefitsBanner/types.d.ts +34 -0
  36. package/dist/cjs/components/SectionBenefitsBanner/types.js +14 -0
  37. package/dist/cjs/components/SectionBenefitsBanner/utils.d.ts +3 -0
  38. package/dist/cjs/components/SectionBenefitsBanner/utils.js +14 -0
  39. package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +5 -0
  40. package/dist/cjs/components/SectionBlogCarousel/SectionBlogCarousel.js +24 -0
  41. package/dist/cjs/components/SectionBlogCarousel/index.d.ts +1 -0
  42. package/dist/cjs/components/SectionBlogCarousel/index.js +17 -0
  43. package/dist/cjs/components/SectionBlogCarousel/utils.d.ts +3 -0
  44. package/dist/cjs/components/SectionBlogCarousel/utils.js +25 -0
  45. package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +5 -0
  46. package/dist/cjs/components/SectionCaseCarousel/SectionCaseCarousel.js +24 -0
  47. package/dist/cjs/components/SectionCaseCarousel/index.d.ts +1 -0
  48. package/dist/cjs/components/SectionCaseCarousel/index.js +17 -0
  49. package/dist/cjs/components/SectionCaseCarousel/styles.module.css +3 -0
  50. package/dist/cjs/components/SectionCaseCarousel/utils.d.ts +3 -0
  51. package/dist/cjs/components/SectionCaseCarousel/utils.js +21 -0
  52. package/dist/cjs/components/SectionCatalog/SectionCatalog.d.ts +29 -0
  53. package/dist/cjs/components/SectionCatalog/SectionCatalog.js +35 -0
  54. package/dist/cjs/components/SectionCatalog/constants.d.ts +14 -0
  55. package/dist/cjs/components/SectionCatalog/constants.js +8 -0
  56. package/dist/cjs/components/SectionCatalog/index.d.ts +1 -0
  57. package/dist/cjs/components/SectionCatalog/index.js +17 -0
  58. package/dist/cjs/components/SectionCatalog/styles.module.css +43 -0
  59. package/dist/cjs/components/SectionClientsCarousel/SectionClientsCarousel.d.ts +3 -0
  60. package/dist/cjs/components/SectionClientsCarousel/SectionClientsCarousel.js +24 -0
  61. package/dist/cjs/components/SectionClientsCarousel/index.d.ts +1 -0
  62. package/dist/cjs/components/SectionClientsCarousel/index.js +17 -0
  63. package/dist/cjs/components/SectionClientsCarousel/utils.d.ts +3 -0
  64. package/dist/cjs/components/SectionClientsCarousel/utils.js +25 -0
  65. package/dist/cjs/components/SectionContent/SectionContent.d.ts +21 -0
  66. package/dist/cjs/components/SectionContent/SectionContent.js +31 -0
  67. package/dist/cjs/components/SectionContent/index.d.ts +1 -0
  68. package/dist/cjs/components/SectionContent/index.js +17 -0
  69. package/dist/cjs/components/SectionContent/styles.module.css +59 -0
  70. package/dist/cjs/components/SectionContentList/SectionContentList.d.ts +26 -0
  71. package/dist/cjs/components/SectionContentList/SectionContentList.js +27 -0
  72. package/dist/cjs/components/SectionContentList/index.d.ts +1 -0
  73. package/dist/cjs/components/SectionContentList/index.js +17 -0
  74. package/dist/cjs/components/SectionContentList/styles.module.css +49 -0
  75. package/dist/cjs/components/SectionContentTabs/SectionContentTabs.d.ts +36 -0
  76. package/dist/cjs/components/SectionContentTabs/SectionContentTabs.js +43 -0
  77. package/dist/cjs/components/SectionContentTabs/index.d.ts +1 -0
  78. package/dist/cjs/components/SectionContentTabs/index.js +17 -0
  79. package/dist/cjs/components/SectionContentTabs/styles.module.css +76 -0
  80. package/dist/cjs/components/SectionExpertsCarousel/SectionExpertsCarousel.d.ts +4 -0
  81. package/dist/cjs/components/SectionExpertsCarousel/SectionExpertsCarousel.js +21 -0
  82. package/dist/cjs/components/SectionExpertsCarousel/constants.d.ts +2 -0
  83. package/dist/cjs/components/SectionExpertsCarousel/constants.js +5 -0
  84. package/dist/cjs/components/SectionExpertsCarousel/index.d.ts +1 -0
  85. package/dist/cjs/components/SectionExpertsCarousel/index.js +17 -0
  86. package/dist/cjs/components/SectionExpertsCarousel/types.d.ts +6 -0
  87. package/dist/cjs/components/SectionExpertsCarousel/types.js +2 -0
  88. package/dist/cjs/components/SectionLeading/SectionLeading.d.ts +15 -0
  89. package/dist/cjs/components/SectionLeading/SectionLeading.js +57 -0
  90. package/dist/cjs/components/SectionLeading/index.d.ts +1 -0
  91. package/dist/cjs/components/SectionLeading/index.js +17 -0
  92. package/dist/cjs/components/SectionLeading/styles.module.css +23 -0
  93. package/dist/cjs/components/SectionLeading/utils.d.ts +1 -0
  94. package/dist/cjs/components/SectionLeading/utils.js +13 -0
  95. package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +4 -0
  96. package/dist/cjs/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +24 -0
  97. package/dist/cjs/components/SectionMarketplaceCarousel/index.d.ts +1 -0
  98. package/dist/cjs/components/SectionMarketplaceCarousel/index.js +17 -0
  99. package/dist/cjs/components/SectionMarketplaceCarousel/utils.d.ts +3 -0
  100. package/dist/cjs/components/SectionMarketplaceCarousel/utils.js +29 -0
  101. package/dist/cjs/components/SectionMedia/SectionMedia.d.ts +5 -0
  102. package/dist/cjs/components/SectionMedia/SectionMedia.js +26 -0
  103. package/dist/cjs/components/SectionMedia/index.d.ts +1 -0
  104. package/dist/cjs/components/SectionMedia/index.js +17 -0
  105. package/dist/cjs/components/SectionMedia/styles.module.css +10 -0
  106. package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.d.ts +24 -0
  107. package/dist/cjs/components/SectionPersonalManager/SectionPersonalManager.js +53 -0
  108. package/dist/cjs/components/SectionPersonalManager/index.d.ts +1 -0
  109. package/dist/cjs/components/SectionPersonalManager/index.js +17 -0
  110. package/dist/cjs/components/SectionPersonalManager/styles.module.css +122 -0
  111. package/dist/cjs/components/SectionPersonalManager/utils.d.ts +3 -0
  112. package/dist/cjs/components/SectionPersonalManager/utils.js +15 -0
  113. package/dist/cjs/components/SectionPromoList/SectionPromoList.d.ts +19 -0
  114. package/dist/cjs/components/SectionPromoList/SectionPromoList.js +27 -0
  115. package/dist/cjs/components/SectionPromoList/index.d.ts +1 -0
  116. package/dist/cjs/components/SectionPromoList/index.js +17 -0
  117. package/dist/cjs/components/SectionPromoList/styles.module.css +43 -0
  118. package/dist/cjs/components/SectionSocial/SectionSocial.d.ts +19 -0
  119. package/dist/cjs/components/SectionSocial/SectionSocial.js +33 -0
  120. package/dist/cjs/components/SectionSocial/constants.d.ts +14 -0
  121. package/dist/cjs/components/SectionSocial/constants.js +8 -0
  122. package/dist/cjs/components/SectionSocial/index.d.ts +1 -0
  123. package/dist/cjs/components/SectionSocial/index.js +17 -0
  124. package/dist/cjs/components/SectionSocial/styles.module.css +4 -0
  125. package/dist/cjs/components/SectionTable/SectionTable.d.ts +15 -0
  126. package/dist/cjs/components/SectionTable/SectionTable.js +28 -0
  127. package/dist/cjs/components/SectionTable/index.d.ts +1 -0
  128. package/dist/cjs/components/SectionTable/index.js +17 -0
  129. package/dist/cjs/components/SectionTable/styles.module.css +25 -0
  130. package/dist/cjs/components/index.d.ts +19 -0
  131. package/dist/cjs/components/index.js +35 -0
  132. package/dist/cjs/constants.d.ts +4 -0
  133. package/dist/cjs/constants.js +7 -0
  134. package/dist/cjs/helperComponents/BenefitItem/BenefitItem.d.ts +8 -0
  135. package/dist/cjs/helperComponents/BenefitItem/BenefitItem.js +15 -0
  136. package/dist/cjs/helperComponents/BenefitItem/index.d.ts +1 -0
  137. package/dist/cjs/helperComponents/BenefitItem/index.js +17 -0
  138. package/dist/cjs/helperComponents/BenefitItem/styles.module.css +27 -0
  139. package/dist/cjs/helperComponents/BenefitItem/utils.d.ts +4 -0
  140. package/dist/cjs/helperComponents/BenefitItem/utils.js +26 -0
  141. package/dist/cjs/helperComponents/CardClient/CardClient.d.ts +5 -0
  142. package/dist/cjs/helperComponents/CardClient/CardClient.js +11 -0
  143. package/dist/cjs/helperComponents/CardClient/index.d.ts +1 -0
  144. package/dist/cjs/helperComponents/CardClient/index.js +17 -0
  145. package/dist/cjs/helperComponents/CardClient/styles.module.css +24 -0
  146. package/dist/cjs/helperComponents/CardLeading/CardLeading.d.ts +4 -0
  147. package/dist/cjs/helperComponents/CardLeading/CardLeading.js +26 -0
  148. package/dist/cjs/helperComponents/CardLeading/index.d.ts +2 -0
  149. package/dist/cjs/helperComponents/CardLeading/index.js +18 -0
  150. package/dist/cjs/helperComponents/CardLeading/styles.module.css +36 -0
  151. package/dist/cjs/helperComponents/CardLeading/types.d.ts +11 -0
  152. package/dist/cjs/helperComponents/CardLeading/types.js +2 -0
  153. package/dist/cjs/helperComponents/CardLeading/utils.d.ts +4 -0
  154. package/dist/cjs/helperComponents/CardLeading/utils.js +27 -0
  155. package/dist/cjs/helperComponents/CardSocial/CardSocial.d.ts +25 -0
  156. package/dist/cjs/helperComponents/CardSocial/CardSocial.js +34 -0
  157. package/dist/cjs/helperComponents/CardSocial/index.d.ts +1 -0
  158. package/dist/cjs/helperComponents/CardSocial/index.js +17 -0
  159. package/dist/cjs/helperComponents/CardSocial/styles.module.css +42 -0
  160. package/dist/cjs/helperComponents/CardSocial/utils.d.ts +3 -0
  161. package/dist/cjs/helperComponents/CardSocial/utils.js +13 -0
  162. package/dist/cjs/helperComponents/Expert/Expert.d.ts +5 -0
  163. package/dist/cjs/helperComponents/Expert/Expert.js +13 -0
  164. package/dist/cjs/helperComponents/Expert/index.d.ts +1 -0
  165. package/dist/cjs/helperComponents/Expert/index.js +17 -0
  166. package/dist/cjs/helperComponents/Expert/styles.module.css +38 -0
  167. package/dist/cjs/helperComponents/PromoList/PromoList.d.ts +6 -0
  168. package/dist/cjs/helperComponents/PromoList/PromoList.js +13 -0
  169. package/dist/cjs/helperComponents/PromoList/index.d.ts +1 -0
  170. package/dist/cjs/helperComponents/PromoList/index.js +17 -0
  171. package/dist/cjs/helperComponents/PromoList/styles.module.css +53 -0
  172. package/dist/cjs/helperComponents/SectionButton/SectionButton.d.ts +2 -0
  173. package/dist/cjs/helperComponents/SectionButton/SectionButton.js +28 -0
  174. package/dist/cjs/helperComponents/SectionButton/index.d.ts +1 -0
  175. package/dist/cjs/helperComponents/SectionButton/index.js +17 -0
  176. package/dist/cjs/helperComponents/SectionButton/types.d.ts +8 -0
  177. package/dist/cjs/helperComponents/SectionButton/types.js +2 -0
  178. package/dist/cjs/helperComponents/SectionCarousel/SectionCarousel.d.ts +2 -0
  179. package/dist/cjs/helperComponents/SectionCarousel/SectionCarousel.js +61 -0
  180. package/dist/cjs/helperComponents/SectionCarousel/index.d.ts +2 -0
  181. package/dist/cjs/helperComponents/SectionCarousel/index.js +17 -0
  182. package/dist/cjs/helperComponents/SectionCarousel/styles.module.css +5 -0
  183. package/dist/cjs/helperComponents/SectionCarousel/types.d.ts +32 -0
  184. package/dist/cjs/helperComponents/SectionCarousel/types.js +2 -0
  185. package/dist/cjs/helperComponents/SectionCarousel/utils.d.ts +6 -0
  186. package/dist/cjs/helperComponents/SectionCarousel/utils.js +8 -0
  187. package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +12 -0
  188. package/dist/cjs/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +16 -0
  189. package/dist/cjs/helperComponents/SectionCatalogFooter/index.d.ts +1 -0
  190. package/dist/cjs/helperComponents/SectionCatalogFooter/index.js +17 -0
  191. package/dist/cjs/helperComponents/SectionCatalogFooter/styles.module.css +8 -0
  192. package/dist/cjs/helperComponents/SectionTitle/SectionTitle.d.ts +22 -0
  193. package/dist/cjs/helperComponents/SectionTitle/SectionTitle.js +17 -0
  194. package/dist/cjs/helperComponents/SectionTitle/constants.d.ts +5 -0
  195. package/dist/cjs/helperComponents/SectionTitle/constants.js +8 -0
  196. package/dist/cjs/helperComponents/SectionTitle/index.d.ts +1 -0
  197. package/dist/cjs/helperComponents/SectionTitle/index.js +17 -0
  198. package/dist/cjs/helperComponents/SectionTitle/styles.module.css +31 -0
  199. package/dist/cjs/helperComponents/SectionTitle/types.d.ts +5 -0
  200. package/dist/cjs/helperComponents/SectionTitle/types.js +2 -0
  201. package/dist/cjs/helperComponents/SectionTitle/utils.d.ts +8 -0
  202. package/dist/cjs/helperComponents/SectionTitle/utils.js +67 -0
  203. package/dist/cjs/helperComponents/index.d.ts +10 -0
  204. package/dist/cjs/helperComponents/index.js +26 -0
  205. package/dist/cjs/index.d.ts +2 -0
  206. package/dist/cjs/index.js +18 -0
  207. package/dist/cjs/types.d.ts +19 -0
  208. package/dist/cjs/types.js +2 -0
  209. package/dist/esm/components/SectionAccordion/SectionAccordion.d.ts +28 -0
  210. package/dist/esm/components/SectionAccordion/SectionAccordion.js +23 -0
  211. package/dist/esm/components/SectionAccordion/index.d.ts +1 -0
  212. package/dist/esm/components/SectionAccordion/index.js +1 -0
  213. package/dist/esm/components/SectionAccordion/styles.module.css +11 -0
  214. package/dist/esm/components/SectionAccordion/types.d.ts +9 -0
  215. package/dist/esm/components/SectionAccordion/types.js +1 -0
  216. package/dist/esm/components/SectionAccordion/utils.d.ts +4 -0
  217. package/dist/esm/components/SectionAccordion/utils.js +24 -0
  218. package/dist/esm/components/SectionBasic/SectionBasic.d.ts +38 -0
  219. package/dist/esm/components/SectionBasic/SectionBasic.js +39 -0
  220. package/dist/esm/components/SectionBasic/index.d.ts +1 -0
  221. package/dist/esm/components/SectionBasic/index.js +1 -0
  222. package/dist/esm/components/SectionBasic/styles.module.css +73 -0
  223. package/dist/esm/components/SectionBenefits/SectionBenefits.d.ts +33 -0
  224. package/dist/esm/components/SectionBenefits/SectionBenefits.js +50 -0
  225. package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.d.ts +6 -0
  226. package/dist/esm/components/SectionBenefits/components/CardNumeric/CardNumeric.js +19 -0
  227. package/dist/esm/components/SectionBenefits/components/CardNumeric/index.d.ts +1 -0
  228. package/dist/esm/components/SectionBenefits/components/CardNumeric/index.js +1 -0
  229. package/dist/esm/components/SectionBenefits/components/CardNumeric/styles.module.css +4 -0
  230. package/dist/esm/components/SectionBenefits/components/index.d.ts +1 -0
  231. package/dist/esm/components/SectionBenefits/components/index.js +1 -0
  232. package/dist/esm/components/SectionBenefits/index.d.ts +1 -0
  233. package/dist/esm/components/SectionBenefits/index.js +1 -0
  234. package/dist/esm/components/SectionBenefits/styles.module.css +12 -0
  235. package/dist/esm/components/SectionBenefits/types.d.ts +69 -0
  236. package/dist/esm/components/SectionBenefits/types.js +1 -0
  237. package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.d.ts +19 -0
  238. package/dist/esm/components/SectionBenefitsBanner/SectionBenefitsBanner.js +25 -0
  239. package/dist/esm/components/SectionBenefitsBanner/index.d.ts +1 -0
  240. package/dist/esm/components/SectionBenefitsBanner/index.js +1 -0
  241. package/dist/esm/components/SectionBenefitsBanner/styles.module.css +91 -0
  242. package/dist/esm/components/SectionBenefitsBanner/types.d.ts +34 -0
  243. package/dist/esm/components/SectionBenefitsBanner/types.js +11 -0
  244. package/dist/esm/components/SectionBenefitsBanner/utils.d.ts +3 -0
  245. package/dist/esm/components/SectionBenefitsBanner/utils.js +11 -0
  246. package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.d.ts +5 -0
  247. package/dist/esm/components/SectionBlogCarousel/SectionBlogCarousel.js +21 -0
  248. package/dist/esm/components/SectionBlogCarousel/index.d.ts +1 -0
  249. package/dist/esm/components/SectionBlogCarousel/index.js +1 -0
  250. package/dist/esm/components/SectionBlogCarousel/utils.d.ts +3 -0
  251. package/dist/esm/components/SectionBlogCarousel/utils.js +21 -0
  252. package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.d.ts +5 -0
  253. package/dist/esm/components/SectionCaseCarousel/SectionCaseCarousel.js +21 -0
  254. package/dist/esm/components/SectionCaseCarousel/index.d.ts +1 -0
  255. package/dist/esm/components/SectionCaseCarousel/index.js +1 -0
  256. package/dist/esm/components/SectionCaseCarousel/styles.module.css +3 -0
  257. package/dist/esm/components/SectionCaseCarousel/utils.d.ts +3 -0
  258. package/dist/esm/components/SectionCaseCarousel/utils.js +17 -0
  259. package/dist/esm/components/SectionCatalog/SectionCatalog.d.ts +29 -0
  260. package/dist/esm/components/SectionCatalog/SectionCatalog.js +29 -0
  261. package/dist/esm/components/SectionCatalog/constants.d.ts +14 -0
  262. package/dist/esm/components/SectionCatalog/constants.js +5 -0
  263. package/dist/esm/components/SectionCatalog/index.d.ts +1 -0
  264. package/dist/esm/components/SectionCatalog/index.js +1 -0
  265. package/dist/esm/components/SectionCatalog/styles.module.css +43 -0
  266. package/dist/esm/components/SectionClientsCarousel/SectionClientsCarousel.d.ts +3 -0
  267. package/dist/esm/components/SectionClientsCarousel/SectionClientsCarousel.js +21 -0
  268. package/dist/esm/components/SectionClientsCarousel/index.d.ts +1 -0
  269. package/dist/esm/components/SectionClientsCarousel/index.js +1 -0
  270. package/dist/esm/components/SectionClientsCarousel/utils.d.ts +3 -0
  271. package/dist/esm/components/SectionClientsCarousel/utils.js +21 -0
  272. package/dist/esm/components/SectionContent/SectionContent.d.ts +21 -0
  273. package/dist/esm/components/SectionContent/SectionContent.js +25 -0
  274. package/dist/esm/components/SectionContent/index.d.ts +1 -0
  275. package/dist/esm/components/SectionContent/index.js +1 -0
  276. package/dist/esm/components/SectionContent/styles.module.css +59 -0
  277. package/dist/esm/components/SectionContentList/SectionContentList.d.ts +26 -0
  278. package/dist/esm/components/SectionContentList/SectionContentList.js +21 -0
  279. package/dist/esm/components/SectionContentList/index.d.ts +1 -0
  280. package/dist/esm/components/SectionContentList/index.js +1 -0
  281. package/dist/esm/components/SectionContentList/styles.module.css +49 -0
  282. package/dist/esm/components/SectionContentTabs/SectionContentTabs.d.ts +36 -0
  283. package/dist/esm/components/SectionContentTabs/SectionContentTabs.js +37 -0
  284. package/dist/esm/components/SectionContentTabs/index.d.ts +1 -0
  285. package/dist/esm/components/SectionContentTabs/index.js +1 -0
  286. package/dist/esm/components/SectionContentTabs/styles.module.css +76 -0
  287. package/dist/esm/components/SectionExpertsCarousel/SectionExpertsCarousel.d.ts +4 -0
  288. package/dist/esm/components/SectionExpertsCarousel/SectionExpertsCarousel.js +18 -0
  289. package/dist/esm/components/SectionExpertsCarousel/constants.d.ts +2 -0
  290. package/dist/esm/components/SectionExpertsCarousel/constants.js +2 -0
  291. package/dist/esm/components/SectionExpertsCarousel/index.d.ts +1 -0
  292. package/dist/esm/components/SectionExpertsCarousel/index.js +1 -0
  293. package/dist/esm/components/SectionExpertsCarousel/types.d.ts +6 -0
  294. package/dist/esm/components/SectionExpertsCarousel/types.js +1 -0
  295. package/dist/esm/components/SectionLeading/SectionLeading.d.ts +15 -0
  296. package/dist/esm/components/SectionLeading/SectionLeading.js +51 -0
  297. package/dist/esm/components/SectionLeading/index.d.ts +1 -0
  298. package/dist/esm/components/SectionLeading/index.js +1 -0
  299. package/dist/esm/components/SectionLeading/styles.module.css +23 -0
  300. package/dist/esm/components/SectionLeading/utils.d.ts +1 -0
  301. package/dist/esm/components/SectionLeading/utils.js +9 -0
  302. package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.d.ts +4 -0
  303. package/dist/esm/components/SectionMarketplaceCarousel/SectionMarketplaceCarousel.js +21 -0
  304. package/dist/esm/components/SectionMarketplaceCarousel/index.d.ts +1 -0
  305. package/dist/esm/components/SectionMarketplaceCarousel/index.js +1 -0
  306. package/dist/esm/components/SectionMarketplaceCarousel/utils.d.ts +3 -0
  307. package/dist/esm/components/SectionMarketplaceCarousel/utils.js +25 -0
  308. package/dist/esm/components/SectionMedia/SectionMedia.d.ts +5 -0
  309. package/dist/esm/components/SectionMedia/SectionMedia.js +20 -0
  310. package/dist/esm/components/SectionMedia/index.d.ts +1 -0
  311. package/dist/esm/components/SectionMedia/index.js +1 -0
  312. package/dist/esm/components/SectionMedia/styles.module.css +10 -0
  313. package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.d.ts +24 -0
  314. package/dist/esm/components/SectionPersonalManager/SectionPersonalManager.js +47 -0
  315. package/dist/esm/components/SectionPersonalManager/index.d.ts +1 -0
  316. package/dist/esm/components/SectionPersonalManager/index.js +1 -0
  317. package/dist/esm/components/SectionPersonalManager/styles.module.css +122 -0
  318. package/dist/esm/components/SectionPersonalManager/utils.d.ts +3 -0
  319. package/dist/esm/components/SectionPersonalManager/utils.js +11 -0
  320. package/dist/esm/components/SectionPromoList/SectionPromoList.d.ts +19 -0
  321. package/dist/esm/components/SectionPromoList/SectionPromoList.js +21 -0
  322. package/dist/esm/components/SectionPromoList/index.d.ts +1 -0
  323. package/dist/esm/components/SectionPromoList/index.js +1 -0
  324. package/dist/esm/components/SectionPromoList/styles.module.css +43 -0
  325. package/dist/esm/components/SectionSocial/SectionSocial.d.ts +19 -0
  326. package/dist/esm/components/SectionSocial/SectionSocial.js +27 -0
  327. package/dist/esm/components/SectionSocial/constants.d.ts +14 -0
  328. package/dist/esm/components/SectionSocial/constants.js +5 -0
  329. package/dist/esm/components/SectionSocial/index.d.ts +1 -0
  330. package/dist/esm/components/SectionSocial/index.js +1 -0
  331. package/dist/esm/components/SectionSocial/styles.module.css +4 -0
  332. package/dist/esm/components/SectionTable/SectionTable.d.ts +15 -0
  333. package/dist/esm/components/SectionTable/SectionTable.js +22 -0
  334. package/dist/esm/components/SectionTable/index.d.ts +1 -0
  335. package/dist/esm/components/SectionTable/index.js +1 -0
  336. package/dist/esm/components/SectionTable/styles.module.css +25 -0
  337. package/dist/esm/components/index.d.ts +19 -0
  338. package/dist/esm/components/index.js +19 -0
  339. package/dist/esm/constants.d.ts +4 -0
  340. package/dist/esm/constants.js +4 -0
  341. package/dist/esm/helperComponents/BenefitItem/BenefitItem.d.ts +8 -0
  342. package/dist/esm/helperComponents/BenefitItem/BenefitItem.js +9 -0
  343. package/dist/esm/helperComponents/BenefitItem/index.d.ts +1 -0
  344. package/dist/esm/helperComponents/BenefitItem/index.js +1 -0
  345. package/dist/esm/helperComponents/BenefitItem/styles.module.css +27 -0
  346. package/dist/esm/helperComponents/BenefitItem/utils.d.ts +4 -0
  347. package/dist/esm/helperComponents/BenefitItem/utils.js +22 -0
  348. package/dist/esm/helperComponents/CardClient/CardClient.d.ts +5 -0
  349. package/dist/esm/helperComponents/CardClient/CardClient.js +5 -0
  350. package/dist/esm/helperComponents/CardClient/index.d.ts +1 -0
  351. package/dist/esm/helperComponents/CardClient/index.js +1 -0
  352. package/dist/esm/helperComponents/CardClient/styles.module.css +24 -0
  353. package/dist/esm/helperComponents/CardLeading/CardLeading.d.ts +4 -0
  354. package/dist/esm/helperComponents/CardLeading/CardLeading.js +20 -0
  355. package/dist/esm/helperComponents/CardLeading/index.d.ts +2 -0
  356. package/dist/esm/helperComponents/CardLeading/index.js +2 -0
  357. package/dist/esm/helperComponents/CardLeading/styles.module.css +36 -0
  358. package/dist/esm/helperComponents/CardLeading/types.d.ts +11 -0
  359. package/dist/esm/helperComponents/CardLeading/types.js +1 -0
  360. package/dist/esm/helperComponents/CardLeading/utils.d.ts +4 -0
  361. package/dist/esm/helperComponents/CardLeading/utils.js +22 -0
  362. package/dist/esm/helperComponents/CardSocial/CardSocial.d.ts +25 -0
  363. package/dist/esm/helperComponents/CardSocial/CardSocial.js +28 -0
  364. package/dist/esm/helperComponents/CardSocial/index.d.ts +1 -0
  365. package/dist/esm/helperComponents/CardSocial/index.js +1 -0
  366. package/dist/esm/helperComponents/CardSocial/styles.module.css +42 -0
  367. package/dist/esm/helperComponents/CardSocial/utils.d.ts +3 -0
  368. package/dist/esm/helperComponents/CardSocial/utils.js +9 -0
  369. package/dist/esm/helperComponents/Expert/Expert.d.ts +5 -0
  370. package/dist/esm/helperComponents/Expert/Expert.js +7 -0
  371. package/dist/esm/helperComponents/Expert/index.d.ts +1 -0
  372. package/dist/esm/helperComponents/Expert/index.js +1 -0
  373. package/dist/esm/helperComponents/Expert/styles.module.css +38 -0
  374. package/dist/esm/helperComponents/PromoList/PromoList.d.ts +6 -0
  375. package/dist/esm/helperComponents/PromoList/PromoList.js +7 -0
  376. package/dist/esm/helperComponents/PromoList/index.d.ts +1 -0
  377. package/dist/esm/helperComponents/PromoList/index.js +1 -0
  378. package/dist/esm/helperComponents/PromoList/styles.module.css +53 -0
  379. package/dist/esm/helperComponents/SectionButton/SectionButton.d.ts +2 -0
  380. package/dist/esm/helperComponents/SectionButton/SectionButton.js +25 -0
  381. package/dist/esm/helperComponents/SectionButton/index.d.ts +1 -0
  382. package/dist/esm/helperComponents/SectionButton/index.js +1 -0
  383. package/dist/esm/helperComponents/SectionButton/types.d.ts +8 -0
  384. package/dist/esm/helperComponents/SectionButton/types.js +1 -0
  385. package/dist/esm/helperComponents/SectionCarousel/SectionCarousel.d.ts +2 -0
  386. package/dist/esm/helperComponents/SectionCarousel/SectionCarousel.js +55 -0
  387. package/dist/esm/helperComponents/SectionCarousel/index.d.ts +2 -0
  388. package/dist/esm/helperComponents/SectionCarousel/index.js +1 -0
  389. package/dist/esm/helperComponents/SectionCarousel/styles.module.css +5 -0
  390. package/dist/esm/helperComponents/SectionCarousel/types.d.ts +32 -0
  391. package/dist/esm/helperComponents/SectionCarousel/types.js +1 -0
  392. package/dist/esm/helperComponents/SectionCarousel/utils.d.ts +6 -0
  393. package/dist/esm/helperComponents/SectionCarousel/utils.js +4 -0
  394. package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.d.ts +12 -0
  395. package/dist/esm/helperComponents/SectionCatalogFooter/SectionCatalogFooter.js +10 -0
  396. package/dist/esm/helperComponents/SectionCatalogFooter/index.d.ts +1 -0
  397. package/dist/esm/helperComponents/SectionCatalogFooter/index.js +1 -0
  398. package/dist/esm/helperComponents/SectionCatalogFooter/styles.module.css +8 -0
  399. package/dist/esm/helperComponents/SectionTitle/SectionTitle.d.ts +22 -0
  400. package/dist/esm/helperComponents/SectionTitle/SectionTitle.js +11 -0
  401. package/dist/esm/helperComponents/SectionTitle/constants.d.ts +5 -0
  402. package/dist/esm/helperComponents/SectionTitle/constants.js +5 -0
  403. package/dist/esm/helperComponents/SectionTitle/index.d.ts +1 -0
  404. package/dist/esm/helperComponents/SectionTitle/index.js +1 -0
  405. package/dist/esm/helperComponents/SectionTitle/styles.module.css +31 -0
  406. package/dist/esm/helperComponents/SectionTitle/types.d.ts +5 -0
  407. package/dist/esm/helperComponents/SectionTitle/types.js +1 -0
  408. package/dist/esm/helperComponents/SectionTitle/utils.d.ts +8 -0
  409. package/dist/esm/helperComponents/SectionTitle/utils.js +63 -0
  410. package/dist/esm/helperComponents/index.d.ts +10 -0
  411. package/dist/esm/helperComponents/index.js +10 -0
  412. package/dist/esm/index.d.ts +2 -0
  413. package/dist/esm/index.js +2 -0
  414. package/dist/esm/types.d.ts +19 -0
  415. package/dist/esm/types.js +1 -0
  416. package/package.json +13 -12
@@ -0,0 +1,24 @@
1
+ .cardClient{
2
+ display:flex;
3
+ flex-direction:column;
4
+ justify-content:center;
5
+ align-items:center;
6
+ position:relative;
7
+ height:100px;
8
+ }
9
+
10
+ .imageBackground{
11
+ position:absolute;
12
+ width:100%;
13
+ height:100%;
14
+ background-color:var(--sys-neutral-background, #eeeff3);
15
+ }
16
+
17
+ .image{
18
+ position:relative;
19
+ max-width:172px;
20
+ max-height:48px;
21
+ -o-object-fit:cover;
22
+ object-fit:cover;
23
+ pointer-events:none;
24
+ }
@@ -0,0 +1,4 @@
1
+ import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { CardLeadingItem } from './types';
3
+ export type CardLeadingProps = WithLayoutType<CardLeadingItem>;
4
+ export declare function CardLeading({ layoutType, value, label, description, image, ...rest }: CardLeadingProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { extractSupportProps } from '@sbercloud/uikit-product-utils';
14
+ import { Typography } from '@snack-uikit/typography';
15
+ import styles from './styles.module.css';
16
+ import { getLabelTypographyProps, getValueTypographyProps } from './utils';
17
+ export function CardLeading(_a) {
18
+ var { layoutType, value, label, description, image } = _a, rest = __rest(_a, ["layoutType", "value", "label", "description", "image"]);
19
+ return (_jsx("div", Object.assign({ className: styles.cardLeading }, extractSupportProps(rest), { children: _jsxs("div", { className: styles.wrapper, children: [_jsxs("div", { className: styles.header, children: [_jsx(Typography, Object.assign({ family: 'sans' }, getValueTypographyProps(layoutType), { className: styles.cardLeadingColor, children: value })), _jsx(Typography, Object.assign({ family: 'sans' }, getLabelTypographyProps(layoutType), { className: styles.cardLeadingColor, children: label }))] }), _jsx("img", { className: styles.illustration, src: image, alt: 'illustration' }), _jsx("div", { className: styles.footer, "data-layout-type": layoutType, children: _jsx(Typography.SansBodyL, { className: styles.cardLeadingColor, children: description }) })] }) })));
20
+ }
@@ -0,0 +1,2 @@
1
+ export * from './CardLeading';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ export * from './CardLeading';
2
+ export * from './types';
@@ -0,0 +1,36 @@
1
+ .cardLeading{
2
+ overflow:hidden;
3
+ }
4
+
5
+ .wrapper{
6
+ display:flex;
7
+ flex-direction:column;
8
+ position:relative;
9
+ background-color:var(--sys-neutral-background, #eeeff3);
10
+ }
11
+
12
+ .header{
13
+ display:flex;
14
+ flex-direction:row;
15
+ align-items:center;
16
+ gap:var(--dimension-2m, 16px);
17
+ padding:var(--dimension-4m, 32px);
18
+ }
19
+ .header[data-layout-type=tablet], .header[data-layout-type=mobile]{
20
+ padding:var(--dimension-3m, 24px);
21
+ }
22
+
23
+ .cardLeadingColor{
24
+ color:var(--sys-neutral-text-main, #41424e);
25
+ }
26
+
27
+ .illustration{
28
+ pointer-events:none;
29
+ }
30
+
31
+ .footer{
32
+ padding:var(--dimension-4m, 32px);
33
+ }
34
+ .footer[data-layout-type=tablet], .footer[data-layout-type=mobile]{
35
+ padding:var(--dimension-3m, 24px);
36
+ }
@@ -0,0 +1,11 @@
1
+ import { WithSupportProps } from '@sbercloud/uikit-product-utils';
2
+ export type CardLeadingItem = WithSupportProps<{
3
+ /** Заголовок карточки, значение */
4
+ value: string;
5
+ /** Подзаголовок карточки */
6
+ label: string;
7
+ /** Описание карточки */
8
+ description: string;
9
+ /** Ссылка на картинку */
10
+ image: string;
11
+ }>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { LayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { TypographyProps } from '@snack-uikit/typography';
3
+ export declare const getValueTypographyProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
4
+ export declare const getLabelTypographyProps: (layoutType: LayoutType) => Pick<TypographyProps, "purpose" | "size">;
@@ -0,0 +1,22 @@
1
+ export const getValueTypographyProps = (layoutType) => {
2
+ switch (layoutType) {
3
+ case 'mobile':
4
+ case 'tablet':
5
+ return { purpose: 'headline', size: 'l' };
6
+ case 'desktop':
7
+ case 'desktopSmall':
8
+ default:
9
+ return { purpose: 'display', size: 'l' };
10
+ }
11
+ };
12
+ export const getLabelTypographyProps = (layoutType) => {
13
+ switch (layoutType) {
14
+ case 'mobile':
15
+ case 'tablet':
16
+ return { purpose: 'label', size: 'l' };
17
+ case 'desktop':
18
+ case 'desktopSmall':
19
+ default:
20
+ return { purpose: 'title', size: 'm' };
21
+ }
22
+ };
@@ -0,0 +1,25 @@
1
+ import { AnchorHTMLAttributes, MouseEvent } from 'react';
2
+ import { IconProps } from '@sbercloud/uikit-product-site-cards';
3
+ import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
4
+ export type CardSocialProps = WithSupportProps<WithLayoutType<{
5
+ /** Заголовок карточки*/
6
+ title: string;
7
+ /** Описание карточки */
8
+ description?: string;
9
+ /** Ссылка */
10
+ href: string;
11
+ /** HTML-аттрибут target */
12
+ target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
13
+ /** Колбек клика*/
14
+ onClick?(e?: MouseEvent<HTMLDivElement | HTMLAnchorElement>): void;
15
+ /** Слот под иконку/кастомную ноду */
16
+ icon?: IconProps['icon'];
17
+ /**
18
+ * Является ли деактивированным
19
+ * @default false
20
+ */
21
+ disabled?: boolean;
22
+ /** CSS-класс */
23
+ className?: string;
24
+ }>>;
25
+ export declare function CardSocial({ title, description, icon, href, target, onClick, disabled, className, layoutType, 'data-test-id': dataTestId, ...rest }: CardSocialProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import cn from 'classnames';
14
+ import { Icon, useCardInteractions } from '@sbercloud/uikit-product-site-cards';
15
+ import { extractSupportProps } from '@sbercloud/uikit-product-utils';
16
+ import { Card } from '@snack-uikit/card';
17
+ import { Typography } from '@snack-uikit/typography';
18
+ import styles from './styles.module.css';
19
+ import { getTypographySize } from './utils';
20
+ export function CardSocial(_a) {
21
+ var { title, description, icon, href, target = '_blank', onClick, disabled = false, className, layoutType, 'data-test-id': dataTestId = 'card-social' } = _a, rest = __rest(_a, ["title", "description", "icon", "href", "target", "onClick", "disabled", "className", "layoutType", 'data-test-id']);
22
+ const { anchorRef, handleCardKeyDown, handleCardClick, handleLinkClick } = useCardInteractions({
23
+ href,
24
+ onClick,
25
+ disabled,
26
+ });
27
+ return (_jsx(Card, Object.assign({}, extractSupportProps(rest), { size: 'm', className: cn(styles.card, className), disabled: disabled, onClick: handleCardClick, onKeyDown: handleCardKeyDown, "data-test-id": dataTestId, children: _jsxs("div", { "data-layout-type": layoutType, className: styles.wrapper, children: [icon && _jsx(Icon, { size: 'l', "data-test-id": `${dataTestId}__icon`, icon: icon }), _jsxs("div", { className: styles.content, children: [_jsx(Typography, { tag: 'h3', family: 'sans', purpose: 'title', size: getTypographySize(layoutType), className: styles.title, "data-test-id": `${dataTestId}__title`, children: _jsx("a", { tabIndex: -1, ref: anchorRef, href: href, target: target, onClick: handleLinkClick, "data-test-id": `${dataTestId}__title-link`, children: title }) }), description && (_jsx(Typography, { tag: 'h3', family: 'sans', purpose: 'body', size: getTypographySize(layoutType), className: styles.description, "data-test-id": `${dataTestId}__description`, children: description }))] })] }) })));
28
+ }
@@ -0,0 +1 @@
1
+ export * from './CardSocial';
@@ -0,0 +1 @@
1
+ export * from './CardSocial';
@@ -0,0 +1,42 @@
1
+ .card{
2
+ position:relative;
3
+ }
4
+
5
+ .wrapper{
6
+ display:flex;
7
+ flex-direction:row;
8
+ align-items:flex-start;
9
+ gap:16px;
10
+ }
11
+ .wrapper[data-layout-type=mobile], .wrapper[data-layout-type=tablet]{
12
+ flex-direction:column;
13
+ gap:12px;
14
+ }
15
+
16
+ .content{
17
+ display:flex;
18
+ flex-direction:column;
19
+ align-items:flex-start;
20
+ gap:4px;
21
+ width:100%;
22
+ }
23
+
24
+ .title{
25
+ color:var(--sys-neutral-text-main, #41424e);
26
+ }
27
+ .title a{
28
+ color:inherit;
29
+ text-decoration:none;
30
+ }
31
+ .title a::before{
32
+ content:"";
33
+ position:absolute;
34
+ top:0;
35
+ left:0;
36
+ right:0;
37
+ bottom:0;
38
+ }
39
+
40
+ .description{
41
+ color:var(--sys-neutral-text-support, #656774);
42
+ }
@@ -0,0 +1,3 @@
1
+ import { LayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { TypographyProps } from '@snack-uikit/typography';
3
+ export declare const getTypographySize: (layoutType: LayoutType) => TypographyProps["size"];
@@ -0,0 +1,9 @@
1
+ export const getTypographySize = (layoutType) => {
2
+ switch (layoutType) {
3
+ case 'tablet':
4
+ case 'mobile':
5
+ return 'm';
6
+ default:
7
+ return 'l';
8
+ }
9
+ };
@@ -0,0 +1,5 @@
1
+ import { ExpertDetails } from '../../components/SectionExpertsCarousel/types';
2
+ export type ExpertProps = ExpertDetails & {
3
+ className?: string;
4
+ };
5
+ export declare function Expert({ image, name, surname, jobTitle, className }: ExpertProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import cn from 'classnames';
3
+ import { Typography } from '@snack-uikit/typography';
4
+ import styles from './styles.module.css';
5
+ export function Expert({ image, name, surname, jobTitle, className }) {
6
+ return (_jsxs("div", { className: cn(styles.expert, className), children: [_jsxs("div", { className: styles.imageWrapper, children: [_jsx("div", { className: styles.imageBackground }), _jsx("img", { src: image, alt: 'expert', className: styles.image })] }), _jsxs("div", { className: styles.personalDetails, children: [_jsx(Typography.SansTitleL, { className: styles.detailsColor, children: name }), _jsx(Typography.SansTitleL, { className: styles.detailsColor, children: surname })] }), _jsx("div", { className: styles.jobTitle, children: _jsx(Typography.SansBodyM, { className: styles.detailsColor, children: jobTitle }) })] }));
7
+ }
@@ -0,0 +1 @@
1
+ export * from './Expert';
@@ -0,0 +1 @@
1
+ export * from './Expert';
@@ -0,0 +1,38 @@
1
+ .expert{
2
+ display:flex;
3
+ flex-direction:column;
4
+ gap:var(--dimension-1m, 8px);
5
+ overflow:hidden;
6
+ }
7
+
8
+ .imageWrapper{
9
+ display:flex;
10
+ justify-content:center;
11
+ position:relative;
12
+ }
13
+
14
+ .imageBackground{
15
+ position:absolute;
16
+ width:100%;
17
+ height:100%;
18
+ background-color:var(--sys-neutral-accent-default, #787b8a);
19
+ opacity:0.08;
20
+ }
21
+
22
+ .personalDetails,
23
+ .jobTitle{
24
+ display:flex;
25
+ flex-direction:column;
26
+ }
27
+
28
+ .detailsColor{
29
+ color:var(--sys-neutral-text-main, #41424e);
30
+ }
31
+
32
+ .image{
33
+ position:relative;
34
+ height:290px;
35
+ -o-object-fit:cover;
36
+ object-fit:cover;
37
+ pointer-events:none;
38
+ }
@@ -0,0 +1,6 @@
1
+ import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ export type PromoListProps = {
3
+ title: string;
4
+ items: string[];
5
+ };
6
+ export declare function PromoList({ title, items, layoutType }: WithLayoutType<PromoListProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { DecorCheckedSVG } from '@sbercloud/uikit-product-icons';
3
+ import { RichText } from '@sbercloud/uikit-product-site-rich-text';
4
+ import styles from './styles.module.css';
5
+ export function PromoList({ title, items, layoutType }) {
6
+ return (_jsxs("div", { className: styles.promoList, "data-layout-type": layoutType, children: [_jsx("div", { className: styles.title, "data-layout-type": layoutType, "data-test-id": 'promo-list__card_title', children: _jsx(RichText, { richText: title }) }), _jsx("ul", { className: styles.list, children: items.map(item => (_jsxs("li", { className: styles.listItem, children: [_jsx(DecorCheckedSVG, { className: styles.listItemIcon }), _jsx(RichText, { richText: item })] }, item))) })] }));
7
+ }
@@ -0,0 +1 @@
1
+ export * from './PromoList';
@@ -0,0 +1 @@
1
+ export * from './PromoList';
@@ -0,0 +1,53 @@
1
+ .promoList{
2
+ display:flex;
3
+ flex-direction:column;
4
+ gap:16px;
5
+ color:var(--sys-invert-neutral-text-main, #e6e8ef);
6
+ position:relative;
7
+ max-width:480px;
8
+ }
9
+ .promoList[data-layout-type=mobile]{
10
+ max-width:100%;
11
+ }
12
+
13
+ .title{
14
+ font-family:var(--sans-headline-s-font-family, SB Sans Interface);
15
+ font-weight:var(--sans-headline-s-font-weight, Semibold);
16
+ line-height:var(--sans-headline-s-line-height, 32px);
17
+ font-size:var(--sans-headline-s-font-size, 24px);
18
+ letter-spacing:var(--sans-headline-s-letter-spacing, -0.5px);
19
+ paragraph-spacing:var(--sans-headline-s-paragraph-spacing, 13.2px);
20
+ }
21
+ .title[data-layout-type=tablet], .title[data-layout-type=mobile]{
22
+ font-family:var(--sans-title-l-font-family, SB Sans Interface);
23
+ font-weight:var(--sans-title-l-font-weight, Semibold);
24
+ line-height:var(--sans-title-l-line-height, 28px);
25
+ font-size:var(--sans-title-l-font-size, 20px);
26
+ letter-spacing:var(--sans-title-l-letter-spacing, 0.15px);
27
+ paragraph-spacing:var(--sans-title-l-paragraph-spacing, 11px);
28
+ }
29
+
30
+ .list{
31
+ list-style:none;
32
+ padding:0;
33
+ margin:0;
34
+ display:flex;
35
+ flex-direction:column;
36
+ gap:16px;
37
+ }
38
+
39
+ .listItem{
40
+ font-family:var(--sans-body-m-font-family, SB Sans Interface);
41
+ font-weight:var(--sans-body-m-font-weight, Regular);
42
+ line-height:var(--sans-body-m-line-height, 20px);
43
+ font-size:var(--sans-body-m-font-size, 14px);
44
+ letter-spacing:var(--sans-body-m-letter-spacing, 0.1px);
45
+ paragraph-spacing:var(--sans-body-m-paragraph-spacing, 7.7px);
46
+ display:flex;
47
+ gap:8px;
48
+ }
49
+
50
+ .listItemIcon{
51
+ color:var(--sys-invert-neutral-accent-default, #cfd2dc);
52
+ flex-shrink:0;
53
+ }
@@ -0,0 +1,2 @@
1
+ import { SectionButtonProps } from './types';
2
+ export declare function SectionButton(button: SectionButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { ArrowLinksSVG } from '@sbercloud/uikit-product-icons';
14
+ import { ButtonFilled, ButtonOutline } from '@snack-uikit/button';
15
+ import { Link } from '@snack-uikit/link';
16
+ export function SectionButton(button) {
17
+ const { type } = button, buttonProps = __rest(button, ["type"]);
18
+ if (button.href) {
19
+ return _jsx(Link, Object.assign({}, buttonProps, { text: button.label, size: 'l', insideText: true }), button.label);
20
+ }
21
+ if (type === 'outline') {
22
+ return _jsx(ButtonOutline, Object.assign({ size: 'l', appearance: 'neutral', icon: _jsx(ArrowLinksSVG, {}) }, buttonProps), button.label);
23
+ }
24
+ return _jsx(ButtonFilled, Object.assign({ size: 'l' }, buttonProps), button.label);
25
+ }
@@ -0,0 +1 @@
1
+ export * from './SectionButton';
@@ -0,0 +1 @@
1
+ export * from './SectionButton';
@@ -0,0 +1,8 @@
1
+ import { ButtonFilledProps } from '@snack-uikit/button';
2
+ export type SectionButtonProps = {
3
+ label: string;
4
+ href?: string;
5
+ target?: ButtonFilledProps['target'];
6
+ onClick?: ButtonFilledProps['onClick'];
7
+ type?: 'brand' | 'outline';
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SectionCarouselProps } from './types';
2
+ export declare function SectionCarousel({ id, title, titleTag, subtitle, subtitleTag, titleSectionSize, description, children, itemMinWidth, maxItemsPerPage, backgroundColor, className, layoutType, gap, moreButton, autoSwipe, infiniteScroll, ...rest }: SectionCarouselProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,55 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import debounce from 'lodash.debounce';
14
+ import { useEffect, useMemo, useRef, useState } from 'react';
15
+ import { extractSupportProps } from '@sbercloud/uikit-product-utils';
16
+ import { Carousel } from '@snack-uikit/carousel';
17
+ import { SectionBasic } from '../../components';
18
+ import { SECTION_COLORS } from '../../constants';
19
+ import styles from './styles.module.css';
20
+ import { calculateAmountOfItemsPerPage } from './utils';
21
+ const MOBILE_LAYOUTS = ['tablet', 'mobile'];
22
+ export function SectionCarousel(_a) {
23
+ var { id, title, titleTag, subtitle, subtitleTag, titleSectionSize, description, children, itemMinWidth, maxItemsPerPage, backgroundColor = SECTION_COLORS.NeutralBackground1Level, className, layoutType, gap, moreButton, autoSwipe = 9, infiniteScroll = true } = _a, rest = __rest(_a, ["id", "title", "titleTag", "subtitle", "subtitleTag", "titleSectionSize", "description", "children", "itemMinWidth", "maxItemsPerPage", "backgroundColor", "className", "layoutType", "gap", "moreButton", "autoSwipe", "infiniteScroll"]);
24
+ const [currentPage, setCurrentPage] = useState(0);
25
+ const [itemsPerPageAmount, setItemsPerPageAmount] = useState(0);
26
+ const wrapperRef = useRef(null);
27
+ useEffect(() => {
28
+ const node = wrapperRef.current;
29
+ if (!node) {
30
+ return;
31
+ }
32
+ const calculateAmountOfItems = () => {
33
+ var _a;
34
+ const wrapperWidth = (_a = wrapperRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth;
35
+ if (!wrapperWidth) {
36
+ return;
37
+ }
38
+ setItemsPerPageAmount(calculateAmountOfItemsPerPage({
39
+ wrapperWidth,
40
+ itemMinWidth,
41
+ maxItemsPerPage,
42
+ }));
43
+ };
44
+ const observer = new ResizeObserver(debounce(calculateAmountOfItems, 100));
45
+ observer.observe(node);
46
+ return () => observer.disconnect();
47
+ }, [itemMinWidth, maxItemsPerPage]);
48
+ const showArrows = useMemo(() => {
49
+ if (MOBILE_LAYOUTS.includes(layoutType)) {
50
+ return false;
51
+ }
52
+ return children.length > itemsPerPageAmount;
53
+ }, [children.length, itemsPerPageAmount, layoutType]);
54
+ return (_jsx(SectionBasic, Object.assign({ id: id, layoutType: layoutType, className: className, "data-section-background": backgroundColor, title: title, titleTag: titleTag, subtitle: subtitle, subtitleTag: subtitleTag, titleSectionSize: titleSectionSize, description: description, backgroundColor: backgroundColor, moreButton: moreButton }, extractSupportProps(rest), { children: _jsx("div", { ref: wrapperRef, className: styles.sectionCarousel, "data-layout-type": layoutType, children: itemsPerPageAmount > 0 && (_jsx(Carousel, { state: { page: currentPage, onChange: setCurrentPage }, arrows: showArrows, controlsVisibility: 'always', showItems: itemsPerPageAmount, pagination: children.length > itemsPerPageAmount, swipe: children.length > itemsPerPageAmount, gap: gap, autoSwipe: infiniteScroll ? autoSwipe : undefined, infiniteScroll: infiniteScroll, children: children })) }) })));
55
+ }
@@ -0,0 +1,2 @@
1
+ export * from './SectionCarousel';
2
+ export { type SectionCarouselProps, type LimitedSectionCarouselProps } from './types';
@@ -0,0 +1 @@
1
+ export * from './SectionCarousel';
@@ -0,0 +1,5 @@
1
+ .sectionCarousel{
2
+ width:100%;
3
+ display:flex;
4
+ flex-direction:column;
5
+ }
@@ -0,0 +1,32 @@
1
+ import { ReactElement } from 'react';
2
+ import { WithLayoutType, WithSupportProps } from '@sbercloud/uikit-product-utils';
3
+ import { CarouselProps } from '@snack-uikit/carousel';
4
+ import { SectionBasicProps } from '../../components';
5
+ import { SectionColor } from '../../types';
6
+ import { SectionTitleProps } from '../SectionTitle';
7
+ type CarouselSlideConfig = {
8
+ /** Массив повторяющихся айтмов, из которых состоят слайды карусели */
9
+ children: ReactElement[];
10
+ /** Минимальная ширина айтема */
11
+ itemMinWidth: number;
12
+ /** Максимальное количество айтемов на слайде */
13
+ maxItemsPerPage: number;
14
+ };
15
+ export type SectionCarouselProps = WithSupportProps<WithLayoutType<SectionTitleProps & CarouselSlideConfig & {
16
+ /** id секции */
17
+ id?: string;
18
+ /** Цвет фона */
19
+ backgroundColor?: SectionColor;
20
+ /** CSS - класснейм */
21
+ className?: string;
22
+ /**
23
+ * Автоматическое переключение слайдов в секундах
24
+ * @default 9
25
+ */
26
+ autoSwipe?: number;
27
+ } & Pick<CarouselProps, 'gap' | 'autoSwipe' | 'infiniteScroll'> & Pick<SectionBasicProps, 'moreButton'>>>;
28
+ export type LimitedSectionCarouselProps<T extends object> = Omit<SectionCarouselProps, keyof CarouselSlideConfig> & {
29
+ /** Массив айтемов */
30
+ items: T[];
31
+ };
32
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { SectionCarouselProps } from './types';
2
+ type Props = Pick<SectionCarouselProps, 'itemMinWidth' | 'maxItemsPerPage'> & {
3
+ wrapperWidth: number;
4
+ };
5
+ export declare const calculateAmountOfItemsPerPage: ({ wrapperWidth, itemMinWidth, maxItemsPerPage }: Props) => number;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ export const calculateAmountOfItemsPerPage = ({ wrapperWidth, itemMinWidth, maxItemsPerPage }) => {
2
+ const amount = Math.floor(wrapperWidth / itemMinWidth);
3
+ return amount > maxItemsPerPage ? maxItemsPerPage : amount;
4
+ };
@@ -0,0 +1,12 @@
1
+ import { WithLayoutType } from '@sbercloud/uikit-product-utils';
2
+ import { ButtonFunctionProps } from '@snack-uikit/button';
3
+ type FooterItem = {
4
+ label: string;
5
+ href?: string;
6
+ onClick?: ButtonFunctionProps['onClick'];
7
+ };
8
+ export type SectionCatalogFooterProps = WithLayoutType<{
9
+ items: FooterItem[];
10
+ }>;
11
+ export declare function SectionCatalogFooter({ items, layoutType }: SectionCatalogFooterProps): import("react/jsx-runtime").JSX.Element | null;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ChevronRightSVG } from '@sbercloud/uikit-product-icons';
3
+ import { ButtonFunction } from '@snack-uikit/button';
4
+ import styles from './styles.module.css';
5
+ export function SectionCatalogFooter({ items, layoutType }) {
6
+ if (items.length === 0) {
7
+ return null;
8
+ }
9
+ return (_jsx("div", { className: styles.footer, "data-layout-type": layoutType, children: items.map(({ label, onClick, href }) => (_jsx(ButtonFunction, { label: label, size: 'm', onClick: onClick, href: href, icon: _jsx(ChevronRightSVG, {}) }, label))) }));
10
+ }
@@ -0,0 +1 @@
1
+ export * from './SectionCatalogFooter';
@@ -0,0 +1 @@
1
+ export * from './SectionCatalogFooter';
@@ -0,0 +1,8 @@
1
+ .footer{
2
+ display:flex;
3
+ flex-direction:column;
4
+ padding-left:8px;
5
+ }
6
+ .footer[data-layout-type=tablet], .footer[data-layout-type=mobile]{
7
+ padding-left:0;
8
+ }