@megafon/ui-shared 2.0.0-beta.24 → 2.0.0-beta.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2292 -0
- package/README.md +0 -5
- package/dist/es/components/AccordionBox/AccordionBox.css +13 -0
- package/dist/es/components/AccordionBox/AccordionBox.d.ts +33 -0
- package/dist/es/components/AccordionBox/AccordionBox.js +62 -0
- package/dist/es/components/BannerBox/BannerBox.d.ts +5 -0
- package/dist/es/components/BannerBox/BannerBox.js +31 -0
- package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +16 -5
- package/dist/es/components/BenefitsIcons/BenefitsIcons.js +79 -14
- package/dist/es/components/BenefitsIcons/BenefitsIconsTile.d.ts +3 -2
- package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +13 -12
- package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +11 -4
- package/dist/es/components/BenefitsIcons/types.d.ts +16 -7
- package/dist/es/components/BenefitsIcons/types.js +9 -7
- package/dist/es/components/BenefitsPictures/BenefitsPictures.d.ts +12 -3
- package/dist/es/components/BenefitsPictures/BenefitsPictures.js +25 -11
- package/dist/es/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/es/components/BenefitsPictures/types.d.ts +3 -0
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +46 -0
- package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/dist/es/components/Breadcrumbs/Breadcrumbs.js +49 -0
- package/dist/es/components/ButtonBanner/ButtonBanner.css +122 -0
- package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +54 -0
- package/dist/es/components/ButtonBanner/ButtonBanner.js +107 -0
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +32 -8
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +45 -10
- package/dist/es/components/Card/Card.css +130 -0
- package/dist/es/components/Card/Card.d.ts +67 -0
- package/dist/es/components/Card/Card.js +176 -0
- package/dist/es/components/CardsBox/CardsBox.d.ts +15 -0
- package/dist/es/components/CardsBox/CardsBox.js +80 -0
- package/dist/es/components/CarouselBox/CarouselBox.d.ts +5 -0
- package/dist/es/components/CarouselBox/CarouselBox.js +31 -0
- package/dist/es/components/Container/Container.css +2830 -0
- package/dist/es/components/Container/Container.d.ts +26 -0
- package/dist/es/components/Container/Container.js +46 -0
- package/dist/es/components/DownloadLinks/DownloadLink.css +36 -0
- package/dist/es/components/DownloadLinks/DownloadLink.d.ts +25 -0
- package/dist/es/components/DownloadLinks/DownloadLink.js +62 -0
- package/dist/es/components/DownloadLinks/DownloadLinks.css +36 -0
- package/dist/es/components/DownloadLinks/DownloadLinks.d.ts +10 -0
- package/dist/es/components/DownloadLinks/DownloadLinks.js +75 -0
- package/dist/es/components/Instructions/Instructions.css +489 -0
- package/dist/es/components/Instructions/Instructions.d.ts +52 -0
- package/dist/es/components/Instructions/Instructions.js +229 -0
- package/dist/es/components/Instructions/img/android.png +0 -0
- package/dist/es/components/Instructions/img/blackIphone.png +0 -0
- package/dist/es/components/Instructions/img/iphone12.png +0 -0
- package/dist/es/components/Instructions/img/laptop.png +0 -0
- package/dist/es/components/Instructions/img/newIphone.png +0 -0
- package/dist/es/components/Instructions/img/whiteIphone.png +0 -0
- package/dist/es/components/PageTitle/PageTitle.css +80 -0
- package/dist/es/components/PageTitle/PageTitle.d.ts +23 -0
- package/dist/es/components/PageTitle/PageTitle.js +65 -0
- package/dist/es/components/Partners/Partners.css +53 -0
- package/dist/es/components/Partners/Partners.d.ts +32 -0
- package/dist/es/components/Partners/Partners.js +114 -0
- package/dist/es/components/PictureWithDescription/PictureWithDescription.css +80 -0
- package/dist/es/components/PictureWithDescription/PictureWithDescription.d.ts +28 -0
- package/dist/es/components/PictureWithDescription/PictureWithDescription.js +61 -0
- package/dist/es/components/Property/Property.css +125 -0
- package/dist/es/components/Property/Property.d.ts +33 -0
- package/dist/es/components/Property/Property.js +130 -0
- package/dist/es/components/Property/PropertyDescription.css +17 -0
- package/dist/es/components/Property/PropertyDescription.d.ts +5 -0
- package/dist/es/components/Property/PropertyDescription.js +51 -0
- package/dist/es/components/Property/types.d.ts +14 -0
- package/dist/es/components/Property/types.js +0 -0
- package/dist/es/components/Steps/Steps.css +41 -0
- package/dist/es/components/Steps/Steps.d.ts +10 -0
- package/dist/es/components/Steps/Steps.js +35 -0
- package/dist/es/components/Steps/StepsItem.css +37 -0
- package/dist/es/components/Steps/StepsItem.d.ts +10 -0
- package/dist/es/components/Steps/StepsItem.js +26 -0
- package/dist/es/components/StoreBanner/StoreBanner.css +289 -0
- package/dist/es/components/StoreBanner/StoreBanner.d.ts +65 -0
- package/dist/es/components/StoreBanner/StoreBanner.js +145 -0
- package/dist/es/components/StoreBanner/doc/img/new-iphone-screen.png +0 -0
- package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/dist/es/components/StoreBanner/doc/img/screen.png +0 -0
- package/dist/es/components/StoreBanner/img/android.png +0 -0
- package/dist/es/components/StoreBanner/img/black-iphone.png +0 -0
- package/dist/es/components/StoreBanner/img/new-iphone.png +0 -0
- package/dist/es/components/StoreBanner/img/white-iphone.png +0 -0
- package/dist/es/components/StoreButton/StoreButton.css +15 -0
- package/dist/es/components/StoreButton/StoreButton.d.ts +17 -0
- package/dist/es/components/StoreButton/StoreButton.js +37 -0
- package/dist/es/components/StoreButton/img/app-store.png +0 -0
- package/dist/es/components/StoreButton/img/google-play.png +0 -0
- package/dist/es/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/es/components/Table/Table.css +153 -0
- package/dist/es/components/Table/Table.d.ts +14 -0
- package/dist/es/components/Table/Table.js +124 -0
- package/dist/es/components/Table/TableCell.d.ts +6 -0
- package/dist/es/components/Table/TableCell.js +12 -0
- package/dist/es/components/Table/TableRow.d.ts +9 -0
- package/dist/es/components/Table/TableRow.js +13 -0
- package/dist/es/components/TabsBox/TabBox.d.ts +2 -0
- package/dist/es/components/TabsBox/TabBox.js +2 -0
- package/dist/es/components/TabsBox/TabsBox.d.ts +8 -0
- package/dist/es/components/TabsBox/TabsBox.js +32 -0
- package/dist/es/components/TextBox/TextBox.css +16 -0
- package/dist/es/components/TextBox/TextBox.d.ts +16 -0
- package/dist/es/components/TextBox/TextBox.js +53 -0
- package/dist/es/components/TextBox/TextBoxPicture.css +24 -0
- package/dist/es/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/es/components/TextBox/TextBoxPicture.js +31 -0
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +11 -0
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +13 -7
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +33 -13
- package/dist/es/components/VideoBanner/VideoBanner.css +216 -0
- package/dist/es/components/VideoBanner/VideoBanner.d.ts +90 -0
- package/dist/es/components/VideoBanner/VideoBanner.js +272 -0
- package/dist/es/components/VideoBlock/VideoBlock.css +127 -0
- package/dist/es/components/VideoBlock/VideoBlock.d.ts +49 -0
- package/dist/es/components/VideoBlock/VideoBlock.js +147 -0
- package/dist/es/constants/throttleTime.d.ts +4 -0
- package/dist/es/constants/throttleTime.js +3 -0
- package/dist/es/index.d.ts +29 -17
- package/dist/es/index.js +30 -18
- package/dist/lib/components/AccordionBox/AccordionBox.css +13 -0
- package/dist/lib/components/AccordionBox/AccordionBox.d.ts +33 -0
- package/dist/lib/components/AccordionBox/AccordionBox.js +80 -0
- package/dist/lib/components/BannerBox/BannerBox.d.ts +5 -0
- package/dist/lib/components/BannerBox/BannerBox.js +49 -0
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +16 -5
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +82 -17
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.d.ts +3 -2
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +14 -15
- package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +11 -4
- package/dist/lib/components/BenefitsIcons/types.d.ts +16 -7
- package/dist/lib/components/BenefitsIcons/types.js +11 -8
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.d.ts +12 -3
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +27 -13
- package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/lib/components/BenefitsPictures/types.d.ts +3 -0
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +46 -0
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +65 -0
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +122 -0
- package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +54 -0
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +133 -0
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +32 -8
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +53 -13
- package/dist/lib/components/Card/Card.css +130 -0
- package/dist/lib/components/Card/Card.d.ts +67 -0
- package/dist/lib/components/Card/Card.js +199 -0
- package/dist/lib/components/CardsBox/CardsBox.d.ts +15 -0
- package/dist/lib/components/CardsBox/CardsBox.js +105 -0
- package/dist/lib/components/CarouselBox/CarouselBox.d.ts +5 -0
- package/dist/lib/components/CarouselBox/CarouselBox.js +49 -0
- package/dist/lib/components/Container/Container.css +2830 -0
- package/dist/lib/components/Container/Container.d.ts +26 -0
- package/dist/lib/components/Container/Container.js +61 -0
- package/dist/lib/components/DownloadLinks/DownloadLink.css +36 -0
- package/dist/lib/components/DownloadLinks/DownloadLink.d.ts +25 -0
- package/dist/lib/components/DownloadLinks/DownloadLink.js +83 -0
- package/dist/lib/components/DownloadLinks/DownloadLinks.css +36 -0
- package/dist/lib/components/DownloadLinks/DownloadLinks.d.ts +10 -0
- package/dist/lib/components/DownloadLinks/DownloadLinks.js +95 -0
- package/dist/lib/components/Instructions/Instructions.css +489 -0
- package/dist/lib/components/Instructions/Instructions.d.ts +52 -0
- package/dist/lib/components/Instructions/Instructions.js +258 -0
- package/dist/lib/components/Instructions/img/android.png +0 -0
- package/dist/lib/components/Instructions/img/blackIphone.png +0 -0
- package/dist/lib/components/Instructions/img/iphone12.png +0 -0
- package/dist/lib/components/Instructions/img/laptop.png +0 -0
- package/dist/lib/components/Instructions/img/newIphone.png +0 -0
- package/dist/lib/components/Instructions/img/whiteIphone.png +0 -0
- package/dist/lib/components/PageTitle/PageTitle.css +80 -0
- package/dist/lib/components/PageTitle/PageTitle.d.ts +23 -0
- package/dist/lib/components/PageTitle/PageTitle.js +85 -0
- package/dist/lib/components/Partners/Partners.css +53 -0
- package/dist/lib/components/Partners/Partners.d.ts +32 -0
- package/dist/lib/components/Partners/Partners.js +136 -0
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +80 -0
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.d.ts +28 -0
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +81 -0
- package/dist/lib/components/Property/Property.css +125 -0
- package/dist/lib/components/Property/Property.d.ts +33 -0
- package/dist/lib/components/Property/Property.js +152 -0
- package/dist/lib/components/Property/PropertyDescription.css +17 -0
- package/dist/lib/components/Property/PropertyDescription.d.ts +5 -0
- package/dist/lib/components/Property/PropertyDescription.js +71 -0
- package/dist/lib/components/Property/types.d.ts +14 -0
- package/dist/lib/components/Property/types.js +1 -0
- package/dist/lib/components/Steps/Steps.css +41 -0
- package/dist/lib/components/Steps/Steps.d.ts +10 -0
- package/dist/lib/components/Steps/Steps.js +55 -0
- package/dist/lib/components/Steps/StepsItem.css +37 -0
- package/dist/lib/components/Steps/StepsItem.d.ts +10 -0
- package/dist/lib/components/Steps/StepsItem.js +39 -0
- package/dist/lib/components/StoreBanner/StoreBanner.css +289 -0
- package/dist/lib/components/StoreBanner/StoreBanner.d.ts +65 -0
- package/dist/lib/components/StoreBanner/StoreBanner.js +169 -0
- package/dist/lib/components/StoreBanner/doc/img/new-iphone-screen.png +0 -0
- package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/dist/lib/components/StoreBanner/doc/img/screen.png +0 -0
- package/dist/lib/components/StoreBanner/img/android.png +0 -0
- package/dist/lib/components/StoreBanner/img/black-iphone.png +0 -0
- package/dist/lib/components/StoreBanner/img/new-iphone.png +0 -0
- package/dist/lib/components/StoreBanner/img/white-iphone.png +0 -0
- package/dist/lib/components/StoreButton/StoreButton.css +15 -0
- package/dist/lib/components/StoreButton/StoreButton.d.ts +17 -0
- package/dist/lib/components/StoreButton/StoreButton.js +58 -0
- package/dist/lib/components/StoreButton/img/app-store.png +0 -0
- package/dist/lib/components/StoreButton/img/google-play.png +0 -0
- package/dist/lib/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/lib/components/Table/Table.css +153 -0
- package/dist/lib/components/Table/Table.d.ts +14 -0
- package/dist/lib/components/Table/Table.js +146 -0
- package/dist/lib/components/Table/TableCell.d.ts +6 -0
- package/dist/lib/components/Table/TableCell.js +27 -0
- package/dist/lib/components/Table/TableRow.d.ts +9 -0
- package/dist/lib/components/Table/TableRow.js +28 -0
- package/dist/lib/components/TabsBox/TabBox.d.ts +2 -0
- package/dist/lib/components/TabsBox/TabBox.js +11 -0
- package/dist/lib/components/TabsBox/TabsBox.d.ts +8 -0
- package/dist/lib/components/TabsBox/TabsBox.js +50 -0
- package/dist/lib/components/TextBox/TextBox.css +16 -0
- package/dist/lib/components/TextBox/TextBox.d.ts +16 -0
- package/dist/lib/components/TextBox/TextBox.js +70 -0
- package/dist/lib/components/TextBox/TextBoxPicture.css +24 -0
- package/dist/lib/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/lib/components/TextBox/TextBoxPicture.js +48 -0
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +11 -0
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +13 -7
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +37 -17
- package/dist/lib/components/VideoBanner/VideoBanner.css +216 -0
- package/dist/lib/components/VideoBanner/VideoBanner.d.ts +90 -0
- package/dist/lib/components/VideoBanner/VideoBanner.js +309 -0
- package/dist/lib/components/VideoBlock/VideoBlock.css +127 -0
- package/dist/lib/components/VideoBlock/VideoBlock.d.ts +49 -0
- package/dist/lib/components/VideoBlock/VideoBlock.js +170 -0
- package/dist/lib/constants/throttleTime.d.ts +4 -0
- package/dist/lib/constants/throttleTime.js +10 -0
- package/dist/lib/index.d.ts +29 -17
- package/dist/lib/index.js +147 -51
- package/package.json +22 -77
- package/dist/es/components/ProductCard/ProductCardFeatures.css +0 -35
- package/dist/es/components/ProductCard/ProductCardFeatures.d.ts +0 -61
- package/dist/es/components/ProductCard/ProductCardFeatures.js +0 -82
- package/dist/es/components/ProductCard/ProductCardFeaturesBottom.css +0 -41
- package/dist/es/components/ProductCard/ProductCardFeaturesBottom.d.ts +0 -22
- package/dist/es/components/ProductCard/ProductCardFeaturesBottom.js +0 -80
- package/dist/es/components/ProductCard/ProductCardFeaturesTop.css +0 -16
- package/dist/es/components/ProductCard/ProductCardFeaturesTop.d.ts +0 -25
- package/dist/es/components/ProductCard/ProductCardFeaturesTop.js +0 -67
- package/dist/es/components/ProductCard/ProductCardInfo.css +0 -236
- package/dist/es/components/ProductCard/ProductCardInfo.d.ts +0 -75
- package/dist/es/components/ProductCard/ProductCardInfo.js +0 -169
- package/dist/es/components/ProductCard/ProductCardTotal.css +0 -113
- package/dist/es/components/ProductCard/ProductCardTotal.d.ts +0 -86
- package/dist/es/components/ProductCard/ProductCardTotal.js +0 -161
- package/dist/es/components/ProductCard/ProductCardWrapper.css +0 -162
- package/dist/es/components/ProductCard/ProductCardWrapper.d.ts +0 -53
- package/dist/es/components/ProductCard/ProductCardWrapper.js +0 -109
- package/dist/es/components/ProductSwitcher/ProductSwitcher.css +0 -372
- package/dist/es/components/ProductSwitcher/ProductSwitcher.d.ts +0 -86
- package/dist/es/components/ProductSwitcher/ProductSwitcher.js +0 -612
- package/dist/es/components/ProductTile/ProductTile.d.ts +0 -287
- package/dist/es/components/ProductTile/ProductTile.js +0 -497
- package/dist/es/components/ProductTile/ProductTileBuy.d.ts +0 -53
- package/dist/es/components/ProductTile/ProductTileBuy.js +0 -99
- package/dist/es/components/ProductTile/ProductTileCashback.d.ts +0 -20
- package/dist/es/components/ProductTile/ProductTileCashback.js +0 -60
- package/dist/es/components/ProductTile/ProductTileDynamic.d.ts +0 -42
- package/dist/es/components/ProductTile/ProductTileDynamic.js +0 -109
- package/dist/es/components/ProductTile/ProductTileHint.d.ts +0 -24
- package/dist/es/components/ProductTile/ProductTileHint.js +0 -67
- package/dist/es/components/ProductTile/ProductTileOptions.d.ts +0 -31
- package/dist/es/components/ProductTile/ProductTileOptions.js +0 -130
- package/dist/es/components/ProductTile/ProductTilePrice.d.ts +0 -26
- package/dist/es/components/ProductTile/ProductTilePrice.js +0 -75
- package/dist/es/components/ProductTile/ProductTileStatic.d.ts +0 -20
- package/dist/es/components/ProductTile/ProductTileStatic.js +0 -60
- package/dist/es/components/ProductTile/ProductTileValue.d.ts +0 -31
- package/dist/es/components/ProductTile/ProductTileValue.js +0 -111
- package/dist/es/components/ProductTile/style/ProductTile.css +0 -146
- package/dist/es/components/ProductTile/style/ProductTileBuy.css +0 -76
- package/dist/es/components/ProductTile/style/ProductTileCashback.css +0 -23
- package/dist/es/components/ProductTile/style/ProductTileDynamic.css +0 -38
- package/dist/es/components/ProductTile/style/ProductTileHint.css +0 -93
- package/dist/es/components/ProductTile/style/ProductTileOptions.css +0 -84
- package/dist/es/components/ProductTile/style/ProductTilePrice.css +0 -105
- package/dist/es/components/ProductTile/style/ProductTileStatic.css +0 -23
- package/dist/es/components/ProductTile/style/ProductTileValue.css +0 -58
- package/dist/es/components/ProductTileRest/ProductTileRest.css +0 -226
- package/dist/es/components/ProductTileRest/ProductTileRest.d.ts +0 -109
- package/dist/es/components/ProductTileRest/ProductTileRest.js +0 -291
- package/dist/es/constants/breakpoints.d.ts +0 -1
- package/dist/es/constants/breakpoints.js +0 -1
- package/dist/lib/components/ProductCard/ProductCardFeatures.css +0 -35
- package/dist/lib/components/ProductCard/ProductCardFeatures.d.ts +0 -61
- package/dist/lib/components/ProductCard/ProductCardFeatures.js +0 -141
- package/dist/lib/components/ProductCard/ProductCardFeaturesBottom.css +0 -41
- package/dist/lib/components/ProductCard/ProductCardFeaturesBottom.d.ts +0 -22
- package/dist/lib/components/ProductCard/ProductCardFeaturesBottom.js +0 -140
- package/dist/lib/components/ProductCard/ProductCardFeaturesTop.css +0 -16
- package/dist/lib/components/ProductCard/ProductCardFeaturesTop.d.ts +0 -25
- package/dist/lib/components/ProductCard/ProductCardFeaturesTop.js +0 -124
- package/dist/lib/components/ProductCard/ProductCardInfo.css +0 -236
- package/dist/lib/components/ProductCard/ProductCardInfo.d.ts +0 -75
- package/dist/lib/components/ProductCard/ProductCardInfo.js +0 -241
- package/dist/lib/components/ProductCard/ProductCardTotal.css +0 -113
- package/dist/lib/components/ProductCard/ProductCardTotal.d.ts +0 -86
- package/dist/lib/components/ProductCard/ProductCardTotal.js +0 -218
- package/dist/lib/components/ProductCard/ProductCardWrapper.css +0 -162
- package/dist/lib/components/ProductCard/ProductCardWrapper.d.ts +0 -53
- package/dist/lib/components/ProductCard/ProductCardWrapper.js +0 -170
- package/dist/lib/components/ProductSwitcher/ProductSwitcher.css +0 -372
- package/dist/lib/components/ProductSwitcher/ProductSwitcher.d.ts +0 -86
- package/dist/lib/components/ProductSwitcher/ProductSwitcher.js +0 -686
- package/dist/lib/components/ProductTile/ProductTile.d.ts +0 -287
- package/dist/lib/components/ProductTile/ProductTile.js +0 -590
- package/dist/lib/components/ProductTile/ProductTileBuy.d.ts +0 -53
- package/dist/lib/components/ProductTile/ProductTileBuy.js +0 -156
- package/dist/lib/components/ProductTile/ProductTileCashback.d.ts +0 -20
- package/dist/lib/components/ProductTile/ProductTileCashback.js +0 -117
- package/dist/lib/components/ProductTile/ProductTileDynamic.d.ts +0 -42
- package/dist/lib/components/ProductTile/ProductTileDynamic.js +0 -174
- package/dist/lib/components/ProductTile/ProductTileHint.d.ts +0 -24
- package/dist/lib/components/ProductTile/ProductTileHint.js +0 -124
- package/dist/lib/components/ProductTile/ProductTileOptions.d.ts +0 -31
- package/dist/lib/components/ProductTile/ProductTileOptions.js +0 -193
- package/dist/lib/components/ProductTile/ProductTilePrice.d.ts +0 -26
- package/dist/lib/components/ProductTile/ProductTilePrice.js +0 -136
- package/dist/lib/components/ProductTile/ProductTileStatic.d.ts +0 -20
- package/dist/lib/components/ProductTile/ProductTileStatic.js +0 -123
- package/dist/lib/components/ProductTile/ProductTileValue.d.ts +0 -31
- package/dist/lib/components/ProductTile/ProductTileValue.js +0 -171
- package/dist/lib/components/ProductTile/style/ProductTile.css +0 -146
- package/dist/lib/components/ProductTile/style/ProductTileBuy.css +0 -76
- package/dist/lib/components/ProductTile/style/ProductTileCashback.css +0 -23
- package/dist/lib/components/ProductTile/style/ProductTileDynamic.css +0 -38
- package/dist/lib/components/ProductTile/style/ProductTileHint.css +0 -93
- package/dist/lib/components/ProductTile/style/ProductTileOptions.css +0 -84
- package/dist/lib/components/ProductTile/style/ProductTilePrice.css +0 -105
- package/dist/lib/components/ProductTile/style/ProductTileStatic.css +0 -23
- package/dist/lib/components/ProductTile/style/ProductTileValue.css +0 -58
- package/dist/lib/components/ProductTileRest/ProductTileRest.css +0 -226
- package/dist/lib/components/ProductTileRest/ProductTileRest.d.ts +0 -109
- package/dist/lib/components/ProductTileRest/ProductTileRest.js +0 -364
- package/dist/lib/constants/breakpoints.d.ts +0 -1
- package/dist/lib/constants/breakpoints.js +0 -8
@@ -0,0 +1,489 @@
|
|
1
|
+
h1,
|
2
|
+
h2,
|
3
|
+
h3,
|
4
|
+
h4,
|
5
|
+
h5 {
|
6
|
+
margin: 0;
|
7
|
+
}
|
8
|
+
.mfui-beta-instructions__title_resolution_mobile {
|
9
|
+
margin-bottom: 32px;
|
10
|
+
text-align: center;
|
11
|
+
}
|
12
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
13
|
+
.mfui-beta-instructions__title_resolution_mobile {
|
14
|
+
margin-bottom: 56px;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
@media screen and (min-width: 1024px) {
|
18
|
+
.mfui-beta-instructions__title_resolution_mobile {
|
19
|
+
display: none;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.mfui-beta-instructions__title_resolution_desktop {
|
23
|
+
margin-bottom: 40px;
|
24
|
+
}
|
25
|
+
@media screen and (max-width: 1023px) {
|
26
|
+
.mfui-beta-instructions__title_resolution_desktop {
|
27
|
+
display: none;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.mfui-beta-instructions .swiper-wrapper {
|
31
|
+
display: -webkit-box;
|
32
|
+
display: -ms-flexbox;
|
33
|
+
display: flex;
|
34
|
+
}
|
35
|
+
@media screen and (min-width: 1024px) {
|
36
|
+
.mfui-beta-instructions__wrapper {
|
37
|
+
display: -webkit-box;
|
38
|
+
display: -ms-flexbox;
|
39
|
+
display: flex;
|
40
|
+
-webkit-box-align: center;
|
41
|
+
-ms-flex-align: center;
|
42
|
+
align-items: center;
|
43
|
+
-webkit-box-pack: center;
|
44
|
+
-ms-flex-pack: center;
|
45
|
+
justify-content: center;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
@media screen and (max-width: 1023px) {
|
49
|
+
.mfui-beta-instructions__text {
|
50
|
+
text-align: center;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
.mfui-beta-instructions__picture {
|
54
|
+
max-width: 530px;
|
55
|
+
max-height: 490px;
|
56
|
+
overflow: hidden;
|
57
|
+
}
|
58
|
+
@media screen and (max-width: 1023px) {
|
59
|
+
.mfui-beta-instructions__picture {
|
60
|
+
margin: 0 auto 32px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
64
|
+
.mfui-beta-instructions__picture {
|
65
|
+
margin: 0 auto 48px;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
@media screen and (min-width: 1024px) {
|
69
|
+
.mfui-beta-instructions__picture {
|
70
|
+
-webkit-box-ordinal-group: 3;
|
71
|
+
-ms-flex-order: 2;
|
72
|
+
order: 2;
|
73
|
+
width: 50%;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
@media screen and (min-width: 1024px) {
|
77
|
+
.mfui-beta-instructions__picture_align_left {
|
78
|
+
-webkit-box-ordinal-group: 1;
|
79
|
+
-ms-flex-order: 0;
|
80
|
+
order: 0;
|
81
|
+
margin-right: 40px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
.mfui-beta-instructions_mask_none .mfui-beta-instructions__slide {
|
85
|
+
display: -webkit-box;
|
86
|
+
display: -ms-flexbox;
|
87
|
+
display: flex;
|
88
|
+
}
|
89
|
+
.mfui-beta-instructions__swiper-img {
|
90
|
+
width: 100%;
|
91
|
+
height: 100%;
|
92
|
+
-webkit-filter: brightness(108.5%);
|
93
|
+
filter: brightness(108.5%);
|
94
|
+
}
|
95
|
+
.mfui-beta-instructions__img-wrapper {
|
96
|
+
position: relative;
|
97
|
+
display: -webkit-box;
|
98
|
+
display: -ms-flexbox;
|
99
|
+
display: flex;
|
100
|
+
height: 490px;
|
101
|
+
}
|
102
|
+
@media screen and (max-width: 1023px) {
|
103
|
+
.mfui-beta-instructions__img-wrapper:before {
|
104
|
+
content: '';
|
105
|
+
position: absolute;
|
106
|
+
right: 0;
|
107
|
+
bottom: 0;
|
108
|
+
left: 0;
|
109
|
+
z-index: 2;
|
110
|
+
display: block;
|
111
|
+
width: 324px;
|
112
|
+
height: 1px;
|
113
|
+
margin: 0 auto;
|
114
|
+
background: #D8D8D8;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
.mfui-beta-instructions__device-screen {
|
118
|
+
overflow: hidden;
|
119
|
+
}
|
120
|
+
@media screen and (max-width: 1023px) {
|
121
|
+
.mfui-beta-instructions_mask_black-iphone .mfui-beta-instructions__img-wrapper,
|
122
|
+
.mfui-beta-instructions_mask_white-iphone .mfui-beta-instructions__img-wrapper,
|
123
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__img-wrapper {
|
124
|
+
height: 421px;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
.mfui-beta-instructions_mask_black-iphone .mfui-beta-instructions__device-screen,
|
128
|
+
.mfui-beta-instructions_mask_white-iphone .mfui-beta-instructions__device-screen,
|
129
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__device-screen {
|
130
|
+
width: 100%;
|
131
|
+
height: 490px;
|
132
|
+
margin: auto;
|
133
|
+
}
|
134
|
+
.mfui-beta-instructions_mask_black-iphone .mfui-beta-instructions__swiper,
|
135
|
+
.mfui-beta-instructions_mask_white-iphone .mfui-beta-instructions__swiper,
|
136
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__swiper {
|
137
|
+
position: absolute;
|
138
|
+
top: 59px;
|
139
|
+
right: 0;
|
140
|
+
left: 0;
|
141
|
+
width: 204px;
|
142
|
+
height: 363px;
|
143
|
+
margin: auto;
|
144
|
+
overflow: hidden;
|
145
|
+
}
|
146
|
+
.mfui-beta-instructions_mask_black-iphone .mfui-beta-instructions__device-screen {
|
147
|
+
background: url('./img/blackIphone.png') 50% no-repeat;
|
148
|
+
background-size: contain;
|
149
|
+
}
|
150
|
+
.mfui-beta-instructions_mask_white-iphone .mfui-beta-instructions__device-screen {
|
151
|
+
background: url('./img/whiteIphone.png') 50% no-repeat;
|
152
|
+
background-size: contain;
|
153
|
+
}
|
154
|
+
@media screen and (max-width: 1023px) {
|
155
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__img-wrapper {
|
156
|
+
height: 424px;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__device-screen {
|
160
|
+
background: url('./img/android.png') 50% no-repeat;
|
161
|
+
background-size: contain;
|
162
|
+
}
|
163
|
+
.mfui-beta-instructions_mask_android .mfui-beta-instructions__swiper {
|
164
|
+
width: 206px;
|
165
|
+
height: 370px;
|
166
|
+
}
|
167
|
+
@media screen and (max-width: 1023px) {
|
168
|
+
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__img-wrapper {
|
169
|
+
height: 460px;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__device-screen {
|
173
|
+
position: relative;
|
174
|
+
z-index: 2;
|
175
|
+
width: 100%;
|
176
|
+
height: 490px;
|
177
|
+
margin: auto;
|
178
|
+
background: url('./img/newIphone.png') 50% no-repeat;
|
179
|
+
background-size: contain;
|
180
|
+
}
|
181
|
+
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__swiper {
|
182
|
+
position: absolute;
|
183
|
+
top: 14px;
|
184
|
+
right: 0;
|
185
|
+
left: 0;
|
186
|
+
z-index: 1;
|
187
|
+
width: 214px;
|
188
|
+
height: 462px;
|
189
|
+
margin: auto;
|
190
|
+
border-radius: 20px;
|
191
|
+
overflow: hidden;
|
192
|
+
}
|
193
|
+
@media screen and (max-width: 1023px) {
|
194
|
+
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__img-wrapper:before {
|
195
|
+
display: none;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__device-screen {
|
199
|
+
position: relative;
|
200
|
+
z-index: 2;
|
201
|
+
width: 100%;
|
202
|
+
height: 490px;
|
203
|
+
margin: auto;
|
204
|
+
background: url('./img/iphone12.png') 50% no-repeat;
|
205
|
+
background-size: contain;
|
206
|
+
}
|
207
|
+
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__swiper {
|
208
|
+
position: absolute;
|
209
|
+
top: 14px;
|
210
|
+
right: 0;
|
211
|
+
left: 0;
|
212
|
+
z-index: 1;
|
213
|
+
width: 214px;
|
214
|
+
height: 462px;
|
215
|
+
margin: auto;
|
216
|
+
border-radius: 20px;
|
217
|
+
overflow: hidden;
|
218
|
+
}
|
219
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
220
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper {
|
221
|
+
height: 283px;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
225
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper {
|
226
|
+
height: 208px;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
@media screen and (max-width: 479px) {
|
230
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper {
|
231
|
+
height: 115px;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
@media screen and (max-width: 479px) {
|
235
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper:before {
|
236
|
+
width: 310px;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
240
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper:before {
|
241
|
+
width: 460px;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
245
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper:before {
|
246
|
+
width: 590px;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__device-screen {
|
250
|
+
position: relative;
|
251
|
+
width: 100%;
|
252
|
+
height: 100%;
|
253
|
+
margin: auto;
|
254
|
+
background: url('./img/laptop.png') 50% 0% no-repeat;
|
255
|
+
background-size: 100%;
|
256
|
+
}
|
257
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
258
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__device-screen {
|
259
|
+
width: 530px;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
263
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__device-screen {
|
264
|
+
width: 450px;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
@media screen and (max-width: 479px) {
|
268
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__device-screen {
|
269
|
+
width: 270px;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
@media screen and (min-width: 1024px) {
|
273
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__device-screen {
|
274
|
+
background: url('./img/laptop.png') 50% no-repeat;
|
275
|
+
background-size: contain;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
279
|
+
position: absolute;
|
280
|
+
top: 50%;
|
281
|
+
right: 0;
|
282
|
+
left: 50%;
|
283
|
+
width: 78%;
|
284
|
+
margin: auto;
|
285
|
+
overflow: hidden;
|
286
|
+
-webkit-transform: translate(-50%, -50%);
|
287
|
+
transform: translate(-50%, -50%);
|
288
|
+
}
|
289
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
290
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
291
|
+
max-width: 345px;
|
292
|
+
height: 190px;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
@media screen and (max-width: 479px) {
|
296
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
297
|
+
max-width: 210px;
|
298
|
+
height: 105px;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
@media screen and (min-width: 1024px) {
|
302
|
+
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
303
|
+
-webkit-transform: translate(-50%, -53%);
|
304
|
+
transform: translate(-50%, -53%);
|
305
|
+
}
|
306
|
+
}
|
307
|
+
.mfui-beta-instructions__slide {
|
308
|
+
-ms-flex-negative: 0;
|
309
|
+
flex-shrink: 0;
|
310
|
+
height: 100%;
|
311
|
+
}
|
312
|
+
@media screen and (min-width: 1024px) {
|
313
|
+
.mfui-beta-instructions__articles {
|
314
|
+
-webkit-box-ordinal-group: 2;
|
315
|
+
-ms-flex-order: 1;
|
316
|
+
order: 1;
|
317
|
+
width: 50%;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
@media screen and (min-width: 1024px) {
|
321
|
+
.mfui-beta-instructions__articles_align_right {
|
322
|
+
margin-right: 40px;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
.mfui-beta-instructions__articles-list {
|
326
|
+
margin: 0;
|
327
|
+
padding: 0;
|
328
|
+
list-style-type: none;
|
329
|
+
}
|
330
|
+
.mfui-beta-instructions__articles-list_text-after {
|
331
|
+
margin-bottom: 48px;
|
332
|
+
}
|
333
|
+
@media screen and (min-width: 1024px) {
|
334
|
+
.mfui-beta-instructions__articles-list_mobile {
|
335
|
+
display: none;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
@media screen and (max-width: 1023px) {
|
339
|
+
.mfui-beta-instructions__articles-list_desktop {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
}
|
343
|
+
.mfui-beta-instructions__articles-item {
|
344
|
+
position: relative;
|
345
|
+
opacity: 0.5;
|
346
|
+
}
|
347
|
+
@media screen and (min-width: 1024px) {
|
348
|
+
.mfui-beta-instructions__articles-item {
|
349
|
+
margin-bottom: 48px;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
.mfui-beta-instructions__articles-item:hover,
|
353
|
+
.mfui-beta-instructions__articles-item_active {
|
354
|
+
opacity: 1;
|
355
|
+
}
|
356
|
+
.mfui-beta-instructions__articles-item:hover .mfui-beta-instructions__articles-item-dot,
|
357
|
+
.mfui-beta-instructions__articles-item_active .mfui-beta-instructions__articles-item-dot {
|
358
|
+
color: #FFFFFF;
|
359
|
+
}
|
360
|
+
.mfui-beta-instructions__articles-item:hover .mfui-beta-instructions__articles-item-dot:before,
|
361
|
+
.mfui-beta-instructions__articles-item_active .mfui-beta-instructions__articles-item-dot:before {
|
362
|
+
top: 0;
|
363
|
+
right: 0;
|
364
|
+
bottom: 0;
|
365
|
+
left: 0;
|
366
|
+
background: #00B956;
|
367
|
+
}
|
368
|
+
@media screen and (min-width: 1024px) {
|
369
|
+
.mfui-beta-instructions__articles-item:last-child {
|
370
|
+
margin-bottom: 0;
|
371
|
+
}
|
372
|
+
}
|
373
|
+
.mfui-beta-instructions__articles-item-dot,
|
374
|
+
.mfui-beta-instructions__articles-dot {
|
375
|
+
position: absolute;
|
376
|
+
display: inline-block;
|
377
|
+
width: 40px;
|
378
|
+
height: 40px;
|
379
|
+
border-radius: 50%;
|
380
|
+
font-weight: 500;
|
381
|
+
font-size: 15px;
|
382
|
+
line-height: 40px;
|
383
|
+
text-align: center;
|
384
|
+
-webkit-box-shadow: inset 0 0 0 1px #B2B2B2;
|
385
|
+
box-shadow: inset 0 0 0 1px #B2B2B2;
|
386
|
+
cursor: pointer;
|
387
|
+
}
|
388
|
+
@media screen and (max-width: 479px) {
|
389
|
+
.mfui-beta-instructions__articles-item-dot,
|
390
|
+
.mfui-beta-instructions__articles-dot {
|
391
|
+
min-width: 40px;
|
392
|
+
}
|
393
|
+
}
|
394
|
+
.mfui-beta-instructions__articles-item-dot:before,
|
395
|
+
.mfui-beta-instructions__articles-dot:before {
|
396
|
+
content: '';
|
397
|
+
position: absolute;
|
398
|
+
top: 50%;
|
399
|
+
right: 50%;
|
400
|
+
bottom: 50%;
|
401
|
+
left: 50%;
|
402
|
+
border-radius: 50%;
|
403
|
+
-webkit-transition: all 0.3s ease;
|
404
|
+
transition: all 0.3s ease;
|
405
|
+
}
|
406
|
+
.mfui-beta-instructions__articles-item-dot-number,
|
407
|
+
.mfui-beta-instructions__articles-dot-number {
|
408
|
+
position: relative;
|
409
|
+
}
|
410
|
+
.mfui-beta-instructions__articles-item-title {
|
411
|
+
font-size: 15px;
|
412
|
+
line-height: 24px;
|
413
|
+
font-weight: 400;
|
414
|
+
display: inline-block;
|
415
|
+
cursor: pointer;
|
416
|
+
}
|
417
|
+
@media screen and (min-width: 1024px) {
|
418
|
+
.mfui-beta-instructions__articles-item-title {
|
419
|
+
padding: 4px 0 0 56px;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
.mfui-beta-instructions__articles-dots {
|
423
|
+
position: relative;
|
424
|
+
display: -webkit-box;
|
425
|
+
display: -ms-flexbox;
|
426
|
+
display: flex;
|
427
|
+
-webkit-box-pack: center;
|
428
|
+
-ms-flex-pack: center;
|
429
|
+
justify-content: center;
|
430
|
+
margin: 0;
|
431
|
+
padding: 0;
|
432
|
+
list-style-type: none;
|
433
|
+
}
|
434
|
+
.mfui-beta-instructions__articles-dots_text-after {
|
435
|
+
margin-bottom: 48px;
|
436
|
+
}
|
437
|
+
.mfui-beta-instructions__articles-dot {
|
438
|
+
position: relative;
|
439
|
+
}
|
440
|
+
@media screen and (max-width: 767px) {
|
441
|
+
.mfui-beta-instructions__articles-dot {
|
442
|
+
margin-right: 20px;
|
443
|
+
}
|
444
|
+
}
|
445
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
446
|
+
.mfui-beta-instructions__articles-dot {
|
447
|
+
margin-right: 40px;
|
448
|
+
}
|
449
|
+
}
|
450
|
+
.mfui-beta-instructions__articles-dot:hover,
|
451
|
+
.mfui-beta-instructions__articles-dot_active {
|
452
|
+
color: #FFFFFF;
|
453
|
+
}
|
454
|
+
.mfui-beta-instructions__articles-dot:hover:before,
|
455
|
+
.mfui-beta-instructions__articles-dot_active:before {
|
456
|
+
top: 0;
|
457
|
+
right: 0;
|
458
|
+
bottom: 0;
|
459
|
+
left: 0;
|
460
|
+
background: #00B956;
|
461
|
+
}
|
462
|
+
.mfui-beta-instructions__articles-dot:last-child {
|
463
|
+
margin-right: 0;
|
464
|
+
}
|
465
|
+
.mfui-beta-instructions__articles-title-block {
|
466
|
+
text-align: center;
|
467
|
+
}
|
468
|
+
@media screen and (max-width: 767px) {
|
469
|
+
.mfui-beta-instructions__articles-title-block {
|
470
|
+
width: 55%;
|
471
|
+
margin: 0 auto 24px;
|
472
|
+
}
|
473
|
+
}
|
474
|
+
@media screen and (max-width: 479px) {
|
475
|
+
.mfui-beta-instructions__articles-title-block {
|
476
|
+
width: 100%;
|
477
|
+
}
|
478
|
+
}
|
479
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
480
|
+
.mfui-beta-instructions__articles-title-block {
|
481
|
+
width: 55%;
|
482
|
+
margin: 0 auto 32px;
|
483
|
+
}
|
484
|
+
}
|
485
|
+
.mfui-beta-instructions__articles-title {
|
486
|
+
font-size: 15px;
|
487
|
+
line-height: 24px;
|
488
|
+
font-weight: 400;
|
489
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import React, { Ref } from 'react';
|
2
|
+
import './Instructions.less';
|
3
|
+
import SwiperCore from 'swiper';
|
4
|
+
export declare const pictureAlignTypes: {
|
5
|
+
readonly LEFT: "left";
|
6
|
+
readonly RIGHT: "right";
|
7
|
+
};
|
8
|
+
export declare const pictureMaskTypes: {
|
9
|
+
readonly ANDROID: "android";
|
10
|
+
readonly NEW_IPHONE: "new-iphone";
|
11
|
+
readonly BLACK_IPHONE: "black-iphone";
|
12
|
+
readonly WHITE_IPHONE: "white-iphone";
|
13
|
+
readonly LAPTOP: "laptop";
|
14
|
+
readonly IPHONE_12: "iphone-12";
|
15
|
+
readonly NONE: "none";
|
16
|
+
};
|
17
|
+
declare type PictureAlignTypesType = typeof pictureAlignTypes[keyof typeof pictureAlignTypes];
|
18
|
+
declare type PictureMaskTypesType = typeof pictureMaskTypes[keyof typeof pictureMaskTypes];
|
19
|
+
export declare type InstructionItemType = {
|
20
|
+
title: string | React.ReactNode | React.ReactNode[];
|
21
|
+
mediaUrl: string;
|
22
|
+
isVideo: boolean;
|
23
|
+
};
|
24
|
+
export interface IInstructionsProps {
|
25
|
+
/** Ссылка на корневой элемент */
|
26
|
+
rootRef?: Ref<HTMLDivElement>;
|
27
|
+
/** Дополнительные классы для внутренних элементов */
|
28
|
+
classes?: {
|
29
|
+
instructionItem?: string;
|
30
|
+
desktopInstructionItem?: string;
|
31
|
+
mobileInstructionItem?: string;
|
32
|
+
activeInstructionItem?: string;
|
33
|
+
desktopItemTitle?: string;
|
34
|
+
mobileItemTitle?: string;
|
35
|
+
instructionItemImg?: string;
|
36
|
+
additionalText?: string;
|
37
|
+
};
|
38
|
+
/** Заголовок инструкции */
|
39
|
+
title: string;
|
40
|
+
/** Пункты инструкции */
|
41
|
+
instructionItems: InstructionItemType[];
|
42
|
+
/** Описание после инструкции */
|
43
|
+
additionalText?: string;
|
44
|
+
/** Расположение изображения */
|
45
|
+
pictureAlign?: PictureAlignTypesType;
|
46
|
+
/** Маска изображения */
|
47
|
+
pictureMask?: PictureMaskTypesType;
|
48
|
+
/** Ref на swiper */
|
49
|
+
getSwiper?: (instance: SwiperCore) => void;
|
50
|
+
}
|
51
|
+
declare const Instructions: React.FC<IInstructionsProps>;
|
52
|
+
export default Instructions;
|