@megafon/ui-shared 5.16.0 → 6.0.0-beta.1

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 (285) hide show
  1. package/dist/es/components/AccordionBox/AccordionBox.css +1 -15
  2. package/dist/es/components/AccordionBox/AccordionBox.d.ts +2 -2
  3. package/dist/es/components/AccordionBox/AccordionBox.js +6 -49
  4. package/dist/es/components/AudioPlayer/AudioPlayer.d.ts +2 -2
  5. package/dist/es/components/AudioPlayer/AudioPlayer.js +11 -27
  6. package/dist/es/components/AudioPlayer/AudioProgress.d.ts +1 -1
  7. package/dist/es/components/AudioPlayer/AudioProgress.js +10 -22
  8. package/dist/es/components/AudioPlayer/AudioRange.d.ts +1 -1
  9. package/dist/es/components/AudioPlayer/AudioRange.js +8 -10
  10. package/dist/es/components/AudioPlayer/AudioVolume.d.ts +1 -1
  11. package/dist/es/components/AudioPlayer/AudioVolume.js +3 -12
  12. package/dist/es/components/AudioPlayer/hooks/useTrackDuration.js +4 -10
  13. package/dist/es/components/AudioPlayer/style/AudioPlayer.css +1 -58
  14. package/dist/es/components/AudioPlayer/style/AudioProgress.css +1 -35
  15. package/dist/es/components/AudioPlayer/style/AudioRange.css +1 -68
  16. package/dist/es/components/AudioPlayer/style/AudioVolume.css +1 -34
  17. package/dist/es/components/AudioPlayer/timerFormatUtil.js +1 -9
  18. package/dist/es/components/BannerBox/BannerBox.d.ts +1 -1
  19. package/dist/es/components/BannerBox/BannerBox.js +3 -12
  20. package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +1 -1
  21. package/dist/es/components/BenefitsIcons/BenefitsIcons.js +23 -64
  22. package/dist/es/components/BenefitsIcons/BenefitsIconsTile.d.ts +1 -1
  23. package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +9 -36
  24. package/dist/es/components/BenefitsIcons/helpers.d.ts +3 -3
  25. package/dist/es/components/BenefitsIcons/helpers.js +6 -20
  26. package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +1 -38
  27. package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +1 -90
  28. package/dist/es/components/BenefitsIcons/types.d.ts +5 -5
  29. package/dist/es/components/BenefitsPictures/BenefitsPictures.d.ts +1 -1
  30. package/dist/es/components/BenefitsPictures/BenefitsPictures.js +19 -49
  31. package/dist/es/components/BenefitsPictures/BenfitsPictures.css +1 -43
  32. package/dist/es/components/BenefitsPictures/helpers.d.ts +2 -2
  33. package/dist/es/components/BenefitsPictures/helpers.js +0 -14
  34. package/dist/es/components/BenefitsPictures/types.d.ts +3 -3
  35. package/dist/es/components/BenefitsPictures/types.js +1 -0
  36. package/dist/es/components/Breadcrumbs/Breadcrumbs.css +1 -43
  37. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +6 -6
  38. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +10 -39
  39. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.css +1 -16
  40. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +4 -4
  41. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +11 -36
  42. package/dist/es/components/ButtonBanner/ButtonBanner.css +1 -122
  43. package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +7 -7
  44. package/dist/es/components/ButtonBanner/ButtonBanner.js +22 -53
  45. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.css +1 -19
  46. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +3 -3
  47. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +20 -51
  48. package/dist/es/components/Card/Card.css +1 -354
  49. package/dist/es/components/Card/Card.d.ts +5 -9
  50. package/dist/es/components/Card/Card.js +26 -136
  51. package/dist/es/components/Card/types.d.ts +9 -15
  52. package/dist/es/components/Card/types.js +1 -0
  53. package/dist/es/components/CardsBox/CardsBox.js +3 -14
  54. package/dist/es/components/CardsBox/helpers.d.ts +2 -2
  55. package/dist/es/components/CardsBox/helpers.js +0 -4
  56. package/dist/es/components/CarouselBox/CarouselBox.d.ts +2 -2
  57. package/dist/es/components/CarouselBox/CarouselBox.js +11 -24
  58. package/dist/es/components/Container/Container.css +1 -3230
  59. package/dist/es/components/Container/Container.d.ts +7 -5
  60. package/dist/es/components/Container/Container.js +10 -25
  61. package/dist/es/components/DownloadLinks/DownloadLink.css +1 -37
  62. package/dist/es/components/DownloadLinks/DownloadLink.d.ts +1 -1
  63. package/dist/es/components/DownloadLinks/DownloadLink.js +13 -44
  64. package/dist/es/components/DownloadLinks/DownloadLinks.css +1 -36
  65. package/dist/es/components/DownloadLinks/DownloadLinks.d.ts +3 -3
  66. package/dist/es/components/DownloadLinks/DownloadLinks.js +2 -13
  67. package/dist/es/components/FaqWrapper/FaqWrapper.d.ts +5 -2
  68. package/dist/es/components/FaqWrapper/FaqWrapper.js +1 -3
  69. package/dist/es/components/ImageBanner/ImageBanner.css +1 -248
  70. package/dist/es/components/ImageBanner/ImageBanner.d.ts +21 -17
  71. package/dist/es/components/ImageBanner/ImageBanner.js +51 -109
  72. package/dist/es/components/Instructions/Instructions.css +1 -790
  73. package/dist/es/components/Instructions/Instructions.d.ts +11 -11
  74. package/dist/es/components/Instructions/Instructions.js +41 -94
  75. package/dist/es/components/NotificationBox/NotificationBox.css +1 -0
  76. package/dist/es/components/NotificationBox/NotificationBox.d.ts +4 -4
  77. package/dist/es/components/NotificationBox/NotificationBox.js +5 -19
  78. package/dist/es/components/PageTitle/PageTitle.css +1 -80
  79. package/dist/es/components/PageTitle/PageTitle.d.ts +2 -2
  80. package/dist/es/components/PageTitle/PageTitle.js +12 -37
  81. package/dist/es/components/Partners/Partners.css +1 -53
  82. package/dist/es/components/Partners/Partners.d.ts +2 -2
  83. package/dist/es/components/Partners/Partners.js +17 -48
  84. package/dist/es/components/PictureWithDescription/PictureWithDescription.css +1 -80
  85. package/dist/es/components/PictureWithDescription/PictureWithDescription.d.ts +4 -2
  86. package/dist/es/components/PictureWithDescription/PictureWithDescription.js +10 -28
  87. package/dist/es/components/Property/Property.css +1 -156
  88. package/dist/es/components/Property/Property.d.ts +4 -4
  89. package/dist/es/components/Property/Property.js +37 -81
  90. package/dist/es/components/Property/PropertyDescription.css +1 -17
  91. package/dist/es/components/Property/PropertyDescription.d.ts +3 -3
  92. package/dist/es/components/Property/PropertyDescription.js +8 -28
  93. package/dist/es/components/Property/types.d.ts +7 -5
  94. package/dist/es/components/Property/types.js +1 -0
  95. package/dist/es/components/Steps/Steps.css +1 -41
  96. package/dist/es/components/Steps/Steps.d.ts +2 -1
  97. package/dist/es/components/Steps/Steps.js +4 -19
  98. package/dist/es/components/Steps/StepsItem.css +1 -42
  99. package/dist/es/components/Steps/StepsItem.d.ts +2 -2
  100. package/dist/es/components/Steps/StepsItem.js +2 -9
  101. package/dist/es/components/StoreBanner/StoreBanner.css +1 -346
  102. package/dist/es/components/StoreBanner/StoreBanner.d.ts +5 -5
  103. package/dist/es/components/StoreBanner/StoreBanner.js +41 -97
  104. package/dist/es/components/StoreButton/StoreButton.css +1 -327
  105. package/dist/es/components/StoreButton/StoreButton.d.ts +3 -3
  106. package/dist/es/components/StoreButton/StoreButton.js +13 -44
  107. package/dist/es/components/Table/Table.css +1 -157
  108. package/dist/es/components/Table/Table.d.ts +1 -1
  109. package/dist/es/components/Table/Table.js +31 -51
  110. package/dist/es/components/Table/TableCell.js +0 -6
  111. package/dist/es/components/Table/TableRow.js +1 -10
  112. package/dist/es/components/TabsBox/TabsBox.d.ts +1 -1
  113. package/dist/es/components/TabsBox/TabsBox.js +4 -13
  114. package/dist/es/components/TextBox/TextBox.css +1 -25
  115. package/dist/es/components/TextBox/TextBox.d.ts +2 -1
  116. package/dist/es/components/TextBox/TextBox.js +8 -23
  117. package/dist/es/components/TextBox/TextBoxPicture.css +1 -27
  118. package/dist/es/components/TextBox/TextBoxPicture.d.ts +2 -2
  119. package/dist/es/components/TextBox/TextBoxPicture.js +5 -14
  120. package/dist/es/components/TextWithIcon/TextWithIcon.css +1 -10
  121. package/dist/es/components/TextWithIcon/TextWithIcon.d.ts +1 -1
  122. package/dist/es/components/TextWithIcon/TextWithIcon.js +6 -24
  123. package/dist/es/components/TextWithIcon/TextWithIconItem.css +1 -29
  124. package/dist/es/components/TextWithIcon/TextWithIconItem.d.ts +1 -1
  125. package/dist/es/components/TextWithIcon/TextWithIconItem.js +6 -21
  126. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -31
  127. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +1 -1
  128. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +6 -23
  129. package/dist/es/components/VideoBanner/VideoBanner.css +1 -225
  130. package/dist/es/components/VideoBanner/VideoBanner.d.ts +7 -7
  131. package/dist/es/components/VideoBanner/VideoBanner.js +47 -110
  132. package/dist/es/components/VideoBlock/VideoBlock.css +1 -106
  133. package/dist/es/components/VideoBlock/VideoBlock.d.ts +4 -4
  134. package/dist/es/components/VideoBlock/VideoBlock.js +35 -75
  135. package/dist/es/helpers/getColumnConfig.d.ts +5 -1
  136. package/dist/lib/components/AccordionBox/AccordionBox.css +1 -15
  137. package/dist/lib/components/AccordionBox/AccordionBox.d.ts +2 -2
  138. package/dist/lib/components/AccordionBox/AccordionBox.js +10 -66
  139. package/dist/lib/components/AudioPlayer/AudioPlayer.d.ts +2 -2
  140. package/dist/lib/components/AudioPlayer/AudioPlayer.js +32 -56
  141. package/dist/lib/components/AudioPlayer/AudioProgress.d.ts +1 -1
  142. package/dist/lib/components/AudioPlayer/AudioProgress.js +12 -43
  143. package/dist/lib/components/AudioPlayer/AudioRange.d.ts +1 -1
  144. package/dist/lib/components/AudioPlayer/AudioRange.js +9 -17
  145. package/dist/lib/components/AudioPlayer/AudioVolume.d.ts +1 -1
  146. package/dist/lib/components/AudioPlayer/AudioVolume.js +4 -23
  147. package/dist/lib/components/AudioPlayer/hooks/useTrackDuration.js +5 -16
  148. package/dist/lib/components/AudioPlayer/style/AudioPlayer.css +1 -58
  149. package/dist/lib/components/AudioPlayer/style/AudioProgress.css +1 -35
  150. package/dist/lib/components/AudioPlayer/style/AudioRange.css +1 -68
  151. package/dist/lib/components/AudioPlayer/style/AudioVolume.css +1 -34
  152. package/dist/lib/components/AudioPlayer/timerFormatUtil.js +2 -13
  153. package/dist/lib/components/BannerBox/BannerBox.d.ts +1 -1
  154. package/dist/lib/components/BannerBox/BannerBox.js +7 -25
  155. package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +1 -1
  156. package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +26 -86
  157. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.d.ts +1 -1
  158. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +13 -53
  159. package/dist/lib/components/BenefitsIcons/helpers.d.ts +3 -3
  160. package/dist/lib/components/BenefitsIcons/helpers.js +10 -37
  161. package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +1 -38
  162. package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +1 -90
  163. package/dist/lib/components/BenefitsIcons/types.d.ts +5 -5
  164. package/dist/lib/components/BenefitsIcons/types.js +5 -8
  165. package/dist/lib/components/BenefitsPictures/BenefitsPictures.d.ts +1 -1
  166. package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +24 -71
  167. package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +1 -43
  168. package/dist/lib/components/BenefitsPictures/helpers.d.ts +2 -2
  169. package/dist/lib/components/BenefitsPictures/helpers.js +9 -40
  170. package/dist/lib/components/BenefitsPictures/types.d.ts +3 -3
  171. package/dist/lib/components/BenefitsPictures/types.js +5 -1
  172. package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +1 -43
  173. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -6
  174. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +18 -60
  175. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.css +1 -16
  176. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +4 -4
  177. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +22 -55
  178. package/dist/lib/components/ButtonBanner/ButtonBanner.css +1 -122
  179. package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +7 -7
  180. package/dist/lib/components/ButtonBanner/ButtonBanner.js +40 -89
  181. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.css +1 -19
  182. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +3 -3
  183. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +29 -72
  184. package/dist/lib/components/Card/Card.css +1 -354
  185. package/dist/lib/components/Card/Card.d.ts +5 -9
  186. package/dist/lib/components/Card/Card.js +63 -180
  187. package/dist/lib/components/Card/types.d.ts +9 -15
  188. package/dist/lib/components/Card/types.js +5 -1
  189. package/dist/lib/components/CardsBox/CardsBox.js +7 -31
  190. package/dist/lib/components/CardsBox/helpers.d.ts +2 -2
  191. package/dist/lib/components/CardsBox/helpers.js +1 -8
  192. package/dist/lib/components/CarouselBox/CarouselBox.d.ts +2 -2
  193. package/dist/lib/components/CarouselBox/CarouselBox.js +15 -39
  194. package/dist/lib/components/Container/Container.css +1 -3230
  195. package/dist/lib/components/Container/Container.d.ts +7 -5
  196. package/dist/lib/components/Container/Container.js +17 -39
  197. package/dist/lib/components/DownloadLinks/DownloadLink.css +1 -37
  198. package/dist/lib/components/DownloadLinks/DownloadLink.d.ts +1 -1
  199. package/dist/lib/components/DownloadLinks/DownloadLink.js +17 -60
  200. package/dist/lib/components/DownloadLinks/DownloadLinks.css +1 -36
  201. package/dist/lib/components/DownloadLinks/DownloadLinks.d.ts +3 -3
  202. package/dist/lib/components/DownloadLinks/DownloadLinks.js +8 -33
  203. package/dist/lib/components/FaqWrapper/FaqWrapper.d.ts +5 -2
  204. package/dist/lib/components/FaqWrapper/FaqWrapper.js +6 -9
  205. package/dist/lib/components/ImageBanner/ImageBanner.css +1 -248
  206. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +21 -17
  207. package/dist/lib/components/ImageBanner/ImageBanner.js +71 -155
  208. package/dist/lib/components/Instructions/Instructions.css +1 -790
  209. package/dist/lib/components/Instructions/Instructions.d.ts +11 -11
  210. package/dist/lib/components/Instructions/Instructions.js +103 -186
  211. package/dist/lib/components/NotificationBox/NotificationBox.css +1 -0
  212. package/dist/lib/components/NotificationBox/NotificationBox.d.ts +4 -4
  213. package/dist/lib/components/NotificationBox/NotificationBox.js +9 -37
  214. package/dist/lib/components/PageTitle/PageTitle.css +1 -80
  215. package/dist/lib/components/PageTitle/PageTitle.d.ts +2 -2
  216. package/dist/lib/components/PageTitle/PageTitle.js +15 -52
  217. package/dist/lib/components/Partners/Partners.css +1 -53
  218. package/dist/lib/components/Partners/Partners.d.ts +2 -2
  219. package/dist/lib/components/Partners/Partners.js +21 -65
  220. package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +1 -80
  221. package/dist/lib/components/PictureWithDescription/PictureWithDescription.d.ts +4 -2
  222. package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +16 -46
  223. package/dist/lib/components/Property/Property.css +1 -156
  224. package/dist/lib/components/Property/Property.d.ts +4 -4
  225. package/dist/lib/components/Property/Property.js +60 -120
  226. package/dist/lib/components/Property/PropertyDescription.css +1 -17
  227. package/dist/lib/components/Property/PropertyDescription.d.ts +3 -3
  228. package/dist/lib/components/Property/PropertyDescription.js +15 -46
  229. package/dist/lib/components/Property/types.d.ts +7 -5
  230. package/dist/lib/components/Property/types.js +5 -1
  231. package/dist/lib/components/Steps/Steps.css +1 -41
  232. package/dist/lib/components/Steps/Steps.d.ts +2 -1
  233. package/dist/lib/components/Steps/Steps.js +8 -35
  234. package/dist/lib/components/Steps/StepsItem.css +1 -42
  235. package/dist/lib/components/Steps/StepsItem.d.ts +2 -2
  236. package/dist/lib/components/Steps/StepsItem.js +11 -23
  237. package/dist/lib/components/StoreBanner/StoreBanner.css +1 -346
  238. package/dist/lib/components/StoreBanner/StoreBanner.d.ts +5 -5
  239. package/dist/lib/components/StoreBanner/StoreBanner.js +47 -118
  240. package/dist/lib/components/StoreButton/StoreButton.css +1 -327
  241. package/dist/lib/components/StoreButton/StoreButton.d.ts +3 -3
  242. package/dist/lib/components/StoreButton/StoreButton.js +17 -63
  243. package/dist/lib/components/Table/Table.css +1 -157
  244. package/dist/lib/components/Table/Table.d.ts +1 -1
  245. package/dist/lib/components/Table/Table.js +35 -68
  246. package/dist/lib/components/Table/TableCell.js +4 -16
  247. package/dist/lib/components/Table/TableRow.js +5 -19
  248. package/dist/lib/components/TabsBox/TabBox.js +1 -4
  249. package/dist/lib/components/TabsBox/TabsBox.d.ts +1 -1
  250. package/dist/lib/components/TabsBox/TabsBox.js +8 -26
  251. package/dist/lib/components/TextBox/TextBox.css +1 -25
  252. package/dist/lib/components/TextBox/TextBox.d.ts +2 -1
  253. package/dist/lib/components/TextBox/TextBox.js +12 -36
  254. package/dist/lib/components/TextBox/TextBoxPicture.css +1 -27
  255. package/dist/lib/components/TextBox/TextBoxPicture.d.ts +2 -2
  256. package/dist/lib/components/TextBox/TextBoxPicture.js +11 -29
  257. package/dist/lib/components/TextWithIcon/TextWithIcon.css +1 -10
  258. package/dist/lib/components/TextWithIcon/TextWithIcon.d.ts +1 -1
  259. package/dist/lib/components/TextWithIcon/TextWithIcon.js +10 -39
  260. package/dist/lib/components/TextWithIcon/TextWithIconItem.css +1 -29
  261. package/dist/lib/components/TextWithIcon/TextWithIconItem.d.ts +1 -1
  262. package/dist/lib/components/TextWithIcon/TextWithIconItem.js +10 -37
  263. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -31
  264. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +1 -1
  265. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +10 -40
  266. package/dist/lib/components/VideoBanner/VideoBanner.css +1 -225
  267. package/dist/lib/components/VideoBanner/VideoBanner.d.ts +7 -7
  268. package/dist/lib/components/VideoBanner/VideoBanner.js +83 -176
  269. package/dist/lib/components/VideoBlock/VideoBlock.css +1 -106
  270. package/dist/lib/components/VideoBlock/VideoBlock.d.ts +4 -4
  271. package/dist/lib/components/VideoBlock/VideoBlock.js +58 -114
  272. package/dist/lib/constants/throttleTime.js +2 -3
  273. package/dist/lib/helpers/getColumnConfig.d.ts +5 -1
  274. package/dist/lib/helpers/getColumnConfig.js +2 -5
  275. package/dist/lib/index.js +10 -57
  276. package/package.json +89 -92
  277. package/CHANGELOG.md +0 -3984
  278. package/dist/es/components/NotificationBox/style/NotificationBox.css +0 -28
  279. package/dist/es/components/StoreBanner/doc/img/android-screen.png +0 -0
  280. package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
  281. package/dist/es/components/StoreBanner/doc/img/screen.png +0 -0
  282. package/dist/lib/components/NotificationBox/style/NotificationBox.css +0 -28
  283. package/dist/lib/components/StoreBanner/doc/img/android-screen.png +0 -0
  284. package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
  285. package/dist/lib/components/StoreBanner/doc/img/screen.png +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import './Steps.less';
