@megafon/ui-shared 6.5.0 → 6.6.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.
- package/CHANGELOG.md +22 -3
- package/dist/es/components/AccordionBox/AccordionBox.css +2 -2
- package/dist/es/components/AccordionBox/AccordionBox.js +1 -1
- package/dist/es/components/AudioPlayer/AudioPlayer.js +1 -1
- package/dist/es/components/AudioPlayer/AudioProgress.js +1 -1
- package/dist/es/components/AudioPlayer/AudioRange.js +1 -1
- package/dist/es/components/AudioPlayer/AudioVolume.js +1 -1
- package/dist/es/components/AudioPlayer/style/AudioPlayer.css +10 -10
- package/dist/es/components/AudioPlayer/style/AudioProgress.css +5 -5
- package/dist/es/components/AudioPlayer/style/AudioRange.css +8 -8
- package/dist/es/components/AudioPlayer/style/AudioVolume.css +7 -7
- package/dist/es/components/BannerBox/BannerBox.js +1 -1
- package/dist/es/components/BenefitsIcons/BenefitsIcons.js +1 -1
- package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +1 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +9 -9
- package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +24 -24
- package/dist/es/components/BenefitsPictures/BenefitsPictures.js +1 -1
- package/dist/es/components/BenefitsPictures/BenfitsPictures.css +9 -9
- package/dist/es/components/BlogBox/BlogBox.css +17 -17
- package/dist/es/components/BlogBox/BlogBox.js +1 -1
- package/dist/es/components/BlogBox/components/BlogBoxTile.css +34 -34
- package/dist/es/components/BlogBox/components/BlogBoxTile.js +1 -1
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +9 -9
- package/dist/es/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.css +3 -3
- package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +1 -1
- package/dist/es/components/ButtonBanner/ButtonBanner.css +21 -21
- package/dist/es/components/ButtonBanner/ButtonBanner.js +1 -1
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.css +3 -3
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +1 -1
- package/dist/es/components/Card/Card.css +60 -60
- package/dist/es/components/Card/Card.js +1 -1
- package/dist/es/components/CardsBox/CardsBox.js +1 -1
- package/dist/es/components/CarouselBox/CarouselBox.js +1 -1
- package/dist/es/components/Container/Container.css +1324 -1324
- package/dist/es/components/Container/Container.js +1 -1
- package/dist/es/components/DarkGradientCards/DarkGradientCards.css +2 -2
- package/dist/es/components/DarkGradientCards/DarkGradientCards.js +1 -1
- package/dist/es/components/DarkGradientCards/components/DarkGradientCard.css +27 -27
- package/dist/es/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
- package/dist/es/components/DownloadLinks/DownloadLink.css +5 -5
- package/dist/es/components/DownloadLinks/DownloadLink.js +1 -1
- package/dist/es/components/DownloadLinks/DownloadLinks.css +7 -7
- package/dist/es/components/DownloadLinks/DownloadLinks.js +1 -1
- package/dist/es/components/ImageBanner/ImageBanner.css +41 -41
- package/dist/es/components/ImageBanner/ImageBanner.js +1 -1
- package/dist/es/components/InfoCards/InfoCards.css +14 -14
- package/dist/es/components/InfoCards/InfoCards.js +1 -1
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +43 -43
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +1 -1
- package/dist/es/components/Instructions/Instructions.css +140 -140
- package/dist/es/components/Instructions/Instructions.js +1 -1
- package/dist/es/components/NotificationBox/NotificationBox.js +1 -1
- package/dist/es/components/NotificationBox/style/NotificationBox.css +5 -5
- package/dist/es/components/PageTitle/PageTitle.css +15 -15
- package/dist/es/components/PageTitle/PageTitle.js +1 -1
- package/dist/es/components/Partners/Partners.css +8 -8
- package/dist/es/components/Partners/Partners.js +1 -1
- package/dist/es/components/PictureWithDescription/PictureWithDescription.css +12 -12
- package/dist/es/components/PictureWithDescription/PictureWithDescription.js +1 -1
- package/dist/es/components/Property/Property.css +28 -28
- package/dist/es/components/Property/Property.js +1 -1
- package/dist/es/components/Property/PropertyDescription.css +2 -2
- package/dist/es/components/Property/PropertyDescription.js +1 -1
- package/dist/es/components/SidePictureCards/SidePictureCards.js +1 -1
- package/dist/es/components/SidePictureCards/components/SidePictureCard.css +25 -25
- package/dist/es/components/SidePictureCards/components/SidePictureCard.js +1 -1
- package/dist/es/components/Steps/Steps.css +8 -8
- package/dist/es/components/Steps/Steps.js +1 -1
- package/dist/es/components/Steps/StepsItem.css +4 -4
- package/dist/es/components/Steps/StepsItem.js +1 -1
- package/dist/es/components/StoreBanner/StoreBanner.css +67 -67
- package/dist/es/components/StoreBanner/StoreBanner.js +1 -1
- package/dist/es/components/StoreButton/StoreButton.css +121 -121
- package/dist/es/components/StoreButton/StoreButton.js +1 -1
- package/dist/es/components/Table/Table.css +27 -27
- package/dist/es/components/Table/Table.js +1 -1
- package/dist/es/components/TabsBox/TabsBox.js +1 -1
- package/dist/es/components/TextBox/TextBox.css +6 -6
- package/dist/es/components/TextBox/TextBox.js +1 -1
- package/dist/es/components/TextBox/TextBoxPicture.css +6 -6
- package/dist/es/components/TextBox/TextBoxPicture.js +1 -1
- package/dist/es/components/TextWithIcon/TextWithIcon.css +1 -1
- package/dist/es/components/TextWithIcon/TextWithIcon.js +1 -1
- package/dist/es/components/TextWithIcon/TextWithIconItem.css +5 -5
- package/dist/es/components/TextWithIcon/TextWithIconItem.js +1 -1
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +7 -7
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +1 -1
- package/dist/es/components/VideoBanner/VideoBanner.css +44 -44
- package/dist/es/components/VideoBanner/VideoBanner.js +1 -1
- package/dist/es/components/VideoBlock/VideoBlock.css +18 -18
- package/dist/es/components/VideoBlock/VideoBlock.js +1 -1
- package/dist/es/helpers/getColumnConfig.d.ts +1 -1
- package/dist/lib/components/AccordionBox/AccordionBox.css +2 -2
- package/dist/lib/components/AccordionBox/AccordionBox.js +1 -1
- package/dist/lib/components/AudioPlayer/AudioPlayer.js +1 -1
- package/dist/lib/components/AudioPlayer/AudioProgress.js +1 -1
- package/dist/lib/components/AudioPlayer/AudioRange.js +1 -1
- package/dist/lib/components/AudioPlayer/AudioVolume.js +1 -1
- package/dist/lib/components/AudioPlayer/style/AudioPlayer.css +10 -10
- package/dist/lib/components/AudioPlayer/style/AudioProgress.css +5 -5
- package/dist/lib/components/AudioPlayer/style/AudioRange.css +8 -8
- package/dist/lib/components/AudioPlayer/style/AudioVolume.css +7 -7
- package/dist/lib/components/BannerBox/BannerBox.js +1 -1
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +1 -1
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +1 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +9 -9
- package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +24 -24
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +1 -1
- package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +9 -9
- package/dist/lib/components/BlogBox/BlogBox.css +17 -17
- package/dist/lib/components/BlogBox/BlogBox.js +1 -1
- package/dist/lib/components/BlogBox/components/BlogBoxTile.css +34 -34
- package/dist/lib/components/BlogBox/components/BlogBoxTile.js +1 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +9 -9
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.css +3 -3
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +1 -1
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +21 -21
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +1 -1
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.css +3 -3
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +1 -1
- package/dist/lib/components/Card/Card.css +60 -60
- package/dist/lib/components/Card/Card.js +1 -1
- package/dist/lib/components/CardsBox/CardsBox.js +1 -1
- package/dist/lib/components/CarouselBox/CarouselBox.js +1 -1
- package/dist/lib/components/Container/Container.css +1324 -1324
- package/dist/lib/components/Container/Container.js +1 -1
- package/dist/lib/components/DarkGradientCards/DarkGradientCards.css +2 -2
- package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +1 -1
- package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.css +27 -27
- package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
- package/dist/lib/components/DownloadLinks/DownloadLink.css +5 -5
- package/dist/lib/components/DownloadLinks/DownloadLink.js +1 -1
- package/dist/lib/components/DownloadLinks/DownloadLinks.css +7 -7
- package/dist/lib/components/DownloadLinks/DownloadLinks.js +1 -1
- package/dist/lib/components/ImageBanner/ImageBanner.css +41 -41
- package/dist/lib/components/ImageBanner/ImageBanner.js +1 -1
- package/dist/lib/components/InfoCards/InfoCards.css +14 -14
- package/dist/lib/components/InfoCards/InfoCards.js +1 -1
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +43 -43
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +1 -1
- package/dist/lib/components/Instructions/Instructions.css +140 -140
- package/dist/lib/components/Instructions/Instructions.js +1 -1
- package/dist/lib/components/NotificationBox/NotificationBox.js +1 -1
- package/dist/lib/components/NotificationBox/style/NotificationBox.css +5 -5
- package/dist/lib/components/PageTitle/PageTitle.css +15 -15
- package/dist/lib/components/PageTitle/PageTitle.js +1 -1
- package/dist/lib/components/Partners/Partners.css +8 -8
- package/dist/lib/components/Partners/Partners.js +1 -1
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +12 -12
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +1 -1
- package/dist/lib/components/Property/Property.css +28 -28
- package/dist/lib/components/Property/Property.js +1 -1
- package/dist/lib/components/Property/PropertyDescription.css +2 -2
- package/dist/lib/components/Property/PropertyDescription.js +1 -1
- package/dist/lib/components/SidePictureCards/SidePictureCards.js +1 -1
- package/dist/lib/components/SidePictureCards/components/SidePictureCard.css +25 -25
- package/dist/lib/components/SidePictureCards/components/SidePictureCard.js +1 -1
- package/dist/lib/components/Steps/Steps.css +8 -8
- package/dist/lib/components/Steps/Steps.js +1 -1
- package/dist/lib/components/Steps/StepsItem.css +4 -4
- package/dist/lib/components/Steps/StepsItem.js +1 -1
- package/dist/lib/components/StoreBanner/StoreBanner.css +67 -67
- package/dist/lib/components/StoreBanner/StoreBanner.js +1 -1
- package/dist/lib/components/StoreButton/StoreButton.css +121 -121
- package/dist/lib/components/StoreButton/StoreButton.js +1 -1
- package/dist/lib/components/Table/Table.css +27 -27
- package/dist/lib/components/Table/Table.js +1 -1
- package/dist/lib/components/TabsBox/TabsBox.js +1 -1
- package/dist/lib/components/TextBox/TextBox.css +6 -6
- package/dist/lib/components/TextBox/TextBox.js +1 -1
- package/dist/lib/components/TextBox/TextBoxPicture.css +6 -6
- package/dist/lib/components/TextBox/TextBoxPicture.js +1 -1
- package/dist/lib/components/TextWithIcon/TextWithIcon.css +1 -1
- package/dist/lib/components/TextWithIcon/TextWithIcon.js +1 -1
- package/dist/lib/components/TextWithIcon/TextWithIconItem.css +5 -5
- package/dist/lib/components/TextWithIcon/TextWithIconItem.js +1 -1
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +7 -7
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +1 -1
- package/dist/lib/components/VideoBanner/VideoBanner.css +44 -44
- package/dist/lib/components/VideoBanner/VideoBanner.js +1 -1
- package/dist/lib/components/VideoBlock/VideoBlock.css +18 -18
- package/dist/lib/components/VideoBlock/VideoBlock.js +1 -1
- package/dist/lib/helpers/getColumnConfig.d.ts +1 -1
- package/package.json +4 -4
@@ -5,21 +5,21 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-text-box__content :first-child {
|
8
|
+
.mfui-v6-text-box__content :first-child {
|
9
9
|
margin-top: 0 !important;
|
10
10
|
}
|
11
|
-
.mfui-text-box__content :last-child {
|
11
|
+
.mfui-v6-text-box__content :last-child {
|
12
12
|
margin-bottom: 0 !important;
|
13
13
|
}
|
14
|
-
.mfui-text-box_text-center {
|
14
|
+
.mfui-v6-text-box_text-center {
|
15
15
|
text-align: center;
|
16
16
|
}
|
17
|
-
.mfui-text-box .mfui-text-with-icon {
|
17
|
+
.mfui-v6-text-box .mfui-v6-text-with-icon {
|
18
18
|
margin: 24px 0;
|
19
19
|
}
|
20
|
-
.mfui-text-box .mfui-text-with-icon + .mfui-header {
|
20
|
+
.mfui-v6-text-box .mfui-v6-text-with-icon + .mfui-v6-header {
|
21
21
|
margin-top: 32px;
|
22
22
|
}
|
23
|
-
.mfui-text-box .mfui-text-box-picture + .mfui-text-with-icon {
|
23
|
+
.mfui-v6-text-box .mfui-v6-text-box-picture + .mfui-v6-text-with-icon {
|
24
24
|
margin: 32px 0 24px;
|
25
25
|
}
|
@@ -3,7 +3,7 @@ import { Grid, GridColumn } from '@megafon/ui-core';
|
|
3
3
|
import { cnCreate } from '@megafon/ui-helpers';
|
4
4
|
import * as PropTypes from 'prop-types';
|
5
5
|
import "./TextBox.css";
|
6
|
-
var cn = cnCreate('mfui-text-box');
|
6
|
+
var cn = cnCreate('mfui-v6-text-box');
|
7
7
|
|
8
8
|
var TextBox = function TextBox(_ref) {
|
9
9
|
var _ref$textCenter = _ref.textCenter,
|
@@ -5,23 +5,23 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-text-box-picture_margin_default {
|
8
|
+
.mfui-v6-text-box-picture_margin_default {
|
9
9
|
margin: 16px 0;
|
10
10
|
}
|
11
|
-
.mfui-text-box-picture_margin_big-top {
|
11
|
+
.mfui-v6-text-box-picture_margin_big-top {
|
12
12
|
margin: 24px 0 16px;
|
13
13
|
}
|
14
|
-
.mfui-text-box-picture_margin_big-bottom {
|
14
|
+
.mfui-v6-text-box-picture_margin_big-bottom {
|
15
15
|
margin: 16px 0 24px;
|
16
16
|
}
|
17
|
-
.mfui-text-box-picture_margin_big-vertical {
|
17
|
+
.mfui-v6-text-box-picture_margin_big-vertical {
|
18
18
|
margin: 24px 0;
|
19
19
|
}
|
20
|
-
.mfui-text-box-picture__img {
|
20
|
+
.mfui-v6-text-box-picture__img {
|
21
21
|
display: block;
|
22
22
|
max-width: 100%;
|
23
23
|
border: 1px solid var(--spbSky1);
|
24
24
|
}
|
25
|
-
.mfui-text-box-picture__img_no-border {
|
25
|
+
.mfui-v6-text-box-picture__img_no-border {
|
26
26
|
border: none;
|
27
27
|
}
|
@@ -8,7 +8,7 @@ export var pictureMarginTypes = {
|
|
8
8
|
BIG_BOTTOM: 'big-bottom',
|
9
9
|
BIG_VERTICAL: 'big-vertical'
|
10
10
|
};
|
11
|
-
var cn = cnCreate('mfui-text-box-picture');
|
11
|
+
var cn = cnCreate('mfui-v6-text-box-picture');
|
12
12
|
|
13
13
|
var TextBoxPicture = function TextBoxPicture(_ref) {
|
14
14
|
var url = _ref.url,
|
@@ -5,7 +5,7 @@ import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
|
|
5
5
|
import * as PropTypes from 'prop-types';
|
6
6
|
import "./TextWithIcon.css";
|
7
7
|
var testIdPrefix = 'TextWithIcon';
|
8
|
-
var cn = cnCreate('mfui-text-with-icon');
|
8
|
+
var cn = cnCreate('mfui-v6-text-with-icon');
|
9
9
|
|
10
10
|
var TextWithIcon = function TextWithIcon(_ref) {
|
11
11
|
var title = _ref.title,
|
@@ -5,7 +5,7 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-text-with-icon-item {
|
8
|
+
.mfui-v6-text-with-icon-item {
|
9
9
|
display: -webkit-box;
|
10
10
|
display: -ms-flexbox;
|
11
11
|
display: flex;
|
@@ -13,10 +13,10 @@ h5 {
|
|
13
13
|
-ms-flex-align: center;
|
14
14
|
align-items: center;
|
15
15
|
}
|
16
|
-
.mfui-text-with-icon-item:not(:first-of-type) {
|
16
|
+
.mfui-v6-text-with-icon-item:not(:first-of-type) {
|
17
17
|
margin-top: 12px;
|
18
18
|
}
|
19
|
-
.mfui-text-with-icon-item__svg-icon {
|
19
|
+
.mfui-v6-text-with-icon-item__svg-icon {
|
20
20
|
-webkit-box-sizing: border-box;
|
21
21
|
box-sizing: border-box;
|
22
22
|
width: 40px;
|
@@ -26,12 +26,12 @@ h5 {
|
|
26
26
|
margin-right: 12px;
|
27
27
|
overflow: hidden;
|
28
28
|
}
|
29
|
-
.mfui-text-with-icon-item_icon-background_stroke .mfui-text-with-icon-item__svg-icon {
|
29
|
+
.mfui-v6-text-with-icon-item_icon-background_stroke .mfui-v6-text-with-icon-item__svg-icon {
|
30
30
|
padding: 3px;
|
31
31
|
border: 1px solid var(--spbSky2);
|
32
32
|
border-radius: 50%;
|
33
33
|
}
|
34
|
-
.mfui-text-with-icon-item_icon-background_gray .mfui-text-with-icon-item__svg-icon {
|
34
|
+
.mfui-v6-text-with-icon-item_icon-background_gray .mfui-v6-text-with-icon-item__svg-icon {
|
35
35
|
padding: 4px;
|
36
36
|
border-radius: 50%;
|
37
37
|
background-color: var(--spbSky0);
|
@@ -6,7 +6,7 @@ import { cnCreate, convert, filterDataAttrs, textConvertConfig } from '@megafon/
|
|
6
6
|
import * as PropTypes from 'prop-types';
|
7
7
|
import "./TextWithIconItem.css";
|
8
8
|
var testIdPrefix = 'TextWithIconItem';
|
9
|
-
var cn = cnCreate('mfui-text-with-icon-item');
|
9
|
+
var cn = cnCreate('mfui-v6-text-with-icon-item');
|
10
10
|
|
11
11
|
var TextWithIconItem = function TextWithIconItem(_ref) {
|
12
12
|
var className = _ref.className,
|
@@ -5,27 +5,27 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-title-description-box {
|
8
|
+
.mfui-v6-title-description-box {
|
9
9
|
font-family: inherit;
|
10
10
|
color: var(--content);
|
11
11
|
}
|
12
|
-
.mfui-title-description-box__item_header {
|
12
|
+
.mfui-v6-title-description-box__item_header {
|
13
13
|
white-space: pre-wrap;
|
14
14
|
}
|
15
|
-
.mfui-title-description-box__item:not(:last-child) {
|
15
|
+
.mfui-v6-title-description-box__item:not(:last-child) {
|
16
16
|
margin-bottom: 16px;
|
17
17
|
}
|
18
|
-
.mfui-title-description-box_text-color_white {
|
18
|
+
.mfui-v6-title-description-box_text-color_white {
|
19
19
|
color: var(--stcWhite);
|
20
20
|
}
|
21
|
-
.mfui-title-description-box_h-align_center {
|
21
|
+
.mfui-v6-title-description-box_h-align_center {
|
22
22
|
text-align: center;
|
23
23
|
}
|
24
|
-
.mfui-title-description-box__description {
|
24
|
+
.mfui-v6-title-description-box__description {
|
25
25
|
font-size: 15px;
|
26
26
|
line-height: 24px;
|
27
27
|
font-weight: 400;
|
28
28
|
}
|
29
|
-
.mfui-title-description-box__description :last-child {
|
29
|
+
.mfui-v6-title-description-box__description :last-child {
|
30
30
|
margin-bottom: 0 !important;
|
31
31
|
}
|
@@ -7,7 +7,7 @@ import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
|
|
7
7
|
import * as PropTypes from 'prop-types';
|
8
8
|
import "./TitleDescriptionBox.css";
|
9
9
|
var testIdPrefix = 'TitleDescriptionBox';
|
10
|
-
var cn = cnCreate('mfui-title-description-box');
|
10
|
+
var cn = cnCreate('mfui-v6-title-description-box');
|
11
11
|
|
12
12
|
var TitleDescriptionBox = function TitleDescriptionBox(_ref) {
|
13
13
|
var dataAttrs = _ref.dataAttrs,
|
@@ -5,35 +5,35 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-video-banner {
|
8
|
+
.mfui-v6-video-banner {
|
9
9
|
position: relative;
|
10
10
|
overflow: hidden;
|
11
11
|
}
|
12
12
|
@media screen and (min-width: 1280px) {
|
13
|
-
.mfui-video-banner {
|
13
|
+
.mfui-v6-video-banner {
|
14
14
|
margin-right: -80px;
|
15
15
|
margin-left: -80px;
|
16
16
|
}
|
17
17
|
}
|
18
18
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
19
|
-
.mfui-video-banner {
|
19
|
+
.mfui-v6-video-banner {
|
20
20
|
margin-right: -64px;
|
21
21
|
margin-left: -64px;
|
22
22
|
}
|
23
23
|
}
|
24
24
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
25
|
-
.mfui-video-banner {
|
25
|
+
.mfui-v6-video-banner {
|
26
26
|
margin-right: -48px;
|
27
27
|
margin-left: -48px;
|
28
28
|
}
|
29
29
|
}
|
30
30
|
@media screen and (max-width: 767px) {
|
31
|
-
.mfui-video-banner {
|
31
|
+
.mfui-v6-video-banner {
|
32
32
|
margin-right: -16px;
|
33
33
|
margin-left: -16px;
|
34
34
|
}
|
35
35
|
}
|
36
|
-
.mfui-video-banner_bottom-shadow:after {
|
36
|
+
.mfui-v6-video-banner_bottom-shadow:after {
|
37
37
|
content: '';
|
38
38
|
position: absolute;
|
39
39
|
right: 0;
|
@@ -43,7 +43,7 @@ h5 {
|
|
43
43
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(95.25%, rgba(255, 255, 255, 0)), to(rgba(0, 0, 0, 0.024)));
|
44
44
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 95.25%, rgba(0, 0, 0, 0.024) 100%);
|
45
45
|
}
|
46
|
-
.mfui-video-banner__wrapper {
|
46
|
+
.mfui-v6-video-banner__wrapper {
|
47
47
|
display: -webkit-box;
|
48
48
|
display: -ms-flexbox;
|
49
49
|
display: flex;
|
@@ -53,119 +53,119 @@ h5 {
|
|
53
53
|
min-height: 400px;
|
54
54
|
}
|
55
55
|
@media screen and (min-width: 1440px) {
|
56
|
-
.mfui-video-banner__wrapper {
|
56
|
+
.mfui-v6-video-banner__wrapper {
|
57
57
|
height: 562px;
|
58
58
|
}
|
59
59
|
}
|
60
60
|
@media screen and (min-width: 1280px) and (max-width: 1439px) {
|
61
|
-
.mfui-video-banner__wrapper {
|
61
|
+
.mfui-v6-video-banner__wrapper {
|
62
62
|
height: 500px;
|
63
63
|
}
|
64
64
|
}
|
65
65
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
66
|
-
.mfui-video-banner__wrapper {
|
66
|
+
.mfui-v6-video-banner__wrapper {
|
67
67
|
max-height: 440px;
|
68
68
|
padding-top: 52px;
|
69
69
|
padding-bottom: 52px;
|
70
70
|
}
|
71
71
|
}
|
72
72
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
73
|
-
.mfui-video-banner__wrapper {
|
73
|
+
.mfui-v6-video-banner__wrapper {
|
74
74
|
max-height: 440px;
|
75
75
|
padding-top: 64px;
|
76
76
|
padding-bottom: 64px;
|
77
77
|
}
|
78
78
|
}
|
79
79
|
@media screen and (max-width: 767px) {
|
80
|
-
.mfui-video-banner__wrapper {
|
80
|
+
.mfui-v6-video-banner__wrapper {
|
81
81
|
max-height: 488px;
|
82
82
|
padding-top: 42px;
|
83
83
|
padding-bottom: 42px;
|
84
84
|
}
|
85
85
|
}
|
86
|
-
.mfui-video-banner__background-image,
|
87
|
-
.mfui-video-banner__video {
|
86
|
+
.mfui-v6-video-banner__background-image,
|
87
|
+
.mfui-v6-video-banner__video {
|
88
88
|
position: absolute;
|
89
89
|
top: 50%;
|
90
90
|
left: 50%;
|
91
91
|
-webkit-transform: translate(-50%, -50%);
|
92
92
|
transform: translate(-50%, -50%);
|
93
93
|
}
|
94
|
-
.mfui-video-banner__background-image {
|
94
|
+
.mfui-v6-video-banner__background-image {
|
95
95
|
width: 100%;
|
96
96
|
height: 100%;
|
97
97
|
-o-object-fit: cover;
|
98
98
|
object-fit: cover;
|
99
99
|
}
|
100
|
-
.mfui-video-banner__content {
|
100
|
+
.mfui-v6-video-banner__content {
|
101
101
|
position: relative;
|
102
102
|
-webkit-box-sizing: border-box;
|
103
103
|
box-sizing: border-box;
|
104
104
|
}
|
105
105
|
@media screen and (min-width: 1440px) {
|
106
|
-
.mfui-video-banner__content {
|
106
|
+
.mfui-v6-video-banner__content {
|
107
107
|
max-height: calc(562px - 2 * 70px);
|
108
108
|
}
|
109
109
|
}
|
110
110
|
@media screen and (min-width: 1280px) and (max-width: 1439px) {
|
111
|
-
.mfui-video-banner__content {
|
111
|
+
.mfui-v6-video-banner__content {
|
112
112
|
max-height: calc(500px - 2 * 70px);
|
113
113
|
}
|
114
114
|
}
|
115
115
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
116
|
-
.mfui-video-banner__content {
|
116
|
+
.mfui-v6-video-banner__content {
|
117
117
|
max-height: calc(440px - 2 * 52px);
|
118
118
|
}
|
119
119
|
}
|
120
120
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
121
|
-
.mfui-video-banner__content {
|
121
|
+
.mfui-v6-video-banner__content {
|
122
122
|
max-height: calc(440px - 2 * 64px);
|
123
123
|
}
|
124
124
|
}
|
125
125
|
@media screen and (max-width: 767px) {
|
126
|
-
.mfui-video-banner__content {
|
126
|
+
.mfui-v6-video-banner__content {
|
127
127
|
max-height: calc(488px - 2 * 42px);
|
128
128
|
}
|
129
129
|
}
|
130
|
-
.mfui-video-banner__content_text-color_black {
|
130
|
+
.mfui-v6-video-banner__content_text-color_black {
|
131
131
|
color: var(--stcBlack);
|
132
132
|
}
|
133
|
-
.mfui-video-banner__content_text-color_white {
|
133
|
+
.mfui-v6-video-banner__content_text-color_white {
|
134
134
|
color: var(--stcWhite);
|
135
135
|
}
|
136
136
|
@media screen and (max-width: 767px) {
|
137
|
-
.mfui-video-banner__content_text-color-mobile_black {
|
137
|
+
.mfui-v6-video-banner__content_text-color-mobile_black {
|
138
138
|
color: var(--stcBlack);
|
139
139
|
}
|
140
140
|
}
|
141
141
|
@media screen and (max-width: 767px) {
|
142
|
-
.mfui-video-banner__content_text-color-mobile_white {
|
142
|
+
.mfui-v6-video-banner__content_text-color-mobile_white {
|
143
143
|
color: var(--stcWhite);
|
144
144
|
}
|
145
145
|
}
|
146
|
-
.mfui-video-banner__description {
|
146
|
+
.mfui-v6-video-banner__description {
|
147
147
|
margin-bottom: 32px;
|
148
148
|
white-space: pre-wrap;
|
149
149
|
}
|
150
|
-
.mfui-video-banner__title {
|
150
|
+
.mfui-v6-video-banner__title {
|
151
151
|
margin-bottom: 24px;
|
152
152
|
}
|
153
153
|
@media screen and (max-width: 767px) {
|
154
|
-
.mfui-video-banner__title {
|
154
|
+
.mfui-v6-video-banner__title {
|
155
155
|
margin-bottom: 20px;
|
156
156
|
}
|
157
157
|
}
|
158
|
-
.mfui-video-banner__title,
|
159
|
-
.mfui-video-banner__text {
|
158
|
+
.mfui-v6-video-banner__title,
|
159
|
+
.mfui-v6-video-banner__text {
|
160
160
|
white-space: pre-wrap;
|
161
161
|
}
|
162
162
|
@media screen and (max-width: 767px) {
|
163
|
-
.mfui-video-banner__title,
|
164
|
-
.mfui-video-banner__text {
|
163
|
+
.mfui-v6-video-banner__title,
|
164
|
+
.mfui-v6-video-banner__text {
|
165
165
|
text-align: center;
|
166
166
|
}
|
167
167
|
}
|
168
|
-
.mfui-video-banner__btns-wrapper {
|
168
|
+
.mfui-v6-video-banner__btns-wrapper {
|
169
169
|
display: -webkit-box;
|
170
170
|
display: -ms-flexbox;
|
171
171
|
display: flex;
|
@@ -180,46 +180,46 @@ h5 {
|
|
180
180
|
margin: -24px -10px 0;
|
181
181
|
}
|
182
182
|
@media screen and (max-width: 767px) {
|
183
|
-
.mfui-video-banner__btns-wrapper {
|
183
|
+
.mfui-v6-video-banner__btns-wrapper {
|
184
184
|
-webkit-box-pack: center;
|
185
185
|
-ms-flex-pack: center;
|
186
186
|
justify-content: center;
|
187
187
|
}
|
188
188
|
}
|
189
189
|
@media screen and (max-width: 479px) {
|
190
|
-
.mfui-video-banner__btns-wrapper {
|
190
|
+
.mfui-v6-video-banner__btns-wrapper {
|
191
191
|
-webkit-box-orient: vertical;
|
192
192
|
-webkit-box-direction: normal;
|
193
193
|
-ms-flex-direction: column;
|
194
194
|
flex-direction: column;
|
195
195
|
}
|
196
196
|
}
|
197
|
-
.mfui-video-banner__link,
|
198
|
-
.mfui-video-banner__button {
|
197
|
+
.mfui-v6-video-banner__link,
|
198
|
+
.mfui-v6-video-banner__button {
|
199
199
|
margin: 24px 10px 0;
|
200
200
|
}
|
201
|
-
.mfui-video-banner__cost {
|
201
|
+
.mfui-v6-video-banner__cost {
|
202
202
|
font-size: 12px;
|
203
203
|
line-height: 18px;
|
204
204
|
margin-bottom: 18px;
|
205
205
|
}
|
206
|
-
.mfui-video-banner__value {
|
206
|
+
.mfui-v6-video-banner__value {
|
207
207
|
display: inline;
|
208
208
|
margin: 0 3px;
|
209
209
|
}
|
210
|
-
.mfui-video-banner__content,
|
211
|
-
.mfui-video-banner__breadcrumbs {
|
210
|
+
.mfui-v6-video-banner__content,
|
211
|
+
.mfui-v6-video-banner__breadcrumbs {
|
212
212
|
z-index: 1;
|
213
213
|
}
|
214
|
-
.mfui-video-banner__breadcrumbs {
|
214
|
+
.mfui-v6-video-banner__breadcrumbs {
|
215
215
|
position: absolute;
|
216
216
|
top: 32px;
|
217
217
|
}
|
218
218
|
@media screen and (max-width: 767px) {
|
219
|
-
.mfui-video-banner__breadcrumbs {
|
219
|
+
.mfui-v6-video-banner__breadcrumbs {
|
220
220
|
display: none;
|
221
221
|
}
|
222
222
|
}
|
223
|
-
.mfui-video-banner__grid {
|
223
|
+
.mfui-v6-video-banner__grid {
|
224
224
|
width: 100%;
|
225
225
|
}
|
@@ -14,7 +14,7 @@ import throttleTime from "../../constants/throttleTime";
|
|
14
14
|
import Breadcrumbs from "../Breadcrumbs/Breadcrumbs";
|
15
15
|
import "./VideoBanner.css";
|
16
16
|
export var testIdPrefix = 'VideoBanner';
|
17
|
-
var cn = cnCreate('mfui-video-banner');
|
17
|
+
var cn = cnCreate('mfui-v6-video-banner');
|
18
18
|
export var ClassName;
|
19
19
|
|
20
20
|
(function (ClassName) {
|
@@ -5,7 +5,7 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-video-block {
|
8
|
+
.mfui-v6-video-block {
|
9
9
|
display: -webkit-box;
|
10
10
|
display: -ms-flexbox;
|
11
11
|
display: flex;
|
@@ -13,7 +13,7 @@ h5 {
|
|
13
13
|
-ms-flex-align: center;
|
14
14
|
align-items: center;
|
15
15
|
}
|
16
|
-
.mfui-video-block__content {
|
16
|
+
.mfui-v6-video-block__content {
|
17
17
|
display: -webkit-box;
|
18
18
|
display: -ms-flexbox;
|
19
19
|
display: flex;
|
@@ -26,80 +26,80 @@ h5 {
|
|
26
26
|
justify-content: center;
|
27
27
|
}
|
28
28
|
@media screen and (max-width: 767px) {
|
29
|
-
.mfui-video-block__content {
|
29
|
+
.mfui-v6-video-block__content {
|
30
30
|
margin-top: 24px;
|
31
31
|
}
|
32
32
|
}
|
33
33
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
34
|
-
.mfui-video-block__content {
|
34
|
+
.mfui-v6-video-block__content {
|
35
35
|
margin-top: 32px;
|
36
36
|
}
|
37
37
|
}
|
38
38
|
@media screen and (min-width: 1024px) {
|
39
|
-
.mfui-video-block__content {
|
39
|
+
.mfui-v6-video-block__content {
|
40
40
|
height: 100%;
|
41
41
|
margin-right: 20px;
|
42
42
|
padding-right: 20px;
|
43
43
|
}
|
44
44
|
}
|
45
45
|
@media screen and (min-width: 1024px) {
|
46
|
-
.mfui-video-block__content_position-right {
|
46
|
+
.mfui-v6-video-block__content_position-right {
|
47
47
|
margin: 0 0 0 20px;
|
48
48
|
padding: 0 0 0 20px;
|
49
49
|
}
|
50
50
|
}
|
51
|
-
.mfui-video-block__header {
|
51
|
+
.mfui-v6-video-block__header {
|
52
52
|
margin-bottom: 24px;
|
53
53
|
}
|
54
54
|
@media screen and (max-width: 1023px) {
|
55
|
-
.mfui-video-block__header {
|
55
|
+
.mfui-v6-video-block__header {
|
56
56
|
margin-bottom: 16px;
|
57
57
|
}
|
58
58
|
}
|
59
|
-
.mfui-video-block__description {
|
59
|
+
.mfui-v6-video-block__description {
|
60
60
|
font-size: 15px;
|
61
61
|
line-height: 24px;
|
62
62
|
font-weight: 400;
|
63
63
|
}
|
64
|
-
.mfui-video-block__button {
|
64
|
+
.mfui-v6-video-block__button {
|
65
65
|
-ms-flex-item-align: start;
|
66
66
|
align-self: flex-start;
|
67
67
|
max-width: 100%;
|
68
68
|
margin-top: 32px;
|
69
69
|
}
|
70
70
|
@media screen and (max-width: 767px) {
|
71
|
-
.mfui-video-block__button {
|
71
|
+
.mfui-v6-video-block__button {
|
72
72
|
-ms-flex-item-align: center;
|
73
73
|
align-self: center;
|
74
74
|
}
|
75
75
|
}
|
76
|
-
.mfui-video-block__video {
|
76
|
+
.mfui-v6-video-block__video {
|
77
77
|
width: 100%;
|
78
78
|
-o-object-fit: contain;
|
79
79
|
object-fit: contain;
|
80
80
|
}
|
81
|
-
.mfui-video-block__video_fix-background {
|
81
|
+
.mfui-v6-video-block__video_fix-background {
|
82
82
|
-webkit-filter: brightness(108.5%);
|
83
83
|
filter: brightness(108.5%);
|
84
84
|
}
|
85
|
-
.mfui-video-block__youtube {
|
85
|
+
.mfui-v6-video-block__youtube {
|
86
86
|
position: relative;
|
87
87
|
padding-bottom: 56.25%;
|
88
88
|
}
|
89
|
-
.mfui-video-block__iframe {
|
89
|
+
.mfui-v6-video-block__iframe {
|
90
90
|
position: absolute;
|
91
91
|
top: 0;
|
92
92
|
left: 0;
|
93
93
|
}
|
94
|
-
.mfui-video-block__grid {
|
94
|
+
.mfui-v6-video-block__grid {
|
95
95
|
width: 100%;
|
96
96
|
}
|
97
|
-
.mfui-video-block__content-column_position-right {
|
97
|
+
.mfui-v6-video-block__content-column_position-right {
|
98
98
|
-webkit-box-ordinal-group: 3;
|
99
99
|
-ms-flex-order: 2;
|
100
100
|
order: 2;
|
101
101
|
}
|
102
|
-
.mfui-video-block__video-column_position-left {
|
102
|
+
.mfui-v6-video-block__video-column_position-left {
|
103
103
|
-webkit-box-ordinal-group: 2;
|
104
104
|
-ms-flex-order: 1;
|
105
105
|
order: 1;
|
@@ -13,7 +13,7 @@ export var VideoTypes = {
|
|
13
13
|
VIDEO: 'video'
|
14
14
|
};
|
15
15
|
export var testIdPrefix = 'VideoBlock';
|
16
|
-
var cn = cnCreate('mfui-video-block');
|
16
|
+
var cn = cnCreate('mfui-v6-video-block');
|
17
17
|
|
18
18
|
var VideoBlock = function VideoBlock(_ref) {
|
19
19
|
var dataAttrs = _ref.dataAttrs,
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
export declare const getColumnConfig: (isFullWidth: boolean) => Pick<React.PropsWithChildren<import("
|
2
|
+
export declare const getColumnConfig: (isFullWidth: boolean) => Pick<React.PropsWithChildren<import("../../../ui-core/dist/lib/components/Grid/GridColumn").IGridColumn>, "all" | "wide" | "mobile" | "desktop" | "tablet">;
|
@@ -5,11 +5,11 @@ h4,
|
|
5
5
|
h5 {
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
|
-
.mfui-accordion-box + .mfui-accordion-box {
|
8
|
+
.mfui-v6-accordion-box + .mfui-v6-accordion-box {
|
9
9
|
margin-top: 8px;
|
10
10
|
}
|
11
11
|
@media screen and (min-width: 768px) {
|
12
|
-
.mfui-accordion-box + .mfui-accordion-box {
|
12
|
+
.mfui-v6-accordion-box + .mfui-v6-accordion-box {
|
13
13
|
margin-top: 12px;
|
14
14
|
}
|
15
15
|
}
|
@@ -43,7 +43,7 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
43
43
|
};
|
44
44
|
|
45
45
|
var testIdPrefix = 'AccordionBox';
|
46
|
-
var cn = (0, _uiHelpers.cnCreate)('mfui-accordion-box');
|
46
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-accordion-box');
|
47
47
|
|
48
48
|
var AccordionBox = function AccordionBox(_a) {
|
49
49
|
var _a$hCenterAlignWide = _a.hCenterAlignWide,
|
@@ -37,7 +37,7 @@ var IconPlay = function IconPlay(props) {
|
|
37
37
|
}));
|
38
38
|
};
|
39
39
|
|
40
|
-
var cn = (0, _uiHelpers.cnCreate)('mfui-audio-player');
|
40
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-audio-player');
|
41
41
|
|
42
42
|
var AudioPlayer = function AudioPlayer(_ref) {
|
43
43
|
var audioSrc = _ref.audioSrc,
|
@@ -25,7 +25,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
25
25
|
|
26
26
|
var INTERVAL_DELAY = 1000;
|
27
27
|
exports.INTERVAL_DELAY = INTERVAL_DELAY;
|
28
|
-
var cn = (0, _uiHelpers.cnCreate)('mfui-audio-progress');
|
28
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-audio-progress');
|
29
29
|
|
30
30
|
var AudioProgress = function AudioProgress(_ref) {
|
31
31
|
var audioRef = _ref.audioRef,
|
@@ -13,7 +13,7 @@ var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
13
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
15
15
|
|
16
|
-
var cn = (0, _uiHelpers.cnCreate)('mfui-audio-range');
|
16
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-audio-range');
|
17
17
|
|
18
18
|
var AudioRange = function AudioRange(_ref) {
|
19
19
|
var className = _ref.className,
|
@@ -41,7 +41,7 @@ var VolumeIcon = function VolumeIcon(props) {
|
|
41
41
|
}));
|
42
42
|
};
|
43
43
|
|
44
|
-
var cn = (0, _uiHelpers.cnCreate)('mfui-audio-volume');
|
44
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-v6-audio-volume');
|
45
45
|
|
46
46
|
var AudioVolume = function AudioVolume(_ref) {
|
47
47
|
var onChangeAudioVolume = _ref.onChangeAudioVolume;
|