@megafon/ui-shared 9.0.0-alpha.9 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.css +1 -0
  2. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.d.ts +13 -0
  3. package/dist/es/components/BenefitCards/BenefitCard/BenefitCard.js +59 -0
  4. package/dist/es/components/BenefitCards/BenefitCards.css +1 -0
  5. package/dist/es/components/BenefitCards/BenefitCards.d.ts +27 -0
  6. package/dist/es/components/BenefitCards/BenefitCards.js +35 -0
  7. package/dist/es/components/BenefitCards/helpers.d.ts +1 -0
  8. package/dist/es/components/BenefitCards/helpers.js +19 -0
  9. package/dist/es/components/BenefitCards/types.d.ts +24 -0
  10. package/dist/es/components/BenefitCards/types.js +1 -0
  11. package/dist/es/components/BlogBox/components/BlogBoxTile.css +1 -1
  12. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  13. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +3 -0
  14. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +1 -0
  15. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +18 -13
  16. package/dist/es/components/Card/Card.css +1 -1
  17. package/dist/es/components/Card/Card.d.ts +2 -1
  18. package/dist/es/components/Card/Card.js +23 -16
  19. package/dist/es/components/Card/types.d.ts +3 -5
  20. package/dist/es/components/CardsOnBackground/CardsOnBackground.css +1 -0
  21. package/dist/es/components/CardsOnBackground/CardsOnBackground.d.ts +37 -0
  22. package/dist/es/components/CardsOnBackground/CardsOnBackground.js +98 -0
  23. package/dist/es/components/CardsOnBackground/components/CardOnBackground.css +1 -0
  24. package/dist/es/components/CardsOnBackground/components/CardOnBackground.d.ts +22 -0
  25. package/dist/es/components/CardsOnBackground/components/CardOnBackground.js +94 -0
  26. package/dist/es/components/CardsOnBackground/types.d.ts +47 -0
  27. package/dist/es/components/CardsOnBackground/types.js +10 -0
  28. package/dist/es/components/CardsOnBackground/useUniformHeights.d.ts +9 -0
  29. package/dist/es/components/CardsOnBackground/useUniformHeights.js +88 -0
  30. package/dist/es/components/Container/Container.css +1 -1
  31. package/dist/es/components/Container/Container.d.ts +4 -0
  32. package/dist/es/components/Container/Container.js +4 -1
  33. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.css +1 -1
  34. package/dist/es/components/DownloadLinks/DownloadLink.css +1 -1
  35. package/dist/es/components/DownloadLinks/DownloadLink.js +3 -1
  36. package/dist/es/components/ImageBanner/ImageBanner.d.ts +3 -0
  37. package/dist/es/components/ImageBanner/ImageBanner.js +3 -1
  38. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
  39. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +4 -2
  40. package/dist/es/components/Instructions/Instructions.css +1 -1
  41. package/dist/es/components/Instructions/Instructions.d.ts +23 -7
  42. package/dist/es/components/Instructions/Instructions.js +46 -30
  43. package/dist/es/components/Instructions/img/android.png +0 -0
  44. package/dist/es/components/Instructions/img/laptop.png +0 -0
  45. package/dist/es/components/Instructions/img/logo-base.png +0 -0
  46. package/dist/es/components/Instructions/img/logo-cropped-base-with-opacity.png +0 -0
  47. package/dist/es/components/Instructions/img/logo-cropped-spb-sky-3.png +0 -0
  48. package/dist/es/components/Instructions/img/logo-spb-sky-0.png +0 -0
  49. package/dist/es/components/Partners/Partners.css +1 -1
  50. package/dist/es/components/Partners/Partners.d.ts +3 -8
  51. package/dist/es/components/Partners/Partners.js +20 -31
  52. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.css +1 -0
  53. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.d.ts +12 -0
  54. package/dist/es/components/Partners/components/PartnersItem/PartnersItem.js +33 -0
  55. package/dist/es/components/Partners/types.d.ts +7 -0
  56. package/dist/es/components/Partners/types.js +1 -0
  57. package/dist/es/components/PictureBox/PictureBox.d.ts +1 -0
  58. package/dist/es/components/PictureBox/PictureBox.js +2 -0
  59. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +2 -0
  60. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -0
  61. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.css +1 -1
  62. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.css +1 -1
  63. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.js +1 -1
  64. package/dist/es/components/StepperBox/StepperBox.d.ts +11 -0
  65. package/dist/es/components/StepperBox/StepperBox.js +36 -0
  66. package/dist/es/components/StoreButton/StoreButton.css +1 -1
  67. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -1
  68. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +27 -1
  69. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +31 -24
  70. package/dist/es/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  71. package/dist/es/hooks/useIsomorphicLayoutEffect.js +6 -0
  72. package/dist/es/index.d.ts +7 -2
  73. package/dist/es/index.js +7 -2
  74. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.css +1 -0
  75. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.d.ts +13 -0
  76. package/dist/lib/components/BenefitCards/BenefitCard/BenefitCard.js +68 -0
  77. package/dist/lib/components/BenefitCards/BenefitCards.css +1 -0
  78. package/dist/lib/components/BenefitCards/BenefitCards.d.ts +27 -0
  79. package/dist/lib/components/BenefitCards/BenefitCards.js +44 -0
  80. package/dist/lib/components/BenefitCards/helpers.d.ts +1 -0
  81. package/dist/lib/components/BenefitCards/helpers.js +26 -0
  82. package/dist/lib/components/BenefitCards/types.d.ts +24 -0
  83. package/dist/lib/components/BenefitCards/types.js +5 -0
  84. package/dist/lib/components/BlogBox/components/BlogBoxTile.css +1 -1
  85. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  86. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +3 -0
  87. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +1 -0
  88. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +18 -13
  89. package/dist/lib/components/Card/Card.css +1 -1
  90. package/dist/lib/components/Card/Card.d.ts +2 -1
  91. package/dist/lib/components/Card/Card.js +22 -15
  92. package/dist/lib/components/Card/types.d.ts +3 -5
  93. package/dist/lib/components/CardsOnBackground/CardsOnBackground.css +1 -0
  94. package/dist/lib/components/CardsOnBackground/CardsOnBackground.d.ts +37 -0
  95. package/dist/lib/components/CardsOnBackground/CardsOnBackground.js +107 -0
  96. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.css +1 -0
  97. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.d.ts +22 -0
  98. package/dist/lib/components/CardsOnBackground/components/CardOnBackground.js +100 -0
  99. package/dist/lib/components/CardsOnBackground/types.d.ts +47 -0
  100. package/dist/lib/components/CardsOnBackground/types.js +16 -0
  101. package/dist/lib/components/CardsOnBackground/useUniformHeights.d.ts +9 -0
  102. package/dist/lib/components/CardsOnBackground/useUniformHeights.js +95 -0
  103. package/dist/lib/components/Container/Container.css +1 -1
  104. package/dist/lib/components/Container/Container.d.ts +4 -0
  105. package/dist/lib/components/Container/Container.js +4 -1
  106. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.css +1 -1
  107. package/dist/lib/components/DownloadLinks/DownloadLink.css +1 -1
  108. package/dist/lib/components/DownloadLinks/DownloadLink.js +3 -1
  109. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +3 -0
  110. package/dist/lib/components/ImageBanner/ImageBanner.js +3 -1
  111. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +1 -1
  112. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +4 -2
  113. package/dist/lib/components/Instructions/Instructions.css +1 -1
  114. package/dist/lib/components/Instructions/Instructions.d.ts +23 -7
  115. package/dist/lib/components/Instructions/Instructions.js +47 -30
  116. package/dist/lib/components/Instructions/img/android.png +0 -0
  117. package/dist/lib/components/Instructions/img/laptop.png +0 -0
  118. package/dist/lib/components/Instructions/img/logo-base.png +0 -0
  119. package/dist/lib/components/Instructions/img/logo-cropped-base-with-opacity.png +0 -0
  120. package/dist/lib/components/Instructions/img/logo-cropped-spb-sky-3.png +0 -0
  121. package/dist/lib/components/Instructions/img/logo-spb-sky-0.png +0 -0
  122. package/dist/lib/components/Partners/Partners.css +1 -1
  123. package/dist/lib/components/Partners/Partners.d.ts +3 -8
  124. package/dist/lib/components/Partners/Partners.js +19 -30
  125. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.css +1 -0
  126. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.d.ts +12 -0
  127. package/dist/lib/components/Partners/components/PartnersItem/PartnersItem.js +42 -0
  128. package/dist/lib/components/Partners/types.d.ts +7 -0
  129. package/dist/lib/components/Partners/types.js +5 -0
  130. package/dist/lib/components/PictureBox/PictureBox.d.ts +1 -0
  131. package/dist/lib/components/PictureBox/PictureBox.js +2 -0
  132. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +2 -0
  133. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +2 -0
  134. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.css +1 -1
  135. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.css +1 -1
  136. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +1 -1
  137. package/dist/lib/components/StepperBox/StepperBox.d.ts +11 -0
  138. package/dist/lib/components/StepperBox/StepperBox.js +46 -0
  139. package/dist/lib/components/StoreButton/StoreButton.css +1 -1
  140. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -1
  141. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +27 -1
  142. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +30 -23
  143. package/dist/lib/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  144. package/dist/lib/hooks/useIsomorphicLayoutEffect.js +13 -0
  145. package/dist/lib/index.d.ts +7 -2
  146. package/dist/lib/index.js +45 -10
  147. package/package.json +6 -6
  148. package/dist/es/components/Instructions/img/android-new.png +0 -0
  149. package/dist/es/components/Instructions/img/blackIphone.png +0 -0
  150. package/dist/es/components/Instructions/img/iphone-new.png +0 -0
  151. package/dist/es/components/Instructions/img/iphone12.png +0 -0
  152. package/dist/es/components/Instructions/img/laptop-new.png +0 -0
  153. package/dist/es/components/Stepper/Stepper.css +0 -1
  154. package/dist/es/components/Stepper/Stepper.d.ts +0 -52
  155. package/dist/es/components/Stepper/Stepper.js +0 -159
  156. package/dist/es/components/Stepper/StepperItem.css +0 -1
  157. package/dist/es/components/Stepper/StepperItem.d.ts +0 -57
  158. package/dist/es/components/Stepper/StepperItem.js +0 -99
  159. package/dist/es/components/Stepper/img/separator-mobile.png +0 -0
  160. package/dist/es/components/Stepper/img/separator-vertical.png +0 -0
  161. package/dist/es/components/Stepper/img/separator.png +0 -0
  162. package/dist/lib/components/Instructions/img/android-new.png +0 -0
  163. package/dist/lib/components/Instructions/img/blackIphone.png +0 -0
  164. package/dist/lib/components/Instructions/img/iphone-new.png +0 -0
  165. package/dist/lib/components/Instructions/img/iphone12.png +0 -0
  166. package/dist/lib/components/Instructions/img/laptop-new.png +0 -0
  167. package/dist/lib/components/Stepper/Stepper.css +0 -1
  168. package/dist/lib/components/Stepper/Stepper.d.ts +0 -52
  169. package/dist/lib/components/Stepper/Stepper.js +0 -168
  170. package/dist/lib/components/Stepper/StepperItem.css +0 -1
  171. package/dist/lib/components/Stepper/StepperItem.d.ts +0 -57
  172. package/dist/lib/components/Stepper/StepperItem.js +0 -108
  173. package/dist/lib/components/Stepper/img/separator-mobile.png +0 -0
  174. package/dist/lib/components/Stepper/img/separator-vertical.png +0 -0
  175. package/dist/lib/components/Stepper/img/separator.png +0 -0
  176. /package/dist/es/components/Instructions/img/{iphone15.png → iphone.png} +0 -0
  177. /package/dist/lib/components/Instructions/img/{iphone15.png → 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
  /** Предотвратить прохождение верхнего отступа дочернего компонента через верхнюю границу контейнера */
@@ -30,6 +30,7 @@ var Container = function Container(_ref) {
30
30
  disablePaddingBottom = _ref.disablePaddingBottom,
31
31
  disableRadiusTop = _ref.disableRadiusTop,
32
32
  disableRadiusBottom = _ref.disableRadiusBottom,
33
+ disableHorizontalIndents = _ref.disableHorizontalIndents,
33
34
  _ref$bottomShadow = _ref.bottomShadow,
34
35
  bottomShadow = _ref$bottomShadow === void 0 ? false : _ref$bottomShadow,
35
36
  _ref$preventMarginTop = _ref.preventMarginTopCollapse,
@@ -49,6 +50,8 @@ var Container = function Container(_ref) {
49
50
  className: cn('inner', {
50
51
  prevent: preventMarginTopCollapse
51
52
  }, [className, classes === null || classes === void 0 ? void 0 : classes.inner])
52
- }, /*#__PURE__*/React.createElement(_uiCore.ContentArea, null, children)));
53
+ }, /*#__PURE__*/React.createElement(_uiCore.ContentArea, {
54
+ disableIndents: disableHorizontalIndents
55
+ }, children)));
53
56
  };
