@megafon/ui-shared 8.13.1 → 8.14.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 (513) hide show
  1. package/package.json +6 -6
  2. package/dist/es/components/AccordionBox/AccordionBox.css +0 -1
  3. package/dist/es/components/AccordionBox/AccordionBox.d.ts +0 -49
  4. package/dist/es/components/AccordionBox/AccordionBox.js +0 -42
  5. package/dist/es/components/AudioPlayer/AudioPlayer.d.ts +0 -10
  6. package/dist/es/components/AudioPlayer/AudioPlayer.js +0 -107
  7. package/dist/es/components/AudioPlayer/AudioProgress.d.ts +0 -14
  8. package/dist/es/components/AudioPlayer/AudioProgress.js +0 -96
  9. package/dist/es/components/AudioPlayer/AudioRange.d.ts +0 -15
  10. package/dist/es/components/AudioPlayer/AudioRange.js +0 -31
  11. package/dist/es/components/AudioPlayer/AudioVolume.d.ts +0 -7
  12. package/dist/es/components/AudioPlayer/AudioVolume.js +0 -77
  13. package/dist/es/components/AudioPlayer/hooks/useTrackDuration.d.ts +0 -3
  14. package/dist/es/components/AudioPlayer/hooks/useTrackDuration.js +0 -26
  15. package/dist/es/components/AudioPlayer/style/AudioPlayer.css +0 -1
  16. package/dist/es/components/AudioPlayer/style/AudioProgress.css +0 -1
  17. package/dist/es/components/AudioPlayer/style/AudioRange.css +0 -1
  18. package/dist/es/components/AudioPlayer/style/AudioVolume.css +0 -1
  19. package/dist/es/components/AudioPlayer/timerFormatUtil.d.ts +0 -2
  20. package/dist/es/components/AudioPlayer/timerFormatUtil.js +0 -25
  21. package/dist/es/components/BannerBox/BannerBox.d.ts +0 -5
  22. package/dist/es/components/BannerBox/BannerBox.js +0 -22
  23. package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +0 -30
  24. package/dist/es/components/BenefitsIcons/BenefitsIcons.js +0 -104
  25. package/dist/es/components/BenefitsIcons/BenefitsIconsTile.d.ts +0 -10
  26. package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +0 -51
  27. package/dist/es/components/BenefitsIcons/helpers.d.ts +0 -8
  28. package/dist/es/components/BenefitsIcons/helpers.js +0 -102
  29. package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +0 -1
  30. package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +0 -1
  31. package/dist/es/components/BenefitsIcons/types.d.ts +0 -54
  32. package/dist/es/components/BenefitsIcons/types.js +0 -17
  33. package/dist/es/components/BenefitsPictures/BenefitsPictures.d.ts +0 -27
  34. package/dist/es/components/BenefitsPictures/BenefitsPictures.js +0 -111
  35. package/dist/es/components/BenefitsPictures/BenfitsPictures.css +0 -1
  36. package/dist/es/components/BenefitsPictures/helpers.d.ts +0 -11
  37. package/dist/es/components/BenefitsPictures/helpers.js +0 -85
  38. package/dist/es/components/BenefitsPictures/types.d.ts +0 -24
  39. package/dist/es/components/BenefitsPictures/types.js +0 -1
  40. package/dist/es/components/BlogBox/BlogBox.css +0 -1
  41. package/dist/es/components/BlogBox/BlogBox.d.ts +0 -31
  42. package/dist/es/components/BlogBox/BlogBox.js +0 -72
  43. package/dist/es/components/BlogBox/components/BlogBoxTile.css +0 -1
  44. package/dist/es/components/BlogBox/components/BlogBoxTile.d.ts +0 -13
  45. package/dist/es/components/BlogBox/components/BlogBoxTile.js +0 -61
  46. package/dist/es/components/BlogBox/types.d.ts +0 -37
  47. package/dist/es/components/BlogBox/types.js +0 -1
  48. package/dist/es/components/Breadcrumbs/Breadcrumbs.css +0 -1
  49. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +0 -41
  50. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +0 -66
  51. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.css +0 -1
  52. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +0 -29
  53. package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +0 -57
  54. package/dist/es/components/ButtonBanner/ButtonBanner.css +0 -1
  55. package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +0 -64
  56. package/dist/es/components/ButtonBanner/ButtonBanner.js +0 -96
  57. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.css +0 -1
  58. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +0 -52
  59. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +0 -65
  60. package/dist/es/components/ButtonsBox/ButtonsBox.css +0 -1
  61. package/dist/es/components/ButtonsBox/ButtonsBox.d.ts +0 -48
  62. package/dist/es/components/ButtonsBox/ButtonsBox.js +0 -47
  63. package/dist/es/components/Card/Card.css +0 -1
  64. package/dist/es/components/Card/Card.d.ts +0 -55
  65. package/dist/es/components/Card/Card.js +0 -229
  66. package/dist/es/components/Card/types.d.ts +0 -86
  67. package/dist/es/components/Card/types.js +0 -1
  68. package/dist/es/components/CardsBox/CardsBox.d.ts +0 -14
  69. package/dist/es/components/CardsBox/CardsBox.js +0 -26
  70. package/dist/es/components/CardsBox/helpers.d.ts +0 -10
  71. package/dist/es/components/CardsBox/helpers.js +0 -21
  72. package/dist/es/components/CarouselBox/CarouselBox.d.ts +0 -10
  73. package/dist/es/components/CarouselBox/CarouselBox.js +0 -45
  74. package/dist/es/components/ChipsBox/ChipBox.d.ts +0 -5
  75. package/dist/es/components/ChipsBox/ChipBox.js +0 -7
  76. package/dist/es/components/ChipsBox/ChipsBox.css +0 -1
  77. package/dist/es/components/ChipsBox/ChipsBox.d.ts +0 -16
  78. package/dist/es/components/ChipsBox/ChipsBox.js +0 -76
  79. package/dist/es/components/Container/Container.css +0 -1
  80. package/dist/es/components/Container/Container.d.ts +0 -41
  81. package/dist/es/components/Container/Container.js +0 -46
  82. package/dist/es/components/DarkGradientCards/DarkGradientCards.css +0 -1
  83. package/dist/es/components/DarkGradientCards/DarkGradientCards.d.ts +0 -33
  84. package/dist/es/components/DarkGradientCards/DarkGradientCards.js +0 -66
  85. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.css +0 -1
  86. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.d.ts +0 -16
  87. package/dist/es/components/DarkGradientCards/components/DarkGradientCard.js +0 -50
  88. package/dist/es/components/DarkGradientCards/types.d.ts +0 -20
  89. package/dist/es/components/DarkGradientCards/types.js +0 -1
  90. package/dist/es/components/DownloadLinks/DownloadLink.css +0 -1
  91. package/dist/es/components/DownloadLinks/DownloadLink.d.ts +0 -36
  92. package/dist/es/components/DownloadLinks/DownloadLink.js +0 -61
  93. package/dist/es/components/DownloadLinks/DownloadLinks.css +0 -1
  94. package/dist/es/components/DownloadLinks/DownloadLinks.d.ts +0 -20
  95. package/dist/es/components/DownloadLinks/DownloadLinks.js +0 -64
  96. package/dist/es/components/FaqWrapper/FaqWrapper.d.ts +0 -6
  97. package/dist/es/components/FaqWrapper/FaqWrapper.js +0 -9
  98. package/dist/es/components/ImageBanner/ImageBanner.css +0 -1
  99. package/dist/es/components/ImageBanner/ImageBanner.d.ts +0 -94
  100. package/dist/es/components/ImageBanner/ImageBanner.js +0 -164
  101. package/dist/es/components/InfoCards/InfoCards.css +0 -1
  102. package/dist/es/components/InfoCards/InfoCards.d.ts +0 -24
  103. package/dist/es/components/InfoCards/InfoCards.js +0 -44
  104. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +0 -1
  105. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.d.ts +0 -19
  106. package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +0 -85
  107. package/dist/es/components/InfoCards/types.d.ts +0 -31
  108. package/dist/es/components/InfoCards/types.js +0 -1
  109. package/dist/es/components/Instructions/Instructions.css +0 -1
  110. package/dist/es/components/Instructions/Instructions.d.ts +0 -120
  111. package/dist/es/components/Instructions/Instructions.js +0 -362
  112. package/dist/es/components/Instructions/img/android-new.png +0 -0
  113. package/dist/es/components/Instructions/img/android.png +0 -0
  114. package/dist/es/components/Instructions/img/blackIphone.png +0 -0
  115. package/dist/es/components/Instructions/img/iphone-new.png +0 -0
  116. package/dist/es/components/Instructions/img/iphone12.png +0 -0
  117. package/dist/es/components/Instructions/img/iphone15.png +0 -0
  118. package/dist/es/components/Instructions/img/laptop-new.png +0 -0
  119. package/dist/es/components/Instructions/img/laptop.png +0 -0
  120. package/dist/es/components/Instructions/img/newIphone.png +0 -0
  121. package/dist/es/components/Instructions/img/whiteIphone.png +0 -0
  122. package/dist/es/components/NotificationBox/NotificationBox.css +0 -1
  123. package/dist/es/components/NotificationBox/NotificationBox.d.ts +0 -15
  124. package/dist/es/components/NotificationBox/NotificationBox.js +0 -35
  125. package/dist/es/components/NumbersBox/NumbersBox.css +0 -1
  126. package/dist/es/components/NumbersBox/NumbersBox.d.ts +0 -35
  127. package/dist/es/components/NumbersBox/NumbersBox.js +0 -72
  128. package/dist/es/components/NumbersBox/components/NumbersCard/NumbersCard.css +0 -1
  129. package/dist/es/components/NumbersBox/components/NumbersCard/NumbersCard.d.ts +0 -16
  130. package/dist/es/components/NumbersBox/components/NumbersCard/NumbersCard.js +0 -28
  131. package/dist/es/components/NumbersBox/types.d.ts +0 -7
  132. package/dist/es/components/NumbersBox/types.js +0 -1
  133. package/dist/es/components/PageTitle/PageTitle.css +0 -1
  134. package/dist/es/components/PageTitle/PageTitle.d.ts +0 -36
  135. package/dist/es/components/PageTitle/PageTitle.js +0 -74
  136. package/dist/es/components/Partners/Partners.css +0 -1
  137. package/dist/es/components/Partners/Partners.d.ts +0 -37
  138. package/dist/es/components/Partners/Partners.js +0 -111
  139. package/dist/es/components/PictureBox/PictureBox.css +0 -1
  140. package/dist/es/components/PictureBox/PictureBox.d.ts +0 -48
  141. package/dist/es/components/PictureBox/PictureBox.js +0 -96
  142. package/dist/es/components/PictureBox/img/mac-book-1x.png +0 -0
  143. package/dist/es/components/PictureBox/img/mac-book-2x.png +0 -0
  144. package/dist/es/components/PictureWithDescription/PictureWithDescription.css +0 -1
  145. package/dist/es/components/PictureWithDescription/PictureWithDescription.d.ts +0 -32
  146. package/dist/es/components/PictureWithDescription/PictureWithDescription.js +0 -48
  147. package/dist/es/components/PromoBanner/PromoBanner.d.ts +0 -5
  148. package/dist/es/components/PromoBanner/PromoBanner.js +0 -26
  149. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.css +0 -1
  150. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +0 -82
  151. package/dist/es/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +0 -142
  152. package/dist/es/components/PromoCards/PromoCards.d.ts +0 -33
  153. package/dist/es/components/PromoCards/PromoCards.js +0 -61
  154. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.css +0 -1
  155. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.d.ts +0 -25
  156. package/dist/es/components/PromoCards/components/PromoCard/PromoCard.js +0 -175
  157. package/dist/es/components/PromoCards/types.d.ts +0 -62
  158. package/dist/es/components/PromoCards/types.js +0 -1
  159. package/dist/es/components/Property/Property.d.ts +0 -5
  160. package/dist/es/components/Property/Property.js +0 -10
  161. package/dist/es/components/ServiceCards/ServiceCards.css +0 -1
  162. package/dist/es/components/ServiceCards/ServiceCards.d.ts +0 -28
  163. package/dist/es/components/ServiceCards/ServiceCards.js +0 -42
  164. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.css +0 -1
  165. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.d.ts +0 -19
  166. package/dist/es/components/ServiceCards/components/ServiceCard/ServiceCard.js +0 -81
  167. package/dist/es/components/ServiceCards/types.d.ts +0 -26
  168. package/dist/es/components/ServiceCards/types.js +0 -1
  169. package/dist/es/components/SidePictureCards/SidePictureCards.d.ts +0 -31
  170. package/dist/es/components/SidePictureCards/SidePictureCards.js +0 -69
  171. package/dist/es/components/SidePictureCards/components/SidePictureCard.css +0 -1
  172. package/dist/es/components/SidePictureCards/components/SidePictureCard.d.ts +0 -18
  173. package/dist/es/components/SidePictureCards/components/SidePictureCard.js +0 -94
  174. package/dist/es/components/SidePictureCards/types.d.ts +0 -48
  175. package/dist/es/components/SidePictureCards/types.js +0 -1
  176. package/dist/es/components/Stepper/Stepper.css +0 -1
  177. package/dist/es/components/Stepper/Stepper.d.ts +0 -52
  178. package/dist/es/components/Stepper/Stepper.js +0 -159
  179. package/dist/es/components/Stepper/StepperItem.css +0 -1
  180. package/dist/es/components/Stepper/StepperItem.d.ts +0 -57
  181. package/dist/es/components/Stepper/StepperItem.js +0 -99
  182. package/dist/es/components/Stepper/img/separator-mobile.png +0 -0
  183. package/dist/es/components/Stepper/img/separator-vertical.png +0 -0
  184. package/dist/es/components/Stepper/img/separator.png +0 -0
  185. package/dist/es/components/Steps/Steps.css +0 -1
  186. package/dist/es/components/Steps/Steps.d.ts +0 -21
  187. package/dist/es/components/Steps/Steps.js +0 -32
  188. package/dist/es/components/Steps/StepsItem.css +0 -1
  189. package/dist/es/components/Steps/StepsItem.d.ts +0 -10
  190. package/dist/es/components/Steps/StepsItem.js +0 -21
  191. package/dist/es/components/StoreBanner/StoreBanner.css +0 -1
  192. package/dist/es/components/StoreBanner/StoreBanner.d.ts +0 -101
  193. package/dist/es/components/StoreBanner/StoreBanner.js +0 -200
  194. package/dist/es/components/StoreBanner/img/android.png +0 -0
  195. package/dist/es/components/StoreBanner/img/black-iphone.png +0 -0
  196. package/dist/es/components/StoreBanner/img/iphone12.png +0 -0
  197. package/dist/es/components/StoreBanner/img/new-iphone.png +0 -0
  198. package/dist/es/components/StoreBanner/img/white-iphone.png +0 -0
  199. package/dist/es/components/StoreButton/StoreButton.css +0 -1
  200. package/dist/es/components/StoreButton/StoreButton.d.ts +0 -36
  201. package/dist/es/components/StoreButton/StoreButton.js +0 -60
  202. package/dist/es/components/StoreButton/img/app-store-large.png +0 -0
  203. package/dist/es/components/StoreButton/img/app-store.png +0 -0
  204. package/dist/es/components/StoreButton/img/galaxy-store-large.png +0 -0
  205. package/dist/es/components/StoreButton/img/galaxy-store.png +0 -0
  206. package/dist/es/components/StoreButton/img/google-play-large.png +0 -0
  207. package/dist/es/components/StoreButton/img/google-play.png +0 -0
  208. package/dist/es/components/StoreButton/img/huawei-store-large.png +0 -0
  209. package/dist/es/components/StoreButton/img/huawei-store.png +0 -0
  210. package/dist/es/components/StoreButton/img/mi-store-large.png +0 -0
  211. package/dist/es/components/StoreButton/img/mi-store.png +0 -0
  212. package/dist/es/components/StoreButton/img/ru-store-large.png +0 -0
  213. package/dist/es/components/StoreButton/img/ru-store.png +0 -0
  214. package/dist/es/components/StoreButton/img/v-appstore-large.png +0 -0
  215. package/dist/es/components/StoreButton/img/v-appstore.png +0 -0
  216. package/dist/es/components/Table/Table.css +0 -1
  217. package/dist/es/components/Table/Table.d.ts +0 -18
  218. package/dist/es/components/Table/Table.js +0 -127
  219. package/dist/es/components/Table/TableCell.d.ts +0 -6
  220. package/dist/es/components/Table/TableCell.js +0 -6
  221. package/dist/es/components/Table/TableRow.d.ts +0 -11
  222. package/dist/es/components/Table/TableRow.js +0 -7
  223. package/dist/es/components/TabsBox/TabBox.d.ts +0 -2
  224. package/dist/es/components/TabsBox/TabBox.js +0 -2
  225. package/dist/es/components/TabsBox/TabsBox.d.ts +0 -8
  226. package/dist/es/components/TabsBox/TabsBox.js +0 -24
  227. package/dist/es/components/TextBox/TextBox.css +0 -1
  228. package/dist/es/components/TextBox/TextBox.d.ts +0 -17
  229. package/dist/es/components/TextBox/TextBox.js +0 -43
  230. package/dist/es/components/TextBox/TextBoxPicture.css +0 -1
  231. package/dist/es/components/TextBox/TextBoxPicture.d.ts +0 -21
  232. package/dist/es/components/TextBox/TextBoxPicture.js +0 -30
  233. package/dist/es/components/TextWithIcon/TextWithIcon.css +0 -1
  234. package/dist/es/components/TextWithIcon/TextWithIcon.d.ts +0 -21
  235. package/dist/es/components/TextWithIcon/TextWithIcon.js +0 -41
  236. package/dist/es/components/TextWithIcon/TextWithIconItem.css +0 -1
  237. package/dist/es/components/TextWithIcon/TextWithIconItem.d.ts +0 -25
  238. package/dist/es/components/TextWithIcon/TextWithIconItem.js +0 -40
  239. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +0 -1
  240. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +0 -22
  241. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +0 -60
  242. package/dist/es/components/VideoBanner/VideoBanner.css +0 -1
  243. package/dist/es/components/VideoBanner/VideoBanner.d.ts +0 -112
  244. package/dist/es/components/VideoBanner/VideoBanner.js +0 -245
  245. package/dist/es/components/VideoBlock/VideoBlock.css +0 -1
  246. package/dist/es/components/VideoBlock/VideoBlock.d.ts +0 -63
  247. package/dist/es/components/VideoBlock/VideoBlock.js +0 -230
  248. package/dist/es/constants/throttleTime.d.ts +0 -4
  249. package/dist/es/constants/throttleTime.js +0 -3
  250. package/dist/es/helpers/getColumnConfig.d.ts +0 -6
  251. package/dist/es/helpers/getColumnConfig.js +0 -10
  252. package/dist/es/helpers/setRelAttribute.d.ts +0 -3
  253. package/dist/es/helpers/setRelAttribute.js +0 -9
  254. package/dist/es/hooks/useResolutions.d.ts +0 -8
  255. package/dist/es/hooks/useResolutions.js +0 -62
  256. package/dist/es/index.d.ts +0 -67
  257. package/dist/es/index.js +0 -67
  258. package/dist/lib/components/AccordionBox/AccordionBox.css +0 -1
  259. package/dist/lib/components/AccordionBox/AccordionBox.d.ts +0 -49
  260. package/dist/lib/components/AccordionBox/AccordionBox.js +0 -51
  261. package/dist/lib/components/AudioPlayer/AudioPlayer.d.ts +0 -10
  262. package/dist/lib/components/AudioPlayer/AudioPlayer.js +0 -116
  263. package/dist/lib/components/AudioPlayer/AudioProgress.d.ts +0 -14
  264. package/dist/lib/components/AudioPlayer/AudioProgress.js +0 -102
  265. package/dist/lib/components/AudioPlayer/AudioRange.d.ts +0 -15
  266. package/dist/lib/components/AudioPlayer/AudioRange.js +0 -37
  267. package/dist/lib/components/AudioPlayer/AudioVolume.d.ts +0 -7
  268. package/dist/lib/components/AudioPlayer/AudioVolume.js +0 -83
  269. package/dist/lib/components/AudioPlayer/hooks/useTrackDuration.d.ts +0 -3
  270. package/dist/lib/components/AudioPlayer/hooks/useTrackDuration.js +0 -33
  271. package/dist/lib/components/AudioPlayer/style/AudioPlayer.css +0 -1
  272. package/dist/lib/components/AudioPlayer/style/AudioProgress.css +0 -1
  273. package/dist/lib/components/AudioPlayer/style/AudioRange.css +0 -1
  274. package/dist/lib/components/AudioPlayer/style/AudioVolume.css +0 -1
  275. package/dist/lib/components/AudioPlayer/timerFormatUtil.d.ts +0 -2
  276. package/dist/lib/components/AudioPlayer/timerFormatUtil.js +0 -31
  277. package/dist/lib/components/BannerBox/BannerBox.d.ts +0 -5
  278. package/dist/lib/components/BannerBox/BannerBox.js +0 -31
  279. package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +0 -30
  280. package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +0 -113
  281. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.d.ts +0 -10
  282. package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +0 -60
  283. package/dist/lib/components/BenefitsIcons/helpers.d.ts +0 -8
  284. package/dist/lib/components/BenefitsIcons/helpers.js +0 -108
  285. package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +0 -1
  286. package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +0 -1
  287. package/dist/lib/components/BenefitsIcons/types.d.ts +0 -54
  288. package/dist/lib/components/BenefitsIcons/types.js +0 -23
  289. package/dist/lib/components/BenefitsPictures/BenefitsPictures.d.ts +0 -27
  290. package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +0 -120
  291. package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +0 -1
  292. package/dist/lib/components/BenefitsPictures/helpers.d.ts +0 -11
  293. package/dist/lib/components/BenefitsPictures/helpers.js +0 -91
  294. package/dist/lib/components/BenefitsPictures/types.d.ts +0 -24
  295. package/dist/lib/components/BenefitsPictures/types.js +0 -5
  296. package/dist/lib/components/BlogBox/BlogBox.css +0 -1
  297. package/dist/lib/components/BlogBox/BlogBox.d.ts +0 -31
  298. package/dist/lib/components/BlogBox/BlogBox.js +0 -81
  299. package/dist/lib/components/BlogBox/components/BlogBoxTile.css +0 -1
  300. package/dist/lib/components/BlogBox/components/BlogBoxTile.d.ts +0 -13
  301. package/dist/lib/components/BlogBox/components/BlogBoxTile.js +0 -70
  302. package/dist/lib/components/BlogBox/types.d.ts +0 -37
  303. package/dist/lib/components/BlogBox/types.js +0 -5
  304. package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +0 -1
  305. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -41
  306. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +0 -75
  307. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.css +0 -1
  308. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +0 -29
  309. package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +0 -66
  310. package/dist/lib/components/ButtonBanner/ButtonBanner.css +0 -1
  311. package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +0 -64
  312. package/dist/lib/components/ButtonBanner/ButtonBanner.js +0 -105
  313. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.css +0 -1
  314. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +0 -52
  315. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +0 -74
  316. package/dist/lib/components/ButtonsBox/ButtonsBox.css +0 -1
  317. package/dist/lib/components/ButtonsBox/ButtonsBox.d.ts +0 -48
  318. package/dist/lib/components/ButtonsBox/ButtonsBox.js +0 -56
  319. package/dist/lib/components/Card/Card.css +0 -1
  320. package/dist/lib/components/Card/Card.d.ts +0 -55
  321. package/dist/lib/components/Card/Card.js +0 -238
  322. package/dist/lib/components/Card/types.d.ts +0 -86
  323. package/dist/lib/components/Card/types.js +0 -5
  324. package/dist/lib/components/CardsBox/CardsBox.d.ts +0 -14
  325. package/dist/lib/components/CardsBox/CardsBox.js +0 -36
  326. package/dist/lib/components/CardsBox/helpers.d.ts +0 -10
  327. package/dist/lib/components/CardsBox/helpers.js +0 -28
  328. package/dist/lib/components/CarouselBox/CarouselBox.d.ts +0 -10
  329. package/dist/lib/components/CarouselBox/CarouselBox.js +0 -55
  330. package/dist/lib/components/ChipsBox/ChipBox.d.ts +0 -5
  331. package/dist/lib/components/ChipsBox/ChipBox.js +0 -17
  332. package/dist/lib/components/ChipsBox/ChipsBox.css +0 -1
  333. package/dist/lib/components/ChipsBox/ChipsBox.d.ts +0 -16
  334. package/dist/lib/components/ChipsBox/ChipsBox.js +0 -85
  335. package/dist/lib/components/Container/Container.css +0 -1
  336. package/dist/lib/components/Container/Container.d.ts +0 -41
  337. package/dist/lib/components/Container/Container.js +0 -54
  338. package/dist/lib/components/DarkGradientCards/DarkGradientCards.css +0 -1
  339. package/dist/lib/components/DarkGradientCards/DarkGradientCards.d.ts +0 -33
  340. package/dist/lib/components/DarkGradientCards/DarkGradientCards.js +0 -75
  341. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.css +0 -1
  342. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.d.ts +0 -16
  343. package/dist/lib/components/DarkGradientCards/components/DarkGradientCard.js +0 -59
  344. package/dist/lib/components/DarkGradientCards/types.d.ts +0 -20
  345. package/dist/lib/components/DarkGradientCards/types.js +0 -5
  346. package/dist/lib/components/DownloadLinks/DownloadLink.css +0 -1
  347. package/dist/lib/components/DownloadLinks/DownloadLink.d.ts +0 -36
  348. package/dist/lib/components/DownloadLinks/DownloadLink.js +0 -70
  349. package/dist/lib/components/DownloadLinks/DownloadLinks.css +0 -1
  350. package/dist/lib/components/DownloadLinks/DownloadLinks.d.ts +0 -20
  351. package/dist/lib/components/DownloadLinks/DownloadLinks.js +0 -73
  352. package/dist/lib/components/FaqWrapper/FaqWrapper.d.ts +0 -6
  353. package/dist/lib/components/FaqWrapper/FaqWrapper.js +0 -18
  354. package/dist/lib/components/ImageBanner/ImageBanner.css +0 -1
  355. package/dist/lib/components/ImageBanner/ImageBanner.d.ts +0 -94
  356. package/dist/lib/components/ImageBanner/ImageBanner.js +0 -173
  357. package/dist/lib/components/InfoCards/InfoCards.css +0 -1
  358. package/dist/lib/components/InfoCards/InfoCards.d.ts +0 -24
  359. package/dist/lib/components/InfoCards/InfoCards.js +0 -53
  360. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +0 -1
  361. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.d.ts +0 -19
  362. package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +0 -94
  363. package/dist/lib/components/InfoCards/types.d.ts +0 -31
  364. package/dist/lib/components/InfoCards/types.js +0 -5
  365. package/dist/lib/components/Instructions/Instructions.css +0 -1
  366. package/dist/lib/components/Instructions/Instructions.d.ts +0 -120
  367. package/dist/lib/components/Instructions/Instructions.js +0 -371
  368. package/dist/lib/components/Instructions/img/android-new.png +0 -0
  369. package/dist/lib/components/Instructions/img/android.png +0 -0
  370. package/dist/lib/components/Instructions/img/blackIphone.png +0 -0
  371. package/dist/lib/components/Instructions/img/iphone-new.png +0 -0
  372. package/dist/lib/components/Instructions/img/iphone12.png +0 -0
  373. package/dist/lib/components/Instructions/img/iphone15.png +0 -0
  374. package/dist/lib/components/Instructions/img/laptop-new.png +0 -0
  375. package/dist/lib/components/Instructions/img/laptop.png +0 -0
  376. package/dist/lib/components/Instructions/img/newIphone.png +0 -0
  377. package/dist/lib/components/Instructions/img/whiteIphone.png +0 -0
  378. package/dist/lib/components/NotificationBox/NotificationBox.css +0 -1
  379. package/dist/lib/components/NotificationBox/NotificationBox.d.ts +0 -15
  380. package/dist/lib/components/NotificationBox/NotificationBox.js +0 -44
  381. package/dist/lib/components/NumbersBox/NumbersBox.css +0 -1
  382. package/dist/lib/components/NumbersBox/NumbersBox.d.ts +0 -35
  383. package/dist/lib/components/NumbersBox/NumbersBox.js +0 -81
  384. package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.css +0 -1
  385. package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.d.ts +0 -16
  386. package/dist/lib/components/NumbersBox/components/NumbersCard/NumbersCard.js +0 -37
  387. package/dist/lib/components/NumbersBox/types.d.ts +0 -7
  388. package/dist/lib/components/NumbersBox/types.js +0 -5
  389. package/dist/lib/components/PageTitle/PageTitle.css +0 -1
  390. package/dist/lib/components/PageTitle/PageTitle.d.ts +0 -36
  391. package/dist/lib/components/PageTitle/PageTitle.js +0 -83
  392. package/dist/lib/components/Partners/Partners.css +0 -1
  393. package/dist/lib/components/Partners/Partners.d.ts +0 -37
  394. package/dist/lib/components/Partners/Partners.js +0 -120
  395. package/dist/lib/components/PictureBox/PictureBox.css +0 -1
  396. package/dist/lib/components/PictureBox/PictureBox.d.ts +0 -48
  397. package/dist/lib/components/PictureBox/PictureBox.js +0 -105
  398. package/dist/lib/components/PictureBox/img/mac-book-1x.png +0 -0
  399. package/dist/lib/components/PictureBox/img/mac-book-2x.png +0 -0
  400. package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +0 -1
  401. package/dist/lib/components/PictureWithDescription/PictureWithDescription.d.ts +0 -32
  402. package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +0 -56
  403. package/dist/lib/components/PromoBanner/PromoBanner.d.ts +0 -5
  404. package/dist/lib/components/PromoBanner/PromoBanner.js +0 -36
  405. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.css +0 -1
  406. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.d.ts +0 -82
  407. package/dist/lib/components/PromoBanner/components/PromoBannerSlide/PromoBannerSlide.js +0 -151
  408. package/dist/lib/components/PromoCards/PromoCards.d.ts +0 -33
  409. package/dist/lib/components/PromoCards/PromoCards.js +0 -71
  410. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.css +0 -1
  411. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.d.ts +0 -25
  412. package/dist/lib/components/PromoCards/components/PromoCard/PromoCard.js +0 -184
  413. package/dist/lib/components/PromoCards/types.d.ts +0 -62
  414. package/dist/lib/components/PromoCards/types.js +0 -5
  415. package/dist/lib/components/Property/Property.d.ts +0 -5
  416. package/dist/lib/components/Property/Property.js +0 -19
  417. package/dist/lib/components/ServiceCards/ServiceCards.css +0 -1
  418. package/dist/lib/components/ServiceCards/ServiceCards.d.ts +0 -28
  419. package/dist/lib/components/ServiceCards/ServiceCards.js +0 -51
  420. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.css +0 -1
  421. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.d.ts +0 -19
  422. package/dist/lib/components/ServiceCards/components/ServiceCard/ServiceCard.js +0 -90
  423. package/dist/lib/components/ServiceCards/types.d.ts +0 -26
  424. package/dist/lib/components/ServiceCards/types.js +0 -5
  425. package/dist/lib/components/SidePictureCards/SidePictureCards.d.ts +0 -31
  426. package/dist/lib/components/SidePictureCards/SidePictureCards.js +0 -79
  427. package/dist/lib/components/SidePictureCards/components/SidePictureCard.css +0 -1
  428. package/dist/lib/components/SidePictureCards/components/SidePictureCard.d.ts +0 -18
  429. package/dist/lib/components/SidePictureCards/components/SidePictureCard.js +0 -100
  430. package/dist/lib/components/SidePictureCards/types.d.ts +0 -48
  431. package/dist/lib/components/SidePictureCards/types.js +0 -5
  432. package/dist/lib/components/Stepper/Stepper.css +0 -1
  433. package/dist/lib/components/Stepper/Stepper.d.ts +0 -52
  434. package/dist/lib/components/Stepper/Stepper.js +0 -168
  435. package/dist/lib/components/Stepper/StepperItem.css +0 -1
  436. package/dist/lib/components/Stepper/StepperItem.d.ts +0 -57
  437. package/dist/lib/components/Stepper/StepperItem.js +0 -108
  438. package/dist/lib/components/Stepper/img/separator-mobile.png +0 -0
  439. package/dist/lib/components/Stepper/img/separator-vertical.png +0 -0
  440. package/dist/lib/components/Stepper/img/separator.png +0 -0
  441. package/dist/lib/components/Steps/Steps.css +0 -1
  442. package/dist/lib/components/Steps/Steps.d.ts +0 -21
  443. package/dist/lib/components/Steps/Steps.js +0 -40
  444. package/dist/lib/components/Steps/StepsItem.css +0 -1
  445. package/dist/lib/components/Steps/StepsItem.d.ts +0 -10
  446. package/dist/lib/components/Steps/StepsItem.js +0 -29
  447. package/dist/lib/components/StoreBanner/StoreBanner.css +0 -1
  448. package/dist/lib/components/StoreBanner/StoreBanner.d.ts +0 -101
  449. package/dist/lib/components/StoreBanner/StoreBanner.js +0 -209
  450. package/dist/lib/components/StoreBanner/img/android.png +0 -0
  451. package/dist/lib/components/StoreBanner/img/black-iphone.png +0 -0
  452. package/dist/lib/components/StoreBanner/img/iphone12.png +0 -0
  453. package/dist/lib/components/StoreBanner/img/new-iphone.png +0 -0
  454. package/dist/lib/components/StoreBanner/img/white-iphone.png +0 -0
  455. package/dist/lib/components/StoreButton/StoreButton.css +0 -1
  456. package/dist/lib/components/StoreButton/StoreButton.d.ts +0 -36
  457. package/dist/lib/components/StoreButton/StoreButton.js +0 -69
  458. package/dist/lib/components/StoreButton/img/app-store-large.png +0 -0
  459. package/dist/lib/components/StoreButton/img/app-store.png +0 -0
  460. package/dist/lib/components/StoreButton/img/galaxy-store-large.png +0 -0
  461. package/dist/lib/components/StoreButton/img/galaxy-store.png +0 -0
  462. package/dist/lib/components/StoreButton/img/google-play-large.png +0 -0
  463. package/dist/lib/components/StoreButton/img/google-play.png +0 -0
  464. package/dist/lib/components/StoreButton/img/huawei-store-large.png +0 -0
  465. package/dist/lib/components/StoreButton/img/huawei-store.png +0 -0
  466. package/dist/lib/components/StoreButton/img/mi-store-large.png +0 -0
  467. package/dist/lib/components/StoreButton/img/mi-store.png +0 -0
  468. package/dist/lib/components/StoreButton/img/ru-store-large.png +0 -0
  469. package/dist/lib/components/StoreButton/img/ru-store.png +0 -0
  470. package/dist/lib/components/StoreButton/img/v-appstore-large.png +0 -0
  471. package/dist/lib/components/StoreButton/img/v-appstore.png +0 -0
  472. package/dist/lib/components/Table/Table.css +0 -1
  473. package/dist/lib/components/Table/Table.d.ts +0 -18
  474. package/dist/lib/components/Table/Table.js +0 -136
  475. package/dist/lib/components/Table/TableCell.d.ts +0 -6
  476. package/dist/lib/components/Table/TableCell.js +0 -15
  477. package/dist/lib/components/Table/TableRow.d.ts +0 -11
  478. package/dist/lib/components/Table/TableRow.js +0 -17
  479. package/dist/lib/components/TabsBox/TabBox.d.ts +0 -2
  480. package/dist/lib/components/TabsBox/TabBox.js +0 -8
  481. package/dist/lib/components/TabsBox/TabsBox.d.ts +0 -8
  482. package/dist/lib/components/TabsBox/TabsBox.js +0 -33
  483. package/dist/lib/components/TextBox/TextBox.css +0 -1
  484. package/dist/lib/components/TextBox/TextBox.d.ts +0 -17
  485. package/dist/lib/components/TextBox/TextBox.js +0 -51
  486. package/dist/lib/components/TextBox/TextBoxPicture.css +0 -1
  487. package/dist/lib/components/TextBox/TextBoxPicture.d.ts +0 -21
  488. package/dist/lib/components/TextBox/TextBoxPicture.js +0 -38
  489. package/dist/lib/components/TextWithIcon/TextWithIcon.css +0 -1
  490. package/dist/lib/components/TextWithIcon/TextWithIcon.d.ts +0 -21
  491. package/dist/lib/components/TextWithIcon/TextWithIcon.js +0 -50
  492. package/dist/lib/components/TextWithIcon/TextWithIconItem.css +0 -1
  493. package/dist/lib/components/TextWithIcon/TextWithIconItem.d.ts +0 -25
  494. package/dist/lib/components/TextWithIcon/TextWithIconItem.js +0 -49
  495. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +0 -1
  496. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +0 -22
  497. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +0 -69
  498. package/dist/lib/components/VideoBanner/VideoBanner.css +0 -1
  499. package/dist/lib/components/VideoBanner/VideoBanner.d.ts +0 -112
  500. package/dist/lib/components/VideoBanner/VideoBanner.js +0 -253
  501. package/dist/lib/components/VideoBlock/VideoBlock.css +0 -1
  502. package/dist/lib/components/VideoBlock/VideoBlock.d.ts +0 -63
  503. package/dist/lib/components/VideoBlock/VideoBlock.js +0 -238
  504. package/dist/lib/constants/throttleTime.d.ts +0 -4
  505. package/dist/lib/constants/throttleTime.js +0 -9
  506. package/dist/lib/helpers/getColumnConfig.d.ts +0 -6
  507. package/dist/lib/helpers/getColumnConfig.js +0 -16
  508. package/dist/lib/helpers/setRelAttribute.d.ts +0 -3
  509. package/dist/lib/helpers/setRelAttribute.js +0 -15
  510. package/dist/lib/hooks/useResolutions.d.ts +0 -8
  511. package/dist/lib/hooks/useResolutions.js +0 -69
  512. package/dist/lib/index.d.ts +0 -67
  513. package/dist/lib/index.js +0 -475
