@megafon/ui-shared 9.0.0-alpha.2 → 9.0.0-alpha.21

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.
Files changed (207) hide show
  1. package/dist/es/components/AccordionBox/AccordionBox.d.ts +3 -1
  2. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.css +1 -0
  3. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.d.ts +13 -0
  4. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.js +59 -0
  5. package/dist/es/components/BenefitCards/BenefitCards.css +1 -0
  6. package/dist/es/components/BenefitCards/BenefitCards.d.ts +27 -0
  7. package/dist/es/components/BenefitCards/BenefitCards.js +35 -0
  8. package/dist/es/components/BenefitCards/helpers.d.ts +1 -0
  9. package/dist/es/components/BenefitCards/helpers.js +19 -0
  10. package/dist/es/components/BenefitCards/types.d.ts +24 -0
  11. package/dist/es/components/BenefitCards/types.js +1 -0
  12. package/dist/es/components/BlogBox/BlogBox.d.ts +3 -0
  13. package/dist/es/components/BlogBox/BlogBox.js +8 -3
  14. package/dist/es/components/BlogBox/components/BlogBoxTile.css +1 -1
  15. package/dist/es/components/BlogBox/components/BlogBoxTile.d.ts +5 -1
  16. package/dist/es/components/BlogBox/components/BlogBoxTile.js +3 -2
  17. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  18. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +3 -0
  19. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +1 -0
  20. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +18 -13
  21. package/dist/es/components/Card/Card.css +1 -1
  22. package/dist/es/components/Card/Card.d.ts +2 -1
  23. package/dist/es/components/Card/Card.js +23 -16
  24. package/dist/es/components/Card/types.d.ts +3 -5
  25. package/dist/es/components/CardsOnBackground/CardsOnBackground.css +1 -0
  26. package/dist/es/components/CardsOnBackground/CardsOnBackground.d.ts +34 -0
  27. package/dist/es/components/CardsOnBackground/CardsOnBackground.js +99 -0
  28. package/dist/es/components/CardsOnBackground/components/CardOnBackground.css +1 -0
  29. package/dist/es/components/CardsOnBackground/components/CardOnBackground.d.ts +22 -0
  30. package/dist/es/components/CardsOnBackground/components/CardOnBackground.js +94 -0
  31. package/dist/es/components/CardsOnBackground/types.d.ts +42 -0
  32. package/dist/es/components/CardsOnBackground/types.js +6 -0
  33. package/dist/es/components/CardsOnBackground/useUniformHeights.d.ts +9 -0
  34. package/dist/es/components/CardsOnBackground/useUniformHeights.js +88 -0
  35. package/dist/es/components/Container/Container.css +1 -1
  36. package/dist/es/components/Container/Container.d.ts +4 -0
  37. package/dist/es/components/Container/Container.js +4 -1
  38. package/dist/es/components/DarkGradientCards/DarkGradientCards.d.ts +5 -0
  39. package/dist/es/components/DarkGradientCards/DarkGradientCards.js +9 -4
  40. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.css +1 -1
  41. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.d.ts +1 -0
  42. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
  43. package/dist/es/components/DownloadLinks/DownloadLink.css +1 -1
  44. package/dist/es/components/DownloadLinks/DownloadLink.js +3 -1
  45. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
  46. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +4 -2
  47. package/dist/es/components/Instructions/Instructions.css +1 -1
  48. package/dist/es/components/Instructions/Instructions.d.ts +0 -2
  49. package/dist/es/components/Instructions/Instructions.js +19 -22
  50. package/dist/es/components/NotificationBox/NotificationBox.d.ts +1 -1
  51. package/dist/es/components/NotificationBox/NotificationBox.js +1 -4
  52. package/dist/es/components/Partners/Partners.css +1 -1
  53. package/dist/es/components/Partners/Partners.d.ts +3 -8
  54. package/dist/es/components/Partners/Partners.js +20 -31
  55. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.css +1 -0
  56. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.d.ts +12 -0
  57. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.js +33 -0
  58. package/dist/es/components/Partners/types.d.ts +7 -0
  59. package/dist/es/components/Partners/types.js +1 -0
  60. package/dist/es/components/PictureBox/PictureBox.d.ts +1 -0
  61. package/dist/es/components/PictureBox/PictureBox.js +2 -0
  62. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +2 -0
  63. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -0
  64. package/dist/es/components/PromoCards/PromoCards.d.ts +3 -0
  65. package/dist/es/components/PromoCards/PromoCards.js +6 -1
  66. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.css +1 -1
  67. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.d.ts +2 -0
  68. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.js +17 -9
  69. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.css +1 -1
  70. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.js +1 -1
  71. package/dist/es/components/SidePictureCards/SidePictureCards.d.ts +5 -0
  72. package/dist/es/components/SidePictureCards/SidePictureCards.js +5 -2
  73. package/dist/es/components/SidePictureCards/components/SidePictureCard.d.ts +2 -0
  74. package/dist/es/components/SidePictureCards/components/SidePictureCard.js +8 -3
  75. package/dist/es/components/SidePictureCards/types.d.ts +3 -1
  76. package/dist/es/components/StepperBox/StepperBox.d.ts +11 -0
  77. package/dist/es/components/StepperBox/StepperBox.js +36 -0
  78. package/dist/es/components/Steps/Steps.css +1 -1
  79. package/dist/es/components/Steps/Steps.d.ts +2 -2
  80. package/dist/es/components/Steps/Steps.js +1 -1
  81. package/dist/es/components/StoreBanner/StoreBanner.css +1 -1
  82. package/dist/es/components/StoreBanner/StoreBanner.d.ts +1 -5
  83. package/dist/es/components/StoreBanner/StoreBanner.js +1 -5
  84. package/dist/es/components/StoreButton/StoreButton.css +1 -1
  85. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -1
  86. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +27 -1
  87. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +31 -24
  88. package/dist/es/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  89. package/dist/es/hooks/useIsomorphicLayoutEffect.js +6 -0
  90. package/dist/es/index.d.ts +7 -2
  91. package/dist/es/index.js +7 -2
  92. package/dist/lib/components/AccordionBox/AccordionBox.d.ts +3 -1
  93. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.css +1 -0
  94. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.d.ts +13 -0
  95. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.js +68 -0
  96. package/dist/lib/components/BenefitCards/BenefitCards.css +1 -0
  97. package/dist/lib/components/BenefitCards/BenefitCards.d.ts +27 -0
  98. package/dist/lib/components/BenefitCards/BenefitCards.js +44 -0
  99. package/dist/lib/components/BenefitCards/helpers.d.ts +1 -0
  100. package/dist/lib/components/BenefitCards/helpers.js +26 -0
  101. package/dist/lib/components/BenefitCards/types.d.ts +24 -0
  102. package/dist/lib/components/BenefitCards/types.js +5 -0
  103. package/dist/lib/components/BlogBox/BlogBox.d.ts +3 -0
  104. package/dist/lib/components/BlogBox/BlogBox.js +8 -3
  105. package/dist/lib/components/BlogBox/components/BlogBoxTile.css +1 -1
  106. package/dist/lib/components/BlogBox/components/BlogBoxTile.d.ts +5 -1
  107. package/dist/lib/components/BlogBox/components/BlogBoxTile.js +3 -2
  108. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  109. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +3 -0
  110. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +1 -0
  111. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +18 -13
  112. package/dist/lib/components/Card/Card.css +1 -1
  113. package/dist/lib/components/Card/Card.d.ts +2 -1
  114. package/dist/lib/components/Card/Card.js +22 -15
  115. package/dist/lib/components/Card/types.d.ts +3 -5
  116. package/dist/lib/components/CardsOnBackground/CardsOnBackground.css +1 -0
  117. package/dist/lib/components/CardsOnBackground/CardsOnBackground.d.ts +34 -0
  118. package/dist/lib/components/CardsOnBackground/CardsOnBackground.js +108 -0
  119. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.css +1 -0
  120. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.d.ts +22 -0
  121. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.js +100 -0
  122. package/dist/lib/components/CardsOnBackground/types.d.ts +42 -0
  123. package/dist/lib/components/CardsOnBackground/types.js +12 -0
  124. package/dist/lib/components/CardsOnBackground/useUniformHeights.d.ts +9 -0
  125. package/dist/lib/components/CardsOnBackground/useUniformHeights.js +95 -0
  126. package/dist/lib/components/Container/Container.css +1 -1
  127. package/dist/lib/components/Container/Container.d.ts +4 -0
  128. package/dist/lib/components/Container/Container.js +4 -1
  129. package/dist/lib/components/DarkGradientCards/DarkGradientCards.d.ts +5 -0
  130. package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +9 -4
  131. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.css +1 -1
  132. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.d.ts +1 -0
  133. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +1 -1
  134. package/dist/lib/components/DownloadLinks/DownloadLink.css +1 -1
  135. package/dist/lib/components/DownloadLinks/DownloadLink.js +3 -1
  136. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
  137. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +4 -2
  138. package/dist/lib/components/Instructions/Instructions.css +1 -1
  139. package/dist/lib/components/Instructions/Instructions.d.ts +0 -2
  140. package/dist/lib/components/Instructions/Instructions.js +19 -21
  141. package/dist/lib/components/NotificationBox/NotificationBox.d.ts +1 -1
  142. package/dist/lib/components/NotificationBox/NotificationBox.js +1 -5
  143. package/dist/lib/components/Partners/Partners.css +1 -1
  144. package/dist/lib/components/Partners/Partners.d.ts +3 -8
  145. package/dist/lib/components/Partners/Partners.js +19 -30
  146. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.css +1 -0
  147. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.d.ts +12 -0
  148. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.js +42 -0
  149. package/dist/lib/components/Partners/types.d.ts +7 -0
  150. package/dist/lib/components/Partners/types.js +5 -0
  151. package/dist/lib/components/PictureBox/PictureBox.d.ts +1 -0
  152. package/dist/lib/components/PictureBox/PictureBox.js +2 -0
  153. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +2 -0
  154. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -0
  155. package/dist/lib/components/PromoCards/PromoCards.d.ts +3 -0
  156. package/dist/lib/components/PromoCards/PromoCards.js +6 -1
  157. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.css +1 -1
  158. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.d.ts +2 -0
  159. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +16 -9
  160. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.css +1 -1
  161. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +1 -1
  162. package/dist/lib/components/SidePictureCards/SidePictureCards.d.ts +5 -0
  163. package/dist/lib/components/SidePictureCards/SidePictureCards.js +5 -2
  164. package/dist/lib/components/SidePictureCards/components/SidePictureCard.d.ts +2 -0
  165. package/dist/lib/components/SidePictureCards/components/SidePictureCard.js +8 -3
  166. package/dist/lib/components/SidePictureCards/types.d.ts +3 -1
  167. package/dist/lib/components/StepperBox/StepperBox.d.ts +11 -0
  168. package/dist/lib/components/StepperBox/StepperBox.js +46 -0
  169. package/dist/lib/components/Steps/Steps.css +1 -1
  170. package/dist/lib/components/Steps/Steps.d.ts +2 -2
  171. package/dist/lib/components/Steps/Steps.js +1 -1
  172. package/dist/lib/components/StoreBanner/StoreBanner.css +1 -1
  173. package/dist/lib/components/StoreBanner/StoreBanner.d.ts +1 -5
  174. package/dist/lib/components/StoreBanner/StoreBanner.js +1 -5
  175. package/dist/lib/components/StoreButton/StoreButton.css +1 -1
  176. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -1
  177. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +27 -1
  178. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +30 -23
  179. package/dist/lib/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  180. package/dist/lib/hooks/useIsomorphicLayoutEffect.js +13 -0
  181. package/dist/lib/index.d.ts +7 -2
  182. package/dist/lib/index.js +45 -10
  183. package/package.json +6 -6
  184. package/dist/es/components/Stepper/Stepper.css +0 -1
  185. package/dist/es/components/Stepper/Stepper.d.ts +0 -52
  186. package/dist/es/components/Stepper/Stepper.js +0 -159
  187. package/dist/es/components/Stepper/StepperItem.css +0 -1
  188. package/dist/es/components/Stepper/StepperItem.d.ts +0 -57
  189. package/dist/es/components/Stepper/StepperItem.js +0 -99
  190. package/dist/es/components/Stepper/img/separator-mobile.png +0 -0
  191. package/dist/es/components/Stepper/img/separator-vertical.png +0 -0
  192. package/dist/es/components/Stepper/img/separator.png +0 -0
  193. package/dist/es/components/StoreBanner/img/black-iphone.png +0 -0
  194. package/dist/es/components/StoreBanner/img/iphone12.png +0 -0
  195. package/dist/es/components/StoreBanner/img/white-iphone.png +0 -0
  196. package/dist/lib/components/Stepper/Stepper.css +0 -1
  197. package/dist/lib/components/Stepper/Stepper.d.ts +0 -52
  198. package/dist/lib/components/Stepper/Stepper.js +0 -168
  199. package/dist/lib/components/Stepper/StepperItem.css +0 -1
  200. package/dist/lib/components/Stepper/StepperItem.d.ts +0 -57
  201. package/dist/lib/components/Stepper/StepperItem.js +0 -108
  202. package/dist/lib/components/Stepper/img/separator-mobile.png +0 -0
  203. package/dist/lib/components/Stepper/img/separator-vertical.png +0 -0
  204. package/dist/lib/components/Stepper/img/separator.png +0 -0
  205. package/dist/lib/components/StoreBanner/img/black-iphone.png +0 -0
  206. package/dist/lib/components/StoreBanner/img/iphone12.png +0 -0
  207. package/dist/lib/components/StoreBanner/img/white-iphone.png +0 -0
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
+ import { ContentArea } from '@megafon/ui-core';
2
3
  import './Container.scss';
