@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
@@ -5,19 +5,19 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-blog-box-tile {
8
+ .mfui-v6-blog-box-tile {
9
9
  position: relative;
10
10
  display: block;
11
11
  color: var(--content);
12
12
  text-decoration: none;
13
13
  }
14
- .mfui-blog-box-tile:hover {
14
+ .mfui-v6-blog-box-tile:hover {
15
15
  text-decoration: none;
16
16
  }
17
- .mfui-blog-box-tile:hover .mfui-blog-box-tile__title {
17
+ .mfui-v6-blog-box-tile:hover .mfui-v6-blog-box-tile__title {
18
18
  color: var(--brandGreen);
19
19
  }
20
- .mfui-blog-box-tile__image {
20
+ .mfui-v6-blog-box-tile__image {
21
21
  width: 100%;
22
22
  height: 100%;
23
23
  border-radius: 24px;
@@ -25,14 +25,14 @@ h5 {
25
25
  object-fit: cover;
26
26
  vertical-align: top;
27
27
  }
28
- .mfui-blog-box-tile__picture {
28
+ .mfui-v6-blog-box-tile__picture {
29
29
  display: block;
30
30
  }
31
- .mfui-blog-box-tile__date {
31
+ .mfui-v6-blog-box-tile__date {
32
32
  margin-bottom: 4px;
33
33
  color: var(--spbSky3);
34
34
  }
35
- .mfui-blog-box-tile__title {
35
+ .mfui-v6-blog-box-tile__title {
36
36
  /* stylelint-disable-next-line value-no-vendor-prefix */
37
37
  display: -webkit-box;
38
38
  overflow: hidden;
@@ -43,70 +43,70 @@ h5 {
43
43
  -webkit-transition: color 0.3s;
44
44
  transition: color 0.3s;
45
45
  }
46
- .mfui-blog-box-tile_view_thumbnail {
46
+ .mfui-v6-blog-box-tile_view_thumbnail {
47
47
  display: -webkit-box;
48
48
  display: -ms-flexbox;
49
49
  display: flex;
50
50
  gap: 20px;
51
51
  }
52
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__picture {
52
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__picture {
53
53
  -ms-flex-negative: 0;
54
54
  flex-shrink: 0;
55
55
  width: 133px;
56
56
  height: 102px;
57
57
  }
58
58
  @media screen and (min-width: 1280px) {
59
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__picture {
59
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__picture {
60
60
  width: 170px;
61
61
  height: 130px;
62
62
  }
63
63
  }
64
64
  @media screen and (min-width: 1440px) {
65
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__picture {
65
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__picture {
66
66
  width: 233px;
67
67
  height: 170px;
68
68
  }
69
69
  }
70
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__content {
70
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__content {
71
71
  -ms-flex-item-align: center;
72
72
  align-self: center;
73
73
  }
74
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__date {
74
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__date {
75
75
  font-size: 12px;
76
76
  line-height: 18px;
77
77
  }
78
78
  @media screen and (min-width: 1280px) {
79
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__date {
79
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__date {
80
80
  font-size: 15px;
81
81
  line-height: 24px;
82
82
  }
83
83
  }
84
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__title {
84
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__title {
85
85
  font-weight: 500;
86
86
  font-size: 18px;
87
87
  line-height: 24px;
88
88
  letter-spacing: 0.5px;
89
89
  }
90
90
  @media screen and (min-width: 1280px) {
91
- .mfui-blog-box-tile_view_thumbnail .mfui-blog-box-tile__title {
91
+ .mfui-v6-blog-box-tile_view_thumbnail .mfui-v6-blog-box-tile__title {
92
92
  font-size: 20px;
93
93
  line-height: 28px;
94
94
  }
95
95
  }
96
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__picture {
96
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__picture {
97
97
  height: 358px;
98
98
  }
99
99
  @media screen and (min-width: 1280px) {
100
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__picture {
100
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__picture {
101
101
  height: 438px;
102
102
  }
103
103
  }
104
104
  @media screen and (min-width: 1440px) {
105
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__picture {
105
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__picture {
106
106
  height: 558px;
107
107
  }
108
108
  }
109
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__content {
109
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__content {
110
110
  position: absolute;
111
111
  right: 8px;
112
112
  bottom: 8px;
@@ -116,65 +116,65 @@ h5 {
116
116
  background-color: var(--base);
117
117
  }
118
118
  @media screen and (min-width: 768px) and (max-width: 1023px) {
119
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__content {
119
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__content {
120
120
  padding: 24px;
121
121
  }
122
122
  }
123
123
  @media screen and (min-width: 768px) {
124
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__content {
124
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__content {
125
125
  right: 12px;
126
126
  bottom: 12px;
127
127
  left: 12px;
128
128
  }
129
129
  }
130
130
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
131
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__content {
131
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__content {
132
132
  padding: 16px;
133
133
  }
134
134
  }
135
135
  @media screen and (min-width: 1280px) {
136
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__content {
136
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__content {
137
137
  padding: 24px;
138
138
  }
139
139
  }
140
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__title {
140
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__title {
141
141
  font-weight: 600;
142
142
  font-size: 22px;
143
143
  line-height: 28px;
144
144
  letter-spacing: 0.5px;
145
145
  }
146
146
  @media screen and (min-width: 768px) and (max-width: 1023px) {
147
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__title {
147
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__title {
148
148
  font-size: 26px;
149
149
  line-height: 32px;
150
150
  }
151
151
  }
152
152
  @media screen and (min-width: 1024px) {
153
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__title {
153
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__title {
154
154
  font-size: 28px;
155
155
  line-height: 36px;
156
156
  }
157
157
  }
158
158
  @media screen and (min-width: 1280px) {
159
- .mfui-blog-box-tile_view_full .mfui-blog-box-tile__title {
159
+ .mfui-v6-blog-box-tile_view_full .mfui-v6-blog-box-tile__title {
160
160
  font-size: 32px;
161
161
  line-height: 40px;
162
162
  }
163
163
  }
164
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__picture {
164
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__picture {
165
165
  height: 233px;
166
166
  }
167
167
  @media screen and (min-width: 1280px) {
168
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__picture {
168
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__picture {
169
169
  height: 288px;
170
170
  }
171
171
  }
172
172
  @media screen and (min-width: 1440px) {
173
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__picture {
173
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__picture {
174
174
  height: 367px;
175
175
  }
176
176
  }
177
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__content {
177
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__content {
178
178
  position: absolute;
179
179
  right: 12px;
180
180
  bottom: 12px;
@@ -183,14 +183,14 @@ h5 {
183
183
  border-radius: 24px;
184
184
  background-color: var(--base);
185
185
  }
186
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__title {
186
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__title {
187
187
  font-weight: 500;
188
188
  font-size: 18px;
189
189
  line-height: 24px;
190
190
  letter-spacing: 0.5px;
191
191
  }
192
192
  @media screen and (min-width: 1280px) {
193
- .mfui-blog-box-tile_view_compact .mfui-blog-box-tile__title {
193
+ .mfui-v6-blog-box-tile_view_compact .mfui-v6-blog-box-tile__title {
194
194
  font-size: 20px;
195
195
  line-height: 28px;
196
196
  }
@@ -3,7 +3,7 @@ import { breakpoints, cnCreate } from '@megafon/ui-helpers';
3
3
  import { setRelAttribute } from "../../../helpers/setRelAttribute";
4
4
  import useResolutions from "../../../hooks/useResolutions";
5
5
  import "./BlogBoxTile.css";
6
- var cn = cnCreate('mfui-blog-box-tile');
6
+ var cn = cnCreate('mfui-v6-blog-box-tile');
7
7
 
8
8
  var BlogBoxTile = function BlogBoxTile(_ref) {
9
9
  var date = _ref.date,
@@ -5,39 +5,42 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-breadcrumbs {
8
+ .mfui-v6-breadcrumbs {
9
9
  display: -webkit-box;
10
10
  display: -ms-flexbox;
11
11
  display: flex;
12
12
  -ms-flex-wrap: wrap;
13
13
  flex-wrap: wrap;
14
14
  }
15
- .mfui-breadcrumbs_color_default .mfui-breadcrumbs__item:before {
15
+ .mfui-v6-breadcrumbs_color_default .mfui-v6-breadcrumbs__item:before {
16
16
  color: var(--content);
17
17
  }
18
- .mfui-breadcrumbs_color_black .mfui-breadcrumbs__item:before {
18
+ .mfui-v6-breadcrumbs_color_black .mfui-v6-breadcrumbs__item:before {
19
19
  color: var(--stcBlack);
20
20
  }
21
- .mfui-breadcrumbs_color_white .mfui-breadcrumbs__item:before {
21
+ .mfui-v6-breadcrumbs_color_white .mfui-v6-breadcrumbs__item:before {
22
22
  color: var(--stcWhite);
23
23
  }
24
- .mfui-breadcrumbs__item {
24
+ .mfui-v6-breadcrumbs_margin-top {
25
+ margin-top: 24px;
26
+ }
27
+ .mfui-v6-breadcrumbs__item {
25
28
  position: relative;
26
29
  margin-right: 10px;
27
30
  padding-left: 26px;
28
31
  }
29
- .mfui-breadcrumbs__item:before {
32
+ .mfui-v6-breadcrumbs__item:before {
30
33
  content: '→';
31
34
  position: absolute;
32
35
  top: -1px;
33
36
  left: 0;
34
37
  }
35
- .mfui-breadcrumbs__item:first-child {
38
+ .mfui-v6-breadcrumbs__item:first-child {
36
39
  padding-left: 0;
37
40
  }
38
- .mfui-breadcrumbs__item:first-child:before {
41
+ .mfui-v6-breadcrumbs__item:first-child:before {
39
42
  display: none;
40
43
  }
41
- .mfui-breadcrumbs__item:last-child {
44
+ .mfui-v6-breadcrumbs__item:last-child {
42
45
  pointer-events: none;
43
46
  }
@@ -16,6 +16,10 @@ export declare type Props = {
16
16
  color?: TextColorType;
17
17
  /** Включить микроразметку */
18
18
  hasMicrodata?: boolean;
19
+ /** Отключить на разрешении < 768 px */
20
+ disabledOnMobile?: boolean;
21
+ /** Отступ сверху */
22
+ hasMarginTop?: boolean;
19
23
  /** Дополнительные классы для корневого и внутренних элементов */
20
24
  classes?: {
21
25
  item?: string;
@@ -5,6 +5,7 @@ import "core-js/modules/es.object.values.js";
5
5
  import React from 'react';
6
6
  import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
7
7
  import PropTypes from 'prop-types';
8
+ import useResolutions from "../../hooks/useResolutions";
8
9
  import BreadcrumbsItem, { TextColor } from "./components/BreadcrumbsItem";
9
10
  import "./Breadcrumbs.css";
10
11
 
@@ -12,7 +13,7 @@ var isObjectElement = function isObjectElement(item) {
12
13
  return ! /*#__PURE__*/React.isValidElement(item);
13
14
  };
14
15
 
15
- var cn = cnCreate('mfui-breadcrumbs');
16
+ var cn = cnCreate('mfui-v6-breadcrumbs');
16
17
 
17
18
  var Breadcrumbs = function Breadcrumbs(_ref) {
18
19
  var items = _ref.items,
@@ -23,10 +24,23 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
23
24
  classes = _ref$classes === void 0 ? {} : _ref$classes,
24
25
  dataAttrs = _ref.dataAttrs,
25
26
  _ref$hasMicrodata = _ref.hasMicrodata,
26
- hasMicrodata = _ref$hasMicrodata === void 0 ? false : _ref$hasMicrodata;
27
+ hasMicrodata = _ref$hasMicrodata === void 0 ? false : _ref$hasMicrodata,
28
+ _ref$disabledOnMobile = _ref.disabledOnMobile,
29
+ disabledOnMobile = _ref$disabledOnMobile === void 0 ? false : _ref$disabledOnMobile,
30
+ _ref$hasMarginTop = _ref.hasMarginTop,
31
+ hasMarginTop = _ref$hasMarginTop === void 0 ? false : _ref$hasMarginTop;
32
+
33
+ var _useResolutions = useResolutions(),
34
+ isMobile = _useResolutions.isMobile;
35
+
36
+ if (isMobile && disabledOnMobile) {
37
+ return null;
38
+ }
39
+
27
40
  return /*#__PURE__*/React.createElement("div", _extends({
28
41
  className: cn({
29
- color: color
42
+ color: color,
43
+ 'margin-top': hasMarginTop
30
44
  }, className)
31
45
  }, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), hasMicrodata && {
32
46
  itemScope: true,
@@ -79,6 +93,7 @@ Breadcrumbs.propTypes = {
79
93
  href: PropTypes.string
80
94
  }).isRequired)]).isRequired,
81
95
  color: PropTypes.oneOf(Object.values(TextColor)),
82
- hasMicrodata: PropTypes.bool
96
+ hasMicrodata: PropTypes.bool,
97
+ disabledOnMobile: PropTypes.bool
83
98
  };
84
99
  export default Breadcrumbs;
@@ -5,12 +5,12 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-breadcrumbs-item_color_default {
8
+ .mfui-v6-breadcrumbs-item_color_default {
9
9
  color: var(--content);
10
10
  }
11
- .mfui-breadcrumbs-item_color_black {
11
+ .mfui-v6-breadcrumbs-item_color_black {
12
12
  color: var(--stcBlack);
13
13
  }
14
- .mfui-breadcrumbs-item_color_white {
14
+ .mfui-v6-breadcrumbs-item_color_white {
15
15
  color: var(--stcWhite);
16
16
  }
@@ -11,7 +11,7 @@ export var TextColor = {
11
11
  BLACK: 'black',
12
12
  WHITE: 'white'
13
13
  };
14
- var cn = cnCreate('mfui-breadcrumbs-item');
14
+ var cn = cnCreate('mfui-v6-breadcrumbs-item');
15
15
 
16
16
  var BreadcrumbsItem = function BreadcrumbsItem(_ref) {
17
17
  var title = _ref.title,
@@ -5,18 +5,18 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-button-banner {
8
+ .mfui-v6-button-banner {
9
9
  position: relative;
10
10
  border: 1px solid var(--spbSky2);
11
11
  background-color: var(--base);
12
12
  border-radius: 0 12px 12px 0;
13
13
  }
14
14
  @media screen and (max-width: 767px) {
15
- .mfui-button-banner {
15
+ .mfui-v6-button-banner {
16
16
  border-radius: 0 0 12px 12px;
17
17
  }
18
18
  }
19
- .mfui-button-banner:before {
19
+ .mfui-v6-button-banner:before {
20
20
  content: '';
21
21
  position: absolute;
22
22
  top: 0;
@@ -27,44 +27,44 @@ h5 {
27
27
  border-radius: 0 12px 12px 0;
28
28
  }
29
29
  @media screen and (max-width: 767px) {
30
- .mfui-button-banner:before {
30
+ .mfui-v6-button-banner:before {
31
31
  border-radius: 0 0 12px 12px;
32
32
  }
33
33
  }
34
34
  @media screen and (max-width: 767px) {
35
- .mfui-button-banner:before {
35
+ .mfui-v6-button-banner:before {
36
36
  right: 0;
37
37
  bottom: auto;
38
38
  width: auto;
39
39
  height: 12px;
40
40
  }
41
41
  }
42
- .mfui-button-banner__content {
42
+ .mfui-v6-button-banner__content {
43
43
  -webkit-box-sizing: border-box;
44
44
  box-sizing: border-box;
45
45
  }
46
46
  @media screen and (max-width: 767px) {
47
- .mfui-button-banner__content {
47
+ .mfui-v6-button-banner__content {
48
48
  padding: 36px 16px 32px;
49
49
  text-align: center;
50
50
  }
51
51
  }
52
52
  @media screen and (min-width: 768px) and (max-width: 1023px) {
53
- .mfui-button-banner__content {
53
+ .mfui-v6-button-banner__content {
54
54
  padding: 32px 0;
55
55
  }
56
56
  }
57
57
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
58
- .mfui-button-banner__content {
58
+ .mfui-v6-button-banner__content {
59
59
  padding: 40px 0;
60
60
  }
61
61
  }
62
62
  @media screen and (min-width: 1280px) {
63
- .mfui-button-banner__content {
63
+ .mfui-v6-button-banner__content {
64
64
  padding: 48px 0;
65
65
  }
66
66
  }
67
- .mfui-button-banner__media {
67
+ .mfui-v6-button-banner__media {
68
68
  display: -webkit-box;
69
69
  display: -ms-flexbox;
70
70
  display: flex;
@@ -82,41 +82,41 @@ h5 {
82
82
  border-radius: 0 12px 12px 0;
83
83
  }
84
84
  @media screen and (max-width: 767px) {
85
- .mfui-button-banner__media {
85
+ .mfui-v6-button-banner__media {
86
86
  border-radius: 0 0 12px 12px;
87
87
  }
88
88
  }
89
89
  @media screen and (max-width: 767px) {
90
- .mfui-button-banner__media {
90
+ .mfui-v6-button-banner__media {
91
91
  height: auto;
92
92
  padding: 0 16px 24px;
93
93
  }
94
94
  }
95
- .mfui-button-banner_scaling_cover .mfui-button-banner__media {
95
+ .mfui-v6-button-banner_scaling_cover .mfui-v6-button-banner__media {
96
96
  background-size: cover;
97
97
  }
98
- .mfui-button-banner_scaling_contain .mfui-button-banner__media {
98
+ .mfui-v6-button-banner_scaling_contain .mfui-v6-button-banner__media {
99
99
  background-size: contain;
100
100
  }
101
- .mfui-button-banner__header {
101
+ .mfui-v6-button-banner__header {
102
102
  margin-bottom: 16px;
103
103
  }
104
- .mfui-button-banner__button {
104
+ .mfui-v6-button-banner__button {
105
105
  max-width: 100%;
106
106
  }
107
- .mfui-button-banner__text {
107
+ .mfui-v6-button-banner__text {
108
108
  font-size: 15px;
109
109
  line-height: 24px;
110
110
  font-weight: 400;
111
111
  }
112
- .mfui-button-banner_image .mfui-button-banner__media {
112
+ .mfui-v6-button-banner_image .mfui-v6-button-banner__media {
113
113
  padding: 0;
114
114
  }
115
115
  @media screen and (max-width: 767px) {
116
- .mfui-button-banner_image .mfui-button-banner__media {
116
+ .mfui-v6-button-banner_image .mfui-v6-button-banner__media {
117
117
  height: 222px;
118
118
  }
119
119
  }
120
- .mfui-button-banner_image .mfui-button-banner__text {
120
+ .mfui-v6-button-banner_image .mfui-v6-button-banner__text {
121
121
  margin-bottom: 32px;
122
122
  }
@@ -28,7 +28,7 @@ var getMediaStyle = function getMediaStyle(imageUrl) {
28
28
  } : undefined;
29
29
  };
30
30
 
31
- var cn = cnCreate('mfui-button-banner');
31
+ var cn = cnCreate('mfui-v6-button-banner');
32
32
  var testIdPrefix = 'ButtonBanner';
33
33
 
34
34
  var ButtonBanner = function ButtonBanner(_ref) {
@@ -5,15 +5,15 @@ h4,
5
5
  h5 {
6
6
  margin: 0;
7
7
  }
8
- .mfui-button-link-box {
8
+ .mfui-v6-button-link-box {
9
9
  font-family: inherit;
10
10
  font-size: 15px;
11
11
  line-height: 24px;
12
12
  font-weight: 400;
13
13
  }
14
- .mfui-button-link-box__row:not(:last-child) {
14
+ .mfui-v6-button-link-box__row:not(:last-child) {
15
15
  margin-bottom: 32px;
16
16
  }
17
- .mfui-button-link-box_h-align_center {
17
+ .mfui-v6-button-link-box_h-align_center {
18
18
  text-align: center;
19
19
  }
@@ -5,7 +5,7 @@ import { Button, TextLink } from '@megafon/ui-core';
5
5
  import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
6
6
  import * as PropTypes from 'prop-types';
7
7
  import "./ButtonLinkBox.css";
8
- var cn = cnCreate('mfui-button-link-box');
8
+ var cn = cnCreate('mfui-v6-button-link-box');
9
9
 
10
10
  var ButtonLinkBox = function ButtonLinkBox(_ref) {
11
11
  var dataAttrs = _ref.dataAttrs,