@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,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
|
});
|
|
@@ -8,8 +7,8 @@ exports["default"] = exports.BackgroundColors = void 0;
|
|
|
8
7
|
var React = _interopRequireWildcard(require("react"));
|
|
9
8
|
var _uiCore = require("@megafon/ui-core");
|
|
10
9
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(e,
|
|
10
|
+
var cache;
|
|
11
|
+
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; }
|
|
13
12
|
var BackgroundColors = exports.BackgroundColors = {
|
|
14
13
|
DEFAULT: 'default',
|
|
15
14
|
LIGHT_GRAY: 'light-gray',
|
|
@@ -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
|
});
|
|
@@ -13,8 +12,8 @@ var _uiCore = require("@megafon/ui-core");
|
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
13
|
var _useResolutions2 = _interopRequireDefault(require("../../hooks/useResolutions"));
|
|
15
14
|
var _DarkGradientCard = _interopRequireDefault(require("./components/DarkGradientCard"));
|
|
16
|
-
|
|
17
|
-
function _interopRequireWildcard(e,
|
|
15
|
+
var cache;
|
|
16
|
+
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; }
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
18
|
var carouselParams = (0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
|
20
19
|
slidesPerView: 'auto',
|
|
@@ -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 _uiHelpers = require("@megafon/ui-helpers");
|
|
11
10
|
var _setRelAttribute = require("../../../helpers/setRelAttribute");
|
|
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 cn = (0, _uiHelpers.cnCreate)('mfui-dark-gradient-card');
|
|
16
15
|
var DarkGradientCard = function DarkGradientCard(_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 DownloadIcon = function DownloadIcon(props) {
|
|
18
17
|
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.map.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 getColumnConfig = exports.getColumnConfig = function getColumnConfig(itemsCount) {
|
|
17
16
|
switch (true) {
|
|
@@ -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
|
var FaqWrapper = function FaqWrapper(_ref) {
|
|
12
11
|
var children = _ref.children;
|
|
13
12
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -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>;
|
|
@@ -1,10 +1,9 @@
|
|
|
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
|
-
exports["default"] = exports.Radius = exports.NavTheme = exports.ImageVerticalAlign = exports.BackgroundColor = void 0;
|
|
6
|
+
exports["default"] = exports.Radius = exports.NavTheme = exports.ImageVerticalAlign = exports.ImageHorizontalAlign = exports.ChildrenHorizontalAlign = exports.BackgroundColor = void 0;
|
|
8
7
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
9
|
require("core-js/modules/es.symbol.js");
|
|
@@ -13,8 +12,8 @@ require("core-js/modules/es.array.concat.js");
|
|
|
13
12
|
var React = _interopRequireWildcard(require("react"));
|
|
14
13
|
var _uiCore = require("@megafon/ui-core");
|
|
15
14
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
16
|
-
|
|
17
|
-
function _interopRequireWildcard(e,
|
|
15
|
+
var cache;
|
|
16
|
+
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; }
|
|
18
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
18
|
var BackgroundColor = exports.BackgroundColor = {
|
|
20
19
|
TRANSPARENT: 'transparent',
|
|
@@ -37,6 +36,14 @@ var ImageVerticalAlign = exports.ImageVerticalAlign = {
|
|
|
37
36
|
CENTER: 'center',
|
|
38
37
|
BOTTOM: 'bottom'
|
|
39
38
|
};
|
|
39
|
+
var ImageHorizontalAlign = exports.ImageHorizontalAlign = {
|
|
40
|
+
CENTER: 'center',
|
|
41
|
+
RIGHT: 'right'
|
|
42
|
+
};
|
|
43
|
+
var ChildrenHorizontalAlign = exports.ChildrenHorizontalAlign = {
|
|
44
|
+
CENTER: 'center',
|
|
45
|
+
LEFT: 'left'
|
|
46
|
+
};
|
|
40
47
|
var getTheme = function getTheme(backgrounColor) {
|
|
41
48
|
switch (backgrounColor) {
|
|
42
49
|
case BackgroundColor.GREEN:
|
|
@@ -77,6 +84,8 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
77
84
|
imageAlt = _ref2$imageAlt === void 0 ? '' : _ref2$imageAlt,
|
|
78
85
|
_ref2$imageVerticalAl = _ref2.imageVerticalAlign,
|
|
79
86
|
imageVerticalAlign = _ref2$imageVerticalAl === void 0 ? ImageVerticalAlign.CENTER : _ref2$imageVerticalAl,
|
|
87
|
+
_ref2$imageHorizontal = _ref2.imageHorizontalAlignDesktop,
|
|
88
|
+
imageHorizontalAlignDesktop = _ref2$imageHorizontal === void 0 ? ImageHorizontalAlign.CENTER : _ref2$imageHorizontal,
|
|
80
89
|
_ref2$fetchPriority = _ref2.fetchPriority,
|
|
81
90
|
fetchPriority = _ref2$fetchPriority === void 0 ? 'auto' : _ref2$fetchPriority,
|
|
82
91
|
title = _ref2.title,
|
|
@@ -88,6 +97,12 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
88
97
|
headerLevel = _ref2$headerLevel === void 0 ? 'h1' : _ref2$headerLevel,
|
|
89
98
|
_ref2$backgroundColor = _ref2.backgroundColor,
|
|
90
99
|
backgroundColor = _ref2$backgroundColor === void 0 ? BackgroundColor.TRANSPARENT : _ref2$backgroundColor,
|
|
100
|
+
_ref2$gradientAngle = _ref2.gradientAngle,
|
|
101
|
+
gradientAngle = _ref2$gradientAngle === void 0 ? '270deg' : _ref2$gradientAngle,
|
|
102
|
+
_ref2$gradientFirstCo = _ref2.gradientFirstColor,
|
|
103
|
+
gradientFirstColor = _ref2$gradientFirstCo === void 0 ? '#ADA6BA' : _ref2$gradientFirstCo,
|
|
104
|
+
_ref2$gradientSecondC = _ref2.gradientSecondColor,
|
|
105
|
+
gradientSecondColor = _ref2$gradientSecondC === void 0 ? '#F6F2F9' : _ref2$gradientSecondC,
|
|
91
106
|
_ref2$radius = _ref2.radius,
|
|
92
107
|
radius = _ref2$radius === void 0 ? Radius.CORNERS : _ref2$radius,
|
|
93
108
|
autoHeight = _ref2.autoHeight,
|
|
@@ -98,6 +113,10 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
98
113
|
hasMarginTop = _ref2$hasMarginTop === void 0 ? false : _ref2$hasMarginTop,
|
|
99
114
|
_ref2$fullHeightOnMob = _ref2.fullHeightOnMobile,
|
|
100
115
|
fullHeightOnMobile = _ref2$fullHeightOnMob === void 0 ? false : _ref2$fullHeightOnMob,
|
|
116
|
+
_ref2$isDescriptionLa = _ref2.isDescriptionLarge,
|
|
117
|
+
isDescriptionLarge = _ref2$isDescriptionLa === void 0 ? false : _ref2$isDescriptionLa,
|
|
118
|
+
_ref2$childrenHorizon = _ref2.childrenHorizontalAlignMobile,
|
|
119
|
+
childrenHorizontalAlignMobile = _ref2$childrenHorizon === void 0 ? ChildrenHorizontalAlign.CENTER : _ref2$childrenHorizon,
|
|
101
120
|
_ref2$children = _ref2.children,
|
|
102
121
|
children = _ref2$children === void 0 ? [] : _ref2$children;
|
|
103
122
|
var _React$useState = React.useState(false),
|
|
@@ -125,7 +144,7 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
125
144
|
className: cn('ad-block', [classes.adBlock])
|
|
126
145
|
}, adBlock);
|
|
127
146
|
var renderContent = /*#__PURE__*/React.createElement("div", {
|
|
128
|
-
className: cn('content')
|
|
147
|
+
className: cn('content', [classes.content])
|
|
129
148
|
}, /*#__PURE__*/React.createElement("div", {
|
|
130
149
|
className: cn('badges-container', [classes.badgesContainer])
|
|
131
150
|
}, renderBadges, renderAdBlock), !!title && /*#__PURE__*/React.createElement(_uiCore.Header, {
|
|
@@ -133,17 +152,22 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
133
152
|
color: "inherit",
|
|
134
153
|
as: isMobile ? headerLevelMobile : headerLevel
|
|
135
154
|
}, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement(_uiCore.Header, {
|
|
136
|
-
className: cn('description',
|
|
155
|
+
className: cn('description', {
|
|
156
|
+
large: isDescriptionLarge
|
|
157
|
+
}, [classes.description]),
|
|
137
158
|
as: "h5",
|
|
138
159
|
color: "inherit"
|
|
139
160
|
}, typeof description === 'string' ? (0, _uiHelpers.convert)(description, _uiHelpers.titleConvertConfig) : description), !!cost && /*#__PURE__*/React.createElement("div", {
|
|
140
161
|
className: cn('cost', [classes.cost])
|
|
141
162
|
}, (0, _uiHelpers.convert)(cost, typographyConfig)), !!children && !!React.Children.count(children) && /*#__PURE__*/React.createElement("div", {
|
|
142
|
-
className: cn('children',
|
|
163
|
+
className: cn('children', {
|
|
164
|
+
'h-align-mobile': childrenHorizontalAlignMobile
|
|
165
|
+
}, [classes.children])
|
|
143
166
|
}, children));
|
|
144
167
|
var renderImage = /*#__PURE__*/React.createElement("picture", {
|
|
145
168
|
className: cn('picture', {
|
|
146
|
-
'v-align': imageVerticalAlign
|
|
169
|
+
'v-align': imageVerticalAlign,
|
|
170
|
+
'h-align-desktop': imageHorizontalAlignDesktop
|
|
147
171
|
})
|
|
148
172
|
}, /*#__PURE__*/React.createElement("source", {
|
|
149
173
|
className: classes.imageSource,
|
|
@@ -167,7 +191,12 @@ var ImageBanner = function ImageBanner(_ref2) {
|
|
|
167
191
|
'full-height-on-mobile': fullHeightOnMobile,
|
|
168
192
|
radius: radius
|
|
169
193
|
}, [className, classes.root]),
|
|
170
|
-
ref: rootRef
|
|
194
|
+
ref: rootRef,
|
|
195
|
+
style: {
|
|
196
|
+
'--gradient-angle': gradientAngle,
|
|
197
|
+
'--gradient-first-color': gradientFirstColor,
|
|
198
|
+
'--gradient-second-color': gradientSecondColor
|
|
199
|
+
}
|
|
171
200
|
}), renderContent, hasImage && renderImage);
|
|
172
201
|
};
|
|
173
202
|
var _default = exports["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
|
});
|
|
@@ -11,8 +10,8 @@ require("core-js/modules/es.array.map.js");
|
|
|
11
10
|
var React = _interopRequireWildcard(require("react"));
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
12
|
var _InfoCard = _interopRequireDefault(require("./components/InfoCard/InfoCard"));
|
|
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-info-cards');
|
|
18
17
|
var InfoCards = function InfoCards(_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.symbol.description.js");
|
|
|
11
10
|
var React = _interopRequireWildcard(require("react"));
|
|
12
11
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
13
12
|
var _setRelAttribute = require("../../../../helpers/setRelAttribute");
|
|
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 ArrowRight16 = function ArrowRight16(props) {
|
|
18
17
|
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
|
});
|
|
@@ -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 _setRelAttribute = require("../../helpers/setRelAttribute");
|
|
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
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
19
18
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
@@ -251,7 +250,7 @@ var Instructions = function Instructions(_ref) {
|
|
|
251
250
|
"data-testid": "".concat(testIdPrefix, "-articles-list-desktop")
|
|
252
251
|
}, instructionItems.map(function (_ref5, i) {
|
|
253
252
|
var itemTitle = _ref5.title;
|
|
254
|
-
return /*#__PURE__*/
|
|
253
|
+
return (/*#__PURE__*/
|
|
255
254
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
256
255
|
React.createElement("li", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1), {
|
|
257
256
|
className: cn('articles-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
|
});
|
|
@@ -11,8 +10,8 @@ require("core-js/modules/es.array.index-of.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 __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
18
17
|
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 React = _interopRequireWildcard(require("react"));
|
|
|
12
11
|
var _uiCore = require("@megafon/ui-core");
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
13
|
var _NumbersCard = _interopRequireDefault(require("./components/NumbersCard/NumbersCard"));
|
|
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 slidesSettings = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
|
19
18
|
slidesPerView: 1,
|
|
@@ -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
|
});
|
|
@@ -8,8 +7,8 @@ exports["default"] = void 0;
|
|
|
8
7
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(e,
|
|
10
|
+
var cache;
|
|
11
|
+
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; }
|
|
13
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
13
|
var cn = (0, _uiHelpers.cnCreate)('mfui-numbers-card');
|
|
15
14
|
var NumbersCard = function NumbersCard(_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 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
11
|
var _uiCore = require("@megafon/ui-core");
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
13
|
var _Breadcrumbs = _interopRequireDefault(require("../Breadcrumbs/Breadcrumbs"));
|
|
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 testIdPrefix = 'PageTitle';
|
|
19
18
|
var cn = (0, _uiHelpers.cnCreate)('mfui-page-title');
|
|
@@ -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.slice.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 MAX_GRID_ITEMS_LENGTH = 8;
|
|
19
18
|
var slidesSettings = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
|
@@ -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.concat.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-picture-box');
|
|
17
16
|
var PictureBox = function PictureBox(_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
|
});
|
|
@@ -8,8 +7,8 @@ exports.pictureAlignTypes = exports["default"] = void 0;
|
|
|
8
7
|
var React = _interopRequireWildcard(require("react"));
|
|
9
8
|
var _uiCore = require("@megafon/ui-core");
|
|
10
9
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
11
|
-
|
|
12
|
-
function _interopRequireWildcard(e,
|
|
10
|
+
var cache;
|
|
11
|
+
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; }
|
|
13
12
|
var pictureAlignTypes = exports.pictureAlignTypes = {
|
|
14
13
|
LEFT: 'left',
|
|
15
14
|
RIGHT: 'right'
|