4
+ type DisableIndentsType = React.ComponentProps<typeof ContentArea>['disableIndents'];
3
5
  export declare const BackgroundColors: {
4
6
  readonly DEFAULT: "default";
5
7
  readonly LIGHT_GRAY: "light-gray";
@@ -30,6 +32,8 @@ type Props = {
30
32
  disableRadiusTop?: boolean;
31
33
  /** Отключить скругление снизу */
32
34
  disableRadiusBottom?: boolean;
35
+ /** Отключение горизонтальных отступов на различных разрешениях */
36
+ disableHorizontalIndents?: DisableIndentsType;
33
37
  /** Включить тень в нижней части компонента */
34
38
  bottomShadow?: boolean;
35
39
  /** Предотвратить прохождение верхнего отступа дочернего компонента через верхнюю границу контейнера */
@@ -22,6 +22,7 @@ var Container = function Container(_ref) {
22
22
  disablePaddingBottom = _ref.disablePaddingBottom,
23
23
  disableRadiusTop = _ref.disableRadiusTop,
24
24
  disableRadiusBottom = _ref.disableRadiusBottom,
25
+ disableHorizontalIndents = _ref.disableHorizontalIndents,
25
26
  _ref$bottomShadow = _ref.bottomShadow,
26
27
  bottomShadow = _ref$bottomShadow === void 0 ? false : _ref$bottomShadow,
27
28
  _ref$preventMarginTop = _ref.preventMarginTopCollapse,
@@ -41,6 +42,8 @@ var Container = function Container(_ref) {
41
42
  className: cn('inner', {
42
43
  prevent: preventMarginTopCollapse
43
44
  }, [className, classes === null || classes === void 0 ? void 0 : classes.inner])
44
- }, /*#__PURE__*/React.createElement(ContentArea, null, children)));
45
+ }, /*#__PURE__*/React.createElement(ContentArea, {
46
+ disableIndents: disableHorizontalIndents
47
+ }, children)));
45
48
  };
46
49
  export default Container;