2
+ import './Steps.scss';
3
3
  export interface ISteps {
4
4
  /** Дополнительный класс корневого элемента */
5
5
  className?: string;
@@ -13,6 +13,7 @@ export interface ISteps {
13
13
  rootRef?: React.Ref<HTMLDivElement>;
14
14
  /** Заголовок */
15
15
  title?: string;
16
+ children: React.ReactNode;
16
17
  }
17
18
  declare const Steps: React.FC<ISteps>;
18
19
  export default Steps;
@@ -1,36 +1,23 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
-
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports["default"] = void 0;
9
-
10
8
  require("core-js/modules/es.array.map.js");
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
10
  var _uiCore = require("@megafon/ui-core");
15
-
16
11
  var _uiHelpers = require("@megafon/ui-helpers");
17
-
18
- var _propTypes = _interopRequireDefault(require("prop-types"));
19
-
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
-
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
12
+ 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); }
13
+ 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 && Object.prototype.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; }
26
14
  var cn = (0, _uiHelpers.cnCreate)('mfui-steps');
27
-
28
15
  var Steps = function Steps(_ref) {
29
16
  var className = _ref.className,
30
- classes = _ref.classes,
31
- title = _ref.title,
32
- rootRef = _ref.rootRef,
33
- children = _ref.children;
17
+ classes = _ref.classes,
18
+ title = _ref.title,
19
+ rootRef = _ref.rootRef,
20
+ children = _ref.children;
34
21
  return /*#__PURE__*/React.createElement("div", {
35
22
  className: cn([className]),
36
23
  ref: rootRef
@@ -46,18 +33,4 @@ var Steps = function Steps(_ref) {
46
33
  }, child);
47
34
  })));