54
57
  var _default = exports["default"] = Container;
@@ -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)}
@@ -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}
@@ -18,7 +18,9 @@ var DownloadIcon = function DownloadIcon(props) {
18
18
  return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
19
19
  viewBox: "0 0 40 40"
20
20
  }, props), /*#__PURE__*/React.createElement("path", {
21
- 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"
21
+ 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"
22
+ }), /*#__PURE__*/React.createElement("path", {
23
+ 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"
22
24
  }));
23
25
  };
24
26
  var cn = (0, _uiHelpers.cnCreate)('mfui-9-download-link');
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { IHeaderProps } from '@megafon/ui-core/dist/lib/components/Header/Header';
2
3
  import './ImageBanner.scss';
3
4
  export declare const BackgroundColor: {
4
5
  readonly TRANSPARENT: "transparent";
@@ -58,6 +59,8 @@ export interface IImageBannerProps {
58
59
  headerLevelMobile?: 'h1' | 'h2';
59
60
  /** Тег заголовка на разрешении экрана 768+ */
60
61
  headerLevel?: 'h1' | 'h2';
62
+ /** Тег заголовка для семантической разметки (переопределение тега без изменения стилей) */
63
+ headerTag?: IHeaderProps['tag'];
61
64
  /** Фоновый цвет */
62
65
  backgroundColor?: BackgroundColorType;
63
66
  /** Радиус границы */
@@ -86,6 +86,7 @@ var ImageBanner = function ImageBanner(_ref2) {
86
86
  headerLevelMobile = _ref2$headerLevelMobi === void 0 ? 'h1' : _ref2$headerLevelMobi,
87
87
  _ref2$headerLevel = _ref2.headerLevel,
88
88
  headerLevel = _ref2$headerLevel === void 0 ? 'h1' : _ref2$headerLevel,
89
+ headerTag = _ref2.headerTag,
89
90
  _ref2$backgroundColor = _ref2.backgroundColor,
90
91
  backgroundColor = _ref2$backgroundColor === void 0 ? BackgroundColor.TRANSPARENT : _ref2$backgroundColor,
91
92
  _ref2$radius = _ref2.radius,
@@ -131,7 +132,8 @@ var ImageBanner = function ImageBanner(_ref2) {
131
132
  }, renderBadges, renderAdBlock), !!title && /*#__PURE__*/React.createElement(_uiCore.Header, {
132
133
  className: cn('title', [classes.title]),
133
134
  color: "inherit",
134
- as: isMobile ? headerLevelMobile : headerLevel
135
+ as: isMobile ? headerLevelMobile : headerLevel,
136
+ tag: headerTag
135
137
  }, typeof title === 'string' ? (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig) : title), !!description && /*#__PURE__*/React.createElement(_uiCore.Header, {
136
138
  className: cn('description', [classes.description]),
137
139
  as: "h5",
@@ -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)}
@@ -18,14 +18,14 @@ var ArrowRight16 = function ArrowRight16(props) {
18
18
  return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
19
19
  viewBox: "0 0 20 20"
20
20
  }, props), /*#__PURE__*/React.createElement("path", {
21
- d: "M8 13l3-3-3-3 1-1 4 4-4 4z"
21
+ 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"
22
22
  }));