@@ -16,6 +16,7 @@ export interface IDarkGradientCards {
16
16
  classes?: {
17
17
  root?: string;
18
18
  item?: string;
19
+ itemTitle?: string;
19
20
  };
20
21
  /** Дополнительные data атрибуты к внутренним элементам */
21
22
  dataAttrs?: {
@@ -23,6 +24,10 @@ export interface IDarkGradientCards {
23
24
  carousel?: Record<string, string>;
24
25
  item?: Record<string, string>;
25
26
  };
27
+ /** Обработчик смены слайда карусели */
28
+ onCarouselChange?: CarouselProps['onChange'];
29
+ /** Ссылка на корневой элемент */
30
+ rootRef?: React.Ref<HTMLDivElement>;
26
31
  }
27
32
  declare const DarkGradientCards: React.FC<IDarkGradientCards>;
28
33
  export default DarkGradientCards;
@@ -23,7 +23,9 @@ var DarkGradientCards = function DarkGradientCards(_ref) {
23
23
  className = _ref.className,
24
24
  _ref$classes = _ref.classes,
25
25
  classes = _ref$classes === void 0 ? {} : _ref$classes,
26
- dataAttrs = _ref.dataAttrs;
26
+ dataAttrs = _ref.dataAttrs,
27
+ onCarouselChange = _ref.onCarouselChange,
28
+ rootRef = _ref.rootRef;
27
29
  var _useResolutions = useResolutions(),
28
30
  isDesktopWide = _useResolutions.isDesktopWide;
29
31
  var isCarouselActive = items.length > MIN_ITEMS_COUNT || items.length === MIN_ITEMS_COUNT && !isDesktopWide;
@@ -33,7 +35,8 @@ var DarkGradientCards = function DarkGradientCards(_ref) {
33
35
  size: i === 0 ? 'big' : 'small',
34
36
  className: cn('card'),
35
37
  classes: {
36
- root: classes.item
38
+ root: classes.item,
39
+ title: classes.itemTitle
37
40
  },
38
41
  dataAttrs: {
39
42
  root: _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1))
@@ -44,7 +47,8 @@ var DarkGradientCards = function DarkGradientCards(_ref) {
44
47
  return null;
45
48
  }
46
49
  return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
47
- className: cn([className, classes.root])
50
+ className: cn([className, classes.root]),
51
+ ref: rootRef
48
52
  }), isCarouselActive ? /*#__PURE__*/React.createElement(Carousel, {
49
53
  dataAttrs: {
50
54
  root: _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.carousel))
@@ -53,7 +57,8 @@ var DarkGradientCards = function DarkGradientCards(_ref) {
53
57
  navTheme: carouselNavTheme,
54
58
  threshold: CAROUSEL_THRESHOLD,
55
59
  gradient: true,
56
- gradientColor: carouselGradientColor
60
+ gradientColor: carouselGradientColor,
61
+ onChange: onCarouselChange
57
62
  }, cards) : /*#__PURE__*/React.createElement("div", {
58
63
  className: cn('cards')
59
64
  }, cards));
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-dark-gradient-card{background-position:50%;background-size:cover;border-radius:24px;color:var(--stcWhite);display:-webkit-box;display:-ms-flexbox;display:flex;min-height:420px;padding:24px;position:relative;text-decoration:none;width:298px}@media screen and (max-width:359px){.mfui-9-dark-gradient-card{width:265px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card{width:211px}}@media screen and (min-width:1024px){.mfui-9-dark-gradient-card{min-height:520px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-dark-gradient-card{width:285px}}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-dark-gradient-card{width:265px}}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card{padding:32px}}@media screen and (min-width:1440px){.mfui-9-dark-gradient-card{width:345px}}.mfui-9-dark-gradient-card:hover{text-decoration:none}.mfui-9-dark-gradient-card:before{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(#000));background-image:linear-gradient(180deg,transparent,#000);border-radius:inherit;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.mfui-9-dark-gradient-card_active:hover:before{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.9)));background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.9))}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card_size_big{width:441px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-dark-gradient-card_size_big{width:591px}}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-dark-gradient-card_size_big{width:550px}}@media screen and (min-width:1440px){.mfui-9-dark-gradient-card_size_big{width:710px}}.mfui-9-dark-gradient-card__inner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;z-index:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;width:100%}.mfui-9-dark-gradient-card__title{margin-top:auto}.mfui-9-dark-gradient-card_size_small .mfui-9-dark-gradient-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card_size_small .mfui-9-dark-gradient-card__title{font-size:20px;line-height:28px}}.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:22px;font-weight:600;letter-spacing:.5px;line-height:28px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:26px;line-height:32px}}@media screen and (min-width:1024px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:28px;line-height:36px}}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:32px;line-height:40px}}.mfui-9-dark-gradient-card__subtitle{font-size:15px;line-height:24px}.mfui-9-dark-gradient-card__more{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;font-weight:500;gap:8px;line-height:24px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-dark-gradient-card__more-icon{display:block;max-height:24px;min-width:24px;width:24px}.mfui-9-dark-gradient-card__more-icon svg{display:block;height:100%;width:100%;fill:var(--stcWhite)}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-dark-gradient-card{background-position:50%;background-size:cover;border-radius:24px;color:var(--stcWhite);display:-webkit-box;display:-ms-flexbox;display:flex;min-height:420px;padding:24px;position:relative;text-decoration:none;width:298px}.mfui-9-dark-gradient-card:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-dark-gradient-card:focus{outline:none}@media screen and (max-width:359px){.mfui-9-dark-gradient-card{width:265px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card{width:211px}}@media screen and (min-width:1024px){.mfui-9-dark-gradient-card{min-height:520px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-dark-gradient-card{width:285px}}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-dark-gradient-card{width:265px}}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card{padding:32px}}@media screen and (min-width:1440px){.mfui-9-dark-gradient-card{width:345px}}.mfui-9-dark-gradient-card:hover{text-decoration:none}.mfui-9-dark-gradient-card:before{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(#000));background-image:linear-gradient(180deg,transparent,#000);border-radius:inherit;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:0}.mfui-9-dark-gradient-card_active:hover:before{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.9)));background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.9))}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card_size_big{width:441px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-dark-gradient-card_size_big{width:591px}}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-dark-gradient-card_size_big{width:550px}}@media screen and (min-width:1440px){.mfui-9-dark-gradient-card_size_big{width:710px}}.mfui-9-dark-gradient-card__inner{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;z-index:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;width:100%}.mfui-9-dark-gradient-card__title{margin-top:auto}.mfui-9-dark-gradient-card_size_small .mfui-9-dark-gradient-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card_size_small .mfui-9-dark-gradient-card__title{font-size:20px;line-height:28px}}.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:22px;font-weight:600;letter-spacing:.5px;line-height:28px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:26px;line-height:32px}}@media screen and (min-width:1024px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:28px;line-height:36px}}@media screen and (min-width:1280px){.mfui-9-dark-gradient-card_size_big .mfui-9-dark-gradient-card__title{font-size:32px;line-height:40px}}.mfui-9-dark-gradient-card__subtitle{font-size:15px;line-height:24px}.mfui-9-dark-gradient-card__more{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;font-weight:500;gap:8px;line-height:24px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-dark-gradient-card__more-icon{display:block;max-height:24px;min-width:24px;width:24px}.mfui-9-dark-gradient-card__more-icon svg{display:block;height:100%;width:100%;fill:var(--stcWhite)}
@@ -6,6 +6,7 @@ export type DarkGradientCardType = ItemType & {
6
6
  className?: string;
7
7
  classes?: {
8
8
  root?: string;
9
+ title?: string;
9
10
  };
10
11
  dataAttrs?: {
11
12
  root?: Record<string, string>;
@@ -38,7 +38,7 @@ var DarkGradientCard = function DarkGradientCard(_ref) {
38
38
  }), /*#__PURE__*/React.createElement("div", {
39
39
  className: cn('inner')
40
40
  }, /*#__PURE__*/React.createElement("div", {
41
- className: cn('title')
41
+ className: cn('title', [classes.title])
42
42
  }, convert(title, {})), subtitle && /*#__PURE__*/React.createElement("div", {
43
43
  className: cn('subtitle')
44
44
  }, convert(subtitle, {})), !!moreText && /*#__PURE__*/React.createElement("div", {
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-download-link{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-download-link__icon{-ms-flex-negative:0;flex-shrink:0;height:40px;margin-right:22px;width:40px;fill:var(--content)}@media screen and (max-width:1023px){.mfui-9-download-link__icon{height:32px;width:32px}}.mfui-9-download-link__icon-svg{height:inherit;width:inherit}.mfui-9-download-link__info{color:var(--spbSky3);font-size:12px;line-height:18px;margin:0;text-transform:uppercase}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-download-link{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-download-link__icon{-ms-flex-negative:0;flex-shrink:0;height:40px;margin-right:8px;width:40px;fill:var(--content)}@media screen and (max-width:1023px){.mfui-9-download-link__icon{height:32px;width:32px}}@media screen and (min-width:1280px){.mfui-9-download-link__icon{margin-right:16px}}.mfui-9-download-link__icon-svg{height:inherit;width:inherit}.mfui-9-download-link__info{color:var(--spbSky3);font-size:12px;line-height:18px;margin:0;text-transform:uppercase}
@@ -9,7 +9,9 @@ var DownloadIcon = function DownloadIcon(props) {
9
9
  return /*#__PURE__*/React.createElement("svg", _extends({
10
10
  viewBox: "0 0 40 40"
11
11
  }, props), /*#__PURE__*/React.createElement("path", {
12
- d: "M21 6v14l2.68-4 1.65 1-4.44 6.74h-1.77L14.68 17l1.65-1L19 20V6zM8 20H6a14 14 0 0028 0h-2a12 12 0 01-24 0z"
12
+ d: "M33 18a2 2 0 012 2c0 1.862-.398 3.701-1.165 5.411a13.988 13.988 0 01-3.286 4.544 15.123 15.123 0 01-4.86 3A15.948 15.948 0 0120 34c-1.948 0-3.882-.354-5.69-1.045a15.124 15.124 0 01-4.859-3 13.987 13.987 0 01-3.286-4.544A13.204 13.204 0 015 20a2 2 0 014 0c0 1.29.275 2.572.814 3.773a9.984 9.984 0 002.35 3.243 11.123 11.123 0 003.575 2.203c1.347.515 2.795.781 4.261.781 1.466 0 2.914-.266 4.26-.781a11.123 11.123 0 003.576-2.203 9.983 9.983 0 002.35-3.243A9.203 9.203 0 0031 20a2 2 0 012-2z"
13
+ }), /*#__PURE__*/React.createElement("path", {
14
+ d: "M20 8a2 2 0 012 2v7.172l2.586-2.586a2 2 0 112.828 2.828l-5.293 5.293-.111.107a3 3 0 01-4.131-.107l-5.293-5.293a2 2 0 112.828-2.828L18 17.172V10a2 2 0 012-2z"
13
15
  }));
14
16
  };
15
17
  var cn = cnCreate('mfui-9-download-link');
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-info-card{border-radius:24px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--content);-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:15px;line-height:24px;-webkit-transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,box-shadow .3s;transition:background-color .3s,box-shadow .3s,-webkit-box-shadow .3s}.mfui-9-info-card,.mfui-9-info-card:hover{text-decoration:none}.mfui-9-info-card__content{display:-webkit-box;display:-ms-flexbox;display:flex;-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}.mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:8px}.mfui-9-info-card__more-info{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:12px;line-height:18px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;margin-top:auto;padding-top:12px;-webkit-transition:color .3s;transition:color .3s}.mfui-9-info-card_active{cursor:pointer}.mfui-9-info-card_active:hover .mfui-9-info-card__more-info{color:var(--brandGreen)}.mfui-9-info-card__more-info-text{margin-top:-2px}.mfui-9-info-card__more-info-arrow{height:20px;width:20px;fill:currentColor}.mfui-9-info-card_size_small{padding:16px 20px}.mfui-9-info-card_size_small .mfui-9-info-card__image{height:64px;margin-bottom:16px;width:64px}.mfui-9-info-card_size_small .mfui-9-info-card__title{font-size:15px;font-weight:500;line-height:24px}.mfui-9-info-card_size_small .mfui-9-info-card__description{font-size:12px;line-height:18px}.mfui-9-info-card_size_medium{padding:20px 24px}.mfui-9-info-card_size_medium .mfui-9-info-card__image{height:80px;margin-bottom:16px;width:80px}@media screen and (min-width:768px){.mfui-9-info-card_size_medium .mfui-9-info-card__image{margin-bottom:24px}}.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media screen and (min-width:768px){.mfui-9-info-card_size_big{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:32px}}.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;height:150px;order:1;width:150px}@media screen and (max-width:767px){.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:start;align-self:start;-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-bottom:16px;order:0}}.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big .mfui-9-info-card__more-info{font-size:15px;line-height:24px;padding-top:24px}.mfui-9-info-card_size_big .mfui-9-info-card__more-info-arrow{height:32px;width:32px}.mfui-9-info-card_position_top-left{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mfui-9-info-card_position_right-side{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mfui-9-info-card_position_right-side .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;margin-bottom:0;order:1}.mfui-9-info-card_position_right-side .mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:6px}.mfui-9-info-card_position_right-side .mfui-9-info-card__more-info{padding-top:8px}@media screen and (min-width:768px){.mfui-9-info-card_size_big.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_size_big.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}.mfui-9-info-card_background_stroke{border:1px solid var(--spbSky2)}.mfui-9-info-card_background_shadow{background-color:var(--base);-webkit-box-shadow:0 2px 12px rgba(0,0,0,.1);box-shadow:0 2px 12px rgba(0,0,0,.1)}.mfui-9-info-card_background_green{background-color:var(--brandGreen20)}.mfui-9-info-card_background_purple{background-color:var(--brandPurple20)}.mfui-9-info-card_background_white{background-color:var(--base)}.mfui-9-info-card_background_gray{background-color:var(--spbSky0)}.mfui-9-info-card_background_no{padding:0}.mfui-9-info-card_background_stroke.mfui-9-info-card_active:hover{background-color:var(--spbSky0)}.mfui-9-info-card_background_shadow.mfui-9-info-card_active:hover,.mfui-9-info-card_background_white.mfui-9-info-card_active:hover{-webkit-box-shadow:0 8px 28px rgba(0,0,0,.1);box-shadow:0 8px 28px rgba(0,0,0,.1)}.mfui-9-info-card_background_gray.mfui-9-info-card_active:hover{background-color:var(--spbSky1)}.mfui-9-info-card_background_purple.mfui-9-info-card_active:hover{background-color:var(--buttonHoverPurpleSoft)}.mfui-9-info-card_background_green.mfui-9-info-card_active:hover{background-color:var(--buttonHoverGreenSoft)}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-info-card{border-radius:24px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--content);-webkit-column-gap:12px;-moz-column-gap:12px;column-gap:12px;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:15px;line-height:24px;text-decoration:none;-webkit-transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,-webkit-box-shadow .3s;transition:background-color .3s,box-shadow .3s;transition:background-color .3s,box-shadow .3s,-webkit-box-shadow .3s}.mfui-9-info-card:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-info-card:focus{outline:none}.mfui-9-info-card:hover{text-decoration:none}.mfui-9-info-card__content{display:-webkit-box;display:-ms-flexbox;display:flex;-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}.mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:8px}.mfui-9-info-card__more-info{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:12px;line-height:18px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;margin-top:auto;padding-top:12px;-webkit-transition:color .3s;transition:color .3s}.mfui-9-info-card_active{cursor:pointer}.mfui-9-info-card_active:hover .mfui-9-info-card__more-info{color:var(--brandGreen)}.mfui-9-info-card__more-info-text{margin-top:-2px}.mfui-9-info-card__more-info-arrow{height:20px;width:20px;fill:currentColor}.mfui-9-info-card_size_small{padding:16px 20px}.mfui-9-info-card_size_small .mfui-9-info-card__image{height:64px;margin-bottom:16px;width:64px}.mfui-9-info-card_size_small .mfui-9-info-card__title{font-size:15px;font-weight:500;line-height:24px}.mfui-9-info-card_size_small .mfui-9-info-card__description{font-size:12px;line-height:18px}.mfui-9-info-card_size_medium{padding:20px 24px}.mfui-9-info-card_size_medium .mfui-9-info-card__image{height:80px;margin-bottom:16px;width:80px}@media screen and (min-width:768px){.mfui-9-info-card_size_medium .mfui-9-info-card__image{margin-bottom:24px}}.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_medium .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media screen and (min-width:768px){.mfui-9-info-card_size_big{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:32px}}.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;height:150px;order:1;width:150px}@media screen and (max-width:767px){.mfui-9-info-card_size_big .mfui-9-info-card__image{-ms-flex-item-align:start;align-self:start;-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-bottom:16px;order:0}}.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:18px;font-weight:500;letter-spacing:.5px;line-height:24px}@media screen and (min-width:1280px){.mfui-9-info-card_size_big .mfui-9-info-card__title{font-size:20px;line-height:28px}}.mfui-9-info-card_size_big .mfui-9-info-card__more-info{font-size:15px;line-height:24px;padding-top:24px}.mfui-9-info-card_size_big .mfui-9-info-card__more-info-arrow{height:32px;width:32px}.mfui-9-info-card_position_top-left{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mfui-9-info-card_position_right-side{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mfui-9-info-card_position_right-side .mfui-9-info-card__image{-ms-flex-item-align:center;align-self:center;-webkit-box-ordinal-group:2;-ms-flex-order:1;margin-bottom:0;order:1}.mfui-9-info-card_position_right-side .mfui-9-info-card__title+.mfui-9-info-card__description{margin-top:6px}.mfui-9-info-card_position_right-side .mfui-9-info-card__more-info{padding-top:8px}@media screen and (min-width:768px){.mfui-9-info-card_size_big.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_size_big.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfui-9-info-card_position_right-side.mfui-9-info-card_align-center .mfui-9-info-card__more-info{margin-top:0}.mfui-9-info-card_background_stroke{border:1px solid var(--spbSky2)}.mfui-9-info-card_background_shadow{background-color:var(--base);-webkit-box-shadow:0 2px 12px rgba(0,0,0,.1);box-shadow:0 2px 12px rgba(0,0,0,.1)}.mfui-9-info-card_background_green{background-color:var(--brandGreen20)}.mfui-9-info-card_background_purple{background-color:var(--brandPurple20)}.mfui-9-info-card_background_white{background-color:var(--base)}.mfui-9-info-card_background_gray{background-color:var(--spbSky0)}.mfui-9-info-card_background_no{padding:0}.mfui-9-info-card_background_stroke.mfui-9-info-card_active:hover{background-color:var(--spbSky0)}.mfui-9-info-card_background_shadow.mfui-9-info-card_active:hover,.mfui-9-info-card_background_white.mfui-9-info-card_active:hover{-webkit-box-shadow:0 8px 28px rgba(0,0,0,.1);box-shadow:0 8px 28px rgba(0,0,0,.1)}.mfui-9-info-card_background_gray.mfui-9-info-card_active:hover{background-color:var(--spbSky1)}.mfui-9-info-card_background_purple.mfui-9-info-card_active:hover{background-color:var(--buttonHoverPurpleSoft)}.mfui-9-info-card_background_green.mfui-9-info-card_active:hover{background-color:var(--buttonHoverGreenSoft)}
@@ -9,14 +9,14 @@ var ArrowRight16 = function ArrowRight16(props) {
9
9
  return /*#__PURE__*/React.createElement("svg", _extends({
10
10
  viewBox: "0 0 20 20"
11
11
  }, props), /*#__PURE__*/React.createElement("path", {
12
- d: "M8 13l3-3-3-3 1-1 4 4-4 4z"
12
+ d: "M10.084 5.282a1 1 0 011.414.022l3.61 3.726c.522.54.523 1.4 0 1.94l-3.61 3.726a1 1 0 01-1.436-1.392l2.225-2.297H5.5a1 1 0 010-2h6.8l-2.239-2.31a1 1 0 01.023-1.415z"
13
13
  }));
14
14
  };
15
15
  var ArrowRight24 = function ArrowRight24(props) {
16
16
  return /*#__PURE__*/React.createElement("svg", _extends({
17
17
  viewBox: "0 0 32 32"
18
18
  }, props), /*#__PURE__*/React.createElement("path", {
19
- d: "M12.5 20.8l4.8-4.8-4.8-4.8 1.6-1.7 6.4 6.5-6.4 6.5z"
19
+ d: "M16.326 9.118a1.25 1.25 0 011.768-.004l5.618 5.592a1.825 1.825 0 010 2.588l-5.618 5.592a1.25 1.25 0 01-1.764-1.772l3.871-3.853H9a1.25 1.25 0 010-2.5h11.223l-3.893-3.875a1.25 1.25 0 01-.004-1.768z"
20
20
  }));
21
21
  };
22
22
  var cn = cnCreate('mfui-9-info-card');
@@ -66,6 +66,8 @@ var InfoCard = function InfoCard(_ref) {
66
66
  active: isActive,
67
67
  'align-center': !moreInfo
68
68
  }, [className, classes === null || classes === void 0 ? void 0 : classes.root])
69
+ }, !!onClick && {
70
+ tabIndex: 0
69
71
  }), /*#__PURE__*/React.createElement("img", {
70
72
  className: cn('image'),
71
73
  src: imgSrc,
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-instructions__title_resolution_mobile{margin-bottom:32px;text-align:center}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__title_resolution_mobile{margin-bottom:40px}}@media screen and (min-width:1024px){.mfui-9-instructions__title_resolution_mobile{display:none}}.mfui-9-instructions__title_resolution_desktop{margin-bottom:40px}@media screen and (max-width:1023px){.mfui-9-instructions__title_resolution_desktop{display:none}}.mfui-9-instructions .swiper-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (min-width:1024px){.mfui-9-instructions__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__wrapper_vertical-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__wrapper_vertical-align_unset{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}}.mfui-9-instructions .mfui-9-instructions__text{margin-top:48px}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__text{text-align:center}}.mfui-9-instructions .mfui-9-instructions__button{display:block;margin-top:32px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__button{margin-left:auto;margin-right:auto}}@media screen and (min-width:768px){.mfui-9-instructions .mfui-9-instructions__button{margin-top:40px}}.mfui-9-instructions__picture{max-height:490px;max-width:530px;overflow:hidden;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__picture{margin:0 auto}}@media screen and (min-width:1024px){.mfui-9-instructions__picture{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;width:50%}.mfui-9-instructions__picture_align_left{-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-right:40px;order:0}}.mfui-9-instructions_mask_none .mfui-9-instructions__slide{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-instructions__swiper-img{height:100%;width:100%}.mfui-9-instructions__swiper-img_video{-webkit-filter:brightness(108.5%);filter:brightness(108.5%)}.mfui-9-instructions__img-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:490px;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}}.mfui-9-instructions__device-screen{overflow:hidden;pointer-events:none}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__img-wrapper{height:421px}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__device-screen{height:490px;margin:auto;width:100%}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__swiper,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__swiper{height:363px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:59px;width:204px}.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__device-screen{background:url(img/blackIphone.png) 50% no-repeat;background-size:contain}.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__device-screen{background:url(img/whiteIphone.png) 50% no-repeat;background-size:contain}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper{height:424px}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen{background:url(img/android.png) 50% no-repeat;background-size:contain}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper{height:370px;width:206px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__img-wrapper{height:460px}}.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__device-screen{background:url(img/newIphone.png) 50% no-repeat;background-size:contain;height:490px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__swiper{border-radius:20px;height:462px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:14px;width:214px;z-index:1}@media screen and (max-width:1023px){.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__device-screen{background:url(img/iphone12.png) 50% no-repeat;background-size:contain;height:490px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__swiper{border-radius:20px;height:462px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:14px;width:214px;z-index:1}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__img-wrapper{height:487px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__device-screen{background:url(img/iphone15.png) 50% no-repeat;background-size:contain;height:486px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__swiper{border-radius:20px;height:468px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:10px;width:217px;z-index:1}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper{height:440px;min-height:440px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{background:url(img/android-new.png) 50% no-repeat;background-size:contain;height:510px;margin-top:24px;position:relative;width:100%;z-index:1}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{height:574px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:54px;width:222px}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper{top:58px;width:250px}}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background:url(img/iphone-new.png) 50% no-repeat;background-size:contain;height:469px;margin-top:24px;position:relative;width:100%;z-index:1}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:38px;width:205px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:53.4%}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{height:208px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{height:115px}.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:310px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:460px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:590px}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{height:190px;max-width:345px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{height:105px;max-width:210px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{-webkit-transform:translate(-50%,-53%);transform:translate(-50%,-53%)}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__img-wrapper{background:url(img/laptop-new.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:58.9%}}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{background:url(img/laptop-new.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{background:url(img/laptop-new.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:4px;-webkit-transform:translate(-49.5%);transform:translate(-49.5%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{max-width:415px;top:7px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{max-width:302px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{top:12px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{top:50%;-webkit-transform:translate(-49.5%,-55%);transform:translate(-49.5%,-55%)}}.mfui-9-instructions__slide{-ms-flex-negative:0;flex-shrink:0;height:100%}@media screen and (max-width:767px){.mfui-9-instructions__articles{margin-top:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles{margin-top:32px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:50%}.mfui-9-instructions__articles_align_right{margin-right:40px}}.mfui-9-instructions__articles-list{list-style-type:none;margin:0;padding:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-list_mobile{display:none}}@media screen and (max-width:1023px){.mfui-9-instructions__articles-list_desktop{display:none}}.mfui-9-instructions__articles-item{min-height:40px;opacity:.5;position:relative}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item{margin-bottom:48px}}.mfui-9-instructions__articles-item:hover,.mfui-9-instructions__articles-item_active{opacity:1}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot{color:var(--stcWhite)}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot:before,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot:before{background:var(--brandGreen);bottom:0;left:0;right:0;top:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item:last-child{margin-bottom:0}}.mfui-9-instructions__articles-item-dot{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--spbSky3);box-shadow:inset 0 0 0 1px var(--spbSky3);cursor:pointer;display:inline-block;font-size:15px;font-weight:500;height:40px;line-height:40px;position:absolute;text-align:center;width:40px}@media screen and (max-width:479px){.mfui-9-instructions__articles-item-dot{min-width:40px}}.mfui-9-instructions__articles-item-dot:before{border-radius:12px;bottom:50%;content:"";left:50%;position:absolute;right:50%;top:50%;-webkit-transition:all .3s ease;transition:all .3s ease}.mfui-9-instructions__articles-item-dot-number{position:relative}.mfui-9-instructions__articles-item-title{cursor:pointer;display:inline-block;font-size:15px;font-weight:400;line-height:24px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item-title{padding:8px 0 0 56px}}.mfui-9-instructions__articles-dots{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;list-style-type:none;margin:0;padding:0}@media screen and (max-width:767px){.mfui-9-instructions__articles-dots{margin-top:16px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-dots{margin-top:24px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles-dots{display:none}}.mfui-9-instructions__articles-dots_text-after{margin-bottom:48px}.mfui-9-instructions__articles-dot{background:var(--spbSky2);border-radius:4px;cursor:pointer;display:inline-block;height:8px;margin-right:12px;position:relative;width:8px}.mfui-9-instructions__articles-dot:hover,.mfui-9-instructions__articles-dot_active{background:var(--brandGreen)}.mfui-9-instructions__articles-dot_active{width:20px}.mfui-9-instructions__articles-dot:last-child{margin-right:0}.mfui-9-instructions__articles-title-block{margin:0 auto;text-align:center}@media screen and (max-width:767px){.mfui-9-instructions__articles-title-block{width:55%}}@media screen and (max-width:479px){.mfui-9-instructions__articles-title-block{width:100%}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-title-block{max-width:530px;width:100%}}.mfui-9-instructions__articles-title-block_with-numeration{text-align:left}.mfui-9-instructions__articles-title{font-weight:400;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__articles-num,.mfui-9-instructions__articles-title{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;line-height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__articles-num{font-weight:500;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brandGreen);border-radius:50%;color:var(--stcWhite);height:40px;margin-right:16px;width:40px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-num{display:none}}.mfui-9-instructions__picture_background_spbSky0{background-color:var(--spbSky0);border-radius:12px}.mfui-9-instructions__picture_background_spbSky0 .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions__arrow{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:2}@media screen and (max-width:767px){.mfui-9-instructions__arrow{display:none}}.mfui-9-instructions__arrow_prev{left:24px}.mfui-9-instructions__arrow_next{right:24px}.mfui-9-instructions__qr-code{-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:12px;position:absolute;right:64px;top:12px;width:126px;z-index:3}@media screen and (min-width:768px){.mfui-9-instructions__qr-code{display:block}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions__qr-code{right:44px}}.mfui-9-instructions__qr-code-image{display:block;height:auto;width:100%}.mfui-9-instructions__qr-code-text{font-size:12px;font-weight:500;line-height:12px;margin-bottom:12px;text-align:center}.mfui-9-instructions_reversed .mfui-9-instructions__title_resolution_mobile{margin-bottom:16px}@media screen and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__picture{margin-bottom:0;max-height:100%}.mfui-9-instructions_reversed .mfui-9-instructions__articles{display:none}}@media screen and (max-width:767px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:32px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:40px}}@media screen and (min-width:1024px){.mfui-9-instructions_items-gap_medium .mfui-9-instructions__articles-item:not(:last-child){margin-bottom:24px}}.mfui-9-instructions_items-gap_medium .mfui-9-instructions__text{margin-top:32px}@media screen and (min-width:768px){.mfui-9-instructions_items-gap_medium .mfui-9-instructions__text{margin-top:40px}}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-instructions__title_resolution_mobile{margin-bottom:32px;text-align:center}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__title_resolution_mobile{margin-bottom:40px}}@media screen and (min-width:1024px){.mfui-9-instructions__title_resolution_mobile{display:none}}.mfui-9-instructions__title_resolution_desktop{margin-bottom:40px}@media screen and (max-width:1023px){.mfui-9-instructions__title_resolution_desktop{display:none}}.mfui-9-instructions .swiper-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (min-width:1024px){.mfui-9-instructions__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__wrapper_vertical-align_top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__wrapper_vertical-align_unset{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}}.mfui-9-instructions .mfui-9-instructions__text{margin-top:32px}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__text{margin-top:40px;text-align:center}}.mfui-9-instructions .mfui-9-instructions__button{display:block;margin-top:32px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}@media screen and (max-width:1023px){.mfui-9-instructions .mfui-9-instructions__button{margin-left:auto;margin-right:auto}}@media screen and (min-width:768px){.mfui-9-instructions .mfui-9-instructions__button{margin-top:40px}}.mfui-9-instructions__picture{max-height:490px;max-width:530px;overflow:hidden;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__picture{margin:0 auto}}@media screen and (min-width:1024px){.mfui-9-instructions__picture{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;width:50%}.mfui-9-instructions__picture_align_left{-webkit-box-ordinal-group:1;-ms-flex-order:0;margin-right:40px;order:0}}.mfui-9-instructions_mask_none .mfui-9-instructions__slide{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-9-instructions__swiper-img{height:100%;width:100%}.mfui-9-instructions__swiper-img_video{-webkit-filter:brightness(108.5%);filter:brightness(108.5%)}.mfui-9-instructions__img-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:490px;position:relative}@media screen and (max-width:1023px){.mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}}.mfui-9-instructions__device-screen{overflow:hidden;pointer-events:none}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__img-wrapper{height:421px}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__device-screen{height:490px;margin:auto;width:100%}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper,.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__swiper,.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__swiper{height:363px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:59px;width:204px}.mfui-9-instructions_mask_black-iphone .mfui-9-instructions__device-screen{background:url(img/blackIphone.png) 50% no-repeat;background-size:contain}.mfui-9-instructions_mask_white-iphone .mfui-9-instructions__device-screen{background:url(img/whiteIphone.png) 50% no-repeat;background-size:contain}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper{height:424px}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen{background:url(img/android.png) 50% no-repeat;background-size:contain}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper{height:370px;width:206px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__img-wrapper{height:460px}}.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__device-screen{background:url(img/newIphone.png) 50% no-repeat;background-size:contain;height:490px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_new-iphone .mfui-9-instructions__swiper{border-radius:20px;height:462px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:14px;width:214px;z-index:1}@media screen and (max-width:1023px){.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__device-screen{background:url(img/iphone12.png) 50% no-repeat;background-size:contain;height:490px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_iphone-12 .mfui-9-instructions__swiper{border-radius:20px;height:462px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:14px;width:214px;z-index:1}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__img-wrapper{height:487px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__device-screen{background:url(img/iphone15.png) 50% no-repeat;background-size:contain;height:486px;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_iphone-15 .mfui-9-instructions__swiper{border-radius:20px;height:468px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:10px;width:217px;z-index:1}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper{height:440px;min-height:440px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{background:url(img/android-new.png) 50% no-repeat;background-size:contain;height:510px;margin-top:24px;position:relative;width:100%;z-index:1}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{height:574px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:54px;width:222px}@media screen and (min-width:1024px){.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper{top:58px;width:250px}}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper:before{background:var(--spbSky2);bottom:0;content:"";display:block;height:1px;left:0;margin:0 auto;position:absolute;right:0;width:324px;z-index:2}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background:url(img/iphone-new.png) 50% no-repeat;background-size:contain;height:469px;margin-top:24px;position:relative;width:100%;z-index:1}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:38px;width:205px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:53.4%}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{height:208px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper{height:115px}.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:310px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:460px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{width:590px}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__device-screen{background:url(img/laptop.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{height:190px;max-width:345px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{height:105px;max-width:210px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{-webkit-transform:translate(-50%,-53%);transform:translate(-50%,-53%)}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__img-wrapper{background:url(img/laptop-new.png) 50% 0 no-repeat;background-size:100%;height:0;padding-bottom:58.9%}}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{background:url(img/laptop-new.png) 50% 0 no-repeat;background-size:100%;height:100%;margin:auto;position:relative;width:100%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:530px}}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:450px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{width:270px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__device-screen{background:url(img/laptop-new.png) 50% no-repeat;background-size:contain}}.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{left:50%;margin:auto;overflow:hidden;position:absolute;right:0;top:4px;-webkit-transform:translate(-49.5%);transform:translate(-49.5%);width:78%}@media screen and (min-width:480px) and (max-width:767px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{max-width:415px;top:7px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{max-width:302px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{top:12px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop-new .mfui-9-instructions__swiper{top:50%;-webkit-transform:translate(-49.5%,-55%);transform:translate(-49.5%,-55%)}}.mfui-9-instructions__slide{-ms-flex-negative:0;flex-shrink:0;height:100%}@media screen and (max-width:767px){.mfui-9-instructions__articles{margin-top:24px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles{margin-top:32px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:50%}.mfui-9-instructions__articles_align_right{margin-right:40px}}.mfui-9-instructions__articles-list{list-style-type:none;margin:0;padding:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-list_mobile{display:none}}@media screen and (max-width:1023px){.mfui-9-instructions__articles-list_desktop{display:none}}.mfui-9-instructions__articles-item{min-height:40px;opacity:.5;position:relative}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item{margin-bottom:24px}}.mfui-9-instructions__articles-item:hover,.mfui-9-instructions__articles-item_active{opacity:1}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot{color:var(--stcWhite)}.mfui-9-instructions__articles-item:hover .mfui-9-instructions__articles-item-dot:before,.mfui-9-instructions__articles-item_active .mfui-9-instructions__articles-item-dot:before{background:var(--brandGreen);bottom:0;left:0;right:0;top:0}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item:last-child{margin-bottom:0}}.mfui-9-instructions__articles-item-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:none;padding:0;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:12px;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:40px;position:relative;text-align:start;width:100%}.mfui-9-instructions__articles-item-button:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-instructions__articles-item-button:focus{outline:none}.mfui-9-instructions__articles-item-button:disabled{color:inherit;cursor:auto}.mfui-9-instructions__articles-item-dot{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--spbSky3);box-shadow:inset 0 0 0 1px var(--spbSky3);cursor:pointer;display:inline-block;font-size:15px;font-weight:500;height:40px;line-height:40px;position:absolute;text-align:center;width:40px}@media screen and (max-width:479px){.mfui-9-instructions__articles-item-dot{min-width:40px}}.mfui-9-instructions__articles-item-dot:before{border-radius:12px;bottom:50%;content:"";left:50%;position:absolute;right:50%;top:50%;-webkit-transition:all .3s ease;transition:all .3s ease}.mfui-9-instructions__articles-item-dot-number{position:relative}.mfui-9-instructions__articles-item-title{cursor:pointer;display:inline-block;font-size:15px;font-weight:400;line-height:24px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-item-title{padding:8px 0 0 56px}}.mfui-9-instructions__articles-dots{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;list-style-type:none;margin:0;padding:0}@media screen and (max-width:767px){.mfui-9-instructions__articles-dots{margin-top:16px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-dots{margin-top:24px}}@media screen and (min-width:1024px){.mfui-9-instructions__articles-dots{display:none}}.mfui-9-instructions__articles-dots_text-after{margin-bottom:48px}.mfui-9-instructions__articles-dot{background:var(--spbSky2);border-radius:4px;cursor:pointer;display:inline-block;height:8px;margin-right:12px;position:relative;width:8px}.mfui-9-instructions__articles-dot:hover,.mfui-9-instructions__articles-dot_active{background:var(--brandGreen)}.mfui-9-instructions__articles-dot_active{width:20px}.mfui-9-instructions__articles-dot:last-child{margin-right:0}.mfui-9-instructions__articles-title-block{margin:0 auto;text-align:center}@media screen and (max-width:767px){.mfui-9-instructions__articles-title-block{width:55%}}@media screen and (max-width:479px){.mfui-9-instructions__articles-title-block{width:100%}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions__articles-title-block{max-width:530px;width:100%}}.mfui-9-instructions__articles-title-block_with-numeration{text-align:left}.mfui-9-instructions__articles-title{font-weight:400;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mfui-9-instructions__articles-num,.mfui-9-instructions__articles-title{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;line-height:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mfui-9-instructions__articles-num{font-weight:500;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brandGreen);border-radius:50%;color:var(--stcWhite);height:40px;margin-right:16px;width:40px}@media screen and (min-width:1024px){.mfui-9-instructions__articles-num{display:none}}.mfui-9-instructions__picture_background_spbSky0{background-color:var(--spbSky0);border-radius:12px}.mfui-9-instructions__picture_background_spbSky0 .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions__arrow{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:2}@media screen and (max-width:767px){.mfui-9-instructions__arrow{display:none}}.mfui-9-instructions__arrow_prev{left:24px}.mfui-9-instructions__arrow_next{right:24px}.mfui-9-instructions__qr-code{-webkit-box-sizing:border-box;box-sizing:border-box;display:none;padding:12px;position:absolute;right:64px;top:12px;width:126px;z-index:3}@media screen and (min-width:768px){.mfui-9-instructions__qr-code{display:block}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions__qr-code{right:44px}}.mfui-9-instructions__qr-code-image{display:block;height:auto;width:100%}.mfui-9-instructions__qr-code-text{font-size:12px;font-weight:500;line-height:12px;margin-bottom:12px;text-align:center}.mfui-9-instructions_reversed .mfui-9-instructions__title_resolution_mobile{margin-bottom:16px}@media screen and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__picture{margin-bottom:0;max-height:100%}.mfui-9-instructions_reversed .mfui-9-instructions__articles{display:none}}@media screen and (max-width:767px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:32px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_reversed .mfui-9-instructions__articles-title-block{margin-bottom:40px}}
@@ -91,8 +91,6 @@ export interface IInstructionsProps {
91
91
  title?: string;
92
92
  /** Пункты инструкции */
93
93
  instructionItems: InstructionItemType[];
94
- /** Отступ между пунктами инструкции. DEPRECATED: 'large' */
95
- itemsGap?: 'medium' | 'large';
96
94
  /** Описание после инструкции */
97
95
  additionalText?: string;
98
96
  /** Расположение изображения по горизонтали */
@@ -17,7 +17,7 @@ try {
17
17
  SwiperSlide = SwiperAll.SwiperSlide;
18
18
  } catch (e) {
19
19
  // eslint-disable-next-line no-console
20
- console.warn("\n WARNING: megafon/ui-share is using the latest version of swiper. \n For more information about server-side rendering\n please check the Instructions component documentation at:\n https://ui.megafon.ru/components/instructions\n ");
20
+ console.warn("\n WARNING: megafon/ui-share is using the latest version of swiper.\n For more information about server-side rendering\n please check the Instructions component documentation at:\n https://ui.megafon.ru/components/instructions\n ");
21
21
  }
22
22
  export var pictureAlignTypes = {
23
23
  LEFT: 'left',
@@ -74,7 +74,6 @@ var Instructions = function Instructions(_ref) {
74
74
  _ref$title = _ref.title,
75
75
  title = _ref$title === void 0 ? '' : _ref$title,
76
76
  instructionItems = _ref.instructionItems,
77
- itemsGap = _ref.itemsGap,
78
77
  _ref$pictureAlign = _ref.pictureAlign,
79
78
  pictureAlign = _ref$pictureAlign === void 0 ? 'left' : _ref$pictureAlign,
80
79
  _ref$pictureVerticalA = _ref.pictureVerticalAlign,
@@ -241,24 +240,23 @@ var Instructions = function Instructions(_ref) {
241
240
  "data-testid": "".concat(testIdPrefix, "-articles-list-desktop")
242
241
  }, instructionItems.map(function (_ref5, i) {
243
242
  var itemTitle = _ref5.title;
244
- return (
245
- /*#__PURE__*/
246
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
247
- React.createElement("li", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1), {
248
- className: cn('articles-item', {
249
- active: slideIndex === i
250
- }, [getActiveCustomClass(i, slideIndex), instructionItem, desktopInstructionItem]),
251
- "data-index": i,
252
- onClick: handleArticleClick(i),
253
- key: i
254
- }), /*#__PURE__*/React.createElement("div", {
255
- className: cn('articles-item-dot')
256
- }, /*#__PURE__*/React.createElement("span", {
257
- className: cn('articles-item-dot-number')
258
- }, i + 1)), /*#__PURE__*/React.createElement("div", {
259
- className: cn('articles-item-title', [desktopItemTitle])
260
- }, itemTitle))
261
- );
243
+ return /*#__PURE__*/React.createElement("li", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1), {
244
+ className: cn('articles-item', {
245
+ active: slideIndex === i
246
+ }, [getActiveCustomClass(i, slideIndex), instructionItem, desktopInstructionItem]),
247
+ "data-index": i,
248
+ key: i
249
+ }), /*#__PURE__*/React.createElement("button", {
250
+ className: cn('articles-item-button'),
251
+ type: "button",
252
+ onClick: handleArticleClick(i)
253
+ }, /*#__PURE__*/React.createElement("div", {
254
+ className: cn('articles-item-dot')
255
+ }, /*#__PURE__*/React.createElement("span", {
256
+ className: cn('articles-item-dot-number')
257
+ }, i + 1)), /*#__PURE__*/React.createElement("div", {
258
+ className: cn('articles-item-title', [desktopItemTitle])
259
+ }, itemTitle)));
262
260
  }));
263
261
  }, [desktopInstructionItem, desktopItemTitle, getActiveCustomClass, handleArticleClick, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, instructionItem, instructionItems, slideIndex, text]);
264
262
  var renderMobileArticles = React.useCallback(function () {
@@ -335,8 +333,7 @@ var Instructions = function Instructions(_ref) {
335
333
  return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
336
334
  className: cn({
337
335
  mask: pictureMask,
338
- reversed: isMobileReversed,
339
- 'items-gap': itemsGap
336
+ reversed: isMobileReversed
340
337
  }),
341
338
  ref: rootRef
342
339
  }), /*#__PURE__*/React.createElement(Grid, {
@@ -7,7 +7,7 @@ export declare const Align: {
7
7
  };
8
8
  type AlignType = (typeof Align)[keyof typeof Align];
9
9
  type NotificationProps = React.ComponentProps<typeof Notification>;
10
- type NotificationBoxProps = Omit<NotificationProps, 'isColored'> & {
10
+ type NotificationBoxProps = NotificationProps & {
11
11
  /** Горизонтальное выравнивание */
12
12
  align?: AlignType;
13
13
  };
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
1
  import "core-js/modules/es.symbol.js";
3
2
  import "core-js/modules/es.array.index-of.js";
4
3
  var __rest = this && this.__rest || function (s, e) {
@@ -28,8 +27,6 @@ var NotificationBox = function NotificationBox(_a) {
28
27
  })
29
28
  }, /*#__PURE__*/React.createElement("div", {
30
29
  className: cn('notification')
31
- }, /*#__PURE__*/React.createElement(Notification, _extends({}, restProps, {
32
- isColored: false
33
- }))));
30
+ }, /*#__PURE__*/React.createElement(Notification, restProps)));
34
31
  };
35
32
  export default NotificationBox;
@@ -1 +1 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-9-partners__tile:not(:last-child){margin-bottom:20px}@media screen and (max-width:767px){.mfui-9-partners__tile:not(:last-child){margin-bottom:16px}}.mfui-9-partners__tile-inner{-webkit-box-sizing:border-box;box-sizing:border-box;height:132px;padding:28px 48px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-partners__tile-inner{height:104px;padding:22px 37px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-partners__tile-inner{height:77px;padding:10px}}@media screen and (max-width:767px){.mfui-9-partners__tile-inner{height:60px;padding:8px}}.mfui-9-partners__img-wrapper{height:100%;position:relative;width:100%}.mfui-9-partners__tile-img{left:50%;max-height:100%;max-width:100%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-partners__grid{display:grid;gap:20px;grid-template-columns:repeat(12,1fr)}@media screen and (max-width:767px){.mfui-9-partners__grid{grid-template-columns:repeat(2,1fr)}}.mfui-9-partners__grid-item{grid-column:span 6}@media screen and (max-width:767px){.mfui-9-partners__grid-item{grid-column:span 2}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(2)) .mfui-9-partners__grid-item:nth-child(-n+2){grid-column:span 6}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(2)) .mfui-9-partners__grid-item:nth-child(-n+2){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(3)) .mfui-9-partners__grid-item:nth-child(-n+3){grid-column:span 4}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(3)) .mfui-9-partners__grid-item:first-child{grid-column:span 2}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(3)) .mfui-9-partners__grid-item:nth-child(n+2){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(4)) .mfui-9-partners__grid-item:nth-child(-n+4){grid-column:span 3}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(4)) .mfui-9-partners__grid-item:nth-child(-n+4){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(5)) .mfui-9-partners__grid-item:nth-child(-n+2){grid-column:span 6}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(5)) .mfui-9-partners__grid-item:nth-child(n+3){grid-column:span 4}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(5)) .mfui-9-partners__grid-item:first-child{grid-column:span 2}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(5)) .mfui-9-partners__grid-item:nth-child(n+2){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(6)) .mfui-9-partners__grid-item:nth-child(-n+6){grid-column:span 4}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(6)) .mfui-9-partners__grid-item:nth-child(-n+6){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(7)) .mfui-9-partners__grid-item:nth-child(-n+3){grid-column:span 4}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(7)) .mfui-9-partners__grid-item:nth-child(n+4){grid-column:span 3}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(7)) .mfui-9-partners__grid-item:first-child{grid-column:span 2}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(7)) .mfui-9-partners__grid-item:nth-child(n+2){grid-column:span 1}}.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(8)) .mfui-9-partners__grid-item:nth-child(-n+8){grid-column:span 3}@media screen and (max-width:767px){.mfui-9-partners__grid:has(.mfui-9-partners__grid-item:nth-child(8)) .mfui-9-partners__grid-item:nth-child(-n+8){grid-column:span 1}}
@@ -1,11 +1,6 @@
1
1
  import * as React from 'react';
