@megafon/ui-shared 6.5.1 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/CHANGELOG.md +26 -3
  2. package/dist/es/components/AccordionBox/AccordionBox.css +2 -2
  3. package/dist/es/components/AccordionBox/AccordionBox.js +1 -1
  4. package/dist/es/components/AudioPlayer/AudioPlayer.js +1 -1
  5. package/dist/es/components/AudioPlayer/AudioProgress.js +1 -1
  6. package/dist/es/components/AudioPlayer/AudioRange.js +1 -1
  7. package/dist/es/components/AudioPlayer/AudioVolume.js +1 -1
  8. package/dist/es/components/AudioPlayer/style/AudioPlayer.css +10 -10
  9. package/dist/es/components/AudioPlayer/style/AudioProgress.css +5 -5
  10. package/dist/es/components/AudioPlayer/style/AudioRange.css +8 -8
  11. package/dist/es/components/AudioPlayer/style/AudioVolume.css +7 -7
  12. package/dist/es/components/BannerBox/BannerBox.js +1 -1
  13. package/dist/es/components/BenefitsIcons/BenefitsIcons.js +1 -1
  14. package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +1 -1
  15. package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +9 -9
  16. package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +24 -24
  17. package/dist/es/components/BenefitsPictures/BenefitsPictures.js +1 -1
  18. package/dist/es/components/BenefitsPictures/BenfitsPictures.css +9 -9
  19. package/dist/es/components/BlogBox/BlogBox.css +17 -17
  20. package/dist/es/components/BlogBox/BlogBox.js +1 -1
  21. package/dist/es/components/BlogBox/components/BlogBoxTile.css +34 -34
  22. package/dist/es/components/BlogBox/components/BlogBoxTile.js +1 -1
  23. package/dist/es/components/Breadcrumbs/Breadcrumbs.css +12 -9
  24. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  25. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +19 -4
  26. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.css +3 -3
  27. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +1 -1
  28. package/dist/es/components/ButtonBanner/ButtonBanner.css +21 -21
  29. package/dist/es/components/ButtonBanner/ButtonBanner.js +1 -1
  30. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.css +3 -3
  31. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +1 -1
  32. package/dist/es/components/Card/Card.css +60 -60
  33. package/dist/es/components/Card/Card.js +1 -1
  34. package/dist/es/components/CardsBox/CardsBox.js +1 -1
  35. package/dist/es/components/CarouselBox/CarouselBox.js +1 -1
  36. package/dist/es/components/Container/Container.css +1324 -1324
  37. package/dist/es/components/Container/Container.js +1 -1
  38. package/dist/es/components/DarkGradientCards/DarkGradientCards.css +2 -2
  39. package/dist/es/components/DarkGradientCards/DarkGradientCards.js +1 -1
  40. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.css +27 -27
  41. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
  42. package/dist/es/components/DownloadLinks/DownloadLink.css +5 -5
  43. package/dist/es/components/DownloadLinks/DownloadLink.js +1 -1
  44. package/dist/es/components/DownloadLinks/DownloadLinks.css +7 -7
  45. package/dist/es/components/DownloadLinks/DownloadLinks.js +1 -1
  46. package/dist/es/components/ImageBanner/ImageBanner.css +44 -41
  47. package/dist/es/components/ImageBanner/ImageBanner.d.ts +2 -0
  48. package/dist/es/components/ImageBanner/ImageBanner.js +7 -3
  49. package/dist/es/components/InfoCards/InfoCards.css +14 -14
  50. package/dist/es/components/InfoCards/InfoCards.js +1 -1
  51. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +43 -43
  52. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +1 -1
  53. package/dist/es/components/Instructions/Instructions.css +140 -140
  54. package/dist/es/components/Instructions/Instructions.js +1 -1
  55. package/dist/es/components/Instructions/img/android-new.png +0 -0
  56. package/dist/es/components/Instructions/img/android.png +0 -0
  57. package/dist/es/components/Instructions/img/blackIphone.png +0 -0
  58. package/dist/es/components/Instructions/img/iphone-new.png +0 -0
  59. package/dist/es/components/Instructions/img/iphone15.png +0 -0
  60. package/dist/es/components/Instructions/img/laptop-new.png +0 -0
  61. package/dist/es/components/Instructions/img/laptop.png +0 -0
  62. package/dist/es/components/Instructions/img/newIphone.png +0 -0
  63. package/dist/es/components/Instructions/img/whiteIphone.png +0 -0
  64. package/dist/es/components/NotificationBox/NotificationBox.js +1 -1
  65. package/dist/es/components/NotificationBox/style/NotificationBox.css +5 -5
  66. package/dist/es/components/PageTitle/PageTitle.css +13 -21
  67. package/dist/es/components/PageTitle/PageTitle.js +3 -1
  68. package/dist/es/components/Partners/Partners.css +8 -8
  69. package/dist/es/components/Partners/Partners.js +1 -1
  70. package/dist/es/components/PictureWithDescription/PictureWithDescription.css +12 -12
  71. package/dist/es/components/PictureWithDescription/PictureWithDescription.js +1 -1
  72. package/dist/es/components/Property/Property.css +28 -28
  73. package/dist/es/components/Property/Property.js +1 -1
  74. package/dist/es/components/Property/PropertyDescription.css +2 -2
  75. package/dist/es/components/Property/PropertyDescription.js +1 -1
  76. package/dist/es/components/SidePictureCards/SidePictureCards.js +1 -1
  77. package/dist/es/components/SidePictureCards/components/SidePictureCard.css +25 -25
  78. package/dist/es/components/SidePictureCards/components/SidePictureCard.js +1 -1
  79. package/dist/es/components/Steps/Steps.css +8 -8
  80. package/dist/es/components/Steps/Steps.js +1 -1
  81. package/dist/es/components/Steps/StepsItem.css +4 -4
  82. package/dist/es/components/Steps/StepsItem.js +1 -1
  83. package/dist/es/components/StoreBanner/StoreBanner.css +67 -67
  84. package/dist/es/components/StoreBanner/StoreBanner.js +1 -1
  85. package/dist/es/components/StoreBanner/doc/img/android-screen.png +0 -0
  86. package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
  87. package/dist/es/components/StoreBanner/doc/img/screen.png +0 -0
  88. package/dist/es/components/StoreBanner/img/android.png +0 -0
  89. package/dist/es/components/StoreBanner/img/black-iphone.png +0 -0
  90. package/dist/es/components/StoreBanner/img/new-iphone.png +0 -0
  91. package/dist/es/components/StoreBanner/img/white-iphone.png +0 -0
  92. package/dist/es/components/StoreButton/StoreButton.css +121 -121
  93. package/dist/es/components/StoreButton/StoreButton.js +1 -1
  94. package/dist/es/components/StoreButton/img/app-store-large.png +0 -0
  95. package/dist/es/components/StoreButton/img/galaxy-store-large.png +0 -0
  96. package/dist/es/components/StoreButton/img/google-play-large.png +0 -0
  97. package/dist/es/components/StoreButton/img/huawei-store-large.png +0 -0
  98. package/dist/es/components/StoreButton/img/mi-store-large.png +0 -0
  99. package/dist/es/components/StoreButton/img/ru-store-large.png +0 -0
  100. package/dist/es/components/StoreButton/img/v-appstore-large.png +0 -0
  101. package/dist/es/components/StoreButton/img/v-appstore.png +0 -0
  102. package/dist/es/components/Table/Table.css +27 -27
  103. package/dist/es/components/Table/Table.js +1 -1
  104. package/dist/es/components/TabsBox/TabsBox.js +1 -1
  105. package/dist/es/components/TextBox/TextBox.css +6 -6
  106. package/dist/es/components/TextBox/TextBox.js +1 -1
  107. package/dist/es/components/TextBox/TextBoxPicture.css +6 -6
  108. package/dist/es/components/TextBox/TextBoxPicture.js +1 -1
  109. package/dist/es/components/TextWithIcon/TextWithIcon.css +1 -1
  110. package/dist/es/components/TextWithIcon/TextWithIcon.js +1 -1
  111. package/dist/es/components/TextWithIcon/TextWithIconItem.css +5 -5
  112. package/dist/es/components/TextWithIcon/TextWithIconItem.js +1 -1
  113. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +7 -7
  114. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +1 -1
  115. package/dist/es/components/VideoBanner/VideoBanner.css +43 -48
  116. package/dist/es/components/VideoBanner/VideoBanner.js +2 -1
  117. package/dist/es/components/VideoBlock/VideoBlock.css +18 -18
  118. package/dist/es/components/VideoBlock/VideoBlock.js +1 -1
  119. package/dist/lib/components/AccordionBox/AccordionBox.css +2 -2
  120. package/dist/lib/components/AccordionBox/AccordionBox.js +1 -1
  121. package/dist/lib/components/AudioPlayer/AudioPlayer.js +1 -1
  122. package/dist/lib/components/AudioPlayer/AudioProgress.js +1 -1
  123. package/dist/lib/components/AudioPlayer/AudioRange.js +1 -1
  124. package/dist/lib/components/AudioPlayer/AudioVolume.js +1 -1
  125. package/dist/lib/components/AudioPlayer/style/AudioPlayer.css +10 -10
  126. package/dist/lib/components/AudioPlayer/style/AudioProgress.css +5 -5
  127. package/dist/lib/components/AudioPlayer/style/AudioRange.css +8 -8
  128. package/dist/lib/components/AudioPlayer/style/AudioVolume.css +7 -7
  129. package/dist/lib/components/BannerBox/BannerBox.js +1 -1
  130. package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +1 -1
  131. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +1 -1
  132. package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +9 -9
  133. package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +24 -24
  134. package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +1 -1
  135. package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +9 -9
  136. package/dist/lib/components/BlogBox/BlogBox.css +17 -17
  137. package/dist/lib/components/BlogBox/BlogBox.js +1 -1
  138. package/dist/lib/components/BlogBox/components/BlogBoxTile.css +34 -34
  139. package/dist/lib/components/BlogBox/components/BlogBoxTile.js +1 -1
  140. package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +12 -9
  141. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  142. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +20 -4
  143. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.css +3 -3
  144. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +1 -1
  145. package/dist/lib/components/ButtonBanner/ButtonBanner.css +21 -21
  146. package/dist/lib/components/ButtonBanner/ButtonBanner.js +1 -1
  147. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.css +3 -3
  148. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +1 -1
  149. package/dist/lib/components/Card/Card.css +60 -60
  150. package/dist/lib/components/Card/Card.js +1 -1
  151. package/dist/lib/components/CardsBox/CardsBox.js +1 -1
  152. package/dist/lib/components/CarouselBox/CarouselBox.js +1 -1
  153. package/dist/lib/components/Container/Container.css +1324 -1324
  154. package/dist/lib/components/Container/Container.js +1 -1
  155. package/dist/lib/components/DarkGradientCards/DarkGradientCards.css +2 -2
  156. package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +1 -1
  157. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.css +27 -27
  158. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
  159. package/dist/lib/components/DownloadLinks/DownloadLink.css +5 -5
  160. package/dist/lib/components/DownloadLinks/DownloadLink.js +1 -1
  161. package/dist/lib/components/DownloadLinks/DownloadLinks.css +7 -7
  162. package/dist/lib/components/DownloadLinks/DownloadLinks.js +1 -1
  163. package/dist/lib/components/ImageBanner/ImageBanner.css +44 -41
  164. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +2 -0
  165. package/dist/lib/components/ImageBanner/ImageBanner.js +7 -3
  166. package/dist/lib/components/InfoCards/InfoCards.css +14 -14
  167. package/dist/lib/components/InfoCards/InfoCards.js +1 -1
  168. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +43 -43
  169. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +1 -1
  170. package/dist/lib/components/Instructions/Instructions.css +140 -140
  171. package/dist/lib/components/Instructions/Instructions.js +1 -1
  172. package/dist/lib/components/Instructions/img/android-new.png +0 -0
  173. package/dist/lib/components/Instructions/img/android.png +0 -0
  174. package/dist/lib/components/Instructions/img/blackIphone.png +0 -0
  175. package/dist/lib/components/Instructions/img/iphone-new.png +0 -0
  176. package/dist/lib/components/Instructions/img/iphone15.png +0 -0
  177. package/dist/lib/components/Instructions/img/laptop-new.png +0 -0
  178. package/dist/lib/components/Instructions/img/laptop.png +0 -0
  179. package/dist/lib/components/Instructions/img/newIphone.png +0 -0
  180. package/dist/lib/components/Instructions/img/whiteIphone.png +0 -0
  181. package/dist/lib/components/NotificationBox/NotificationBox.js +1 -1
  182. package/dist/lib/components/NotificationBox/style/NotificationBox.css +5 -5
  183. package/dist/lib/components/PageTitle/PageTitle.css +13 -21
  184. package/dist/lib/components/PageTitle/PageTitle.js +3 -1
  185. package/dist/lib/components/Partners/Partners.css +8 -8
  186. package/dist/lib/components/Partners/Partners.js +1 -1
  187. package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +12 -12
  188. package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +1 -1
  189. package/dist/lib/components/Property/Property.css +28 -28
  190. package/dist/lib/components/Property/Property.js +1 -1
  191. package/dist/lib/components/Property/PropertyDescription.css +2 -2
  192. package/dist/lib/components/Property/PropertyDescription.js +1 -1
  193. package/dist/lib/components/SidePictureCards/SidePictureCards.js +1 -1
  194. package/dist/lib/components/SidePictureCards/components/SidePictureCard.css +25 -25
  195. package/dist/lib/components/SidePictureCards/components/SidePictureCard.js +1 -1
  196. package/dist/lib/components/Steps/Steps.css +8 -8
  197. package/dist/lib/components/Steps/Steps.js +1 -1
  198. package/dist/lib/components/Steps/StepsItem.css +4 -4
  199. package/dist/lib/components/Steps/StepsItem.js +1 -1
  200. package/dist/lib/components/StoreBanner/StoreBanner.css +67 -67
  201. package/dist/lib/components/StoreBanner/StoreBanner.js +1 -1
  202. package/dist/lib/components/StoreBanner/doc/img/android-screen.png +0 -0
  203. package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
  204. package/dist/lib/components/StoreBanner/doc/img/screen.png +0 -0
  205. package/dist/lib/components/StoreBanner/img/android.png +0 -0
  206. package/dist/lib/components/StoreBanner/img/black-iphone.png +0 -0
  207. package/dist/lib/components/StoreBanner/img/new-iphone.png +0 -0
  208. package/dist/lib/components/StoreBanner/img/white-iphone.png +0 -0
  209. package/dist/lib/components/StoreButton/StoreButton.css +121 -121
  210. package/dist/lib/components/StoreButton/StoreButton.js +1 -1
  211. package/dist/lib/components/StoreButton/img/app-store-large.png +0 -0
  212. package/dist/lib/components/StoreButton/img/galaxy-store-large.png +0 -0
  213. package/dist/lib/components/StoreButton/img/google-play-large.png +0 -0
  214. package/dist/lib/components/StoreButton/img/huawei-store-large.png +0 -0
  215. package/dist/lib/components/StoreButton/img/mi-store-large.png +0 -0
  216. package/dist/lib/components/StoreButton/img/ru-store-large.png +0 -0
  217. package/dist/lib/components/StoreButton/img/v-appstore-large.png +0 -0
  218. package/dist/lib/components/StoreButton/img/v-appstore.png +0 -0
  219. package/dist/lib/components/Table/Table.css +27 -27
  220. package/dist/lib/components/Table/Table.js +1 -1
  221. package/dist/lib/components/TabsBox/TabsBox.js +1 -1
  222. package/dist/lib/components/TextBox/TextBox.css +6 -6
  223. package/dist/lib/components/TextBox/TextBox.js +1 -1
  224. package/dist/lib/components/TextBox/TextBoxPicture.css +6 -6
  225. package/dist/lib/components/TextBox/TextBoxPicture.js +1 -1
  226. package/dist/lib/components/TextWithIcon/TextWithIcon.css +1 -1
  227. package/dist/lib/components/TextWithIcon/TextWithIcon.js +1 -1
  228. package/dist/lib/components/TextWithIcon/TextWithIconItem.css +5 -5
  229. package/dist/lib/components/TextWithIcon/TextWithIconItem.js +1 -1
  230. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +7 -7
  231. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +1 -1
  232. package/dist/lib/components/VideoBanner/VideoBanner.css +43 -48
  233. package/dist/lib/components/VideoBanner/VideoBanner.js +2 -1
  234. package/dist/lib/components/VideoBlock/VideoBlock.css +18 -18
  235. package/dist/lib/components/VideoBlock/VideoBlock.js +1 -1
  236. package/package.json +4 -4