48
35
  };
49
-
50
- Steps.propTypes = {
51
- className: _propTypes["default"].string,
52
- classes: _propTypes["default"].shape({
53
- title: _propTypes["default"].string,
54
- list: _propTypes["default"].string,
55
- item: _propTypes["default"].string
56
- }),
57
- rootRef: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].oneOfType([_propTypes["default"].shape({
58
- current: _propTypes["default"].elementType
59
- }), _propTypes["default"].any])]),
60
- title: _propTypes["default"].string
61
- };
62
- var _default = Steps;
63
- exports["default"] = _default;
36
+ var _default = exports["default"] = Steps;
@@ -1,42 +1 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
- .mfui-steps-item {
9
- display: -webkit-box;
10
- display: -ms-flexbox;
11
- display: flex;
12
- }
13
- .mfui-steps-item__step-number {
14
- font-size: 15px;
15
- line-height: 24px;
16
- font-weight: 500;
17
- display: -webkit-box;
18
- display: -ms-flexbox;
19
- display: flex;
20
- -ms-flex-negative: 0;
21
- flex-shrink: 0;
22
- -webkit-box-align: center;
23
- -ms-flex-align: center;
24
- align-items: center;
25
- -webkit-box-pack: center;
26
- -ms-flex-pack: center;
27
- justify-content: center;
28
- width: 40px;
29
- height: 40px;
30
- border-radius: 50%;
31
- color: var(--stcWhite);
32
- background-color: var(--brandGreen);
33
- }
34
- .mfui-steps-item__text-wrapper {
35
- padding-top: 8px;
36
- padding-left: 16px;
37
- }
38
- .mfui-steps-item__nodes {
39
- font-size: 15px;
40
- line-height: 24px;
41
- font-weight: 400;
42
- }
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-steps-item,.mfui-steps-item__step-number{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-steps-item__step-number{font-size:15px;font-weight:500;line-height:24px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;background-color:var(--brandGreen);border-radius:50%;color:var(--stcWhite);height:40px;justify-content:center;width:40px}.mfui-steps-item__text-wrapper{padding-left:16px;padding-top:8px}.mfui-steps-item__nodes{font-size:15px;font-weight:400;line-height:24px}
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import './StepsItem.less';
1
+ import * as React from 'react';
2
+ import './StepsItem.scss';
3
3
  interface IStepsItem {
4
4
  /** Номер элемента */
5
5
  index: number;
@@ -1,41 +1,29 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
8
+ var React = _interopRequireWildcard(require("react"));
10
9
  var _uiCore = require("@megafon/ui-core");
11
-
12
10
  var _uiHelpers = require("@megafon/ui-helpers");
13
-
14
- var _propTypes = _interopRequireDefault(require("prop-types"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
11
+ 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); }
12
+ 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 && Object.prototype.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; }
18
13
  var cn = (0, _uiHelpers.cnCreate)('mfui-steps-item');
19
-
20
14
  var StepsItem = function StepsItem(_ref) {
21
15
  var index = _ref.index,
22
- text = _ref.text;
23
- return /*#__PURE__*/_react["default"].createElement("div", {
16
+ text = _ref.text;
17
+ return /*#__PURE__*/React.createElement("div", {
24
18
  className: cn()
25
- }, /*#__PURE__*/_react["default"].createElement("span", {
19
+ }, /*#__PURE__*/React.createElement("span", {
26
20
  className: cn('step-number')
27
- }, index), /*#__PURE__*/_react["default"].createElement("div", {
21
+ }, index), /*#__PURE__*/React.createElement("div", {
28
22
  className: cn('text-wrapper')
29
- }, typeof text === 'string' ? /*#__PURE__*/_react["default"].createElement(_uiCore.Paragraph, {
23
+ }, typeof text === 'string' ? /*#__PURE__*/React.createElement(_uiCore.Paragraph, {
30
24
  hasMargin: false
31
- }, (0, _uiHelpers.convert)(text, _uiHelpers.textConvertConfig)) : /*#__PURE__*/_react["default"].createElement("div", {
25
+ }, (0, _uiHelpers.convert)(text, _uiHelpers.textConvertConfig)) : /*#__PURE__*/React.createElement("div", {
32
26
  className: cn('nodes')
33
27
  }, text)));
34
28
  };
35
-
36
- StepsItem.propTypes = {
37
- index: _propTypes["default"].number.isRequired,
38
- text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].arrayOf(_propTypes["default"].node)]).isRequired
39
- };
40
- var _default = StepsItem;
41
- exports["default"] = _default;
29
+ var _default = exports["default"] = StepsItem;
@@ -1,346 +1 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
- .mfui-store-banner_theme_default .mfui-store-banner__grid {
9
- background-color: var(--base);
10
- }
11
- .mfui-store-banner_theme_default .mfui-store-banner__content {
12
- color: var(--content);
13
- }
14
- .mfui-store-banner_theme_green .mfui-store-banner__grid {
15
- border: 0;
16
- background-color: var(--brandGreen);
17
- }
18
- .mfui-store-banner_theme_green .mfui-store-banner__content {
19
- color: var(--stcWhite);
20
- }
21
- .mfui-store-banner_theme_spbSky1 .mfui-store-banner__grid {
22
- border-color: transparent;
23
- background-color: var(--spbSky1);
24
- }
25
- .mfui-store-banner_theme_spbSky1 .mfui-store-banner__content {
26
- color: var(--content);
27
- }
28
- .mfui-store-banner_theme_spbSky0 .mfui-store-banner__grid {
29
- border-color: transparent;
30
- background-color: var(--spbSky0);
31
- }
32
- .mfui-store-banner_theme_spbSky0 .mfui-store-banner__content {
33
- color: var(--content);
34
- }
35
- .mfui-store-banner_mask_new-iphone .mfui-store-banner__device-mask {
36
- position: relative;
37
- z-index: 2;
38
- background-image: url('./img/new-iphone.png');
39
- }
40
- .mfui-store-banner_mask_new-iphone .mfui-store-banner__screen {
41
- top: 9px;
42
- z-index: 1;
43
- width: 90%;
44
- border-radius: 14px;
45
- }
46
- @media screen and (min-width: 768px) and (max-width: 1023px) {
47
- .mfui-store-banner_mask_new-iphone .mfui-store-banner__screen {
48
- top: 8px;
49
- }
50
- }
51
- @media screen and (max-width: 767px) {
52
- .mfui-store-banner_mask_new-iphone .mfui-store-banner__screen {
53
- top: 30px;
54
- }
55
- }
56
- .mfui-store-banner_mask_android .mfui-store-banner__device-mask {
57
- position: relative;
58
- z-index: 2;
59
- background-image: url('./img/android.png');
60
- }
61
- .mfui-store-banner_mask_android .mfui-store-banner__screen {
62
- top: 9px;
63
- width: 92%;
64
- border-radius: 14px;
65
- }
66
- @media screen and (min-width: 768px) and (max-width: 1023px) {
67
- .mfui-store-banner_mask_android .mfui-store-banner__screen {
68
- top: 8px;
69
- }
70
- }
71
- @media screen and (max-width: 767px) {
72
- .mfui-store-banner_mask_android .mfui-store-banner__screen {
73
- top: 30px;
74
- }
75
- }
76
- .mfui-store-banner_mask_white-iphone .mfui-store-banner__device-mask {
77
- background-image: url('./img/white-iphone.png');
78
- }
79
- .mfui-store-banner_mask_black-iphone .mfui-store-banner__device-mask {
80
- background-image: url('./img/black-iphone.png');
81
- }
82
- .mfui-store-banner_mask_white-iphone .mfui-store-banner__screen,
83
- .mfui-store-banner_mask_black-iphone .mfui-store-banner__screen {
84
- top: 57px;
85
- width: 87%;
86
- }
87
- @media screen and (min-width: 768px) and (max-width: 1023px) {
88
- .mfui-store-banner_mask_white-iphone .mfui-store-banner__screen,
89
- .mfui-store-banner_mask_black-iphone .mfui-store-banner__screen {
90
- top: 47px;
91
- }
92
- }
93
- @media screen and (max-width: 767px) {
94
- .mfui-store-banner_mask_white-iphone .mfui-store-banner__screen,
95
- .mfui-store-banner_mask_black-iphone .mfui-store-banner__screen {
96
- top: 63px;
97
- }
98
- }
99
- .mfui-store-banner_mask_iphone-12 .mfui-store-banner__device-mask {
100
- position: relative;
101
- z-index: 2;
102
- background-image: url('./img/iphone12.png');
103
- }
104
- .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
105
- top: 16px;
106
- z-index: 1;
107
- width: 87%;
108
- border-radius: 4px;
109
- }
110
- @media screen and (min-width: 1024px) and (max-width: 1279px) {
111
- .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
112
- top: 17px;
113
- }
114
- }
115
- @media screen and (min-width: 768px) and (max-width: 1023px) {
116
- .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
117
- top: 13px;
118
- }
119
- }
120
- @media screen and (max-width: 767px) {
121
- .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
122
- top: 35px;
123
- }
124
- }
125
- @media screen and (max-width: 767px) {
126
- .mfui-store-banner_content-left-mobile .mfui-store-banner__content {
127
- text-align: left;
128
- }
129
- }
130
- @media screen and (max-width: 767px) {
131
- .mfui-store-banner_content-left-mobile .mfui-store-banner__stores {
132
- -webkit-box-pack: start;
133
- -ms-flex-pack: start;
134
- justify-content: flex-start;
135
- }
136
- }
137
- @media screen and (max-width: 767px) {
138
- .mfui-store-banner_content-left-mobile .mfui-store-banner__button {
139
- margin: 0;
140
- }
141
- }
142
- @media screen and (min-width: 1024px) {
143
- .mfui-store-banner__container {
144
- padding-top: 30px;
145
- }
146
- }
147
- .mfui-store-banner__grid {
148
- padding-top: 32px;
149
- padding-bottom: 32px;
150
- border: 1px solid var(--spbSky2);
151
- border-radius: 24px;
152
- }
153
- @media screen and (max-width: 767px) {
154
- .mfui-store-banner__grid {
155
- padding-top: 24px;
156
- padding-bottom: 0;
157
- }
158
- }
159
- .mfui-store-banner__content {
160
- padding-left: 32px;
161
- }
162
- @media screen and (min-width: 768px) and (max-width: 1023px) {
163
- .mfui-store-banner__content {
164
- padding-right: 10px;
165
- }
166
- }
167
- @media screen and (max-width: 767px) {
168
- .mfui-store-banner__content {
169
- padding-right: 15px;
170
- padding-bottom: 32px;
171
- padding-left: 15px;
172
- text-align: center;
173
- }
174
- }
175
- .mfui-store-banner__device-mask {
176
- height: 100%;
177
- background-repeat: no-repeat;
178
- background-size: cover;
179
- }
180
- .mfui-store-banner__device-wrapper {
181
- position: relative;
182
- bottom: calc(2 * (32px - 1px));
183
- width: 235px;
184
- height: calc(100% + 2 * 32px + 30px);
185
- margin-right: auto;
186
- margin-left: auto;
187
- overflow: hidden;
188
- }
189
- @media screen and (min-width: 1024px) and (max-width: 1279px) {
190
- .mfui-store-banner__device-wrapper {
191
- width: 260px;
192
- }
193
- }
194
- @media screen and (max-width: 1023px) {
195
- .mfui-store-banner__device-wrapper {
196
- bottom: 0;
197
- }
198
- }
199
- @media screen and (min-width: 768px) and (max-width: 1023px) {
200
- .mfui-store-banner__device-wrapper {
201
- width: 196px;
202
- height: calc(100% + 32px);
203
- }
204
- }
205
- @media screen and (max-width: 767px) {
206
- .mfui-store-banner__device-wrapper {
207
- width: 163px;
208
- height: 222px;
209
- padding-top: 24px;
210
- }
211
- }
212
- .mfui-store-banner__links {
213
- display: -webkit-box;
214
- display: -ms-flexbox;
215
- display: flex;
216
- }
217
- .mfui-store-banner__qr-code {
218
- -ms-flex-item-align: center;
219
- align-self: center;
220
- -webkit-box-sizing: border-box;
221
- box-sizing: border-box;
222
- width: 90px;
223
- height: 90px;
224
- margin-right: 16px;
225
- border: 1px solid var(--spbSky1);
226
- border-radius: 8px;
227
- background-color: var(--base);
228
- }
229
- @media screen and (max-width: 767px) {
230
- .mfui-store-banner__qr-code {
231
- display: none;
232
- }
233
- }
234
- @media screen and (min-width: 768px) {
235
- .mfui-store-banner__qr-code + .mfui-store-banner__stores {
236
- -webkit-box-orient: vertical;
237
- -webkit-box-direction: normal;
238
- -ms-flex-direction: column;
239
- flex-direction: column;
240
- -webkit-box-pack: justify;
241
- -ms-flex-pack: justify;
242
- justify-content: space-between;
243
- }
244
- }
245
- .mfui-store-banner__store-link {
246
- width: 136px;
247
- height: 40px;
248
- margin-right: 8px;
249
- margin-bottom: 10px;
250
- margin-left: 8px;
251
- }
252
- @media screen and (max-width: 767px) {
253
- .mfui-store-banner__store-link {
254
- width: 119px;
255
- height: 35px;
256
- }
257
- }
258
- .mfui-store-banner__store-link:last-child {
259
- margin-bottom: 0;
260
- }
261
- .mfui-store-banner__stores {
262
- display: -webkit-box;
263
- display: -ms-flexbox;
264
- display: flex;
265
- -webkit-box-flex: 1;
266
- -ms-flex-positive: 1;
267
- flex-grow: 1;
268
- -ms-flex-wrap: wrap;
269
- flex-wrap: wrap;
270
- }
271
- @media screen and (max-width: 767px) {
272
- .mfui-store-banner__stores {
273
- -webkit-box-pack: center;
274
- -ms-flex-pack: center;
275
- justify-content: center;
276
- }
277
- }
278
- @media screen and (min-width: 768px) {
279
- .mfui-store-banner__stores {
280
- margin-left: -8px;
281
- }
282
- }
283
- .mfui-store-banner__text {
284
- margin-bottom: 32px;
285
- }
286
- .mfui-store-banner__title {
287
- margin-bottom: 16px;
288
- }
289
- .mfui-store-banner__screen {
290
- position: absolute;
291
- left: 50%;
292
- -webkit-transform: translateX(-50%);
293
- transform: translateX(-50%);
294
- }
295
- @media screen and (max-width: 767px) {
296
- .mfui-store-banner__button {
297
- margin: 0 auto;
298
- }
299
- }
300
- .mfui-store-banner__links_three .mfui-store-banner__qr-code {
301
- -o-object-fit: contain;
302
- object-fit: contain;
303
- }
304
- @media screen and (min-width: 1280px) {
305
- .mfui-store-banner__links_three .mfui-store-banner__qr-code {
306
- max-width: 90px;
307
- max-height: 90px;
308
- }
309
- }
310
- .mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores {
311
- max-width: 305px;
312
- }
313
- @media screen and (min-width: 1024px) {
314
- .mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores {
315
- -webkit-box-orient: horizontal;
316
- -webkit-box-direction: normal;
317
- -ms-flex-direction: row;
318
- flex-direction: row;
319
- -webkit-box-pack: start;
320
- -ms-flex-pack: start;
321
- justify-content: flex-start;
322
- }
323
- }
324
- @media screen and (max-width: 767px) {
325
- .mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores {
326
- margin: 0 auto;
327
- }
328
- }
329
- .mfui-store-banner__links_three .mfui-store-banner__store-link {
330
- width: 136px;
331
- height: 40px;
332
- }
333
- @media screen and (max-width: 1023px) {
334
- .mfui-store-banner__links_three .mfui-store-banner__store-link {
335
- width: 119px;
336
- height: 35px;
337
- }
338
- }
339
- .mfui-store-banner__links_three .mfui-store-banner__store-link:not(:last-child) {
340
- margin-bottom: 8px;
341
- }
342
- @media screen and (max-width: 767px) {
343
- .mfui-store-banner__links_three .mfui-store-banner__store-link:not(:last-child) {
344
- margin-bottom: 16px;
345
- }
346
- }
1
+ h1,h2,h3,h4,h5{margin:0}.mfui-store-banner_theme_default .mfui-store-banner__grid{background-color:var(--base)}.mfui-store-banner_theme_default .mfui-store-banner__content{color:var(--content)}.mfui-store-banner_theme_green .mfui-store-banner__grid{background-color:var(--brandGreen);border:0}.mfui-store-banner_theme_green .mfui-store-banner__content{color:var(--stcWhite)}.mfui-store-banner_theme_spbSky1 .mfui-store-banner__grid{background-color:var(--spbSky1);border-color:transparent}.mfui-store-banner_theme_spbSky1 .mfui-store-banner__content{color:var(--content)}.mfui-store-banner_theme_spbSky0 .mfui-store-banner__grid{background-color:var(--spbSky0);border-color:transparent}.mfui-store-banner_theme_spbSky0 .mfui-store-banner__content{color:var(--content)}.mfui-store-banner_mask_new-iphone .mfui-store-banner__device-mask{background-image:url(img/new-iphone.png);position:relative;z-index:2}.mfui-store-banner_mask_new-iphone .mfui-store-banner__screen{border-radius:14px;top:9px;width:90%;z-index:1}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner_mask_new-iphone .mfui-store-banner__screen{top:8px}}@media screen and (max-width:767px){.mfui-store-banner_mask_new-iphone .mfui-store-banner__screen{top:30px}}.mfui-store-banner_mask_android .mfui-store-banner__device-mask{background-image:url(img/android.png);position:relative;z-index:2}.mfui-store-banner_mask_android .mfui-store-banner__screen{border-radius:14px;top:9px;width:92%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner_mask_android .mfui-store-banner__screen{top:8px}}@media screen and (max-width:767px){.mfui-store-banner_mask_android .mfui-store-banner__screen{top:30px}}.mfui-store-banner_mask_white-iphone .mfui-store-banner__device-mask{background-image:url(img/white-iphone.png)}.mfui-store-banner_mask_black-iphone .mfui-store-banner__device-mask{background-image:url(img/black-iphone.png)}.mfui-store-banner_mask_black-iphone .mfui-store-banner__screen,.mfui-store-banner_mask_white-iphone .mfui-store-banner__screen{top:57px;width:87%}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner_mask_black-iphone .mfui-store-banner__screen,.mfui-store-banner_mask_white-iphone .mfui-store-banner__screen{top:47px}}@media screen and (max-width:767px){.mfui-store-banner_mask_black-iphone .mfui-store-banner__screen,.mfui-store-banner_mask_white-iphone .mfui-store-banner__screen{top:63px}}.mfui-store-banner_mask_iphone-12 .mfui-store-banner__device-mask{background-image:url(img/iphone12.png);position:relative;z-index:2}.mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen{border-radius:4px;top:16px;width:87%;z-index:1}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen{top:17px}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen{top:13px}}@media screen and (max-width:767px){.mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen{top:35px}.mfui-store-banner_content-left-mobile .mfui-store-banner__content{text-align:left}.mfui-store-banner_content-left-mobile .mfui-store-banner__stores{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.mfui-store-banner_content-left-mobile .mfui-store-banner__button{margin:0}}@media screen and (min-width:1024px){.mfui-store-banner__container{padding-top:30px}}.mfui-store-banner__grid{border:1px solid var(--spbSky2);border-radius:24px;padding-bottom:32px;padding-top:32px}@media screen and (max-width:767px){.mfui-store-banner__grid{padding-bottom:0;padding-top:24px}}.mfui-store-banner__content{padding-left:32px}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner__content{padding-right:10px}}@media screen and (max-width:767px){.mfui-store-banner__content{padding-bottom:32px;padding-left:15px;padding-right:15px;text-align:center}}.mfui-store-banner__device-mask{background-repeat:no-repeat;background-size:cover;height:100%}.mfui-store-banner__device-wrapper{bottom:62px;height:calc(100% + 94px);margin-left:auto;margin-right:auto;overflow:hidden;position:relative;width:235px}@media screen and (min-width:1024px) and (max-width:1279px){.mfui-store-banner__device-wrapper{width:260px}}@media screen and (max-width:1023px){.mfui-store-banner__device-wrapper{bottom:0}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-banner__device-wrapper{height:calc(100% + 32px);width:196px}}@media screen and (max-width:767px){.mfui-store-banner__device-wrapper{height:222px;padding-top:24px;width:163px}}.mfui-store-banner__links{display:-webkit-box;display:-ms-flexbox;display:flex}.mfui-store-banner__qr-code{-ms-flex-item-align:center;align-self:center;background-color:var(--base);border:1px solid var(--spbSky1);border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;height:90px;margin-right:16px;width:90px}@media screen and (max-width:767px){.mfui-store-banner__qr-code{display:none}}@media screen and (min-width:768px){.mfui-store-banner__qr-code+.mfui-store-banner__stores{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}}.mfui-store-banner__store-link{height:40px;margin-bottom:10px;margin-left:8px;margin-right:8px;width:136px}@media screen and (max-width:767px){.mfui-store-banner__store-link{height:35px;width:119px}}.mfui-store-banner__store-link:last-child{margin-bottom:0}.mfui-store-banner__stores{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (max-width:767px){.mfui-store-banner__stores{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (min-width:768px){.mfui-store-banner__stores{margin-left:-8px}}.mfui-store-banner__text{margin-bottom:32px}.mfui-store-banner__title{margin-bottom:16px}.mfui-store-banner__screen{left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media screen and (max-width:767px){.mfui-store-banner__button{margin:0 auto}}.mfui-store-banner__links_three .mfui-store-banner__qr-code{-o-object-fit:contain;object-fit:contain}@media screen and (min-width:1280px){.mfui-store-banner__links_three .mfui-store-banner__qr-code{max-height:90px;max-width:90px}}.mfui-store-banner__links_three .mfui-store-banner__qr-code+.mfui-store-banner__stores{max-width:305px}@media screen and (min-width:1024px){.mfui-store-banner__links_three .mfui-store-banner__qr-code+.mfui-store-banner__stores{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width:767px){.mfui-store-banner__links_three .mfui-store-banner__qr-code+.mfui-store-banner__stores{margin:0 auto}}.mfui-store-banner__links_three .mfui-store-banner__store-link{height:40px;width:136px}@media screen and (max-width:1023px){.mfui-store-banner__links_three .mfui-store-banner__store-link{height:35px;width:119px}}.mfui-store-banner__links_three .mfui-store-banner__store-link:not(:last-child){margin-bottom:8px}@media screen and (max-width:767px){.mfui-store-banner__links_three .mfui-store-banner__store-link:not(:last-child){margin-bottom:16px}}
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { Props as StoreButtonPropsType } from '../StoreButton/StoreButton';
3
- import './StoreBanner.less';
3
+ import './StoreBanner.scss';
4
4
  export declare const Theme: {
5
5
  readonly DEFAULT: "default";
6
6
  readonly GREEN: "green";
7
7
  readonly SPB_SKY_1: "spbSky1";
8
8
  readonly SPB_SKY_0: "spbSky0";
9
9
  };
10
- declare type ThemeType = typeof Theme[keyof typeof Theme];
10
+ type ThemeType = (typeof Theme)[keyof typeof Theme];
11
11
  export declare const DeviceMask: {
12
12
  readonly ANDROID: "android";
13
13
  readonly NEW_IPHONE: "new-iphone";
@@ -16,9 +16,9 @@ export declare const DeviceMask: {
16
16
  readonly WHITE_IPHONE: "white-iphone";
17
17
  readonly IPHONE_12: "iphone-12";
18
18
  };
19
- declare type DeviceMaskType = typeof DeviceMask[keyof typeof DeviceMask];
20
- declare type LinkHrefType = StoreButtonPropsType['href'];
21
- declare type LinkOnClickType = StoreButtonPropsType['onClick'];
19
+ type DeviceMaskType = (typeof DeviceMask)[keyof typeof DeviceMask];
20
+ type LinkHrefType = StoreButtonPropsType['href'];
21
+ type LinkOnClickType = StoreButtonPropsType['onClick'];
22
22
  export interface IStoreBannerProps {
23
23
  /** Заголовок */
24
24
  title: string;