2
+ import { BackgroundType, ItemType } from './types';
2
3
  import './Partners.scss';
3
- export type ItemType = {
4
- src: string;
5
- href?: string;
6
- alt: string;
7
- rel?: string;
8
- };
9
4
  export interface IPartnersProps {
10
5
  /** Дополнительные data атрибуты к внутренним элементам */
11
6
  dataAttrs?: {
@@ -24,8 +19,8 @@ export interface IPartnersProps {
24
19
  className?: string;
25
20
  /** Список логотипов */
26
21
  items: ItemType[];
27
- /** Радиус границы логотипов */
28
- radius?: 'default' | 'rounded';
22
+ /** Фон карточки */
23
+ background?: BackgroundType;
29
24
  /** Обработчик клика по стрелке вперед (должен быть обернут в useCallback) */
30
25
  onNextClick?: (index: number) => void;
31
26
  /** Обработчик клика по стрелке назад (должен быть обернут в useCallback) */
@@ -3,8 +3,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "core-js/modules/es.array.map.js";
4
4
  import "core-js/modules/es.array.slice.js";
5
5
  import * as React from 'react';
6
- import { Grid, GridColumn, Tile, Carousel } from '@megafon/ui-core';
6
+ import { Carousel } from '@megafon/ui-core';
7
7
  import { breakpoints, cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
8
+ import PartnersItem from "./components/PartnersItem/PartnersItem";
8
9
  import "./Partners.css";
9
10
  var MAX_GRID_ITEMS_LENGTH = 8;
10
11
  var slidesSettings = _defineProperty(_defineProperty(_defineProperty({}, breakpoints.MOBILE_SMALL_START, {
@@ -29,50 +30,38 @@ var Partners = function Partners(_ref) {
29
30
  dataAttrs = _ref.dataAttrs,
30
31
  className = _ref.className,
31
32
  items = _ref.items,
32
- _ref$radius = _ref.radius,
33
- radius = _ref$radius === void 0 ? 'default' : _ref$radius,
33
+ _ref$background = _ref.background,
34
+ background = _ref$background === void 0 ? 'shadow' : _ref$background,
34
35
  onChange = _ref.onChange,
35
36
  onNextClick = _ref.onNextClick,
36
37
  onPrevClick = _ref.onPrevClick;
37
- var renderItem = React.useCallback(function (item) {
38
- var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
38
+ var renderItem = React.useCallback(function (item, index) {
39
39
  if (!item) {
40
40
  return null;
41
41
  }
42
42
  var src = item.src,
43
- href = item.href,
44
43
  alt = item.alt,
45
- rel = item.rel;
46
- return /*#__PURE__*/React.createElement(Tile, {
47
- href: href,
44
+ rel = item.rel,
45
+ href = item.href;
46
+ return /*#__PURE__*/React.createElement(PartnersItem, {
47
+ className: itemClass,
48
+ src: src,
49
+ alt: alt,
48
50
  rel: rel,
49
- shadowLevel: "default",
50
- radius: radius,
51
- isInteractive: !!href,
52
- className: cn('tile'),
51
+ href: href,
52
+ background: background,
53
53
  dataAttrs: {
54
54
  root: _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, index + 1))
55
55
  }
56
- }, /*#__PURE__*/React.createElement("div", {
57
- className: cn('tile-inner', [itemClass]),
58
- "data-testid": "".concat(testIdPrefix, "-tile-inner")
59
- }, /*#__PURE__*/React.createElement("div", {
60
- className: cn('img-wrapper')
61
- }, /*#__PURE__*/React.createElement("img", {
62
- src: src,
63
- alt: alt,
64
- className: cn('tile-img')
65
- }))));
66
- }, [radius, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, itemClass]);
56
+ });
57
+ }, [background, dataAttrs, itemClass]);
67
58
  var renderGrid = React.useCallback(function () {
68
- return /*#__PURE__*/React.createElement(Grid, {
69
- guttersLeft: "medium",
70
- guttersBottom: "medium"
59
+ return /*#__PURE__*/React.createElement("div", {
60
+ className: cn('grid')
71
61
  }, items.map(function (item, i) {
72
- return /*#__PURE__*/React.createElement(GridColumn, {
73
- key: i + item.src,
74
- all: "3",
75
- mobile: "6"
62
+ return /*#__PURE__*/React.createElement("div", {
63
+ className: cn('grid-item'),
64
+ key: i + item.src
76
65
  }, renderItem(item, i));
77
66
  }));
78
67
  }, [items, renderItem]);
@@ -0,0 +1 @@
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-9-partners-item{background-color:var(--base);border-radius:24px;display:block}.mfui-9-partners-item:focus-visible{-webkit-animation:focus-outline-shrink .3s linear forwards;animation:focus-outline-shrink .3s linear forwards;outline-offset:2px}@-webkit-keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}@keyframes focus-outline-shrink{0%{outline:0 solid var(--137C)}to{outline:4px solid var(--137C)}}.mfui-9-partners-item:focus{outline:none}.mfui-9-partners-item:not(:last-child){margin-bottom:20px}@media screen and (max-width:767px){.mfui-9-partners-item:not(:last-child){margin-bottom:16px}}.mfui-9-partners-item_background_shadow{-webkit-box-shadow:0 2px 12px rgba(0,0,0,.1);box-shadow:0 2px 12px rgba(0,0,0,.1)}.mfui-9-partners-item_background_shadow.mfui-9-partners-item_interactive:hover,.mfui-9-partners-item_background_white.mfui-9-partners-item_interactive:hover{background-color:var(--stcWhite10);-webkit-box-shadow:0 8px 28px rgba(0,0,0,.1);box-shadow:0 8px 28px rgba(0,0,0,.1)}.mfui-9-partners-item_background_outline{background-color:transparent;border:1px solid var(--spbSky2)}.mfui-9-partners-item_background_outline.mfui-9-partners-item_interactive:hover{background-color:var(--spbSky0)}.mfui-9-partners-item__background_white{background-color:var(--base)}.mfui-9-partners-item_background_gray{background-color:var(--spbSky0)}.mfui-9-partners-item_background_gray.mfui-9-partners-item_interactive:hover{background-color:var(--spbSky1)}.mfui-9-partners-item__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-sizing:border-box;box-sizing:border-box;height:132px;justify-content:center;padding:16px 0}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-partners-item__inner{height:104px;padding:18px 0}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-partners-item__inner{height:77px;padding:8px 0}}@media screen and (max-width:767px){.mfui-9-partners-item__inner{height:68px;padding:4px 0}}.mfui-9-partners-item__img-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;width:220px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-partners-item__img-wrapper{width:152px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-partners-item__img-wrapper{width:136px}}@media screen and (max-width:767px){.mfui-9-partners-item__img-wrapper{width:120px}}.mfui-9-partners-item__img{height:100%;width:100%}
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { BackgroundType, ItemType } from '../../types';
3
+ import './PartnersItem.scss';
4
+ interface IPartnersItem extends ItemType {
5
+ className?: string;
6
+ background?: BackgroundType;
7
+ dataAttrs?: {
8
+ root?: Record<string, string>;
9
+ };
10
+ }
11
+ declare const PartnersItem: React.FC<IPartnersItem>;
12
+ export default PartnersItem;
@@ -0,0 +1,33 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import * as React from 'react';
3
+ import { cnCreate } from '@megafon/ui-helpers';
4
+ import "./PartnersItem.css";
5
+ var cn = cnCreate('mfui-9-partners-item');
6
+ var PartnersItem = function PartnersItem(_ref) {
7
+ var src = _ref.src,
8
+ rel = _ref.rel,
9
+ alt = _ref.alt,
10
+ href = _ref.href,
11
+ className = _ref.className,
12
+ background = _ref.background,
13
+ dataAttrs = _ref.dataAttrs;
14
+ var RootElement = href ? 'a' : 'div';
15
+ var isLink = !!href;
16
+ return /*#__PURE__*/React.createElement(RootElement, _extends({
17
+ href: isLink ? href : undefined,
18
+ rel: isLink ? rel : undefined,
19
+ className: cn({
20
+ background: background,
21
+ interactive: !!href
22
+ }, [className])
23
+ }, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), /*#__PURE__*/React.createElement("div", {
24
+ className: cn('inner')
25
+ }, /*#__PURE__*/React.createElement("div", {
26
+ className: cn('img-wrapper')
27
+ }, /*#__PURE__*/React.createElement("img", {
28
+ src: src,
29
+ alt: alt,
30
+ className: cn('img')
31
+ }))));
32
+ };
33
+ export default PartnersItem;
@@ -0,0 +1,7 @@
1
+ export type BackgroundType = 'shadow' | 'outline' | 'white' | 'gray';
2
+ export type ItemType = {
3
+ src: string;
4
+ href?: string;
5
+ alt: string;
6
+ rel?: string;
7
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -11,6 +11,7 @@ type ButtonType = {
11
11
  href?: string;
12
12
  target?: '_self' | '_blank';
13
13
  rel?: string;
14
+ icon?: JSX.Element;
14
15
  onClick?: (e: React.SyntheticEvent<EventTarget>) => void;
15
16
  };
16
17
  export interface IPictureBoxProps {
@@ -48,6 +48,7 @@ var PictureBox = function PictureBox(_ref) {
48
48
  href: button.href,
49
49
  target: button.target,
50
50
  rel: button.rel,
51
+ icon: button.icon,
51
52
  dataAttrs: {
52
53
  root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.button
53
54
  },
@@ -59,6 +60,7 @@ var PictureBox = function PictureBox(_ref) {
59
60
  href: extraButton.href,
60
61
  target: extraButton.target,
61
62
  rel: extraButton.rel,
63
+ icon: extraButton.icon,
62
64
  type: "outline",
63
65
  dataAttrs: {
64
66
  root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.extraButton