@megafon/ui-shared 8.14.4 → 8.15.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/dist/es/components/ImageBanner/ImageBanner.css +1 -1
- package/dist/es/components/ImageBanner/ImageBanner.d.ts +23 -0
- package/dist/es/components/ImageBanner/ImageBanner.js +35 -5
- package/dist/lib/components/AccordionBox/AccordionBox.js +2 -3
- package/dist/lib/components/AudioPlayer/AudioPlayer.js +2 -3
- package/dist/lib/components/BannerBox/BannerBox.js +2 -3
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +2 -3
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +2 -3
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +2 -3
- package/dist/lib/components/BlogBox/BlogBox.js +2 -3
- package/dist/lib/components/BlogBox/components/BlogBoxTile.js +2 -3
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +2 -3
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +2 -3
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +2 -3
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +2 -3
- package/dist/lib/components/ButtonsBox/ButtonsBox.js +2 -3
- package/dist/lib/components/Card/Card.js +2 -3
- package/dist/lib/components/CardsBox/CardsBox.js +2 -3
- package/dist/lib/components/CarouselBox/CarouselBox.js +2 -3
- package/dist/lib/components/ChipsBox/ChipBox.js +2 -3
- package/dist/lib/components/ChipsBox/ChipsBox.js +2 -3
- package/dist/lib/components/Container/Container.js +2 -3
- package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +2 -3
- package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +2 -3
- package/dist/lib/components/DownloadLinks/DownloadLink.js +2 -3
- package/dist/lib/components/DownloadLinks/DownloadLinks.js +2 -3
- package/dist/lib/components/FaqWrapper/FaqWrapper.js +2 -3
- package/dist/lib/components/ImageBanner/ImageBanner.css +1 -1
- package/dist/lib/components/ImageBanner/ImageBanner.d.ts +23 -0
- package/dist/lib/components/ImageBanner/ImageBanner.js +38 -9
- package/dist/lib/components/InfoCards/InfoCards.js +2 -3
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +2 -3
- package/dist/lib/components/Instructions/Instructions.js +3 -4
- package/dist/lib/components/NotificationBox/NotificationBox.js +2 -3
- package/dist/lib/components/NumbersBox/NumbersBox.js +2 -3
- package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.js +2 -3
- package/dist/lib/components/PageTitle/PageTitle.js +2 -3
- package/dist/lib/components/Partners/Partners.js +2 -3
- package/dist/lib/components/PictureBox/PictureBox.js +2 -3
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +2 -3
- package/dist/lib/components/PromoBanner/PromoBanner.js +2 -3
- package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -3
- package/dist/lib/components/PromoCards/PromoCards.js +2 -3
- package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +2 -3
- package/dist/lib/components/Property/Property.js +2 -3
- package/dist/lib/components/ServiceCards/ServiceCards.js +2 -3
- package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +2 -3
- package/dist/lib/components/SidePictureCards/SidePictureCards.js +2 -3
- package/dist/lib/components/Stepper/Stepper.js +2 -3
- package/dist/lib/components/Stepper/StepperItem.js +2 -3
- package/dist/lib/components/Steps/Steps.js +2 -3
- package/dist/lib/components/Steps/StepsItem.js +2 -3
- package/dist/lib/components/StoreBanner/StoreBanner.js +2 -3
- package/dist/lib/components/StoreButton/StoreButton.js +2 -3
- package/dist/lib/components/Table/Table.js +2 -3
- package/dist/lib/components/Table/TableCell.js +2 -3
- package/dist/lib/components/Table/TableRow.js +2 -3
- package/dist/lib/components/TabsBox/TabsBox.js +2 -3
- package/dist/lib/components/TextBox/TextBox.js +2 -3
- package/dist/lib/components/TextBox/TextBoxPicture.js +2 -3
- package/dist/lib/components/TextWithIcon/TextWithIcon.js +2 -3
- package/dist/lib/components/TextWithIcon/TextWithIconItem.js +2 -3
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +2 -3
- package/dist/lib/components/VideoBanner/VideoBanner.js +3 -4
- package/dist/lib/components/VideoBlock/VideoBlock.js +3 -4
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
h1,h2,h3,h4,h5{margin:0}.mfui-image-banner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}@media screen and (min-width:1024px){.mfui-image-banner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:420px}}.mfui-image-banner__picture{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (min-width:1024px){.mfui-image-banner__picture{height:100%;max-width:672px;width:50%}}.mfui-image-banner__picture_v-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-image-banner__picture_v-align_center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-image-banner__picture_v-align_bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mfui-image-banner__image{display:block;max-height:150px;max-width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-image-banner__image{max-height:230px}}@media screen and (min-width:1024px){.mfui-image-banner__image{max-height:100%;-o-object-fit:contain;object-fit:contain}}.mfui-image-banner__content{z-index:1;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:1023px){.mfui-image-banner__content{padding:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-image-banner__content{text-align:center}}@media screen and (min-width:1024px){.mfui-image-banner__content{padding:0 80px;width:50%}}.mfui-image-banner__description{margin-top:16px;white-space:pre-wrap}.mfui-image-banner__cost{font-size:15px;font-weight:500;line-height:24px;margin-top:16px}.mfui-image-banner__value{display:inline;margin:0 4px}@media screen and (max-width:1023px),screen and (min-width:1024px) and (max-width:1279px){.mfui-image-banner__value{line-height:21px}}.mfui-image-banner__text,.mfui-image-banner__title{white-space:pre-wrap}.mfui-image-banner__children{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:32px}@media screen and (max-width:767px){.mfui-image-banner__children{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (min-width:768px){.mfui-image-banner__children{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media screen and (min-width:1024px){.mfui-image-banner__children{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width:1023px){.mfui-image-banner__badges-container{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}}.mfui-image-banner__badges{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mfui-image-banner__ad-block{margin:0 0 16px auto}@media screen and (min-width:1024px){.mfui-image-banner__ad-block{position:absolute;right:24px;top:24px}}.mfui-image-banner_margin-top{margin-top:24px}.mfui-image-banner_radius_rounded{border-radius:24px}@media screen and (max-width:1023px){.mfui-image-banner_full-height-on-mobile{height:100%}}@media screen and (min-width:1024px){.mfui-image-banner_auto-height .mfui-image-banner__content{padding:48px 80px}.mfui-image-banner_auto-height{height:auto}.mfui-image-banner_has-image .mfui-image-banner__content{padding-right:0}.mfui-image-banner_full-width .mfui-image-banner__image{bottom:0;display:block;max-width:unset;position:absolute;right:0}.mfui-image-banner_full-width.mfui-image-banner_auto-height .mfui-image-banner__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}}.mfui-image-banner_background-color_green{background-color:var(--brandGreen)}.mfui-image-banner_background-color_purple{background-color:var(--brandPurple)}.mfui-image-banner_background-color_gradient{background:-webkit-gradient(linear,
|
|
1
|
+
h1,h2,h3,h4,h5{margin:0}.mfui-image-banner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}@media screen and (min-width:1024px){.mfui-image-banner{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:420px}}.mfui-image-banner__picture{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (min-width:1024px){.mfui-image-banner__picture{height:100%;max-width:672px;width:50%}}.mfui-image-banner__picture_v-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-image-banner__picture_v-align_center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-image-banner__picture_v-align_bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}@media screen and (min-width:1024px){.mfui-image-banner__picture_h-align-desktop_right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.mfui-image-banner__image{display:block;max-height:150px;max-width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-image-banner__image{max-height:230px}}@media screen and (min-width:1024px){.mfui-image-banner__image{max-height:100%;-o-object-fit:contain;object-fit:contain}}.mfui-image-banner__content{z-index:1;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:1023px){.mfui-image-banner__content{padding:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-image-banner__content{text-align:center}}@media screen and (min-width:1024px){.mfui-image-banner__content{padding:0 80px;width:50%}}.mfui-image-banner__description{margin-top:16px;white-space:pre-wrap}.mfui-image-banner__description.mfui-image-banner__description_large{font-size:18px;line-height:24px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-image-banner__description.mfui-image-banner__description_large{font-size:20px;letter-spacing:.5px;line-height:28px}}.mfui-image-banner__cost{font-size:15px;font-weight:500;line-height:24px;margin-top:16px}.mfui-image-banner__value{display:inline;margin:0 4px}@media screen and (max-width:1023px),screen and (min-width:1024px) and (max-width:1279px){.mfui-image-banner__value{line-height:21px}}.mfui-image-banner__text,.mfui-image-banner__title{white-space:pre-wrap}.mfui-image-banner__children{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:32px}@media screen and (max-width:767px){.mfui-image-banner__children{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (min-width:768px){.mfui-image-banner__children{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media screen and (min-width:1024px){.mfui-image-banner__children{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width:767px){.mfui-image-banner__children_h-align-mobile_left{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width:1023px){.mfui-image-banner__badges-container{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}}.mfui-image-banner__badges{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mfui-image-banner__ad-block{margin:0 0 16px auto}@media screen and (min-width:1024px){.mfui-image-banner__ad-block{position:absolute;right:24px;top:24px}}.mfui-image-banner_margin-top{margin-top:24px}.mfui-image-banner_radius_rounded{border-radius:24px}@media screen and (max-width:1023px){.mfui-image-banner_full-height-on-mobile{height:100%}}@media screen and (min-width:1024px){.mfui-image-banner_auto-height .mfui-image-banner__content{padding:48px 80px}.mfui-image-banner_auto-height{height:auto}.mfui-image-banner_has-image .mfui-image-banner__content{padding-right:0}.mfui-image-banner_full-width .mfui-image-banner__image{bottom:0;display:block;max-width:unset;position:absolute;right:0}.mfui-image-banner_full-width.mfui-image-banner_auto-height .mfui-image-banner__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}}.mfui-image-banner_background-color_green{background-color:var(--brandGreen)}.mfui-image-banner_background-color_purple{background-color:var(--brandPurple)}.mfui-image-banner_background-color_gradient{background:-webkit-gradient(linear,left top,left bottom,from(var(--gradient-angle)),color-stop(0,var(--gradient-first-color)),to(var(--gradient-second-color)));background:linear-gradient(var(--gradient-angle),var(--gradient-first-color) 0,var(--gradient-second-color) 100%)}.mfui-image-banner_background-color_light{background-color:#f6f2f9}.mfui-image-banner_background-color_spbSky0{background-color:var(--spbSky0)}.mfui-image-banner_text-color_light .mfui-image-banner__content{color:var(--stcWhite)}.mfui-image-banner_text-color_dark .mfui-image-banner__content{color:var(--stcBlack)}
|
|
@@ -25,6 +25,16 @@ export declare const ImageVerticalAlign: {
|
|
|
25
25
|
readonly BOTTOM: "bottom";
|
|
26
26
|
};
|
|
27
27
|
export type ImageVerticalAlignType = (typeof ImageVerticalAlign)[keyof typeof ImageVerticalAlign];
|
|
28
|
+
export declare const ImageHorizontalAlign: {
|
|
29
|
+
readonly CENTER: "center";
|
|
30
|
+
readonly RIGHT: "right";
|
|
31
|
+
};
|
|
32
|
+
export type ImageHorizontalAlignType = (typeof ImageHorizontalAlign)[keyof typeof ImageHorizontalAlign];
|
|
33
|
+
export declare const ChildrenHorizontalAlign: {
|
|
34
|
+
readonly CENTER: "center";
|
|
35
|
+
readonly LEFT: "left";
|
|
36
|
+
};
|
|
37
|
+
export type ChildrenHorizontalAlignType = (typeof ChildrenHorizontalAlign)[keyof typeof ChildrenHorizontalAlign];
|
|
28
38
|
export interface IImageBannerProps {
|
|
29
39
|
/** Дополнительные data атрибуты к внутренним элементам */
|
|
30
40
|
dataAttrs?: {
|
|
@@ -45,6 +55,7 @@ export interface IImageBannerProps {
|
|
|
45
55
|
badges?: string;
|
|
46
56
|
adBlock?: string;
|
|
47
57
|
children?: string;
|
|
58
|
+
content?: string;
|
|
48
59
|
};
|
|
49
60
|
/** Ссылка на корневой элемент */
|
|
50
61
|
rootRef?: React.Ref<HTMLDivElement>;
|
|
@@ -60,6 +71,12 @@ export interface IImageBannerProps {
|
|
|
60
71
|
headerLevel?: 'h1' | 'h2';
|
|
61
72
|
/** Фоновый цвет */
|
|
62
73
|
backgroundColor?: BackgroundColorType;
|
|
74
|
+
/** Угол наклона градиента (используется только с фоном = gradient, по умолчанию 270deg) */
|
|
75
|
+
gradientAngle?: string;
|
|
76
|
+
/** Первый цвет градиента (используется только с фоном = gradient, по умолчанию #ADA6BA) */
|
|
77
|
+
gradientFirstColor?: string;
|
|
78
|
+
/** Второй цвет градиента (используется только с фоном = gradient, по умолчанию #F6F2F9) */
|
|
79
|
+
gradientSecondColor?: string;
|
|
63
80
|
/** Радиус границы */
|
|
64
81
|
radius?: RadiusType;
|
|
65
82
|
/** Изображение на разрешении экрана 0-1023 */
|
|
@@ -74,6 +91,8 @@ export interface IImageBannerProps {
|
|
|
74
91
|
imageAlt?: string;
|
|
75
92
|
/** Выравнивание изображения по вертикали (по умолчанию center) */
|
|
76
93
|
imageVerticalAlign?: ImageVerticalAlignType;
|
|
94
|
+
/** Выравнивание изображения по горизонтали на разрешениях 1024+ (по умолчанию center) */
|
|
95
|
+
imageHorizontalAlignDesktop?: ImageHorizontalAlignType;
|
|
77
96
|
/** Приоритет загрузки изображения */
|
|
78
97
|
fetchPriority?: 'auto' | 'high' | 'low';
|
|
79
98
|
/** Высота баннера зависит от высоты контента (по умолчанию фиксированная) */
|
|
@@ -88,6 +107,10 @@ export interface IImageBannerProps {
|
|
|
88
107
|
adBlock?: JSX.Element | null;
|
|
89
108
|
/** Отступ сверху */
|
|
90
109
|
hasMarginTop?: boolean;
|
|
110
|
+
/** Увеличенный размер текста-описания */
|
|
111
|
+
isDescriptionLarge?: boolean;
|
|
112
|
+
/** Выравнивание chiildren по горизонтали на разрешениях 767- (по умолчанию center) */
|
|
113
|
+
childrenHorizontalAlignMobile?: ChildrenHorizontalAlignType;
|
|
91
114
|
children?: React.ReactNode;
|
|
92
115
|
}
|
|
93
116
|
declare const ImageBanner: React.FC<IImageBannerProps>;
|
|
@@ -28,6 +28,14 @@ export var ImageVerticalAlign = {
|
|
|
28
28
|
CENTER: 'center',
|
|
29
29
|
BOTTOM: 'bottom'
|
|
30
30
|
};
|
|
31
|
+
export var ImageHorizontalAlign = {
|
|
32
|
+
CENTER: 'center',
|
|
33
|
+
RIGHT: 'right'
|
|
34
|
+
};
|
|
35
|
+
export var ChildrenHorizontalAlign = {
|
|
36
|
+
CENTER: 'center',
|
|
37
|
+
LEFT: 'left'
|
|
38
|
+
};
|
|
31
39
|
var getTheme = function getTheme(backgrounColor) {
|
|
32
40
|
switch (backgrounColor) {
|
|
33
41
|
case BackgroundColor.GREEN:
|
|
@@ -68,6 +76,8 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
68
76
|
imageAlt = _ref2$imageAlt === void 0 ? '' : _ref2$imageAlt,
|
|
69
77
|
_ref2$imageVerticalAl = _ref2.imageVerticalAlign,
|
|
70
78
|
imageVerticalAlign = _ref2$imageVerticalAl === void 0 ? ImageVerticalAlign.CENTER : _ref2$imageVerticalAl,
|
|
79
|
+
_ref2$imageHorizontal = _ref2.imageHorizontalAlignDesktop,
|
|
80
|
+
imageHorizontalAlignDesktop = _ref2$imageHorizontal === void 0 ? ImageHorizontalAlign.CENTER : _ref2$imageHorizontal,
|
|
71
81
|
_ref2$fetchPriority = _ref2.fetchPriority,
|
|
72
82
|
fetchPriority = _ref2$fetchPriority === void 0 ? 'auto' : _ref2$fetchPriority,
|
|
73
83
|
title = _ref2.title,
|
|
@@ -79,6 +89,12 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
79
89
|
headerLevel = _ref2$headerLevel === void 0 ? 'h1' : _ref2$headerLevel,
|
|
80
90
|
_ref2$backgroundColor = _ref2.backgroundColor,
|
|
81
91
|
backgroundColor = _ref2$backgroundColor === void 0 ? BackgroundColor.TRANSPARENT : _ref2$backgroundColor,
|
|
92
|
+
_ref2$gradientAngle = _ref2.gradientAngle,
|
|
93
|
+
gradientAngle = _ref2$gradientAngle === void 0 ? '270deg' : _ref2$gradientAngle,
|
|
94
|
+
_ref2$gradientFirstCo = _ref2.gradientFirstColor,
|
|
95
|
+
gradientFirstColor = _ref2$gradientFirstCo === void 0 ? '#ADA6BA' : _ref2$gradientFirstCo,
|
|
96
|
+
_ref2$gradientSecondC = _ref2.gradientSecondColor,
|
|
97
|
+
gradientSecondColor = _ref2$gradientSecondC === void 0 ? '#F6F2F9' : _ref2$gradientSecondC,
|
|
82
98
|
_ref2$radius = _ref2.radius,
|
|
83
99
|
radius = _ref2$radius === void 0 ? Radius.CORNERS : _ref2$radius,
|
|
84
100
|
autoHeight = _ref2.autoHeight,
|
|
@@ -89,6 +105,10 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
89
105
|
hasMarginTop = _ref2$hasMarginTop === void 0 ? false : _ref2$hasMarginTop,
|
|
90
106
|
_ref2$fullHeightOnMob = _ref2.fullHeightOnMobile,
|
|
91
107
|
fullHeightOnMobile = _ref2$fullHeightOnMob === void 0 ? false : _ref2$fullHeightOnMob,
|
|
108
|
+
_ref2$isDescriptionLa = _ref2.isDescriptionLarge,
|
|
109
|
+
isDescriptionLarge = _ref2$isDescriptionLa === void 0 ? false : _ref2$isDescriptionLa,
|
|
110
|
+
_ref2$childrenHorizon = _ref2.childrenHorizontalAlignMobile,
|
|
111
|
+
childrenHorizontalAlignMobile = _ref2$childrenHorizon === void 0 ? ChildrenHorizontalAlign.CENTER : _ref2$childrenHorizon,
|
|
92
112
|
_ref2$children = _ref2.children,
|
|
93
113
|
children = _ref2$children === void 0 ? [] : _ref2$children;
|
|
94
114
|
var _React$useState = React.useState(false),
|
|
@@ -116,7 +136,7 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
116
136
|
className: cn('ad-block', [classes.adBlock])
|
|
117
137
|
}, adBlock);
|
|
118
138
|
var renderContent = /*#__PURE__*/React.createElement("div", {
|
|
119
|
-
className: cn('content')
|
|
139
|
+
className: cn('content', [classes.content])
|
|
120
140
|
}, /*#__PURE__*/React.createElement("div", {
|
|
121
141
|
className: cn('badges-container', [classes.badgesContainer])
|
|
122
142
|
}, renderBadges, renderAdBlock), !!title && /*#__PURE__*/React.createElement(Header, {
|
|
@@ -124,17 +144,22 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
124
144
|
color: "inherit",
|
|
125
145
|
as: isMobile ? headerLevelMobile : headerLevel
|
|
126
146
|
}, typeof title === 'string' ? convert(title, titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement(Header, {
|
|
127
|
-
className: cn('description',
|
|
147
|
+
className: cn('description', {
|
|
148
|
+
large: isDescriptionLarge
|
|
149
|
+
}, [classes.description]),
|
|
128
150
|
as: "h5",
|
|
129
151
|
color: "inherit"
|
|
130
152
|
}, typeof description === 'string' ? convert(description, titleConvertConfig) : description), !!cost && /*#__PURE__*/React.createElement("div", {
|
|
131
153
|
className: cn('cost', [classes.cost])
|
|
132
154
|
}, convert(cost, typographyConfig)), !!children && !!React.Children.count(children) && /*#__PURE__*/React.createElement("div", {
|
|
133
|
-
className: cn('children',
|
|
155
|
+
className: cn('children', {
|
|
156
|
+
'h-align-mobile': childrenHorizontalAlignMobile
|
|
157
|
+
}, [classes.children])
|
|
134
158
|
}, children));
|
|
135
159
|
var renderImage = /*#__PURE__*/React.createElement("picture", {
|
|
136
160
|
className: cn('picture', {
|
|
137
|
-
'v-align': imageVerticalAlign
|
|
161
|
+
'v-align': imageVerticalAlign,
|
|
162
|
+
'h-align-desktop': imageHorizontalAlignDesktop
|
|
138
163
|
})
|
|
139
164
|
}, /*#__PURE__*/React.createElement("source", {
|
|
140
165
|
className: classes.imageSource,
|
|
@@ -158,7 +183,12 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
158
183
|
'full-height-on-mobile': fullHeightOnMobile,
|
|
159
184
|
radius: radius
|
|
160
185
|
}, [className, classes.root]),
|
|
161
|
-
ref: rootRef
|
|
186
|
+
ref: rootRef,
|
|
187
|
+
style: {
|
|
188
|
+
'--gradient-angle': gradientAngle,
|
|
189
|
+
'--gradient-first-color': gradientFirstColor,
|
|
190
|
+
'--gradient-second-color': gradientSecondColor
|
|
191
|
+
}
|
|
162
192
|
}), renderContent, hasImage && renderImage);
|
|
163
193
|
};
|
|
164
194
|
export default ImageBanner;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,8 +11,8 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
11
|
var _uiCore = require("@megafon/ui-core");
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
13
|
var _getColumnConfig = require("../../helpers/getColumnConfig");
|
|
15
|
-
|
|
16
|
-
function _interopRequireWildcard(e,
|
|
14
|
+
var cache;
|
|
15
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
19
18
|
var t = {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,8 +11,8 @@ var _uiCore = require("@megafon/ui-core");
|
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
12
|
var _AudioProgress = _interopRequireDefault(require("./AudioProgress"));
|
|
14
13
|
var _AudioVolume = _interopRequireDefault(require("./AudioVolume"));
|
|
15
|
-
|
|
16
|
-
function _interopRequireWildcard(e,
|
|
14
|
+
var cache;
|
|
15
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var IconPause = function IconPause(props) {
|
|
19
18
|
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -10,8 +9,8 @@ require("core-js/modules/es.array.index-of.js");
|
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _uiCore = require("@megafon/ui-core");
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
|
-
|
|
14
|
-
function _interopRequireWildcard(e,
|
|
12
|
+
var cache;
|
|
13
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
15
14
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
16
15
|
var t = {};
|
|
17
16
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -16,8 +15,8 @@ var _throttleTime = _interopRequireDefault(require("../../constants/throttleTime
|
|
|
16
15
|
var _BenefitsIconsTile = _interopRequireDefault(require("./BenefitsIconsTile"));
|
|
17
16
|
var _helpers = _interopRequireWildcard(require("./helpers"));
|
|
18
17
|
var _types = require("./types");
|
|
19
|
-
|
|
20
|
-
function _interopRequireWildcard(e,
|
|
18
|
+
var cache;
|
|
19
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
21
20
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
22
21
|
var testIdPrefix = 'BenefitsIcons';
|
|
23
22
|
var cn = (0, _uiHelpers.cnCreate)('mfui-benefits-icons');
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -9,8 +8,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _uiCore = require("@megafon/ui-core");
|
|
11
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
12
|
-
|
|
13
|
-
function _interopRequireWildcard(e,
|
|
11
|
+
var cache;
|
|
12
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
14
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
14
|
var testIdPrefix = 'BenefitsIconsTile';
|
|
16
15
|
var cn = (0, _uiHelpers.cnCreate)('mfui-benefits-icons-tile');
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -15,8 +14,8 @@ var _htmr = _interopRequireDefault(require("htmr"));
|
|
|
15
14
|
var _lodash = _interopRequireDefault(require("lodash.throttle"));
|
|
16
15
|
var _throttleTime = _interopRequireDefault(require("../../constants/throttleTime"));
|
|
17
16
|
var _helpers = _interopRequireWildcard(require("./helpers"));
|
|
18
|
-
|
|
19
|
-
function _interopRequireWildcard(e,
|
|
17
|
+
var cache;
|
|
18
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
20
19
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
21
20
|
var ONLY_LEFT_ALIGN_ITEMS_COUNT = exports.ONLY_LEFT_ALIGN_ITEMS_COUNT = 3;
|
|
22
21
|
var testIdPrefix = 'BenefitsPictures';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -14,8 +13,8 @@ var _uiCore = require("@megafon/ui-core");
|
|
|
14
13
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
15
14
|
var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
|
|
16
15
|
var _BlogBoxTile = _interopRequireDefault(require("./components/BlogBoxTile"));
|
|
17
|
-
|
|
18
|
-
function _interopRequireWildcard(e,
|
|
16
|
+
var cache;
|
|
17
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
19
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
20
19
|
var maxItemsCount = 4;
|
|
21
20
|
var cn = (0, _uiHelpers.cnCreate)('mfui-blog-box');
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -10,8 +9,8 @@ var _uiHelpers = require("@megafon/ui-helpers");
|
|
|
10
9
|
var _setRelAttribute = require("../../../helpers/setRelAttribute");
|
|
11
10
|
var _useResolutions2 = _interopRequireDefault(require("../../../hooks/useResolutions"));
|
|
12
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
-
|
|
14
|
-
function _interopRequireWildcard(e,
|
|
12
|
+
var cache;
|
|
13
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
15
14
|
var cn = (0, _uiHelpers.cnCreate)('mfui-blog-box-tile');
|
|
16
15
|
var BlogBoxTile = function BlogBoxTile(_ref) {
|
|
17
16
|
var date = _ref.date,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,8 +11,8 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
12
|
var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
|
|
14
13
|
var _BreadcrumbsItem = _interopRequireDefault(require("./components/BreadcrumbsItem"));
|
|
15
|
-
|
|
16
|
-
function _interopRequireWildcard(e,
|
|
14
|
+
var cache;
|
|
15
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var isObjectElement = function isObjectElement(item) {
|
|
19
18
|
return ! /*#__PURE__*/React.isValidElement(item);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -10,8 +9,8 @@ require("core-js/modules/es.string.link.js");
|
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _uiCore = require("@megafon/ui-core");
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
|
-
|
|
14
|
-
function _interopRequireWildcard(e,
|
|
12
|
+
var cache;
|
|
13
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
15
|
var TextColor = exports.TextColor = {
|
|
17
16
|
DEFAULT: 'default',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -9,8 +8,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _uiCore = require("@megafon/ui-core");
|
|
11
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
12
|
-
|
|
13
|
-
function _interopRequireWildcard(e,
|
|
11
|
+
var cache;
|
|
12
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
14
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
14
|
var ButtonColor = exports.ButtonColor = {
|
|
16
15
|
GREEN: 'green',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -10,8 +9,8 @@ require("core-js/modules/es.string.link.js");
|
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _uiCore = require("@megafon/ui-core");
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
|
-
|
|
14
|
-
function _interopRequireWildcard(e,
|
|
12
|
+
var cache;
|
|
13
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
15
|
var cn = (0, _uiHelpers.cnCreate)('mfui-button-link-box');
|
|
17
16
|
var ButtonLinkBox = function ButtonLinkBox(_ref) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -10,8 +9,8 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
10
9
|
var _uiCore = require("@megafon/ui-core");
|
|
11
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
12
11
|
var _setRelAttribute = require("../../helpers/setRelAttribute");
|
|
13
|
-
|
|
14
|
-
function _interopRequireWildcard(e,
|
|
12
|
+
var cache;
|
|
13
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
15
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
15
|
var cn = (0, _uiHelpers.cnCreate)('mfui-buttons-box');
|
|
17
16
|
var ButtonsBox = function ButtonsBox(_ref) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -11,8 +10,8 @@ require("core-js/modules/es.string.link.js");
|
|
|
11
10
|
var React = _interopRequireWildcard(require("react"));
|
|
12
11
|
var _uiCore = require("@megafon/ui-core");
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
|
-
|
|
15
|
-
function _interopRequireWildcard(e,
|
|
13
|
+
var cache;
|
|
14
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
16
|
var textsConvertConfig = (0, _extends2["default"])((0, _extends2["default"])({}, _uiHelpers.textConvertConfig), {
|
|
18
17
|
ul: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -11,8 +10,8 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
10
|
var _uiCore = require("@megafon/ui-core");
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
12
|
var _helpers = _interopRequireDefault(require("./helpers"));
|
|
14
|
-
|
|
15
|
-
function _interopRequireWildcard(e,
|
|
13
|
+
var cache;
|
|
14
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
16
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
16
|
var cn = (0, _uiHelpers.cnCreate)('mfui-cards-box');
|
|
18
17
|
var CardsBox = function CardsBox(_ref) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,8 +11,8 @@ require("core-js/modules/es.array.index-of.js");
|
|
|
12
11
|
var React = _interopRequireWildcard(require("react"));
|
|
13
12
|
var _uiCore = require("@megafon/ui-core");
|
|
14
13
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
15
|
-
|
|
16
|
-
function _interopRequireWildcard(e,
|
|
14
|
+
var cache;
|
|
15
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
17
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
17
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
19
18
|
var t = {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports["default"] = void 0;
|
|
8
7
|
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireWildcard(e,
|
|
8
|
+
var cache;
|
|
9
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
11
10
|
/* eslint-disable react/no-unused-prop-types */
|
|
12
11
|
|
|
13
12
|
var ChipBox = function ChipBox(_ref) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -16,8 +15,8 @@ require("core-js/modules/es.promise.js");
|
|
|
16
15
|
var React = _interopRequireWildcard(require("react"));
|
|
17
16
|
var _uiCore = require("@megafon/ui-core");
|
|
18
17
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
19
|
-
|
|
20
|
-
function _interopRequireWildcard(e,
|
|
18
|
+
var cache;
|
|
19
|
+
function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, "default": e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
|
|
21
20
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
22
21
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
23
22
|
var t = {};
|