@@ -11,7 +11,7 @@ export var BackgroundColors = {
11
11
  GREEN: 'green',
12
12
  PURPLE: 'purple'
13
13
  };
14
- var cn = cnCreate('mfui-container');
14
+ var cn = cnCreate('mfui-v6-container');
15
15
 
16
16
  var Container = function Container(_ref) {
17
17
  var _ref$backgroundColor = _ref.backgroundColor,
@@ -5,13 +5,13 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-dark-gradient-cards__cards {
8
+ .mfui-v6-dark-gradient-cards__cards {
9
9
  display: -webkit-box;
10
10
  display: -ms-flexbox;
11
11
  display: flex;
12
12
  gap: 20px;
13
13
  }
14
- .mfui-dark-gradient-cards__cards .mfui-dark-gradient-cards__card {
14
+ .mfui-v6-dark-gradient-cards__cards .mfui-v6-dark-gradient-cards__card {
15
15
  -webkit-box-flex: 1;
16
16
  -ms-flex-positive: 1;
17
17
  flex-grow: 1;
@@ -16,7 +16,7 @@ var carouselParams = _defineProperty({}, breakpoints.MOBILE_SMALL_START, {
16
16
 
17
17
  var CAROUSEL_THRESHOLD = 5;
18
18
  var MIN_ITEMS_COUNT = 3;
19
- var cn = cnCreate('mfui-dark-gradient-cards');
19
+ var cn = cnCreate('mfui-v6-dark-gradient-cards');
20
20
 
21
21
  var DarkGradientCards = function DarkGradientCards(_ref) {
22
22
  var items = _ref.items,
@@ -5,7 +5,7 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-dark-gradient-card {
8
+ .mfui-v6-dark-gradient-card {
9
9
  position: relative;
10
10
  display: -webkit-box;
11
11
  display: -ms-flexbox;
@@ -20,44 +20,44 @@ h5 {
20
20
  background-size: cover;
21
21
  }
22
22
  @media screen and (max-width: 359px) {
23
- .mfui-dark-gradient-card {
23
+ .mfui-v6-dark-gradient-card {
24
24
  width: 265px;
25
25
  }
26
26
  }
27
27
  @media screen and (min-width: 768px) and (max-width: 1023px) {
28
- .mfui-dark-gradient-card {
28
+ .mfui-v6-dark-gradient-card {
29
29
  width: 211px;
30
30
  }
31
31
  }
32
32
  @media screen and (min-width: 1024px) {
33
- .mfui-dark-gradient-card {
33
+ .mfui-v6-dark-gradient-card {
34
34
  min-height: 520px;
35
35
  }
36
36
  }
37
37
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
38
- .mfui-dark-gradient-card {
38
+ .mfui-v6-dark-gradient-card {
39
39
  width: 285px;
40
40
  }
41
41
  }
42
42
  @media screen and (min-width: 1280px) and (max-width: 1439px) {
43
- .mfui-dark-gradient-card {
43
+ .mfui-v6-dark-gradient-card {
44
44
  width: 265px;
45
45
  }
46
46
  }
47
47
  @media screen and (min-width: 1280px) {
48
- .mfui-dark-gradient-card {
48
+ .mfui-v6-dark-gradient-card {
49
49
  padding: 32px;
50
50
  }
51
51
  }
52
52
  @media screen and (min-width: 1440px) {
53
- .mfui-dark-gradient-card {
53
+ .mfui-v6-dark-gradient-card {
54
54
  width: 345px;
55
55
  }
56
56
  }
57
- .mfui-dark-gradient-card:hover {
57
+ .mfui-v6-dark-gradient-card:hover {
58
58
  text-decoration: none;
59
59
  }
60
- .mfui-dark-gradient-card:before {
60
+ .mfui-v6-dark-gradient-card:before {
61
61
  content: '';
62
62
  position: absolute;
63
63
  top: 0;
@@ -69,31 +69,31 @@ h5 {
69
69
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(#000000));
70
70
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
71
71
  }
72
- .mfui-dark-gradient-card_active:hover.mfui-dark-gradient-card:before {
72
+ .mfui-v6-dark-gradient-card_active:hover.mfui-v6-dark-gradient-card:before {
73
73
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.9)));
74
74
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
75
75
  }
76
76
  @media screen and (min-width: 768px) and (max-width: 1023px) {
77
- .mfui-dark-gradient-card_size_big {
77
+ .mfui-v6-dark-gradient-card_size_big {
78
78
  width: 441px;
79
79
  }
80
80
  }
81
81
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
82
- .mfui-dark-gradient-card_size_big {
82
+ .mfui-v6-dark-gradient-card_size_big {
83
83
  width: 591px;
84
84
  }
85
85
  }
86
86
  @media screen and (min-width: 1280px) and (max-width: 1439px) {
87
- .mfui-dark-gradient-card_size_big {
87
+ .mfui-v6-dark-gradient-card_size_big {
88
88
  width: 550px;
89
89
  }
90
90
  }
91
91
  @media screen and (min-width: 1440px) {
92
- .mfui-dark-gradient-card_size_big {
92
+ .mfui-v6-dark-gradient-card_size_big {
93
93
  width: 710px;
94
94
  }
95
95
  }
96
- .mfui-dark-gradient-card__inner {
96
+ .mfui-v6-dark-gradient-card__inner {
97
97
  position: relative;
98
98
  z-index: 1;
99
99
  display: -webkit-box;
@@ -106,50 +106,50 @@ h5 {
106
106
  gap: 12px;
107
107
  width: 100%;
108
108
  }
109
- .mfui-dark-gradient-card__title {
109
+ .mfui-v6-dark-gradient-card__title {
110
110
  margin-top: auto;
111
111
  }
112
- .mfui-dark-gradient-card_size_small .mfui-dark-gradient-card__title {
112
+ .mfui-v6-dark-gradient-card_size_small .mfui-v6-dark-gradient-card__title {
113
113
  font-weight: 500;
114
114
  font-size: 18px;
115
115
  line-height: 24px;
116
116
  letter-spacing: 0.5px;
117
117
  }
118
118
  @media screen and (min-width: 1280px) {
119
- .mfui-dark-gradient-card_size_small .mfui-dark-gradient-card__title {
119
+ .mfui-v6-dark-gradient-card_size_small .mfui-v6-dark-gradient-card__title {
120
120
  font-size: 20px;
121
121
  line-height: 28px;
122
122
  }
123
123
  }
124
- .mfui-dark-gradient-card_size_big .mfui-dark-gradient-card__title {
124
+ .mfui-v6-dark-gradient-card_size_big .mfui-v6-dark-gradient-card__title {
125
125
  font-weight: 600;
126
126
  font-size: 22px;
127
127
  line-height: 28px;
128
128
  letter-spacing: 0.5px;
129
129
  }
130
130
  @media screen and (min-width: 768px) and (max-width: 1023px) {
131
- .mfui-dark-gradient-card_size_big .mfui-dark-gradient-card__title {
131
+ .mfui-v6-dark-gradient-card_size_big .mfui-v6-dark-gradient-card__title {
132
132
  font-size: 26px;
133
133
  line-height: 32px;
134
134
  }
135
135
  }
136
136
  @media screen and (min-width: 1024px) {
137
- .mfui-dark-gradient-card_size_big .mfui-dark-gradient-card__title {
137
+ .mfui-v6-dark-gradient-card_size_big .mfui-v6-dark-gradient-card__title {
138
138
  font-size: 28px;
139
139
  line-height: 36px;
140
140
  }
141
141
  }
142
142
  @media screen and (min-width: 1280px) {
143
- .mfui-dark-gradient-card_size_big .mfui-dark-gradient-card__title {
143
+ .mfui-v6-dark-gradient-card_size_big .mfui-v6-dark-gradient-card__title {
144
144
  font-size: 32px;
145
145
  line-height: 40px;
146
146
  }
147
147
  }
148
- .mfui-dark-gradient-card__subtitle {
148
+ .mfui-v6-dark-gradient-card__subtitle {
149
149
  font-size: 15px;
150
150
  line-height: 24px;
151
151
  }
152
- .mfui-dark-gradient-card__more {
152
+ .mfui-v6-dark-gradient-card__more {
153
153
  font-size: 15px;
154
154
  line-height: 24px;
155
155
  font-weight: 500;
@@ -161,13 +161,13 @@ h5 {
161
161
  -ms-flex-align: start;
162
162
  align-items: flex-start;
163
163
  }
164
- .mfui-dark-gradient-card__more-icon {
164
+ .mfui-v6-dark-gradient-card__more-icon {
165
165
  display: block;
166
166
  width: 24px;
167
167
  min-width: 24px;
168
168
  max-height: 24px;
169
169
  }
170
- .mfui-dark-gradient-card__more-icon svg {
170
+ .mfui-v6-dark-gradient-card__more-icon svg {
171
171
  display: block;
172
172
  width: 100%;
173
173
  height: 100%;
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { cnCreate, convert } from '@megafon/ui-helpers';
4
4
  import { setRelAttribute } from "../../../helpers/setRelAttribute";
5
5
  import "./DarkGradientCard.css";
6
- var cn = cnCreate('mfui-dark-gradient-card');
6
+ var cn = cnCreate('mfui-v6-dark-gradient-card');
7
7
 
8
8
  var DarkGradientCard = function DarkGradientCard(_ref) {
9
9
  var imageSrc = _ref.imageSrc,
@@ -5,12 +5,12 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-download-link {
8
+ .mfui-v6-download-link {
9
9
  display: -webkit-box;
10
10
  display: -ms-flexbox;
11
11
  display: flex;
12
12
  }
13
- .mfui-download-link__icon {
13
+ .mfui-v6-download-link__icon {
14
14
  -ms-flex-negative: 0;
15
15
  flex-shrink: 0;
16
16
  width: 40px;
@@ -19,16 +19,16 @@ h5 {
19
19
  fill: var(--content);
20
20
  }
21
21
  @media screen and (max-width: 1023px) {
22
- .mfui-download-link__icon {
22
+ .mfui-v6-download-link__icon {
23
23
  width: 32px;
24
24
  height: 32px;
25
25
  }
26
26
  }
27
- .mfui-download-link__icon-svg {
27
+ .mfui-v6-download-link__icon-svg {
28
28
  width: inherit;
29
29
  height: inherit;
30
30
  }
31
- .mfui-download-link__info {
31
+ .mfui-v6-download-link__info {
32
32
  margin: 0;
33
33
  font-size: 12px;
34
34
  line-height: 18px;
@@ -15,7 +15,7 @@ var DownloadIcon = function DownloadIcon(props) {
15
15
  }));
16
16
  };
17
17
 
18
- var cn = cnCreate('mfui-download-link');
18
+ var cn = cnCreate('mfui-v6-download-link');
19
19
 
20
20
  var DownloadLink = function DownloadLink(_ref) {
21
21
  var href = _ref.href,
@@ -6,31 +6,31 @@ h5 {
6
6
  margin: 0;
7
7
  }
8
8
  @media screen and (min-width: 1024px) {
9
- .mfui-download-links__column:nth-child(n + 4) {
9
+ .mfui-v6-download-links__column:nth-child(n + 4) {
10
10
  margin-top: 24px;
11
11
  }
12
12
  }
13
13
  @media screen and (min-width: 768px) and (max-width: 1023px) {
14
- .mfui-download-links__column:nth-child(n + 3) {
14
+ .mfui-v6-download-links__column:nth-child(n + 3) {
15
15
  margin-top: 24px;
16
16
  }
17
17
  }
18
18
  @media screen and (max-width: 767px) {
19
- .mfui-download-links__column:not(:first-child) {
19
+ .mfui-v6-download-links__column:not(:first-child) {
20
20
  margin-top: 24px;
21
21
  }
22
22
  }
23
23
  @media screen and (min-width: 768px) {
24
- .mfui-download-links_count_2 .mfui-download-links__column:nth-child(n + 2) {
24
+ .mfui-v6-download-links_count_2 .mfui-v6-download-links__column:nth-child(n + 2) {
25
25
  margin-top: 24px;
26
26
  }
27
27
  }
28
28
  @media screen and (min-width: 768px) {
29
- .mfui-download-links_count_3 .mfui-download-links__column:nth-child(n + 3),
30
- .mfui-download-links_count_4 .mfui-download-links__column:nth-child(n + 3) {
29
+ .mfui-v6-download-links_count_3 .mfui-v6-download-links__column:nth-child(n + 3),
30
+ .mfui-v6-download-links_count_4 .mfui-v6-download-links__column:nth-child(n + 3) {
31
31
  margin-top: 24px;
32
32
  }
33
33
  }
34
- .mfui-download-links__item:not(:first-child) {
34
+ .mfui-v6-download-links__item:not(:first-child) {
35
35
  margin-top: 24px;
36
36
  }
@@ -35,7 +35,7 @@ export var getColumnConfig = function getColumnConfig(itemsCount) {
35
35
  }
36
36
  };
37
37
  var testIdPrefix = 'DownloadLinks';
38
- var cn = cnCreate('mfui-download-links');
38
+ var cn = cnCreate('mfui-v6-download-links');
39
39
 
40
40
  var DownloadLinks = function DownloadLinks(_ref) {
41
41
  var _ref$inOneColumn = _ref.inOneColumn,
@@ -5,7 +5,7 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-image-banner {
8
+ .mfui-v6-image-banner {
9
9
  position: relative;
10
10
  display: -webkit-box;
11
11
  display: -ms-flexbox;
@@ -20,7 +20,7 @@ h5 {
20
20
  overflow: hidden;
21
21
  }
22
22
  @media screen and (min-width: 1024px) {
23
- .mfui-image-banner {
23
+ .mfui-v6-image-banner {
24
24
  -webkit-box-orient: horizontal;
25
25
  -webkit-box-direction: normal;
26
26
  -ms-flex-direction: row;
@@ -31,7 +31,7 @@ h5 {
31
31
  height: 420px;
32
32
  }
33
33
  }
34
- .mfui-image-banner__picture {
34
+ .mfui-v6-image-banner__picture {
35
35
  display: -webkit-box;
36
36
  display: -ms-flexbox;
37
37
  display: flex;
@@ -42,90 +42,90 @@ h5 {
42
42
  justify-content: center;
43
43
  }
44
44
  @media screen and (min-width: 1024px) {
45
- .mfui-image-banner__picture {
45
+ .mfui-v6-image-banner__picture {
46
46
  width: 50%;
47
47
  max-width: 672px;
48
48
  height: 100%;
49
49
  }
50
50
  }
51
- .mfui-image-banner__picture_v-align_top {
51
+ .mfui-v6-image-banner__picture_v-align_top {
52
52
  -webkit-box-align: start;
53
53
  -ms-flex-align: start;
54
54
  align-items: flex-start;
55
55
  }
56
- .mfui-image-banner__picture_v-align_center {
56
+ .mfui-v6-image-banner__picture_v-align_center {
57
57
  -webkit-box-align: center;
58
58
  -ms-flex-align: center;
59
59
  align-items: center;
60
60
  }
61
- .mfui-image-banner__picture_v-align_bottom {
61
+ .mfui-v6-image-banner__picture_v-align_bottom {
62
62
  -webkit-box-align: end;
63
63
  -ms-flex-align: end;
64
64
  align-items: flex-end;
65
65
  }
66
- .mfui-image-banner__image {
66
+ .mfui-v6-image-banner__image {
67
67
  display: block;
68
68
  max-width: 100%;
69
69
  max-height: 150px;
70
70
  }
71
71
  @media screen and (min-width: 768px) and (max-width: 1023px) {
72
- .mfui-image-banner__image {
72
+ .mfui-v6-image-banner__image {
73
73
  max-height: 230px;
74
74
  }
75
75
  }
76
76
  @media screen and (min-width: 1024px) {
77
- .mfui-image-banner__image {
77
+ .mfui-v6-image-banner__image {
78
78
  max-height: 100%;
79
79
  -o-object-fit: contain;
80
80
  object-fit: contain;
81
81
  }
82
82
  }
83
- .mfui-image-banner__content {
83
+ .mfui-v6-image-banner__content {
84
84
  z-index: 1;
85
85
  -webkit-box-flex: 1;
86
86
  -ms-flex-positive: 1;
87
87
  flex-grow: 1;
88
88
  }
89
89
  @media screen and (max-width: 1023px) {
90
- .mfui-image-banner__content {
90
+ .mfui-v6-image-banner__content {
91
91
  padding: 24px;
92
92
  }
93
93
  }
94
94
  @media screen and (min-width: 768px) and (max-width: 1023px) {
95
- .mfui-image-banner__content {
95
+ .mfui-v6-image-banner__content {
96
96
  text-align: center;
97
97
  }
98
98
  }
99
99
  @media screen and (min-width: 1024px) {
100
- .mfui-image-banner__content {
100
+ .mfui-v6-image-banner__content {
101
101
  width: 50%;
102
102
  padding: 0 80px;
103
103
  }
104
104
  }
105
- .mfui-image-banner__description {
105
+ .mfui-v6-image-banner__description {
106
106
  margin-top: 16px;
107
107
  white-space: pre-wrap;
108
108
  }
109
- .mfui-image-banner__cost {
109
+ .mfui-v6-image-banner__cost {
110
110
  font-size: 15px;
111
111
  line-height: 24px;
112
112
  font-weight: 500;
113
113
  margin-top: 16px;
114
114
  }
115
- .mfui-image-banner__value {
115
+ .mfui-v6-image-banner__value {
116
116
  display: inline;
117
117
  margin: 0 4px;
118
118
  }
119
119
  @media screen and (max-width: 1023px), screen and (min-width: 1024px) and (max-width: 1279px) {
120
- .mfui-image-banner__value {
120
+ .mfui-v6-image-banner__value {
121
121
  line-height: 21px;
122
122
  }
123
123
  }
124
- .mfui-image-banner__title,
125
- .mfui-image-banner__text {
124
+ .mfui-v6-image-banner__title,
125
+ .mfui-v6-image-banner__text {
126
126
  white-space: pre-wrap;
127
127
  }
128
- .mfui-image-banner__children {
128
+ .mfui-v6-image-banner__children {
129
129
  display: -webkit-box;
130
130
  display: -ms-flexbox;
131
131
  display: flex;
@@ -142,14 +142,14 @@ h5 {
142
142
  margin-top: 32px;
143
143
  }
144
144
  @media screen and (max-width: 767px) {
145
- .mfui-image-banner__children {
145
+ .mfui-v6-image-banner__children {
146
146
  -webkit-box-align: center;
147
147
  -ms-flex-align: center;
148
148
  align-items: center;
149
149
  }
150
150
  }
151
151
  @media screen and (min-width: 768px) {
152
- .mfui-image-banner__children {
152
+ .mfui-v6-image-banner__children {
153
153
  -webkit-box-orient: horizontal;
154
154
  -webkit-box-direction: normal;
155
155
  -ms-flex-direction: row;
@@ -157,21 +157,21 @@ h5 {
157
157
  }
158
158
  }
159
159
  @media screen and (min-width: 1024px) {
160
- .mfui-image-banner__children {
160
+ .mfui-v6-image-banner__children {
161
161
  -webkit-box-pack: start;
162
162
  -ms-flex-pack: start;
163
163
  justify-content: flex-start;
164
164
  }
165
165
  }
166
166
  @media screen and (max-width: 1023px) {
167
- .mfui-image-banner__badges-container {
167
+ .mfui-v6-image-banner__badges-container {
168
168
  display: -webkit-box;
169
169
  display: -ms-flexbox;
170
170
  display: flex;
171
171
  gap: 8px;
172
172
  }
173
173
  }
174
- .mfui-image-banner__badges {
174
+ .mfui-v6-image-banner__badges {
175
175
  display: -webkit-box;
176
176
  display: -ms-flexbox;
177
177
  display: flex;
@@ -183,36 +183,39 @@ h5 {
183
183
  gap: 8px;
184
184
  margin-bottom: 16px;
185
185
  }
186
- .mfui-image-banner__ad-block {
186
+ .mfui-v6-image-banner__ad-block {
187
187
  margin: 0 0 16px auto;
188
188
  }
189
189
  @media screen and (min-width: 1024px) {
190
- .mfui-image-banner__ad-block {
190
+ .mfui-v6-image-banner__ad-block {
191
191
  position: absolute;
192
192
  top: 24px;
193
193
  right: 24px;
194
194
  }
195
195
  }
196
- .mfui-image-banner_radius_rounded {
196
+ .mfui-v6-image-banner_margin-top {
197
+ margin-top: 24px;
198
+ }
199
+ .mfui-v6-image-banner_radius_rounded {
197
200
  border-radius: 24px;
198
201
  }
199
202
  @media screen and (min-width: 1024px) {
200
- .mfui-image-banner_auto-height .mfui-image-banner__content {
203
+ .mfui-v6-image-banner_auto-height .mfui-v6-image-banner__content {
201
204
  padding: 48px 80px;
202
205
  }
203
206
  }
204
207
  @media screen and (min-width: 1024px) {
205
- .mfui-image-banner_auto-height {
208
+ .mfui-v6-image-banner_auto-height {
206
209
  height: auto;
207
210
  }
208
211
  }
209
212
  @media screen and (min-width: 1024px) {
210
- .mfui-image-banner_has-image .mfui-image-banner__content {
213
+ .mfui-v6-image-banner_has-image .mfui-v6-image-banner__content {
211
214
  padding-right: 0;
212
215
  }
213
216
  }
214
217
  @media screen and (min-width: 1024px) {
215
- .mfui-image-banner_full-width .mfui-image-banner__image {
218
+ .mfui-v6-image-banner_full-width .mfui-v6-image-banner__image {
216
219
  position: absolute;
217
220
  right: 0;
218
221
  bottom: 0;
@@ -221,32 +224,32 @@ h5 {
221
224
  }
222
225
  }
223
226
  @media screen and (min-width: 1024px) {
224
- .mfui-image-banner_full-width.mfui-image-banner_auto-height .mfui-image-banner__image {
227
+ .mfui-v6-image-banner_full-width.mfui-v6-image-banner_auto-height .mfui-v6-image-banner__image {
225
228
  width: 100%;
226
229
  height: 100%;
227
230
  -o-object-fit: cover;
228
231
  object-fit: cover;
229
232
  }
230
233
  }
231
- .mfui-image-banner_background-color_green {
234
+ .mfui-v6-image-banner_background-color_green {
232
235
  background-color: var(--brandGreen);
233
236
  }
234
- .mfui-image-banner_background-color_purple {
237
+ .mfui-v6-image-banner_background-color_purple {
235
238
  background-color: var(--brandPurple);
236
239
  }
237
- .mfui-image-banner_background-color_gradient {
240
+ .mfui-v6-image-banner_background-color_gradient {
238
241
  background: -webkit-gradient(linear, right top, left top, from(#ADA6BA), to(#F6F2F9));
239
242
  background: linear-gradient(270deg, #ADA6BA 0%, #F6F2F9 100%);
240
243
  }
241
- .mfui-image-banner_background-color_light {
244
+ .mfui-v6-image-banner_background-color_light {
242
245
  background-color: #F6F2F9;
243
246
  }
244
- .mfui-image-banner_background-color_spbSky0 {
247
+ .mfui-v6-image-banner_background-color_spbSky0 {
245
248
  background-color: var(--spbSky0);
246
249
  }
247
- .mfui-image-banner_text-color_light .mfui-image-banner__content {
250
+ .mfui-v6-image-banner_text-color_light .mfui-v6-image-banner__content {
248
251
  color: var(--stcWhite);
249
252
  }
250
- .mfui-image-banner_text-color_dark .mfui-image-banner__content {
253
+ .mfui-v6-image-banner_text-color_dark .mfui-v6-image-banner__content {
251
254
  color: var(--stcBlack);
252
255
  }
@@ -84,6 +84,8 @@ export interface IImageBannerProps {
84
84
  badges?: JSX.Element[] | JSX.Element;
85
85
  /** Элемент блока с рекламой */
86
86
  adBlock?: JSX.Element | null;
87
+ /** Отступ сверху */
88
+ hasMarginTop?: boolean;
87
89
  }
88
90
  declare const ImageBanner: React.FC<IImageBannerProps>;
89
91
  export default ImageBanner;
@@ -42,7 +42,7 @@ var getTheme = function getTheme(backgrounColor) {
42
42
  }
43
43
  };
44
44
 
45
- var cn = cnCreate('mfui-image-banner');
45
+ var cn = cnCreate('mfui-v6-image-banner');
46
46
  var typographyConfig = {
47
47
  b: {
48
48
  component: function component(_ref) {
@@ -91,6 +91,8 @@ var ImageBanner = function ImageBanner(_ref2) {
91
91
  isImageFullWidth = _ref2.isImageFullWidth,
92
92
  badges = _ref2.badges,
93
93
  adBlock = _ref2.adBlock,
94
+ _ref2$hasMarginTop = _ref2.hasMarginTop,
95
+ hasMarginTop = _ref2$hasMarginTop === void 0 ? false : _ref2$hasMarginTop,
94
96
  _ref2$children = _ref2.children,
95
97
  children = _ref2$children === void 0 ? [] : _ref2$children;
96
98
 
@@ -160,7 +162,8 @@ var ImageBanner = function ImageBanner(_ref2) {
160
162
  'has-image': hasImage,
161
163
  'auto-height': autoHeight,
162
164
  'full-width': isImageFullWidth,
163
- radius: radius
165
+ radius: radius,
166
+ 'margin-top': hasMarginTop
164
167
  }, [className, classes.root]),
165
168
  ref: rootRef
166
169
  }), renderContent, hasImage && renderImage);
@@ -205,6 +208,7 @@ ImageBanner.propTypes = {
205
208
  autoHeight: PropTypes.bool,
206
209
  isImageFullWidth: PropTypes.bool,
207
210
  badges: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.element.isRequired), PropTypes.element]),
208
- adBlock: PropTypes.element
211
+ adBlock: PropTypes.element,
212
+ hasMarginTop: PropTypes.bool
209
213
  };
210
214
  export default ImageBanner;