@megafon/ui-shared 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/ButtonsBox/ButtonsBox.css +1 -0
- package/dist/es/components/ButtonsBox/ButtonsBox.d.ts +48 -0
- package/dist/es/components/ButtonsBox/ButtonsBox.js +47 -0
- package/dist/es/components/Container/Container.css +1 -1
- package/dist/es/components/InfoCards/InfoCards.d.ts +3 -0
- package/dist/es/components/InfoCards/InfoCards.js +7 -2
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.d.ts +4 -0
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +16 -10
- package/dist/es/components/InfoCards/types.d.ts +6 -1
- package/dist/es/components/PromoCards/PromoCards.d.ts +28 -0
- package/dist/es/components/PromoCards/PromoCards.js +51 -0
- package/dist/es/components/PromoCards/components/PromoCard/PromoCard.css +1 -0
- package/dist/es/components/PromoCards/components/PromoCard/PromoCard.d.ts +18 -0
- package/dist/es/components/PromoCards/components/PromoCard/PromoCard.js +72 -0
- package/dist/es/components/PromoCards/types.d.ts +28 -0
- package/dist/es/components/PromoCards/types.js +1 -0
- package/dist/es/index.d.ts +3 -0
- package/dist/es/index.js +3 -0
- package/dist/lib/components/ButtonsBox/ButtonsBox.css +1 -0
- package/dist/lib/components/ButtonsBox/ButtonsBox.d.ts +48 -0
- package/dist/lib/components/ButtonsBox/ButtonsBox.js +56 -0
- package/dist/lib/components/Container/Container.css +1 -1
- package/dist/lib/components/InfoCards/InfoCards.d.ts +3 -0
- package/dist/lib/components/InfoCards/InfoCards.js +7 -2
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.d.ts +4 -0
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +15 -9
- package/dist/lib/components/InfoCards/types.d.ts +6 -1
- package/dist/lib/components/PromoCards/PromoCards.d.ts +28 -0
- package/dist/lib/components/PromoCards/PromoCards.js +61 -0
- package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.css +1 -0
- package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.d.ts +18 -0
- package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +81 -0
- package/dist/lib/components/PromoCards/types.d.ts +28 -0
- package/dist/lib/components/PromoCards/types.js +5 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +21 -0
- package/package.json +4 -4
@@ -0,0 +1,28 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Carousel } from '@megafon/ui-core';
|
3
|
+
import { IPromoCardData, IPromoCardSettings } from './types';
|
4
|
+
type CarouselProps = React.ComponentProps<typeof Carousel>;
|
5
|
+
export interface IPromoCards extends IPromoCardSettings {
|
6
|
+
/** Список карточек. Минимальное количество 2 карточки */
|
7
|
+
items: IPromoCardData[];
|
8
|
+
/** Тема навигации для карусели */
|
9
|
+
carouselNavTheme?: CarouselProps['navTheme'];
|
10
|
+
/** Цвет градиента для карусели */
|
11
|
+
carouselGradientColor?: CarouselProps['gradientColor'];
|
12
|
+
/** Дополнительный css класс для корневого элемента */
|
13
|
+
className?: string;
|
14
|
+
/** Дополнительные css классы для корневого и внутренних элементов */
|
15
|
+
classes?: {
|
16
|
+
root?: string;
|
17
|
+
card?: string;
|
18
|
+
};
|
19
|
+
/** Дополнительные data атрибуты к внутренним элементам */
|
20
|
+
dataAttrs?: {
|
21
|
+
root?: Record<string, string>;
|
22
|
+
card?: Record<string, string>;
|
23
|
+
};
|
24
|
+
/** Ссылка на элемент */
|
25
|
+
rootRef?: React.Ref<HTMLDivElement>;
|
26
|
+
}
|
27
|
+
declare const PromoCards: React.FC<IPromoCards>;
|
28
|
+
export default PromoCards;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
"use strict";
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
9
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
10
|
+
require("core-js/modules/es.array.map.js");
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
12
|
+
var _uiCore = require("@megafon/ui-core");
|
13
|
+
var _uiHelpers = require("@megafon/ui-helpers");
|
14
|
+
var _PromoCard = _interopRequireDefault(require("./components/PromoCard/PromoCard"));
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
18
|
+
var slidesSettings = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _uiHelpers.breakpoints.MOBILE_SMALL_START, {
|
19
|
+
slidesPerView: 1,
|
20
|
+
spaceBetween: 16
|
21
|
+
}), _uiHelpers.breakpoints.MOBILE_BIG_START, {
|
22
|
+
slidesPerView: 2,
|
23
|
+
spaceBetween: 20
|
24
|
+
}), _uiHelpers.breakpoints.DESKTOP_SMALL_START, {
|
25
|
+
slidesPerView: 3,
|
26
|
+
spaceBetween: 20
|
27
|
+
});
|
28
|
+
var MIN_ITEMS_COUNT = 2;
|
29
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-promo-cards');
|
30
|
+
var PromoCards = function PromoCards(_ref) {
|
31
|
+
var items = _ref.items,
|
32
|
+
carouselNavTheme = _ref.carouselNavTheme,
|
33
|
+
carouselGradientColor = _ref.carouselGradientColor,
|
34
|
+
background = _ref.background,
|
35
|
+
dataAttrs = _ref.dataAttrs,
|
36
|
+
className = _ref.className,
|
37
|
+
classes = _ref.classes,
|
38
|
+
rootRef = _ref.rootRef;
|
39
|
+
if (items.length < MIN_ITEMS_COUNT) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
43
|
+
className: cn([className, classes === null || classes === void 0 ? void 0 : classes.root]),
|
44
|
+
ref: rootRef
|
45
|
+
}), /*#__PURE__*/React.createElement(_uiCore.Carousel, {
|
46
|
+
slidesSettings: slidesSettings,
|
47
|
+
navTheme: carouselNavTheme,
|
48
|
+
gradient: true,
|
49
|
+
gradientColor: carouselGradientColor
|
50
|
+
}, items.map(function (item, i) {
|
51
|
+
return /*#__PURE__*/React.createElement(_PromoCard["default"], (0, _extends2["default"])({}, item, {
|
52
|
+
background: background,
|
53
|
+
dataAttrs: {
|
54
|
+
root: (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.card, i + 1)
|
55
|
+
},
|
56
|
+
className: cn([classes === null || classes === void 0 ? void 0 : classes.card]),
|
57
|
+
key: i + item.title
|
58
|
+
}));
|
59
|
+
})));
|
60
|
+
};
|
61
|
+
var _default = exports["default"] = PromoCards;
|
@@ -0,0 +1 @@
|
|
1
|
+
h1,h2,h3,h4,h5{margin:0}.mfui-promo-card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:var(--base);border-radius:24px;color:var(--content);cursor:pointer;-ms-flex-direction:column;flex-direction:column;min-height:100%;text-decoration:none;-webkit-transition:background-color,.3s,.3s,-webkit-box-shadow;transition:background-color,.3s,.3s,-webkit-box-shadow;transition:background-color,.3s,box-shadow,.3s;transition:background-color,.3s,box-shadow,.3s,-webkit-box-shadow}.mfui-promo-card_background_shadow{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.mfui-promo-card_background_shadow:hover,.mfui-promo-card_background_white:hover{-webkit-box-shadow:0 8px 28px 0 rgba(0,0,0,.1);box-shadow:0 8px 28px 0 rgba(0,0,0,.1);text-decoration:none}.mfui-promo-card_background_gray{background-color:var(--spbSky0)}.mfui-promo-card_background_gray:hover{background-color:var(--spbSky1);text-decoration:none}.mfui-promo-card__image{border-radius:inherit;vertical-align:top;width:100%}.mfui-promo-card__content{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-flex:1;-ms-flex-positive:1;flex-grow:1;padding:32px 24px}@media screen and (min-width:1280px){.mfui-promo-card__content{padding:32px}}.mfui-promo-card__badge{left:24px;position:absolute;top:0;translate:0 -50%}@media screen and (min-width:1280px){.mfui-promo-card__badge{left:32px}}.mfui-promo-card__logo{background-color:var(--base);border:4px solid var(--base);border-radius:50%;position:absolute;right:44px;top:0;-webkit-transition:border-color,.3s;transition:border-color,.3s;translate:0 -50%}@media screen and (min-width:1280px){.mfui-promo-card__logo{right:52px}}.mfui-promo-card__logo:after,.mfui-promo-card__logo:before{content:"";height:10px;position:absolute;top:50%;translate:0 -100%;width:10px}.mfui-promo-card__logo:before{background-image:radial-gradient(circle at 0 0,transparent 9px,var(--base) 10px);left:-12px}.mfui-promo-card__logo:after{background-image:radial-gradient(circle at 100% 0,transparent 9px,var(--base) 10px);right:-12px}.mfui-promo-card_background_gray .mfui-promo-card__logo{background-color:var(--spbSky0);border-color:var(--spbSky0)}.mfui-promo-card_background_gray .mfui-promo-card__logo:before{background-image:radial-gradient(circle at 0 0,transparent 9px,var(--spbSky0) 10px)}.mfui-promo-card_background_gray .mfui-promo-card__logo:after{background-image:radial-gradient(circle at 100% 0,transparent 9px,var(--spbSky0) 10px)}.mfui-promo-card_background_gray:hover .mfui-promo-card__logo{background-color:var(--spbSky1);border-color:var(--spbSky1)}.mfui-promo-card_background_gray:hover .mfui-promo-card__logo:before{background-image:radial-gradient(circle at 0 0,transparent 9px,var(--spbSky1) 10px)}.mfui-promo-card_background_gray:hover .mfui-promo-card__logo:after{background-image:radial-gradient(circle at 100% 0,transparent 9px,var(--spbSky1) 10px)}.mfui-promo-card__logo-img{border:1px solid var(--spbSky1);border-radius:inherit;height:56px;vertical-align:top;width:56px}@media screen and (min-width:768px){.mfui-promo-card__logo-img{height:64px;width:64px}}@media screen and (min-width:1280px){.mfui-promo-card__logo-img{height:72px;width:72px}}.mfui-promo-card__subtitle{margin-top:8px}.mfui-promo-card__footer{margin-top:auto;padding-top:16px}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { IPromoCardData, IPromoCardSettings } from '../../types';
|
3
|
+
import './PromoCard.scss';
|
4
|
+
export interface IPromoCard extends IPromoCardData, IPromoCardSettings {
|
5
|
+
className?: string;
|
6
|
+
classes?: {
|
7
|
+
root?: string;
|
8
|
+
};
|
9
|
+
dataAttrs?: {
|
10
|
+
root?: Record<string, string>;
|
11
|
+
image?: Record<string, string>;
|
12
|
+
badge?: Record<string, string>;
|
13
|
+
logo?: Record<string, string>;
|
14
|
+
subtitle?: Record<string, string>;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
declare const PromoCard: React.FC<IPromoCard>;
|
18
|
+
export default PromoCard;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
"use strict";
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
9
|
+
require("core-js/modules/es.array.concat.js");
|
10
|
+
require("core-js/modules/es.string.link.js");
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
12
|
+
var _uiCore = require("@megafon/ui-core");
|
13
|
+
var _uiHelpers = require("@megafon/ui-helpers");
|
14
|
+
var _setRelAttribute = require("../../../../helpers/setRelAttribute");
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
18
|
+
var cn = (0, _uiHelpers.cnCreate)('mfui-promo-card');
|
19
|
+
var PromoCard = function PromoCard(_ref) {
|
20
|
+
var title = _ref.title,
|
21
|
+
subtitle = _ref.subtitle,
|
22
|
+
link = _ref.link,
|
23
|
+
_ref$background = _ref.background,
|
24
|
+
background = _ref$background === void 0 ? 'shadow' : _ref$background,
|
25
|
+
image = _ref.image,
|
26
|
+
logo = _ref.logo,
|
27
|
+
badge = _ref.badge,
|
28
|
+
className = _ref.className,
|
29
|
+
classes = _ref.classes,
|
30
|
+
dataAttrs = _ref.dataAttrs,
|
31
|
+
onClick = _ref.onClick;
|
32
|
+
var imageSrc = image.src,
|
33
|
+
imageSrc2x = image.src2x,
|
34
|
+
imageAlt = image.alt;
|
35
|
+
var linkHref = link.href,
|
36
|
+
_link$target = link.target,
|
37
|
+
linkTarget = _link$target === void 0 ? '_self' : _link$target,
|
38
|
+
linkRel = link.rel,
|
39
|
+
linkTitle = link.title;
|
40
|
+
var imageSrcSet = imageSrc2x ? "".concat(imageSrc, ", ").concat(imageSrc2x, " 2x") : undefined;
|
41
|
+
return /*#__PURE__*/React.createElement("a", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
42
|
+
className: cn({
|
43
|
+
background: background
|
44
|
+
}, [className, classes === null || classes === void 0 ? void 0 : classes.root]),
|
45
|
+
href: linkHref,
|
46
|
+
target: linkTarget,
|
47
|
+
rel: (0, _setRelAttribute.setRelAttribute)(linkRel, linkTarget),
|
48
|
+
onClick: onClick
|
49
|
+
}), /*#__PURE__*/React.createElement("img", (0, _extends2["default"])({
|
50
|
+
className: cn('image')
|
51
|
+
}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.image), {
|
52
|
+
srcSet: imageSrcSet,
|
53
|
+
src: imageSrc,
|
54
|
+
alt: imageAlt || ''
|
55
|
+
})), /*#__PURE__*/React.createElement("div", {
|
56
|
+
className: cn('content')
|
57
|
+
}, !!badge && /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.badge), {
|
58
|
+
className: cn('badge')
|
59
|
+
}), badge), !!(logo === null || logo === void 0 ? void 0 : logo.src) && !badge && /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.logo), {
|
60
|
+
className: cn('logo')
|
61
|
+
}), /*#__PURE__*/React.createElement("img", {
|
62
|
+
className: cn('logo-img'),
|
63
|
+
src: logo.src,
|
64
|
+
alt: logo.alt || ''
|
65
|
+
})), /*#__PURE__*/React.createElement(_uiCore.Header, {
|
66
|
+
as: "h3"
|
67
|
+
}, (0, _uiHelpers.convert)(title, {})), !!subtitle && /*#__PURE__*/React.createElement(_uiCore.Paragraph, {
|
68
|
+
className: cn('subtitle'),
|
69
|
+
hasMargin: false,
|
70
|
+
dataAttrs: {
|
71
|
+
root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.subtitle
|
72
|
+
}
|
73
|
+
}, (0, _uiHelpers.convert)(subtitle, {})), /*#__PURE__*/React.createElement("div", {
|
74
|
+
className: cn('footer')
|
75
|
+
}, /*#__PURE__*/React.createElement(_uiCore.Button, {
|
76
|
+
sizeAll: "small",
|
77
|
+
type: "text",
|
78
|
+
showArrow: true
|
79
|
+
}, linkTitle))));
|
80
|
+
};
|
81
|
+
var _default = exports["default"] = PromoCard;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
type ImageType = {
|
2
|
+
src: string;
|
3
|
+
src2x?: string;
|
4
|
+
alt?: string;
|
5
|
+
};
|
6
|
+
type LogoType = {
|
7
|
+
src?: string;
|
8
|
+
alt?: string;
|
9
|
+
};
|
10
|
+
type LinkType = {
|
11
|
+
title: string;
|
12
|
+
href: string;
|
13
|
+
target?: '_self' | '_blank';
|
14
|
+
rel?: string;
|
15
|
+
};
|
16
|
+
export interface IPromoCardSettings {
|
17
|
+
background?: 'gray' | 'white' | 'shadow';
|
18
|
+
}
|
19
|
+
export interface IPromoCardData {
|
20
|
+
title: string;
|
21
|
+
subtitle?: string;
|
22
|
+
link: LinkType;
|
23
|
+
image: ImageType;
|
24
|
+
logo?: LogoType;
|
25
|
+
badge?: React.ReactElement | null;
|
26
|
+
onClick?: (e: React.SyntheticEvent<EventTarget>) => void;
|
27
|
+
}
|
28
|
+
export {};
|
package/dist/lib/index.d.ts
CHANGED
@@ -13,6 +13,7 @@ export { default as Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs';
|
|
13
13
|
export { default as BreadcrumbsItem } from './components/Breadcrumbs/components/BreadcrumbsItem';
|
14
14
|
export { default as ButtonBanner } from './components/ButtonBanner/ButtonBanner';
|
15
15
|
export { default as ButtonLinkBox } from './components/ButtonLinkBox/ButtonLinkBox';
|
16
|
+
export { default as ButtonsBox } from './components/ButtonsBox/ButtonsBox';
|
16
17
|
export { default as Card } from './components/Card/Card';
|
17
18
|
export { default as CardsBox } from './components/CardsBox/CardsBox';
|
18
19
|
export { default as CarouselBox } from './components/CarouselBox/CarouselBox';
|
@@ -30,6 +31,8 @@ export { default as NotificationBox } from './components/NotificationBox/Notific
|
|
30
31
|
export { default as PageTitle } from './components/PageTitle/PageTitle';
|
31
32
|
export { default as Partners } from './components/Partners/Partners';
|
32
33
|
export { default as PictureWithDescription } from './components/PictureWithDescription/PictureWithDescription';
|
34
|
+
export { default as PromoCard } from './components/PromoCards/components/PromoCard/PromoCard';
|
35
|
+
export { default as PromoCards } from './components/PromoCards/PromoCards';
|
33
36
|
export { default as Property } from './components/Property/Property';
|
34
37
|
export { default as PropertyDescription } from './components/Property/PropertyDescription';
|
35
38
|
export { default as SidePictureCard } from './components/SidePictureCards/components/SidePictureCard';
|
package/dist/lib/index.js
CHANGED
@@ -93,6 +93,12 @@ Object.defineProperty(exports, "ButtonLinkBox", {
|
|
93
93
|
return _ButtonLinkBox["default"];
|
94
94
|
}
|
95
95
|
});
|
96
|
+
Object.defineProperty(exports, "ButtonsBox", {
|
97
|
+
enumerable: true,
|
98
|
+
get: function get() {
|
99
|
+
return _ButtonsBox["default"];
|
100
|
+
}
|
101
|
+
});
|
96
102
|
Object.defineProperty(exports, "Card", {
|
97
103
|
enumerable: true,
|
98
104
|
get: function get() {
|
@@ -195,6 +201,18 @@ Object.defineProperty(exports, "PictureWithDescription", {
|
|
195
201
|
return _PictureWithDescription["default"];
|
196
202
|
}
|
197
203
|
});
|
204
|
+
Object.defineProperty(exports, "PromoCard", {
|
205
|
+
enumerable: true,
|
206
|
+
get: function get() {
|
207
|
+
return _PromoCard["default"];
|
208
|
+
}
|
209
|
+
});
|
210
|
+
Object.defineProperty(exports, "PromoCards", {
|
211
|
+
enumerable: true,
|
212
|
+
get: function get() {
|
213
|
+
return _PromoCards["default"];
|
214
|
+
}
|
215
|
+
});
|
198
216
|
Object.defineProperty(exports, "Property", {
|
199
217
|
enumerable: true,
|
200
218
|
get: function get() {
|
@@ -342,6 +360,7 @@ var _Breadcrumbs = _interopRequireDefault(require("./components/Breadcrumbs/Brea
|
|
342
360
|
var _BreadcrumbsItem = _interopRequireDefault(require("./components/Breadcrumbs/components/BreadcrumbsItem"));
|
343
361
|
var _ButtonBanner = _interopRequireDefault(require("./components/ButtonBanner/ButtonBanner"));
|
344
362
|
var _ButtonLinkBox = _interopRequireDefault(require("./components/ButtonLinkBox/ButtonLinkBox"));
|
363
|
+
var _ButtonsBox = _interopRequireDefault(require("./components/ButtonsBox/ButtonsBox"));
|
345
364
|
var _Card = _interopRequireDefault(require("./components/Card/Card"));
|
346
365
|
var _CardsBox = _interopRequireDefault(require("./components/CardsBox/CardsBox"));
|
347
366
|
var _CarouselBox = _interopRequireDefault(require("./components/CarouselBox/CarouselBox"));
|
@@ -359,6 +378,8 @@ var _NotificationBox = _interopRequireDefault(require("./components/Notification
|
|
359
378
|
var _PageTitle = _interopRequireDefault(require("./components/PageTitle/PageTitle"));
|
360
379
|
var _Partners = _interopRequireDefault(require("./components/Partners/Partners"));
|
361
380
|
var _PictureWithDescription = _interopRequireDefault(require("./components/PictureWithDescription/PictureWithDescription"));
|
381
|
+
var _PromoCard = _interopRequireDefault(require("./components/PromoCards/components/PromoCard/PromoCard"));
|
382
|
+
var _PromoCards = _interopRequireDefault(require("./components/PromoCards/PromoCards"));
|
362
383
|
var _Property = _interopRequireDefault(require("./components/Property/Property"));
|
363
384
|
var _PropertyDescription = _interopRequireDefault(require("./components/Property/PropertyDescription"));
|
364
385
|
var _SidePictureCard = _interopRequireDefault(require("./components/SidePictureCards/components/SidePictureCard"));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@megafon/ui-shared",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.6.0",
|
4
4
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -77,13 +77,13 @@
|
|
77
77
|
},
|
78
78
|
"dependencies": {
|
79
79
|
"@babel/runtime": "^7.8.4",
|
80
|
-
"@megafon/ui-core": "^7.
|
80
|
+
"@megafon/ui-core": "^7.4.0",
|
81
81
|
"@megafon/ui-helpers": "^3.1.1",
|
82
|
-
"@megafon/ui-icons": "^3.
|
82
|
+
"@megafon/ui-icons": "^3.3.0",
|
83
83
|
"core-js": "^3.6.4",
|
84
84
|
"htmr": "^1.0.2",
|
85
85
|
"lodash.throttle": "^4.1.1",
|
86
86
|
"swiper": "^11.1.1"
|
87
87
|
},
|
88
|
-
"gitHead": "
|
88
|
+
"gitHead": "1c60e4170d77c8e21323016d3f4554f66fa8cefb"
|
89
89
|
}
|