@megafon/ui-shared 8.14.3 → 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
|
});
|
|
@@ -15,8 +14,8 @@ require("core-js/modules/es.json.stringify.js");
|
|
|
15
14
|
var React = _interopRequireWildcard(require("react"));
|
|
16
15
|
var _uiCore = require("@megafon/ui-core");
|
|
17
16
|
var _uiHelpers = require("@megafon/ui-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 VideoTypes = exports.VideoTypes = {
|
|
22
21
|
YOUTUBE: 'youtube',
|
|
@@ -146,7 +145,7 @@ var VideoBlock = function VideoBlock(_ref) {
|
|
|
146
145
|
}
|
|
147
146
|
case VideoTypes.VIDEO:
|
|
148
147
|
{
|
|
149
|
-
return /*#__PURE__*/
|
|
148
|
+
return (/*#__PURE__*/
|
|
150
149
|
// eslint-disable-next-line jsx-a11y/media-has-caption
|
|
151
150
|
React.createElement("video", {
|
|
152
151
|
className: cn('video', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-shared",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.15.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@babel/runtime": "^7.8.4",
|
|
80
|
-
"@megafon/ui-core": "^8.
|
|
80
|
+
"@megafon/ui-core": "^8.19.0",
|
|
81
81
|
"@megafon/ui-helpers": "^4.1.3",
|
|
82
82
|
"@megafon/ui-icons": "^3.16.0",
|
|
83
83
|
"core-js": "^3.6.4",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"lodash.throttle": "^4.1.1",
|
|
86
86
|
"swiper": "^12.1.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "640b66a2d3feffa1de6418e3fc9db64e3b320170"
|
|
89
89
|
}
|