@@ -1,57 +0,0 @@
1
- import * as React from 'react';
2
- import './StepperItem.scss';
3
- export declare enum STEPPER_ITEM_THEME_ENUM {
4
- CHECKED = "checked",
5
- ACTIVE = "active",
6
- DEFAULT = "default"
7
- }
8
- export declare enum STEPPER_ITEM_VIEW_ENUM {
9
- ICON = "icon",
10
- CONTENT = "content",
11
- DEFAULT = "default"
12
- }
13
- export interface IStepperItemProps {
14
- /** Дополнительный класс корневого элемента */
15
- className?: string;
16
- /** Дополнительные классы элементов */
17
- classes?: {
18
- iconButton?: string;
19
- title?: string;
20
- text?: string;
21
- link?: string;
22
- };
23
- /** Тема */
24
- theme?: STEPPER_ITEM_THEME_ENUM;
25
- /** Заголовок */
26
- title?: string;
27
- /** Текст */
28
- text?: string;
29
- /** Текст ссылки */
30
- linkText?: string;
31
- /** Адрес ссылки */
32
- linkUrl?: string;
33
- /** Иконка */
34
- icon?: string | number | JSX.Element;
35
- /** Наличие разделителя */
36
- hasSeparator?: boolean;
37
- /** Направление */
38
- isHorizontal?: boolean;
39
- /** Отключение */
40
- isDisabled?: boolean;
41
- /** Выравнивание */
42
- align?: 'center' | 'left';
43
- /** Варианты отображения */
44
- view?: STEPPER_ITEM_VIEW_ENUM;
45
- /** Дополнительные data атрибуты к внутренним элементам */
46
- dataAttrs?: {
47
- root?: Record<string, string>;
48
- iconButton?: Record<string, string>;
49
- title?: Record<string, string>;
50
- text?: Record<string, string>;
51
- link?: Record<string, string>;
52
- };
53
- /** Обработчик события клика */
54
- onClick?: () => void;
55
- }
56
- declare const StepperItem: React.FC<IStepperItemProps>;
57
- export default StepperItem;
@@ -1,99 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import "core-js/modules/es.string.link.js";
3
- import * as React from 'react';
4
- import { Button, Header, Paragraph } from '@megafon/ui-core';
5
- import { cnCreate, filterDataAttrs } from '@megafon/ui-helpers';
6
- import "./StepperItem.css";
7
- export var STEPPER_ITEM_THEME_ENUM;
8
- (function (STEPPER_ITEM_THEME_ENUM) {
9
- STEPPER_ITEM_THEME_ENUM["CHECKED"] = "checked";
10
- STEPPER_ITEM_THEME_ENUM["ACTIVE"] = "active";
11
- STEPPER_ITEM_THEME_ENUM["DEFAULT"] = "default";
12
- })(STEPPER_ITEM_THEME_ENUM || (STEPPER_ITEM_THEME_ENUM = {}));
13
- export var STEPPER_ITEM_VIEW_ENUM;
14
- (function (STEPPER_ITEM_VIEW_ENUM) {
15
- STEPPER_ITEM_VIEW_ENUM["ICON"] = "icon";
16
- STEPPER_ITEM_VIEW_ENUM["CONTENT"] = "content";
17
- STEPPER_ITEM_VIEW_ENUM["DEFAULT"] = "default";
18
- })(STEPPER_ITEM_VIEW_ENUM || (STEPPER_ITEM_VIEW_ENUM = {}));
19
- var cn = cnCreate('mfui-stepper-item');
20
- var StepperItem = function StepperItem(_ref) {
21
- var className = _ref.className,
22
- _ref$classes = _ref.classes,
23
- _ref$classes2 = _ref$classes === void 0 ? {} : _ref$classes,
24
- iconButtonClassName = _ref$classes2.iconButton,
25
- titleClassName = _ref$classes2.title,
26
- textClassName = _ref$classes2.text,
27
- linkClassName = _ref$classes2.link,
28
- _ref$theme = _ref.theme,
29
- theme = _ref$theme === void 0 ? STEPPER_ITEM_THEME_ENUM.DEFAULT : _ref$theme,
30
- title = _ref.title,
31
- text = _ref.text,
32
- linkText = _ref.linkText,
33
- linkUrl = _ref.linkUrl,
34
- icon = _ref.icon,
35
- hasSeparator = _ref.hasSeparator,
36
- _ref$isHorizontal = _ref.isHorizontal,
37
- isHorizontal = _ref$isHorizontal === void 0 ? true : _ref$isHorizontal,
38
- isDisabled = _ref.isDisabled,
39
- _ref$align = _ref.align,
40
- align = _ref$align === void 0 ? 'center' : _ref$align,
41
- _ref$view = _ref.view,
42
- view = _ref$view === void 0 ? STEPPER_ITEM_VIEW_ENUM.DEFAULT : _ref$view,
43
- _ref$dataAttrs = _ref.dataAttrs,
44
- _ref$dataAttrs2 = _ref$dataAttrs === void 0 ? {} : _ref$dataAttrs,
45
- rootAttrs = _ref$dataAttrs2.root,
46
- iconButtonAttrs = _ref$dataAttrs2.iconButton,
47
- titleAttrs = _ref$dataAttrs2.title,
48
- textAttrs = _ref$dataAttrs2.text,
49
- linkAttrs = _ref$dataAttrs2.link,
50
- onClick = _ref.onClick;
51
- var hasLink = !!linkText && !!linkUrl;
52
- var hasContent = !!title || !!text || hasLink;
53
- var showContent = view !== STEPPER_ITEM_VIEW_ENUM.ICON && hasContent;
54
- var showIcon = view !== STEPPER_ITEM_VIEW_ENUM.CONTENT;
55
- var renderContent = /*#__PURE__*/React.createElement("div", {
56
- className: cn('content')
57
- }, title && /*#__PURE__*/React.createElement(Header, {
58
- className: cn([titleClassName]),
59
- dataAttrs: {
60
- root: titleAttrs
61
- },
62
- as: "h5",
63
- align: align
64
- }, title), text && /*#__PURE__*/React.createElement(Paragraph, {
65
- className: cn([textClassName]),
66
- dataAttrs: {
67
- root: textAttrs
68
- },
69
- hasMargin: false,
70
- align: align
71
- }, text), hasLink && /*#__PURE__*/React.createElement(Button, {
72
- className: cn('link', [linkClassName]),
73
- dataAttrs: {
74
- root: linkAttrs
75
- },
76
- href: linkUrl,
77
- type: "text",
78
- sizeAll: "extra-small"
79
- }, linkText));
80
- return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(rootAttrs), {
81
- className: cn([className], {
82
- theme: theme,
83
- align: align,
84
- 'is-horizontal': isHorizontal
85
- })
86
- }), showIcon && /*#__PURE__*/React.createElement("div", {
87
- className: cn('icon-button-area')
88
- }, /*#__PURE__*/React.createElement("button", _extends({}, filterDataAttrs(iconButtonAttrs), {
89
- className: cn('icon-button', [iconButtonClassName]),
90
- type: "button",
91
- disabled: isDisabled,
92
- onClick: onClick
93
- }), /*#__PURE__*/React.createElement("span", {
94
- className: cn('icon')
95
- }, icon)), hasSeparator && /*#__PURE__*/React.createElement("span", {
96
- className: cn('separator')
97
- })), showContent && renderContent);
98
- };
99
- export default StepperItem;
@@ -1 +0,0 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-steps{margin-left:auto;margin-right:auto;width:100%}@media screen and (min-width:768px){.mfui-steps{width:66%}}@media screen and (min-width:1280px){.mfui-steps{width:49%}}.mfui-steps__title{margin-bottom:24px}@media screen and (min-width:1024px){.mfui-steps__title{margin-bottom:40px}}.mfui-steps__list{list-style:none;margin:0;padding:0}.mfui-steps__item{border-radius:24px;margin-bottom:12px;padding:16px}.mfui-steps__item:last-child{margin-bottom:0}.mfui-steps_theme_gray .mfui-steps__item{background-color:var(--spbSky0)}.mfui-steps_theme_white .mfui-steps__item{background-color:var(--base)}.mfui-steps_theme_none .mfui-steps__title{margin-bottom:40px}.mfui-steps_theme_none .mfui-steps__item{border-radius:0;margin-bottom:48px;padding:0}@media screen and (max-width:767px){.mfui-steps_theme_none .mfui-steps__item{margin-bottom:24px}}
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- import './Steps.scss';
3
- export interface ISteps {
4
- /** Дополнительный класс корневого элемента */
5
- className?: string;
6
- /** Дополнительные классы для корневого и внутренних элементов */
7
- classes?: {
8
- title?: string;
9
- list?: string;
10
- item?: string;
11
- };
12
- /** Ссылка на корневой элемент */
13
- rootRef?: React.Ref<HTMLDivElement>;
14
- /** Заголовок */
15
- title?: string;
16
- /** Цветовая тема. DEPRECATED: 'none' */
17
- theme?: 'none' | 'white' | 'gray';
18
- children: React.ReactNode;
19
- }
20
- declare const Steps: React.FC<ISteps>;
21
- export default Steps;
@@ -1,32 +0,0 @@
1
- import "core-js/modules/es.array.map.js";
2
- import * as React from 'react';
3
- import { Header } from '@megafon/ui-core';
4
- import { cnCreate, convert, titleConvertConfig } from '@megafon/ui-helpers';
5
- import "./Steps.css";
6
- var cn = cnCreate('mfui-steps');
7
- var Steps = function Steps(_ref) {
8
- var className = _ref.className,
9
- classes = _ref.classes,
10
- title = _ref.title,
11
- rootRef = _ref.rootRef,
12
- _ref$theme = _ref.theme,
13
- theme = _ref$theme === void 0 ? 'none' : _ref$theme,
14
- children = _ref.children;
15
- return /*#__PURE__*/React.createElement("div", {
16
- className: cn({
17
- theme: theme
18
- }, [className]),
19
- ref: rootRef
20
- }, !!title && /*#__PURE__*/React.createElement(Header, {
21
- as: "h2",
22
- align: "center",
23
- className: cn('title', [classes === null || classes === void 0 ? void 0 : classes.title])
24
- }, convert(title, titleConvertConfig)), /*#__PURE__*/React.createElement("ul", {
25
- className: cn('list', [classes === null || classes === void 0 ? void 0 : classes.list])
26
- }, React.Children.map(children, function (child) {
27
- return /*#__PURE__*/React.createElement("li", {
28
- className: cn('item', [classes === null || classes === void 0 ? void 0 : classes.item])
29
- }, child);
30
- })));
31
- };
32
- export default Steps;
@@ -1 +0,0 @@
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:12px;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,10 +0,0 @@
1
- import * as React from 'react';
2
- import './StepsItem.scss';
3
- interface IStepsItem {
4
- /** Номер элемента */
5
- index: number;
6
- /** Текст */
7
- text: string | React.ReactNode[];
8
- }
9
- declare const StepsItem: React.FC<IStepsItem>;
10
- export default StepsItem;
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- import { Paragraph } from '@megafon/ui-core';
3
- import { cnCreate, convert, textConvertConfig } from '@megafon/ui-helpers';
4
- import "./StepsItem.css";
5
- var cn = cnCreate('mfui-steps-item');
6
- var StepsItem = function StepsItem(_ref) {
7
- var index = _ref.index,
8
- text = _ref.text;
9
- return /*#__PURE__*/React.createElement("div", {
10
- className: cn()
11
- }, /*#__PURE__*/React.createElement("span", {
12
- className: cn('step-number')
13
- }, index), /*#__PURE__*/React.createElement("div", {
14
- className: cn('text-wrapper')
15
- }, typeof text === 'string' ? /*#__PURE__*/React.createElement(Paragraph, {
16
- hasMargin: false
17
- }, convert(text, textConvertConfig)) : /*#__PURE__*/React.createElement("div", {
18
- className: cn('nodes')
19
- }, text)));
20
- };
21
- export default StepsItem;
@@ -1 +0,0 @@
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,101 +0,0 @@
1
- import * as React from 'react';
2
- import { Props as StoreButtonPropsType } from '../StoreButton/StoreButton';
3
- import './StoreBanner.scss';
4
- export declare const Theme: {
5
- readonly DEFAULT: "default";
6
- readonly GREEN: "green";
7
- readonly SPB_SKY_1: "spbSky1";
8
- readonly SPB_SKY_0: "spbSky0";
9
- };
10
- type ThemeType = (typeof Theme)[keyof typeof Theme];
11
- export declare const DeviceMask: {
12
- readonly ANDROID: "android";
13
- readonly NEW_IPHONE: "new-iphone";
14
- /** DEPRECATED: 'black-iphone', 'white-iphone', 'iphone-12' */
15
- readonly BLACK_IPHONE: "black-iphone";
16
- readonly WHITE_IPHONE: "white-iphone";
17
- readonly IPHONE_12: "iphone-12";
18
- };
19
- type DeviceMaskType = (typeof DeviceMask)[keyof typeof DeviceMask];
20
- type LinkHrefType = StoreButtonPropsType['href'];
21
- type LinkOnClickType = StoreButtonPropsType['onClick'];
22
- export interface IStoreBannerProps {
23
- /** Заголовок */
24
- title: string;
25
- /** Текст */
26
- text: string;
27
- /** Ссылка на скачивание приложения в App Store */
28
- linkApple?: LinkHrefType;
29
- /** Обработчик клика по ссылке в App Store */
30
- onClickApple?: LinkOnClickType;
31
- /** Ссылка на скачивание приложения в Google Play */
32
- linkGoogle?: LinkHrefType;
33
- /** Обработчик клика по ссылке в Google Play */
34
- onClickGoogle?: LinkOnClickType;
35
- /** Ссылка на скачивание приложения в Samsung Galaxy Store */
36
- linkGalaxyStore?: LinkHrefType;
37
- /** Обработчик клика по ссылке в Samsung Galaxy Store */
38
- onClickGalaxyStore?: LinkOnClickType;
39
- /** Ссылка на скачивание приложения в Huawei AppGallery */
40
- linkHuawei?: LinkHrefType;
41
- /** Обработчик клика по ссылке в Huawei AppGallery */
42
- onClickHuawei?: LinkOnClickType;
43
- /** Ссылка на скачивание приложения в RuStore */
44
- linkRuStore?: LinkHrefType;
45
- /** Обработчик клика по ссылке в RuStore */
46
- onClickRuStore?: LinkOnClickType;
47
- /** Ссылка на скачивание приложения в Mi App Store */
48
- linkMiStore?: LinkHrefType;
49
- /** Обработчик клика по ссылке в Mi App Store */
50
- onClickMiStore?: LinkOnClickType;
51
- /** Ссылка на скачивание приложения в V-Appstore */
52
- linkVAppstore?: LinkHrefType;
53
- /** Обработчик клика по ссылке в V-Appstore */
54
- onClickVAppstore?: LinkOnClickType;
55
- /** Текст кнопки */
56
- textButton?: string;
57
- /** Ссылка для кнопки */
58
- linkButton?: string;
59
- /** Rel - атрибут тега <a> для всех кнопок баннера */
60
- rel?: string;
61
- /** Ссылка на картинку с QR-кодом */
62
- qrCode?: string;
63
- /** Цветовая тема компонента */
64
- theme?: ThemeType;
65
- /** Изображение телефона. DEPRECATED: 'black-iphone', 'white-iphone', 'iphone-12' */
66
- deviceMask: DeviceMaskType;
67
- /** Изображение на дисплее телефона */
68
- imageSrc: string;
69
- /** Выравнивание контента слева на мобильном разрешении */
70
- isContentLeftMobile?: boolean;
71
- /** Дополнительный класс корневого элемента */
72
- className?: string;
73
- /** Дополнительные классы для корневого и внутренних элементов */
74
- classes?: {
75
- root?: string;
76
- appleLink?: string;
77
- galaxyStoreLink?: string;
78
- googleLink?: string;
79
- huaweiLink?: string;
80
- miStoreLink?: string;
81
- ruStoreLink?: string;
82
- vAppstoreLink?: string;
83
- button?: string;
84
- };
85
- /** Ссылка на корневой элемент */
86
- rootRef?: React.Ref<HTMLDivElement>;
87
- /** Дополнительные data атрибуты к внутренним элементам */
88
- dataAttrs?: {
89
- root?: Record<string, string>;
90
- button?: Record<string, string>;
91
- linkApple?: Record<string, string>;
92
- linkGalaxyStore?: Record<string, string>;
93
- linkGoogle?: Record<string, string>;
94
- linkHuawei?: Record<string, string>;
95
- linkMiStore?: Record<string, string>;
96
- linkRuStore?: Record<string, string>;
97
- linkVAppstore?: Record<string, string>;
98
- };
99
- }
100
- declare const StoreBanner: React.FC<IStoreBannerProps>;
101
- export default StoreBanner;
@@ -1,200 +0,0 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import * as React from 'react';
3
- import { Button, Grid, GridColumn, Header } from '@megafon/ui-core';
4
- import { cnCreate, filterDataAttrs, convert, titleConvertConfig, textConvertConfig } from '@megafon/ui-helpers';
5
- import StoreButton, { Theme as StoreButtonTheme } from "../StoreButton/StoreButton";
6
- import "./StoreBanner.css";
7
- export var Theme = {
8
- DEFAULT: 'default',
9
- GREEN: 'green',
10
- SPB_SKY_1: 'spbSky1',
11
- SPB_SKY_0: 'spbSky0'
12
- };
13
- export var DeviceMask = {
14
- ANDROID: 'android',
15
- NEW_IPHONE: 'new-iphone',
16
- /** DEPRECATED: 'black-iphone', 'white-iphone', 'iphone-12' */
17
- BLACK_IPHONE: 'black-iphone',
18
- WHITE_IPHONE: 'white-iphone',
19
- IPHONE_12: 'iphone-12'
20
- };
21
- var testIdPrefix = 'StoreBanner';
22
- var cn = cnCreate('mfui-store-banner');
23
- var StoreBanner = function StoreBanner(_ref) {
24
- var className = _ref.className,
25
- _ref$classes = _ref.classes,
26
- _ref$classes2 = _ref$classes === void 0 ? {} : _ref$classes,
27
- rootClassName = _ref$classes2.root,
28
- appleLinkClassName = _ref$classes2.appleLink,
29
- galaxyStoreLinkClassName = _ref$classes2.galaxyStoreLink,
30
- googleLinkClassName = _ref$classes2.googleLink,
31
- huaweiLinkClassName = _ref$classes2.huaweiLink,
32
- miStoreLinkClassName = _ref$classes2.miStoreLink,
33
- ruStoreLinkClassName = _ref$classes2.ruStoreLink,
34
- vAppstoreLinkClassName = _ref$classes2.vAppstoreLink,
35
- buttonClassName = _ref$classes2.button,
36
- title = _ref.title,
37
- text = _ref.text,
38
- linkApple = _ref.linkApple,
39
- linkGalaxyStore = _ref.linkGalaxyStore,
40
- linkGoogle = _ref.linkGoogle,
41
- linkHuawei = _ref.linkHuawei,
42
- linkMiStore = _ref.linkMiStore,
43
- linkRuStore = _ref.linkRuStore,
44
- linkVAppstore = _ref.linkVAppstore,
45
- linkButton = _ref.linkButton,
46
- _ref$textButton = _ref.textButton,
47
- textButton = _ref$textButton === void 0 ? 'Установите приложение' : _ref$textButton,
48
- rel = _ref.rel,
49
- qrCode = _ref.qrCode,
50
- imageSrc = _ref.imageSrc,
51
- _ref$theme = _ref.theme,
52
- theme = _ref$theme === void 0 ? 'default' : _ref$theme,
53
- deviceMask = _ref.deviceMask,
54
- isContentLeftMobile = _ref.isContentLeftMobile,
55
- rootRef = _ref.rootRef,
56
- dataAttrs = _ref.dataAttrs,
57
- onClickApple = _ref.onClickApple,
58
- onClickGalaxyStore = _ref.onClickGalaxyStore,
59
- onClickGoogle = _ref.onClickGoogle,
60
- onClickHuawei = _ref.onClickHuawei,
61
- onClickMiStore = _ref.onClickMiStore,
62
- onClickRuStore = _ref.onClickRuStore,
63
- onClickVAppstore = _ref.onClickVAppstore;
64
- return /*#__PURE__*/React.createElement("div", _extends({
65
- className: cn({
66
- theme: theme,
67
- mask: deviceMask,
68
- 'content-left-mobile': isContentLeftMobile
69
- }, [className, rootClassName]),
70
- ref: rootRef
71
- }, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root)), /*#__PURE__*/React.createElement("div", {
72
- className: cn('container')
73
- }, /*#__PURE__*/React.createElement("div", {
74
- className: cn('grid')
75
- }, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(GridColumn, {
76
- all: "6",
77
- mobile: "12",
78
- rightOffsetWide: "1"
79
- }, /*#__PURE__*/React.createElement("div", {
80
- className: cn('content')
81
- }, /*#__PURE__*/React.createElement(Header, {
82
- as: "h2",
83
- className: cn('title'),
84
- color: "inherit"
85
- }, convert(title, titleConvertConfig)), /*#__PURE__*/React.createElement("div", {
86
- className: cn('text'),
87
- color: "inherit"
88
- }, convert(text, textConvertConfig)), /*#__PURE__*/React.createElement("div", {
89
- className: cn('links', {
90
- three: !!linkApple && !!linkGoogle && !!linkHuawei
91
- })
92
- }, !linkButton && qrCode && /*#__PURE__*/React.createElement("img", {
93
- src: qrCode,
94
- className: cn('qr-code'),
95
- alt: "QR-\u043A\u043E\u0434",
96
- "data-testid": "".concat(testIdPrefix, "-qrCode")
97
- }), !linkButton && /*#__PURE__*/React.createElement("div", {
98
- className: cn('stores'),
99
- "data-testid": "".concat(testIdPrefix, "-stores")
100
- }, linkApple && /*#__PURE__*/React.createElement(StoreButton, {
101
- dataAttrs: {
102
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkApple
103
- },
104
- theme: StoreButtonTheme.APP_STORE,
105
- href: linkApple,
106
- rel: rel,
107
- onClick: onClickApple,
108
- className: cn('store-link', {
109
- 'app-store': true
110
- }, appleLinkClassName)
111
- }), linkGoogle && /*#__PURE__*/React.createElement(StoreButton, {
112
- dataAttrs: {
113
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkGoogle
114
- },
115
- theme: StoreButtonTheme.GOOGLE_PLAY,
116
- href: linkGoogle,
117
- rel: rel,
118
- className: cn('store-link', {
119
- 'google-play': true
120
- }, googleLinkClassName),
121
- onClick: onClickGoogle
122
- }), linkRuStore && /*#__PURE__*/React.createElement(StoreButton, {
123
- dataAttrs: {
124
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkRuStore
125
- },
126
- theme: StoreButtonTheme.RU_STORE,
127
- href: linkRuStore,
128
- rel: rel,
129
- className: cn('store-link', {
130
- 'ru-store': true
131
- }, ruStoreLinkClassName),
132
- onClick: onClickRuStore
133
- }), linkGalaxyStore && /*#__PURE__*/React.createElement(StoreButton, {
134
- dataAttrs: {
135
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkGalaxyStore
136
- },
137
- theme: StoreButtonTheme.GALAXY_STORE,
138
- href: linkGalaxyStore,
139
- rel: rel,
140
- className: cn('store-link', {
141
- 'galaxy-store': true
142
- }, galaxyStoreLinkClassName),
143
- onClick: onClickGalaxyStore
144
- }), linkHuawei && /*#__PURE__*/React.createElement(StoreButton, {
145
- dataAttrs: {
146
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkHuawei
147
- },
148
- theme: StoreButtonTheme.HUAWEI_STORE,
149
- href: linkHuawei,
150
- rel: rel,
151
- className: cn('store-link', {
152
- 'huawei-store': true
153
- }, huaweiLinkClassName),
154
- onClick: onClickHuawei
155
- }), linkMiStore && /*#__PURE__*/React.createElement(StoreButton, {
156
- dataAttrs: {
157
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkMiStore
158
- },
159
- theme: StoreButtonTheme.MI_STORE,
160
- href: linkMiStore,
161
- rel: rel,
162
- className: cn('store-link', {
163
- 'mi-store': true
164
- }, miStoreLinkClassName),
165
- onClick: onClickMiStore
166
- }), linkVAppstore && /*#__PURE__*/React.createElement(StoreButton, {
167
- dataAttrs: {
168
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.linkVAppstore
169
- },
170
- theme: StoreButtonTheme.V_APPSTORE,
171
- href: linkVAppstore,
172
- rel: rel,
173
- className: cn('store-link', {
174
- 'v-appstore': true
175
- }, vAppstoreLinkClassName),
176
- onClick: onClickVAppstore
177
- })), linkButton && /*#__PURE__*/React.createElement(Button, {
178
- dataAttrs: {
179
- root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.button
180
- },
181
- className: cn('button', [buttonClassName]),
182
- href: linkButton,
183
- rel: rel,
184
- theme: theme === 'green' ? 'purple' : 'green'
185
- }, textButton)))), /*#__PURE__*/React.createElement(GridColumn, {
186
- all: "4",
187
- desktop: "6",
188
- tablet: "6",
189
- mobile: "12"
190
- }, /*#__PURE__*/React.createElement("div", {
191
- className: cn('device-wrapper')
192
- }, /*#__PURE__*/React.createElement("div", {
193
- className: cn('device-mask')
194
- }), /*#__PURE__*/React.createElement("img", {
195
- src: imageSrc,
196
- className: cn('screen'),
197
- alt: "\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430 \u044D\u043A\u0440\u0430\u043D\u0435 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430"
198
- })))))));
199
- };
200
- export default StoreBanner;
@@ -1 +0,0 @@
1
- h1,h2,h3,h4,h5{margin:0}.mfui-store-button{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:8px;display:inline-block}.mfui-store-button_size-all_small{height:35px;width:119px}.mfui-store-button_size-all_medium{height:40px;width:136px}.mfui-store-button_size-all_large{height:70px;width:238px}.mfui-store-button_size-all_medium.mfui-store-button_theme_app-store,.mfui-store-button_size-all_small.mfui-store-button_theme_app-store{background-image:url(img/app-store.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_galaxy-store,.mfui-store-button_size-all_small.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_google-play,.mfui-store-button_size-all_small.mfui-store-button_theme_google-play{background-image:url(img/google-play.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_huawei-store,.mfui-store-button_size-all_small.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_mi-store,.mfui-store-button_size-all_small.mfui-store-button_theme_mi-store{background-image:url(img/mi-store.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_ru-store,.mfui-store-button_size-all_small.mfui-store-button_theme_ru-store{background-image:url(img/ru-store.png)}.mfui-store-button_size-all_medium.mfui-store-button_theme_v-appstore,.mfui-store-button_size-all_small.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_app-store{background-image:url(img/app-store-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_google-play{background-image:url(img/google-play-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_mi-store{background-image:url(img/mi-store-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_ru-store{background-image:url(img/ru-store-large.png)}.mfui-store-button_size-all_large.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore-large.png)}@media screen and (min-width:1024px){.mfui-store-button_size-desktop_small{height:35px;width:119px}.mfui-store-button_size-desktop_medium{height:40px;width:136px}.mfui-store-button_size-desktop_large{height:70px;width:238px}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_app-store,.mfui-store-button_size-desktop_small.mfui-store-button_theme_app-store{background-image:url(img/app-store.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_galaxy-store,.mfui-store-button_size-desktop_small.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_google-play,.mfui-store-button_size-desktop_small.mfui-store-button_theme_google-play{background-image:url(img/google-play.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_huawei-store,.mfui-store-button_size-desktop_small.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_mi-store,.mfui-store-button_size-desktop_small.mfui-store-button_theme_mi-store{background-image:url(img/mi-store.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_ru-store,.mfui-store-button_size-desktop_small.mfui-store-button_theme_ru-store{background-image:url(img/ru-store.png)}.mfui-store-button_size-desktop_medium.mfui-store-button_theme_v-appstore,.mfui-store-button_size-desktop_small.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_app-store{background-image:url(img/app-store-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_google-play{background-image:url(img/google-play-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_mi-store{background-image:url(img/mi-store-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_ru-store{background-image:url(img/ru-store-large.png)}.mfui-store-button_size-desktop_large.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore-large.png)}}@media screen and (min-width:1280px){.mfui-store-button_size-wide_small{height:35px;width:119px}.mfui-store-button_size-wide_medium{height:40px;width:136px}.mfui-store-button_size-wide_large{height:70px;width:238px}.mfui-store-button_size-wide_medium.mfui-store-button_theme_app-store,.mfui-store-button_size-wide_small.mfui-store-button_theme_app-store{background-image:url(img/app-store.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_galaxy-store,.mfui-store-button_size-wide_small.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_google-play,.mfui-store-button_size-wide_small.mfui-store-button_theme_google-play{background-image:url(img/google-play.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_huawei-store,.mfui-store-button_size-wide_small.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_mi-store,.mfui-store-button_size-wide_small.mfui-store-button_theme_mi-store{background-image:url(img/mi-store.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_ru-store,.mfui-store-button_size-wide_small.mfui-store-button_theme_ru-store{background-image:url(img/ru-store.png)}.mfui-store-button_size-wide_medium.mfui-store-button_theme_v-appstore,.mfui-store-button_size-wide_small.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_app-store{background-image:url(img/app-store-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_google-play{background-image:url(img/google-play-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_mi-store{background-image:url(img/mi-store-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_ru-store{background-image:url(img/ru-store-large.png)}.mfui-store-button_size-wide_large.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore-large.png)}}@media screen and (min-width:768px) and (max-width:1023px){.mfui-store-button_size-tablet_small{height:35px;width:119px}.mfui-store-button_size-tablet_medium{height:40px;width:136px}.mfui-store-button_size-tablet_large{height:70px;width:238px}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_app-store,.mfui-store-button_size-tablet_small.mfui-store-button_theme_app-store{background-image:url(img/app-store.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_galaxy-store,.mfui-store-button_size-tablet_small.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_google-play,.mfui-store-button_size-tablet_small.mfui-store-button_theme_google-play{background-image:url(img/google-play.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_huawei-store,.mfui-store-button_size-tablet_small.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_mi-store,.mfui-store-button_size-tablet_small.mfui-store-button_theme_mi-store{background-image:url(img/mi-store.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_ru-store,.mfui-store-button_size-tablet_small.mfui-store-button_theme_ru-store{background-image:url(img/ru-store.png)}.mfui-store-button_size-tablet_medium.mfui-store-button_theme_v-appstore,.mfui-store-button_size-tablet_small.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_app-store{background-image:url(img/app-store-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_google-play{background-image:url(img/google-play-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_mi-store{background-image:url(img/mi-store-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_ru-store{background-image:url(img/ru-store-large.png)}.mfui-store-button_size-tablet_large.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore-large.png)}}@media screen and (max-width:767px){.mfui-store-button_size-mobile_small{height:35px;width:119px}.mfui-store-button_size-mobile_medium{height:40px;width:136px}.mfui-store-button_size-mobile_large{height:70px;width:238px}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_app-store,.mfui-store-button_size-mobile_small.mfui-store-button_theme_app-store{background-image:url(img/app-store.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_galaxy-store,.mfui-store-button_size-mobile_small.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_google-play,.mfui-store-button_size-mobile_small.mfui-store-button_theme_google-play{background-image:url(img/google-play.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_huawei-store,.mfui-store-button_size-mobile_small.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_mi-store,.mfui-store-button_size-mobile_small.mfui-store-button_theme_mi-store{background-image:url(img/mi-store.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_ru-store,.mfui-store-button_size-mobile_small.mfui-store-button_theme_ru-store{background-image:url(img/ru-store.png)}.mfui-store-button_size-mobile_medium.mfui-store-button_theme_v-appstore,.mfui-store-button_size-mobile_small.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_app-store{background-image:url(img/app-store-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_galaxy-store{background-image:url(img/galaxy-store-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_google-play{background-image:url(img/google-play-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_huawei-store{background-image:url(img/huawei-store-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_mi-store{background-image:url(img/mi-store-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_ru-store{background-image:url(img/ru-store-large.png)}.mfui-store-button_size-mobile_large.mfui-store-button_theme_v-appstore{background-image:url(img/v-appstore-large.png)}}
@@ -1,36 +0,0 @@
1
- import * as React from 'react';
2
- import { Link } from '@megafon/ui-core';
3
- import './StoreButton.scss';
4
- export declare enum ButtonSizes {
5
- SMALL = "small",
6
- MEDIUM = "medium",
7
- LARGE = "large"
8
- }
9
- export declare enum Theme {
10
- APP_STORE = "app-store",
11
- GALAXY_STORE = "galaxy-store",
12
- GOOGLE_PLAY = "google-play",
13
- HUAWEI_STORE = "huawei-store",
14
- MI_STORE = "mi-store",
15
- RU_STORE = "ru-store",
16
- V_APPSTORE = "v-appstore"
17
- }
18
- type LinkPropTypes = React.ComponentProps<typeof Link>;
19
- export type Props = Required<Pick<LinkPropTypes, 'href'>> & Pick<LinkPropTypes, 'target' | 'rel' | 'onClick' | 'dataAttrs'> & {
20
- /** Тема кнопки */
21
- theme: Theme;
22
- /** Дополнительный класс */
23
- className?: string;
24
- /** Размер на всех разрешениях экрана */
25
- sizeAll?: ButtonSizes;
26
- /** Размер на разрешении экрана 1280+ */
27
- sizeWide?: ButtonSizes;
28
- /** Размер на разрешении экрана 1024+ */
29
- sizeDesktop?: ButtonSizes;
30
- /** Размер на разрешении экрана 768-1023 */
31
- sizeTablet?: ButtonSizes;
32
- /** Размер на разрешении экрана 0-767 */
33
- sizeMobile?: ButtonSizes;
34
- };
35
- declare const StoreButton: React.FC<Props>;
36
- export default StoreButton;