23
23
  };
24
24
  var ArrowRight24 = function ArrowRight24(props) {
25
25
  return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({
26
26
  viewBox: "0 0 32 32"
27
27
  }, props), /*#__PURE__*/React.createElement("path", {
28
- d: "M12.5 20.8l4.8-4.8-4.8-4.8 1.6-1.7 6.4 6.5-6.4 6.5z"
28
+ 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"
29
29
  }));
30
30
  };
31
31
  var cn = (0, _uiHelpers.cnCreate)('mfui-9-info-card');
@@ -75,6 +75,8 @@ var InfoCard = function InfoCard(_ref) {
75
75
  active: isActive,
76
76
  'align-center': !moreInfo
77
77
  }, [className, classes === null || classes === void 0 ? void 0 : classes.root])
78
+ }, !!onClick && {
79
+ tabIndex: 0
78
80
  }), /*#__PURE__*/React.createElement("img", {
79
81
  className: cn('image'),
80
82
  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: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-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}}
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_mask_none .mfui-9-instructions__swiper-img,.mfui-9-instructions_mask_none .mfui-9-instructions__swiper-img_video{border-radius:24px}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .swiper-wrapper{height:100%}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:832px;width:100%}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:410px;max-width:645px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:422px;max-width:663px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:427px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__picture{height:auto;max-height:none}}.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px}@media screen and (min-width:1280px) and (max-width:1439px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:410px}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:422px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:427px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_none.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:auto}}.mfui-9-instructions__swiper-img{border-radius:0;height:100%;width:100%}.mfui-9-instructions__swiper-img_video{border-radius:0;-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}.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper{height:487px}@media screen and (max-width:1023px){.mfui-9-instructions_mask_android .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone .mfui-9-instructions__img-wrapper:before{display:none}}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:100%;margin:auto;position:relative;width:100%;z-index:2}.mfui-9-instructions_mask_android .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone .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 .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone .mfui-9-instructions__qr-code{left:61.2%;top:16px}.mfui-9-instructions_mask_android .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:513px;max-width:514px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:529px;max-width:530px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:513px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:529px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:427px}}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{height:100%}.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;top:0;width:240px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:513px;width:232px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:529px;width:240px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{height:426px;width:196px}}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__img-wrapper:before,.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_android-cropped .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background:50% no-repeat;background-size:contain;height:490px;margin-top:20px;position:relative;width:100%;z-index:1}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{left:0;margin:auto;overflow:hidden;position:absolute;right:0;top:28px;width:218px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__qr-code{left:61.2%;top:8px}.mfui-9-instructions_mask_android-cropped .mfui-9-instructions__device-screen{background-image:url(img/android.png)}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:659px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:511px;max-width:645px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:532px;max-width:672px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:490px;max-width:530px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:659px;min-height:659px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:511px;min-height:511px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:532px;min-height:532px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:420px;min-height:420px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper:before{width:380px}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:384px 759px;height:759px;margin-top:31px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:298px 576px;height:576px;margin-top:25px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:310px 621px;height:621px;margin-top:25px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__device-screen{background-size:241px 490px;height:490px;margin-top:20px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:45px;width:348px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:37px;width:276px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:38px;width:282px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__swiper{top:28px;width:218px}}.mfui-9-instructions_mask_android-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code,.mfui-9-instructions_mask_iphone-cropped.mfui-9-instructions_size_big .mfui-9-instructions__qr-code{left:66%}.mfui-9-instructions_mask_iphone .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone.mfui-9-instructions_size_big .mfui-9-instructions__swiper{border-radius:40px}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__device-screen{background-image:url(img/iphone.png)}.mfui-9-instructions_mask_iphone-cropped .mfui-9-instructions__swiper{border-radius:24px}@media screen 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:58.9%}}.mfui-9-instructions_mask_laptop .mfui-9-instructions__img-wrapper:before{display:none}.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: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 .mfui-9-instructions__swiper{max-width:415px;top:7px}}@media screen and (max-width:479px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{max-width:302px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:12px}}@media screen and (min-width:1024px){.mfui-9-instructions_mask_laptop .mfui-9-instructions__swiper{top:50%;-webkit-transform:translate(-49.5%,-55%);transform:translate(-49.5%,-55%)}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:487px;max-width:832px;width:100%}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-width:100%;min-width:514px;width:66%}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:393px;max-width:672px}}.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:487px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:393px;padding-bottom:393px}}@media screen and (max-width:767px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__img-wrapper{height:0}}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:514px}}@media screen and (max-width:1023px){.mfui-9-instructions_mask_laptop.mfui-9-instructions_size_big .mfui-9-instructions__swiper{max-width:672px}}.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_base,.mfui-9-instructions__picture_background_spbSky0,.mfui-9-instructions__picture_background_spbSky1,.mfui-9-instructions__picture_background_transparent,.mfui-9-instructions__picture_background_violet{border-radius:24px}.mfui-9-instructions__picture_background_base .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky0 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_spbSky1 .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_transparent .mfui-9-instructions__img-wrapper:before,.mfui-9-instructions__picture_background_violet .mfui-9-instructions__img-wrapper:before{display:none}.mfui-9-instructions__picture_background_spbSky0{background-color:var(--spbSky0)}.mfui-9-instructions__picture_background_spbSky1{background-color:var(--spbSky1)}.mfui-9-instructions__picture_background_base{background-color:var(--base)}.mfui-9-instructions__picture_background_violet{background-color:#e1dcea}.mfui-9-instructions__picture_background_transparent{background-color:transparent}.mfui-9-instructions__picture_overlay_logo-base,.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity,.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3,.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-position:50%;background-repeat:no-repeat;background-size:contain}.mfui-9-instructions__picture_overlay_logo-base{background-image:url(img/logo-base.png)}.mfui-9-instructions__picture_overlay_logo-spb-sky-0{background-image:url(img/logo-spb-sky-0.png)}.mfui-9-instructions__picture_overlay_logo-cropped-base-with-opacity{background-image:url(img/logo-cropped-base-with-opacity.png)}.mfui-9-instructions__picture_overlay_logo-cropped-spb-sky-3{background-image:url(img/logo-cropped-spb-sky-3.png)}.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}}.mfui-9-instructions_reversed.mfui-9-instructions_size_big .mfui-9-instructions__picture{max-height:100%}
@@ -13,18 +13,28 @@ export declare const pictureVerticalAlignTypes: {
13
13
  export declare const pictureMaskTypes: {
14
14
  readonly ANDROID: "android";
15
15
  readonly ANDROID_CROPPED: "android-cropped";
16
- readonly NEW_IPHONE: "new-iphone";
17
- readonly BLACK_IPHONE: "black-iphone";
18
- readonly WHITE_IPHONE: "white-iphone";
19
- readonly LAPTOP: "laptop";
20
- readonly LAPTOP_NEW: "laptop-new";
21
- readonly IPHONE_12: "iphone-12";
22
- readonly IPHONE_15: "iphone-15";
16
+ readonly IPHONE: "iphone";
23
17
  readonly IPHONE_CROPPED: "iphone-cropped";
18
+ readonly LAPTOP: "laptop";
24
19
  readonly NONE: "none";
25
20
  };
26
21
  export declare const pictureBackgroundColorTypes: {
27
22
  readonly SPB_SKY_0: "spbSky0";
23
+ readonly SPB_SKY_1: "spbSky1";
24
+ readonly BASE: "base";
25
+ readonly VIOLET: "violet";
26
+ readonly TRANSPARENT: "transparent";
27
+ };
28
+ export declare const pictureOverlayTypes: {
29
+ readonly LOGO_BASE: "logo-base";
30
+ readonly LOGO_SPB_SKY_0: "logo-spb-sky-0";
31
+ readonly LOGO_CROPPED_BASE_WITH_OPACITY: "logo-cropped-base-with-opacity";
32
+ readonly LOGO_CROPPED_SPB_SKY_3: "logo-cropped-spb-sky-3";
33
+ readonly NONE: "none";
34
+ };
35
+ export declare const sizeTypes: {
36
+ readonly DEFAULT: "default";
37
+ readonly BIG: "big";
28
38
  };
29
39
  export declare const arrowTheme: {
30
40
  readonly PURPLE: "purple";
@@ -38,6 +48,8 @@ type PictureAlignTypesType = (typeof pictureAlignTypes)[keyof typeof pictureAlig
38
48
  type PictureVerticalAlignTypesType = (typeof pictureVerticalAlignTypes)[keyof typeof pictureVerticalAlignTypes];
39
49
  type PictureMaskTypesType = (typeof pictureMaskTypes)[keyof typeof pictureMaskTypes];
40
50
  type PictureBackgroundColorsType = (typeof pictureBackgroundColorTypes)[keyof typeof pictureBackgroundColorTypes];
51
+ export type PictureOverlayType = (typeof pictureOverlayTypes)[keyof typeof pictureOverlayTypes];
52
+ type SizeType = (typeof sizeTypes)[keyof typeof sizeTypes];
41
53
  type ArrowThemeType = (typeof arrowTheme)[keyof typeof arrowTheme];
42
54
  type ElementOrderType = (typeof elementOrderTypes)[keyof typeof elementOrderTypes];
43
55
  export type InstructionItemType = {
@@ -101,6 +113,10 @@ export interface IInstructionsProps {
101
113
  pictureMask?: PictureMaskTypesType;
102
114
  /** Цвет фона изображения */
103
115
  pictureBackgroundColor?: PictureBackgroundColorsType;
116
+ /** * Оверлей поверх цвета фона */
117
+ pictureOverlay?: PictureOverlayType;
118
+ /** Размер картинки или маски */
119
+ size?: SizeType;
104
120
  /** Показать стрелки для смены пунктов инструкции */
105
121
  showArrows?: boolean;
106
122
  /** Цветовая тема стрелок навигации */
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.pictureVerticalAlignTypes = exports.pictureMaskTypes = exports.pictureBackgroundColorTypes = exports.pictureAlignTypes = exports.elementOrderTypes = exports["default"] = exports.arrowTheme = void 0;
7
+ exports.sizeTypes = exports.pictureVerticalAlignTypes = exports.pictureOverlayTypes = exports.pictureMaskTypes = exports.pictureBackgroundColorTypes = exports.pictureAlignTypes = exports.elementOrderTypes = exports["default"] = exports.arrowTheme = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  require("core-js/modules/es.array.map.js");
@@ -27,7 +27,7 @@ try {
27
27
  SwiperSlide = SwiperAll.SwiperSlide;
28
28
  } catch (e) {
29
29
  // eslint-disable-next-line no-console
30
- 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 ");
30
+ 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 ");
31
31
  }
32
32
  var pictureAlignTypes = exports.pictureAlignTypes = {
33
33
  LEFT: 'left',
@@ -41,18 +41,28 @@ var pictureVerticalAlignTypes = exports.pictureVerticalAlignTypes = {
41
41
  var pictureMaskTypes = exports.pictureMaskTypes = {
42
42
  ANDROID: 'android',
43
43
  ANDROID_CROPPED: 'android-cropped',
44
- NEW_IPHONE: 'new-iphone',
45
- BLACK_IPHONE: 'black-iphone',
46
- WHITE_IPHONE: 'white-iphone',
47
- LAPTOP: 'laptop',
48
- LAPTOP_NEW: 'laptop-new',
49
- IPHONE_12: 'iphone-12',
50
- IPHONE_15: 'iphone-15',
44
+ IPHONE: 'iphone',
51
45
  IPHONE_CROPPED: 'iphone-cropped',
46
+ LAPTOP: 'laptop',
52
47
  NONE: 'none'
53
48
  };
54
49
  var pictureBackgroundColorTypes = exports.pictureBackgroundColorTypes = {
55
- SPB_SKY_0: 'spbSky0'
50
+ SPB_SKY_0: 'spbSky0',
51
+ SPB_SKY_1: 'spbSky1',
52
+ BASE: 'base',
53
+ VIOLET: 'violet',
54
+ TRANSPARENT: 'transparent'
55
+ };
56
+ var pictureOverlayTypes = exports.pictureOverlayTypes = {
57
+ LOGO_BASE: 'logo-base',
58
+ LOGO_SPB_SKY_0: 'logo-spb-sky-0',
59
+ LOGO_CROPPED_BASE_WITH_OPACITY: 'logo-cropped-base-with-opacity',
60
+ LOGO_CROPPED_SPB_SKY_3: 'logo-cropped-spb-sky-3',
61
+ NONE: 'none'
62
+ };
63
+ var sizeTypes = exports.sizeTypes = {
64
+ DEFAULT: 'default',
65
+ BIG: 'big'
56
66
  };
57
67
  var arrowTheme = exports.arrowTheme = {
58
68
  PURPLE: 'purple',
@@ -90,7 +100,12 @@ var Instructions = function Instructions(_ref) {
90
100
  pictureVerticalAlign = _ref$pictureVerticalA === void 0 ? 'center' : _ref$pictureVerticalA,
91
101
  _ref$pictureMask = _ref.pictureMask,
92
102
  pictureMask = _ref$pictureMask === void 0 ? 'none' : _ref$pictureMask,
93
- pictureBackgroundColor = _ref.pictureBackgroundColor,
103
+ _ref$pictureBackgroun = _ref.pictureBackgroundColor,
104
+ pictureBackgroundColor = _ref$pictureBackgroun === void 0 ? 'transparent' : _ref$pictureBackgroun,
105
+ _ref$pictureOverlay = _ref.pictureOverlay,
106
+ pictureOverlay = _ref$pictureOverlay === void 0 ? 'none' : _ref$pictureOverlay,
107
+ _ref$size = _ref.size,
108
+ size = _ref$size === void 0 ? 'default' : _ref$size,
94
109
  getSwiper = _ref.getSwiper,
95
110
  text = _ref.additionalText,
96
111
  showArrows = _ref.showArrows,
@@ -250,23 +265,23 @@ var Instructions = function Instructions(_ref) {
250
265
  "data-testid": "".concat(testIdPrefix, "-articles-list-desktop")
251
266
  }, instructionItems.map(function (_ref5, i) {
252
267
  var itemTitle = _ref5.title;
253
- return /*#__PURE__*/(
254
- // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
255
- React.createElement("li", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1), {
256
- className: cn('articles-item', {
257
- active: slideIndex === i
258
- }, [getActiveCustomClass(i, slideIndex), instructionItem, desktopInstructionItem]),
259
- "data-index": i,
260
- onClick: handleArticleClick(i),
261
- key: i
262
- }), /*#__PURE__*/React.createElement("div", {
263
- className: cn('articles-item-dot')
264
- }, /*#__PURE__*/React.createElement("span", {
265
- className: cn('articles-item-dot-number')
266
- }, i + 1)), /*#__PURE__*/React.createElement("div", {
267
- className: cn('articles-item-title', [desktopItemTitle])
268
- }, itemTitle))
269
- );
268
+ return /*#__PURE__*/React.createElement("li", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, i + 1), {
269
+ className: cn('articles-item', {
270
+ active: slideIndex === i
271
+ }, [getActiveCustomClass(i, slideIndex), instructionItem, desktopInstructionItem]),
272
+ "data-index": i,
273
+ key: i
274
+ }), /*#__PURE__*/React.createElement("button", {
275
+ className: cn('articles-item-button'),
276
+ type: "button",
277
+ onClick: handleArticleClick(i)
278
+ }, /*#__PURE__*/React.createElement("div", {
279
+ className: cn('articles-item-dot')
280
+ }, /*#__PURE__*/React.createElement("span", {
281
+ className: cn('articles-item-dot-number')
282
+ }, i + 1)), /*#__PURE__*/React.createElement("div", {
283
+ className: cn('articles-item-title', [desktopItemTitle])
284
+ }, itemTitle)));
270
285
  }));
271
286
  }, [desktopInstructionItem, desktopItemTitle, getActiveCustomClass, handleArticleClick, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, instructionItem, instructionItems, slideIndex, text]);
272
287
  var renderMobileArticles = React.useCallback(function () {
@@ -343,7 +358,8 @@ var Instructions = function Instructions(_ref) {
343
358
  return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
344
359
  className: cn({
345
360
  mask: pictureMask,
346
- reversed: isMobileReversed
361
+ reversed: isMobileReversed,
362
+ size: size
347
363
  }),
348
364
  ref: rootRef
349
365
  }), /*#__PURE__*/React.createElement(_uiCore.Grid, {
@@ -357,7 +373,8 @@ var Instructions = function Instructions(_ref) {
357
373
  }, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.wrapper)), /*#__PURE__*/React.createElement("div", {
358
374
  className: cn('picture', {
359
375
  align: pictureAlign,
360
- background: pictureBackgroundColor
376
+ background: pictureBackgroundColor,
377
+ overlay: pictureOverlay
361
378
  }),
362
379
  "data-testid": "".concat(testIdPrefix, "-picture")
363
380
  }, isMobileReversed && renderMobileArticles(), renderPicture(), !!showArrows && renderArrows(), renderQrCode()), renderMobileDots(), /*#__PURE__*/React.createElement("div", {
@@ -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) */
@@ -12,6 +12,7 @@ require("core-js/modules/es.array.slice.js");
12
12
  var React = _interopRequireWildcard(require("react"));
13
13
  var _uiCore = require("@megafon/ui-core");
14
14
  var _uiHelpers = require("@megafon/ui-helpers");
15
+ var _PartnersItem = _interopRequireDefault(require("./components/PartnersItem/PartnersItem"));
15
16
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -38,50 +39,38 @@ var Partners = function Partners(_ref) {
38
39
  dataAttrs = _ref.dataAttrs,
39
40
  className = _ref.className,
40
41
  items = _ref.items,
41
- _ref$radius = _ref.radius,
42
- radius = _ref$radius === void 0 ? 'default' : _ref$radius,
42
+ _ref$background = _ref.background,
43
+ background = _ref$background === void 0 ? 'shadow' : _ref$background,
43
44
  onChange = _ref.onChange,
44
45
  onNextClick = _ref.onNextClick,
45
46
  onPrevClick = _ref.onPrevClick;
46
- var renderItem = React.useCallback(function (item) {
47
- var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
47
+ var renderItem = React.useCallback(function (item, index) {
48
48
  if (!item) {
49
49
  return null;
50
50
  }
51
51
  var src = item.src,
52
- href = item.href,
53
52
  alt = item.alt,
54
- rel = item.rel;
55
- return /*#__PURE__*/React.createElement(_uiCore.Tile, {
56
- href: href,
53
+ rel = item.rel,
54
+ href = item.href;
55
+ return /*#__PURE__*/React.createElement(_PartnersItem["default"], {
56
+ className: itemClass,
57
+ src: src,
58
+ alt: alt,
57
59
  rel: rel,
58
- shadowLevel: "default",
59
- radius: radius,
60
- isInteractive: !!href,
61
- className: cn('tile'),
60
+ href: href,
61
+ background: background,
62
62
  dataAttrs: {
63
63
  root: (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, index + 1))
64
64
  }
65
- }, /*#__PURE__*/React.createElement("div", {
66
- className: cn('tile-inner', [itemClass]),
67
- "data-testid": "".concat(testIdPrefix, "-tile-inner")
68
- }, /*#__PURE__*/React.createElement("div", {
69
- className: cn('img-wrapper')
70
- }, /*#__PURE__*/React.createElement("img", {
71
- src: src,
72
- alt: alt,
73
- className: cn('tile-img')
74
- }))));
75
- }, [radius, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.item, itemClass]);
65
+ });
66
+ }, [background, dataAttrs, itemClass]);
76
67
  var renderGrid = React.useCallback(function () {
77
- return /*#__PURE__*/React.createElement(_uiCore.Grid, {
78
- guttersLeft: "medium",
79
- guttersBottom: "medium"
68
+ return /*#__PURE__*/React.createElement("div", {
69
+ className: cn('grid')
80
70
  }, items.map(function (item, i) {
81
- return /*#__PURE__*/React.createElement(_uiCore.GridColumn, {
82
- key: i + item.src,
83
- all: "3",
84
- mobile: "6"
71
+ return /*#__PURE__*/React.createElement("div", {
72
+ className: cn('grid-item'),
73
+ key: i + item.src
85
74
  }, renderItem(item, i));
86
75
  }));
87
76
  }, [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;