@megafon/ui-shared 6.3.0 → 7.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/AccordionBox/AccordionBox.css +1 -15
- package/dist/es/components/AccordionBox/AccordionBox.d.ts +2 -2
- package/dist/es/components/AccordionBox/AccordionBox.js +6 -49
- package/dist/es/components/AudioPlayer/AudioPlayer.d.ts +2 -2
- package/dist/es/components/AudioPlayer/AudioPlayer.js +11 -27
- package/dist/es/components/AudioPlayer/AudioProgress.d.ts +1 -1
- package/dist/es/components/AudioPlayer/AudioProgress.js +10 -22
- package/dist/es/components/AudioPlayer/AudioRange.d.ts +1 -1
- package/dist/es/components/AudioPlayer/AudioRange.js +8 -10
- package/dist/es/components/AudioPlayer/AudioVolume.d.ts +1 -1
- package/dist/es/components/AudioPlayer/AudioVolume.js +3 -12
- package/dist/es/components/AudioPlayer/hooks/useTrackDuration.js +4 -10
- package/dist/es/components/AudioPlayer/style/AudioPlayer.css +1 -58
- package/dist/es/components/AudioPlayer/style/AudioProgress.css +1 -35
- package/dist/es/components/AudioPlayer/style/AudioRange.css +1 -68
- package/dist/es/components/AudioPlayer/style/AudioVolume.css +1 -34
- package/dist/es/components/AudioPlayer/timerFormatUtil.js +1 -9
- package/dist/es/components/BannerBox/BannerBox.d.ts +1 -1
- package/dist/es/components/BannerBox/BannerBox.js +3 -12
- package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +1 -1
- package/dist/es/components/BenefitsIcons/BenefitsIcons.js +23 -64
- package/dist/es/components/BenefitsIcons/BenefitsIconsTile.d.ts +1 -1
- package/dist/es/components/BenefitsIcons/BenefitsIconsTile.js +9 -36
- package/dist/es/components/BenefitsIcons/helpers.d.ts +3 -3
- package/dist/es/components/BenefitsIcons/helpers.js +6 -20
- package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +1 -38
- package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +1 -90
- package/dist/es/components/BenefitsIcons/types.d.ts +5 -6
- package/dist/es/components/BenefitsPictures/BenefitsPictures.d.ts +1 -1
- package/dist/es/components/BenefitsPictures/BenefitsPictures.js +19 -49
- package/dist/es/components/BenefitsPictures/BenfitsPictures.css +1 -43
- package/dist/es/components/BenefitsPictures/helpers.js +0 -14
- package/dist/es/components/BenefitsPictures/types.d.ts +3 -4
- package/dist/es/components/BenefitsPictures/types.js +1 -0
- package/dist/es/components/BlogBox/BlogBox.css +1 -92
- package/dist/es/components/BlogBox/BlogBox.d.ts +2 -2
- package/dist/es/components/BlogBox/BlogBox.js +10 -44
- package/dist/es/components/BlogBox/components/BlogBoxTile.css +1 -197
- package/dist/es/components/BlogBox/components/BlogBoxTile.d.ts +4 -4
- package/dist/es/components/BlogBox/components/BlogBoxTile.js +13 -20
- package/dist/es/components/BlogBox/types.d.ts +5 -5
- package/dist/es/components/BlogBox/types.js +1 -0
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +1 -43
- package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +6 -6
- package/dist/es/components/Breadcrumbs/Breadcrumbs.js +10 -39
- package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.css +1 -16
- package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +4 -4
- package/dist/es/components/Breadcrumbs/components/BreadcrumbsItem.js +11 -36
- package/dist/es/components/ButtonBanner/ButtonBanner.css +1 -122
- package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +7 -7
- package/dist/es/components/ButtonBanner/ButtonBanner.js +22 -53
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.css +1 -19
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +3 -3
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +20 -51
- package/dist/es/components/Card/Card.css +1 -354
- package/dist/es/components/Card/Card.d.ts +4 -4
- package/dist/es/components/Card/Card.js +25 -115
- package/dist/es/components/Card/types.d.ts +10 -11
- package/dist/es/components/Card/types.js +1 -0
- package/dist/es/components/CardsBox/CardsBox.js +3 -14
- package/dist/es/components/CardsBox/helpers.d.ts +2 -2
- package/dist/es/components/CardsBox/helpers.js +0 -4
- package/dist/es/components/CarouselBox/CarouselBox.d.ts +2 -2
- package/dist/es/components/CarouselBox/CarouselBox.js +11 -24
- package/dist/es/components/Container/Container.css +1 -3287
- package/dist/es/components/Container/Container.d.ts +7 -5
- package/dist/es/components/Container/Container.js +10 -25
- package/dist/es/components/DownloadLinks/DownloadLink.css +1 -37
- package/dist/es/components/DownloadLinks/DownloadLink.d.ts +1 -1
- package/dist/es/components/DownloadLinks/DownloadLink.js +13 -44
- package/dist/es/components/DownloadLinks/DownloadLinks.css +1 -36
- package/dist/es/components/DownloadLinks/DownloadLinks.d.ts +3 -3
- package/dist/es/components/DownloadLinks/DownloadLinks.js +2 -13
- package/dist/es/components/FaqWrapper/FaqWrapper.d.ts +5 -2
- package/dist/es/components/FaqWrapper/FaqWrapper.js +1 -3
- package/dist/es/components/ImageBanner/ImageBanner.css +1 -252
- package/dist/es/components/ImageBanner/ImageBanner.d.ts +8 -9
- package/dist/es/components/ImageBanner/ImageBanner.js +38 -93
- package/dist/es/components/InfoCards/InfoCards.css +1 -0
- package/dist/es/components/InfoCards/InfoCards.d.ts +21 -0
- package/dist/es/components/InfoCards/InfoCards.js +39 -0
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.css +1 -0
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.d.ts +15 -0
- package/dist/es/components/InfoCards/components/InfoCard/InfoCard.js +79 -0
- package/dist/es/components/InfoCards/types.d.ts +26 -0
- package/dist/es/components/InfoCards/types.js +1 -0
- package/dist/es/components/Instructions/Instructions.css +1 -827
- package/dist/es/components/Instructions/Instructions.d.ts +11 -11
- package/dist/es/components/Instructions/Instructions.js +56 -96
- package/dist/es/components/NotificationBox/NotificationBox.css +1 -0
- package/dist/es/components/NotificationBox/NotificationBox.d.ts +4 -4
- package/dist/es/components/NotificationBox/NotificationBox.js +5 -19
- package/dist/es/components/PageTitle/PageTitle.css +1 -80
- package/dist/es/components/PageTitle/PageTitle.d.ts +2 -2
- package/dist/es/components/PageTitle/PageTitle.js +12 -37
- package/dist/es/components/Partners/Partners.css +1 -53
- package/dist/es/components/Partners/Partners.d.ts +2 -2
- package/dist/es/components/Partners/Partners.js +17 -48
- package/dist/es/components/PictureWithDescription/PictureWithDescription.css +1 -80
- package/dist/es/components/PictureWithDescription/PictureWithDescription.d.ts +4 -2
- package/dist/es/components/PictureWithDescription/PictureWithDescription.js +10 -28
- package/dist/es/components/Property/Property.css +1 -156
- package/dist/es/components/Property/Property.d.ts +4 -4
- package/dist/es/components/Property/Property.js +37 -81
- package/dist/es/components/Property/PropertyDescription.css +1 -17
- package/dist/es/components/Property/PropertyDescription.d.ts +3 -3
- package/dist/es/components/Property/PropertyDescription.js +8 -28
- package/dist/es/components/Property/types.d.ts +7 -5
- package/dist/es/components/Property/types.js +1 -0
- package/dist/es/components/SidePictureCards/SidePictureCards.d.ts +22 -0
- package/dist/es/components/SidePictureCards/SidePictureCards.js +44 -0
- package/dist/es/components/SidePictureCards/components/SidePictureCard.css +1 -0
- package/dist/es/components/SidePictureCards/components/SidePictureCard.d.ts +16 -0
- package/dist/es/components/SidePictureCards/components/SidePictureCard.js +89 -0
- package/dist/es/components/SidePictureCards/types.d.ts +46 -0
- package/dist/es/components/SidePictureCards/types.js +1 -0
- package/dist/es/components/Steps/Steps.css +1 -41
- package/dist/es/components/Steps/Steps.d.ts +2 -1
- package/dist/es/components/Steps/Steps.js +4 -19
- package/dist/es/components/Steps/StepsItem.css +1 -42
- package/dist/es/components/Steps/StepsItem.d.ts +2 -2
- package/dist/es/components/Steps/StepsItem.js +2 -9
- package/dist/es/components/StoreBanner/StoreBanner.css +1 -346
- package/dist/es/components/StoreBanner/StoreBanner.d.ts +5 -5
- package/dist/es/components/StoreBanner/StoreBanner.js +41 -97
- package/dist/es/components/StoreButton/StoreButton.css +1 -327
- package/dist/es/components/StoreButton/StoreButton.d.ts +3 -3
- package/dist/es/components/StoreButton/StoreButton.js +13 -44
- package/dist/es/components/Table/Table.css +1 -157
- package/dist/es/components/Table/Table.d.ts +1 -1
- package/dist/es/components/Table/Table.js +31 -51
- package/dist/es/components/Table/TableCell.js +0 -6
- package/dist/es/components/Table/TableRow.js +1 -10
- package/dist/es/components/TabsBox/TabsBox.d.ts +1 -1
- package/dist/es/components/TabsBox/TabsBox.js +4 -13
- package/dist/es/components/TextBox/TextBox.css +1 -25
- package/dist/es/components/TextBox/TextBox.d.ts +2 -1
- package/dist/es/components/TextBox/TextBox.js +8 -23
- package/dist/es/components/TextBox/TextBoxPicture.css +1 -27
- package/dist/es/components/TextBox/TextBoxPicture.d.ts +2 -2
- package/dist/es/components/TextBox/TextBoxPicture.js +5 -14
- package/dist/es/components/TextWithIcon/TextWithIcon.css +1 -10
- package/dist/es/components/TextWithIcon/TextWithIcon.d.ts +1 -1
- package/dist/es/components/TextWithIcon/TextWithIcon.js +6 -24
- package/dist/es/components/TextWithIcon/TextWithIconItem.css +1 -29
- package/dist/es/components/TextWithIcon/TextWithIconItem.d.ts +3 -1
- package/dist/es/components/TextWithIcon/TextWithIconItem.js +11 -22
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -31
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +1 -1
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +6 -23
- package/dist/es/components/VideoBanner/VideoBanner.css +1 -225
- package/dist/es/components/VideoBanner/VideoBanner.d.ts +7 -7
- package/dist/es/components/VideoBanner/VideoBanner.js +47 -110
- package/dist/es/components/VideoBlock/VideoBlock.css +1 -106
- package/dist/es/components/VideoBlock/VideoBlock.d.ts +4 -4
- package/dist/es/components/VideoBlock/VideoBlock.js +37 -77
- package/dist/es/helpers/getColumnConfig.d.ts +5 -1
- package/dist/es/helpers/setRelAttribute.d.ts +3 -1
- package/dist/es/helpers/setRelAttribute.js +0 -2
- package/dist/es/hooks/useResolutions.d.ts +1 -1
- package/dist/es/hooks/useResolutions.js +13 -21
- package/dist/es/index.d.ts +4 -0
- package/dist/es/index.js +4 -0
- package/dist/lib/components/AccordionBox/AccordionBox.css +1 -15
- package/dist/lib/components/AccordionBox/AccordionBox.d.ts +2 -2
- package/dist/lib/components/AccordionBox/AccordionBox.js +11 -67
- package/dist/lib/components/AudioPlayer/AudioPlayer.d.ts +2 -2
- package/dist/lib/components/AudioPlayer/AudioPlayer.js +33 -57
- package/dist/lib/components/AudioPlayer/AudioProgress.d.ts +1 -1
- package/dist/lib/components/AudioPlayer/AudioProgress.js +13 -44
- package/dist/lib/components/AudioPlayer/AudioRange.d.ts +1 -1
- package/dist/lib/components/AudioPlayer/AudioRange.js +10 -18
- package/dist/lib/components/AudioPlayer/AudioVolume.d.ts +1 -1
- package/dist/lib/components/AudioPlayer/AudioVolume.js +5 -24
- package/dist/lib/components/AudioPlayer/hooks/useTrackDuration.js +6 -17
- package/dist/lib/components/AudioPlayer/style/AudioPlayer.css +1 -58
- package/dist/lib/components/AudioPlayer/style/AudioProgress.css +1 -35
- package/dist/lib/components/AudioPlayer/style/AudioRange.css +1 -68
- package/dist/lib/components/AudioPlayer/style/AudioVolume.css +1 -34
- package/dist/lib/components/AudioPlayer/timerFormatUtil.js +2 -13
- package/dist/lib/components/BannerBox/BannerBox.d.ts +1 -1
- package/dist/lib/components/BannerBox/BannerBox.js +7 -25
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +1 -1
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +27 -87
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.d.ts +1 -1
- package/dist/lib/components/BenefitsIcons/BenefitsIconsTile.js +14 -54
- package/dist/lib/components/BenefitsIcons/helpers.d.ts +3 -3
- package/dist/lib/components/BenefitsIcons/helpers.js +11 -38
- package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +1 -38
- package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +1 -90
- package/dist/lib/components/BenefitsIcons/types.d.ts +5 -6
- package/dist/lib/components/BenefitsIcons/types.js +5 -8
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.d.ts +1 -1
- package/dist/lib/components/BenefitsPictures/BenefitsPictures.js +25 -72
- package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +1 -43
- package/dist/lib/components/BenefitsPictures/helpers.js +10 -41
- package/dist/lib/components/BenefitsPictures/types.d.ts +3 -4
- package/dist/lib/components/BenefitsPictures/types.js +5 -1
- package/dist/lib/components/BlogBox/BlogBox.css +1 -92
- package/dist/lib/components/BlogBox/BlogBox.d.ts +2 -2
- package/dist/lib/components/BlogBox/BlogBox.js +21 -65
- package/dist/lib/components/BlogBox/components/BlogBoxTile.css +1 -197
- package/dist/lib/components/BlogBox/components/BlogBoxTile.d.ts +4 -4
- package/dist/lib/components/BlogBox/components/BlogBoxTile.js +27 -38
- package/dist/lib/components/BlogBox/types.d.ts +5 -5
- package/dist/lib/components/BlogBox/types.js +5 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +1 -43
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +6 -6
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +19 -61
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.css +1 -16
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.d.ts +4 -4
- package/dist/lib/components/Breadcrumbs/components/BreadcrumbsItem.js +23 -56
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +1 -122
- package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +7 -7
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +41 -90
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.css +1 -19
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +3 -3
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +30 -73
- package/dist/lib/components/Card/Card.css +1 -354
- package/dist/lib/components/Card/Card.d.ts +4 -4
- package/dist/lib/components/Card/Card.js +68 -165
- package/dist/lib/components/Card/types.d.ts +10 -11
- package/dist/lib/components/Card/types.js +5 -1
- package/dist/lib/components/CardsBox/CardsBox.js +8 -32
- package/dist/lib/components/CardsBox/helpers.d.ts +2 -2
- package/dist/lib/components/CardsBox/helpers.js +2 -9
- package/dist/lib/components/CarouselBox/CarouselBox.d.ts +2 -2
- package/dist/lib/components/CarouselBox/CarouselBox.js +16 -40
- package/dist/lib/components/Container/Container.css +1 -3287
- package/dist/lib/components/Container/Container.d.ts +7 -5
- package/dist/lib/components/Container/Container.js +18 -40
- package/dist/lib/components/DownloadLinks/DownloadLink.css +1 -37
- package/dist/lib/components/DownloadLinks/DownloadLink.d.ts +1 -1
- package/dist/lib/components/DownloadLinks/DownloadLink.js +18 -61
- package/dist/lib/components/DownloadLinks/DownloadLinks.css +1 -36
- package/dist/lib/components/DownloadLinks/DownloadLinks.d.ts +3 -3
- package/dist/lib/components/DownloadLinks/DownloadLinks.js +9 -34
- package/dist/lib/components/FaqWrapper/FaqWrapper.d.ts +5 -2
- package/dist/lib/components/FaqWrapper/FaqWrapper.js +6 -9
- package/dist/lib/components/ImageBanner/ImageBanner.css +1 -252
- package/dist/lib/components/ImageBanner/ImageBanner.d.ts +8 -9
- package/dist/lib/components/ImageBanner/ImageBanner.js +63 -144
- package/dist/lib/components/InfoCards/InfoCards.css +1 -0
- package/dist/lib/components/InfoCards/InfoCards.d.ts +21 -0
- package/dist/lib/components/InfoCards/InfoCards.js +48 -0
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.css +1 -0
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.d.ts +15 -0
- package/dist/lib/components/InfoCards/components/InfoCard/InfoCard.js +88 -0
- package/dist/lib/components/InfoCards/types.d.ts +26 -0
- package/dist/lib/components/InfoCards/types.js +5 -0
- package/dist/lib/components/Instructions/Instructions.css +1 -827
- package/dist/lib/components/Instructions/Instructions.d.ts +11 -11
- package/dist/lib/components/Instructions/Instructions.js +121 -191
- package/dist/lib/components/NotificationBox/NotificationBox.css +1 -0
- package/dist/lib/components/NotificationBox/NotificationBox.d.ts +4 -4
- package/dist/lib/components/NotificationBox/NotificationBox.js +10 -38
- package/dist/lib/components/PageTitle/PageTitle.css +1 -80
- package/dist/lib/components/PageTitle/PageTitle.d.ts +2 -2
- package/dist/lib/components/PageTitle/PageTitle.js +16 -53
- package/dist/lib/components/Partners/Partners.css +1 -53
- package/dist/lib/components/Partners/Partners.d.ts +2 -2
- package/dist/lib/components/Partners/Partners.js +22 -66
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +1 -80
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.d.ts +4 -2
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.js +16 -46
- package/dist/lib/components/Property/Property.css +1 -156
- package/dist/lib/components/Property/Property.d.ts +4 -4
- package/dist/lib/components/Property/Property.js +61 -121
- package/dist/lib/components/Property/PropertyDescription.css +1 -17
- package/dist/lib/components/Property/PropertyDescription.d.ts +3 -3
- package/dist/lib/components/Property/PropertyDescription.js +16 -47
- package/dist/lib/components/Property/types.d.ts +7 -5
- package/dist/lib/components/Property/types.js +5 -1
- package/dist/lib/components/SidePictureCards/SidePictureCards.d.ts +22 -0
- package/dist/lib/components/SidePictureCards/SidePictureCards.js +54 -0
- package/dist/lib/components/SidePictureCards/components/SidePictureCard.css +1 -0
- package/dist/lib/components/SidePictureCards/components/SidePictureCard.d.ts +16 -0
- package/dist/lib/components/SidePictureCards/components/SidePictureCard.js +95 -0
- package/dist/lib/components/SidePictureCards/types.d.ts +46 -0
- package/dist/lib/components/SidePictureCards/types.js +5 -0
- package/dist/lib/components/Steps/Steps.css +1 -41
- package/dist/lib/components/Steps/Steps.d.ts +2 -1
- package/dist/lib/components/Steps/Steps.js +8 -35
- package/dist/lib/components/Steps/StepsItem.css +1 -42
- package/dist/lib/components/Steps/StepsItem.d.ts +2 -2
- package/dist/lib/components/Steps/StepsItem.js +11 -23
- package/dist/lib/components/StoreBanner/StoreBanner.css +1 -346
- package/dist/lib/components/StoreBanner/StoreBanner.d.ts +5 -5
- package/dist/lib/components/StoreBanner/StoreBanner.js +48 -119
- package/dist/lib/components/StoreButton/StoreButton.css +1 -327
- package/dist/lib/components/StoreButton/StoreButton.d.ts +3 -3
- package/dist/lib/components/StoreButton/StoreButton.js +18 -64
- package/dist/lib/components/Table/Table.css +1 -157
- package/dist/lib/components/Table/Table.d.ts +1 -1
- package/dist/lib/components/Table/Table.js +36 -69
- package/dist/lib/components/Table/TableCell.js +4 -16
- package/dist/lib/components/Table/TableRow.js +5 -19
- package/dist/lib/components/TabsBox/TabBox.js +1 -4
- package/dist/lib/components/TabsBox/TabsBox.d.ts +1 -1
- package/dist/lib/components/TabsBox/TabsBox.js +8 -26
- package/dist/lib/components/TextBox/TextBox.css +1 -25
- package/dist/lib/components/TextBox/TextBox.d.ts +2 -1
- package/dist/lib/components/TextBox/TextBox.js +12 -36
- package/dist/lib/components/TextBox/TextBoxPicture.css +1 -27
- package/dist/lib/components/TextBox/TextBoxPicture.d.ts +2 -2
- package/dist/lib/components/TextBox/TextBoxPicture.js +11 -29
- package/dist/lib/components/TextWithIcon/TextWithIcon.css +1 -10
- package/dist/lib/components/TextWithIcon/TextWithIcon.d.ts +1 -1
- package/dist/lib/components/TextWithIcon/TextWithIcon.js +11 -40
- package/dist/lib/components/TextWithIcon/TextWithIconItem.css +1 -29
- package/dist/lib/components/TextWithIcon/TextWithIconItem.d.ts +3 -1
- package/dist/lib/components/TextWithIcon/TextWithIconItem.js +16 -39
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +1 -31
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +1 -1
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +11 -41
- package/dist/lib/components/VideoBanner/VideoBanner.css +1 -225
- package/dist/lib/components/VideoBanner/VideoBanner.d.ts +7 -7
- package/dist/lib/components/VideoBanner/VideoBanner.js +84 -177
- package/dist/lib/components/VideoBlock/VideoBlock.css +1 -106
- package/dist/lib/components/VideoBlock/VideoBlock.d.ts +4 -4
- package/dist/lib/components/VideoBlock/VideoBlock.js +59 -115
- package/dist/lib/constants/throttleTime.js +2 -3
- package/dist/lib/helpers/getColumnConfig.d.ts +5 -1
- package/dist/lib/helpers/getColumnConfig.js +2 -5
- package/dist/lib/helpers/setRelAttribute.d.ts +3 -1
- package/dist/lib/helpers/setRelAttribute.js +2 -7
- package/dist/lib/hooks/useResolutions.d.ts +1 -1
- package/dist/lib/hooks/useResolutions.js +15 -31
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +39 -60
- package/package.json +87 -92
- package/CHANGELOG.md +0 -4088
- package/dist/es/components/NotificationBox/style/NotificationBox.css +0 -28
- package/dist/es/components/StoreBanner/doc/img/android-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/lib/components/NotificationBox/style/NotificationBox.css +0 -28
- package/dist/lib/components/StoreBanner/doc/img/android-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
@@ -1,62 +1,48 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
4
5
|
value: true
|
5
6
|
});
|
6
|
-
exports["default"] = exports.
|
7
|
-
|
7
|
+
exports.testIdPrefix = exports["default"] = exports.VideoTypes = void 0;
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
9
|
-
|
10
|
-
require("core-js/modules/es.array.concat.js");
|
11
|
-
|
12
9
|
require("core-js/modules/es.symbol.js");
|
13
|
-
|
14
10
|
require("core-js/modules/es.symbol.description.js");
|
15
|
-
|
16
|
-
require("
|
17
|
-
|
18
|
-
var _react = _interopRequireDefault(require("react"));
|
19
|
-
|
11
|
+
require("core-js/modules/es.array.concat.js");
|
12
|
+
var React = _interopRequireWildcard(require("react"));
|
20
13
|
var _uiCore = require("@megafon/ui-core");
|
21
|
-
|
22
14
|
var _uiHelpers = require("@megafon/ui-helpers");
|
23
|
-
|
24
|
-
var
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
var VideoTypes = {
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
18
|
+
var VideoTypes = exports.VideoTypes = {
|
29
19
|
YOUTUBE: 'youtube',
|
30
20
|
VIDEO: 'video'
|
31
21
|
};
|
32
|
-
exports.
|
33
|
-
var testIdPrefix = 'VideoBlock';
|
34
|
-
exports.testIdPrefix = testIdPrefix;
|
22
|
+
var testIdPrefix = exports.testIdPrefix = 'VideoBlock';
|
35
23
|
var cn = (0, _uiHelpers.cnCreate)('mfui-video-block');
|
36
|
-
|
37
24
|
var VideoBlock = function VideoBlock(_ref) {
|
38
25
|
var dataAttrs = _ref.dataAttrs,
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
var renderVideo = _react["default"].useCallback(function () {
|
26
|
+
className = _ref.className,
|
27
|
+
_ref$classes = _ref.classes,
|
28
|
+
classes = _ref$classes === void 0 ? {} : _ref$classes,
|
29
|
+
rootRef = _ref.rootRef,
|
30
|
+
content = _ref.content,
|
31
|
+
_ref$videoType = _ref.videoType,
|
32
|
+
videoType = _ref$videoType === void 0 ? 'video' : _ref$videoType,
|
33
|
+
videoSrc = _ref.videoSrc,
|
34
|
+
_ref$isMuted = _ref.isMuted,
|
35
|
+
isMuted = _ref$isMuted === void 0 ? true : _ref$isMuted,
|
36
|
+
_ref$isAutoplay = _ref.isAutoplay,
|
37
|
+
isAutoplay = _ref$isAutoplay === void 0 ? false : _ref$isAutoplay,
|
38
|
+
_ref$contentPositionR = _ref.contentPositionRight,
|
39
|
+
contentPositionRight = _ref$contentPositionR === void 0 ? false : _ref$contentPositionR,
|
40
|
+
poster = _ref.poster,
|
41
|
+
_ref$playsinline = _ref.playsinline,
|
42
|
+
playsinline = _ref$playsinline === void 0 ? false : _ref$playsinline,
|
43
|
+
_ref$fixWhiteVideoBac = _ref.fixWhiteVideoBackground,
|
44
|
+
fixWhiteVideoBackground = _ref$fixWhiteVideoBac === void 0 ? false : _ref$fixWhiteVideoBac;
|
45
|
+
var renderVideo = React.useCallback(function () {
|
60
46
|
switch (videoType) {
|
61
47
|
case VideoTypes.YOUTUBE:
|
62
48
|
{
|
@@ -71,9 +57,9 @@ var VideoBlock = function VideoBlock(_ref) {
|
|
71
57
|
var playlist = "&playlist=".concat(videoSrc);
|
72
58
|
var playsinlineProp = "&playsinline=".concat(playsinline ? 1 : 0);
|
73
59
|
var src = "".concat(url).concat(autoplay).concat(mute).concat(loop).concat(rel).concat(controls).concat(showinfo).concat(ivLoadPolicy).concat(playlist).concat(playsinlineProp);
|
74
|
-
return /*#__PURE__*/
|
60
|
+
return /*#__PURE__*/React.createElement("div", {
|
75
61
|
className: cn('youtube')
|
76
|
-
}, /*#__PURE__*/
|
62
|
+
}, /*#__PURE__*/React.createElement("iframe", {
|
77
63
|
className: cn('iframe'),
|
78
64
|
src: src,
|
79
65
|
width: "100%",
|
@@ -85,13 +71,11 @@ var VideoBlock = function VideoBlock(_ref) {
|
|
85
71
|
"data-testid": "".concat(testIdPrefix, "-iframe-video")
|
86
72
|
}));
|
87
73
|
}
|
88
|
-
|
89
74
|
case VideoTypes.VIDEO:
|
90
75
|
{
|
91
|
-
return (
|
92
|
-
/*#__PURE__*/
|
76
|
+
return /*#__PURE__*/(
|
93
77
|
// eslint-disable-next-line jsx-a11y/media-has-caption
|
94
|
-
|
78
|
+
React.createElement("video", {
|
95
79
|
className: cn('video', {
|
96
80
|
'fix-background': fixWhiteVideoBackground
|
97
81
|
}),
|
@@ -102,39 +86,37 @@ var VideoBlock = function VideoBlock(_ref) {
|
|
102
86
|
poster: poster,
|
103
87
|
playsInline: playsinline,
|
104
88
|
"data-testid": "".concat(testIdPrefix, "-video")
|
105
|
-
}, /*#__PURE__*/
|
89
|
+
}, /*#__PURE__*/React.createElement("source", {
|
106
90
|
src: videoSrc,
|
107
91
|
type: "video/mp4"
|
108
92
|
}))
|
109
93
|
);
|
110
94
|
}
|
111
|
-
|
112
95
|
default:
|
113
96
|
{
|
114
97
|
return null;
|
115
98
|
}
|
116
99
|
}
|
117
100
|
}, [videoType, videoSrc, isAutoplay, isMuted, poster, playsinline, fixWhiteVideoBackground]);
|
118
|
-
|
119
|
-
var renderContent = _react["default"].useCallback(function (_ref2) {
|
101
|
+
var renderContent = React.useCallback(function (_ref2) {
|
120
102
|
var title = _ref2.title,
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
return /*#__PURE__*/
|
103
|
+
description = _ref2.description,
|
104
|
+
href = _ref2.href,
|
105
|
+
buttonDownload = _ref2.buttonDownload,
|
106
|
+
buttonTitle = _ref2.buttonTitle,
|
107
|
+
buttonRel = _ref2.buttonRel,
|
108
|
+
onButtonClick = _ref2.onButtonClick;
|
109
|
+
return /*#__PURE__*/React.createElement("div", {
|
128
110
|
className: cn('content', {
|
129
111
|
'position-right': contentPositionRight
|
130
112
|
}),
|
131
113
|
"data-testid": "".concat(testIdPrefix, "-content")
|
132
|
-
}, /*#__PURE__*/
|
114
|
+
}, /*#__PURE__*/React.createElement(_uiCore.Header, {
|
133
115
|
as: "h2",
|
134
116
|
className: cn('header')
|
135
|
-
}, (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig)), /*#__PURE__*/
|
117
|
+
}, (0, _uiHelpers.convert)(title, _uiHelpers.titleConvertConfig)), /*#__PURE__*/React.createElement("div", {
|
136
118
|
className: cn('description', [classes.description])
|
137
|
-
}, typeof description === 'string' ? (0, _uiHelpers.convert)(description, _uiHelpers.textConvertConfig) : description), buttonTitle && /*#__PURE__*/
|
119
|
+
}, typeof description === 'string' ? (0, _uiHelpers.convert)(description, _uiHelpers.textConvertConfig) : description), buttonTitle && /*#__PURE__*/React.createElement(_uiCore.Button, {
|
138
120
|
dataAttrs: {
|
139
121
|
root: dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.button
|
140
122
|
},
|
@@ -145,77 +127,39 @@ var VideoBlock = function VideoBlock(_ref) {
|
|
145
127
|
rel: buttonRel
|
146
128
|
}, buttonTitle));
|
147
129
|
}, [classes.button, classes.description, dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.button, contentPositionRight]);
|
148
|
-
|
149
|
-
var renderGridColumns = _react["default"].useCallback(function () {
|
130
|
+
var renderGridColumns = React.useCallback(function () {
|
150
131
|
var columns = [];
|
151
132
|
var columnWidth = content ? '7' : '10';
|
152
|
-
|
153
133
|
if (content) {
|
154
|
-
columns.push(
|
134
|
+
columns.push(/*#__PURE__*/React.createElement(_uiCore.GridColumn, {
|
155
135
|
all: "5",
|
156
136
|
tablet: "12",
|
157
137
|
mobile: "12",
|
158
|
-
orderTablet: "
|
159
|
-
orderMobile: "
|
138
|
+
orderTablet: "1",
|
139
|
+
orderMobile: "1",
|
140
|
+
orderWide: contentPositionRight ? '1' : '0',
|
141
|
+
orderDesktop: contentPositionRight ? '1' : '0',
|
160
142
|
key: "column-content",
|
161
|
-
className: cn('content-column'
|
162
|
-
'position-right': contentPositionRight
|
163
|
-
})
|
143
|
+
className: cn('content-column')
|
164
144
|
}, renderContent(content)));
|
165
145
|
}
|
166
|
-
|
167
|
-
columns.push( /*#__PURE__*/_react["default"].createElement(_uiCore.GridColumn, {
|
146
|
+
columns.push(/*#__PURE__*/React.createElement(_uiCore.GridColumn, {
|
168
147
|
all: columnWidth,
|
169
148
|
tablet: "12",
|
170
149
|
mobile: "12",
|
171
150
|
key: "column-video",
|
172
|
-
|
173
|
-
|
174
|
-
|
151
|
+
orderDesktop: contentPositionRight ? '0' : '1',
|
152
|
+
orderWide: contentPositionRight ? '0' : '1',
|
153
|
+
className: cn('video-column')
|
175
154
|
}, renderVideo()));
|
176
155
|
return columns;
|
177
156
|
}, [renderContent, renderVideo, content, contentPositionRight]);
|
178
|
-
|
179
|
-
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
157
|
+
return /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, (0, _uiHelpers.filterDataAttrs)(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
180
158
|
className: cn([className, classes.root]),
|
181
159
|
ref: rootRef
|
182
|
-
}), /*#__PURE__*/
|
160
|
+
}), /*#__PURE__*/React.createElement(_uiCore.Grid, {
|
183
161
|
hAlign: "center",
|
184
162
|
className: cn('grid')
|
185
163
|
}, renderGridColumns()));
|
186
164
|
};
|
187
|
-
|
188
|
-
VideoBlock.propTypes = {
|
189
|
-
dataAttrs: _propTypes["default"].shape({
|
190
|
-
root: _propTypes["default"].objectOf(_propTypes["default"].string.isRequired),
|
191
|
-
button: _propTypes["default"].objectOf(_propTypes["default"].string.isRequired)
|
192
|
-
}),
|
193
|
-
className: _propTypes["default"].string,
|
194
|
-
classes: _propTypes["default"].shape({
|
195
|
-
root: _propTypes["default"].string,
|
196
|
-
button: _propTypes["default"].string,
|
197
|
-
description: _propTypes["default"].string
|
198
|
-
}),
|
199
|
-
rootRef: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].oneOfType([_propTypes["default"].shape({
|
200
|
-
current: _propTypes["default"].elementType
|
201
|
-
}), _propTypes["default"].any])]),
|
202
|
-
content: _propTypes["default"].shape({
|
203
|
-
title: _propTypes["default"].string.isRequired,
|
204
|
-
description: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].arrayOf(_propTypes["default"].node), _propTypes["default"].node]).isRequired,
|
205
|
-
href: _propTypes["default"].string,
|
206
|
-
buttonTitle: _propTypes["default"].string,
|
207
|
-
buttonDownload: _propTypes["default"].bool,
|
208
|
-
buttonRel: _propTypes["default"].string,
|
209
|
-
onButtonClick: _propTypes["default"].func
|
210
|
-
}),
|
211
|
-
videoType: _propTypes["default"].oneOf(Object.values(VideoTypes)),
|
212
|
-
videoSrc: _propTypes["default"].string.isRequired,
|
213
|
-
isMuted: _propTypes["default"].bool,
|
214
|
-
isAutoplay: _propTypes["default"].bool,
|
215
|
-
poster: _propTypes["default"].string,
|
216
|
-
playsinline: _propTypes["default"].bool,
|
217
|
-
contentPositionRight: _propTypes["default"].bool,
|
218
|
-
fixWhiteVideoBackground: _propTypes["default"].bool
|
219
|
-
};
|
220
|
-
var _default = VideoBlock;
|
221
|
-
exports["default"] = _default;
|
165
|
+
var _default = exports["default"] = VideoBlock;
|
@@ -1,2 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
import { GridColumn } from '@megafon/ui-core';
|
3
|
+
type GridColumnPropsType = React.ComponentProps<typeof GridColumn>;
|
4
|
+
type GridColumnConfigType = Partial<Pick<GridColumnPropsType, 'all' | 'wide' | 'desktop' | 'tablet' | 'mobile'>>;
|
5
|
+
export declare const getColumnConfig: (isFullWidth: boolean) => GridColumnConfigType;
|
6
|
+
export {};
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.getColumnConfig = void 0;
|
7
|
-
|
8
|
-
var getColumnConfig = function getColumnConfig(isFullWidth) {
|
7
|
+
var getColumnConfig = exports.getColumnConfig = function getColumnConfig(isFullWidth) {
|
9
8
|
return isFullWidth ? {
|
10
9
|
all: '12'
|
11
10
|
} : {
|
@@ -14,6 +13,4 @@ var getColumnConfig = function getColumnConfig(isFullWidth) {
|
|
14
13
|
tablet: '12',
|
15
14
|
mobile: '12'
|
16
15
|
};
|
17
|
-
};
|
18
|
-
|
19
|
-
exports.getColumnConfig = getColumnConfig;
|
16
|
+
};
|
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
type TargetType = '_self' | '_blank' | '_parent' | '_top';
|
2
|
+
export declare const setRelAttribute: (rel?: string, target?: TargetType) => string | undefined;
|
3
|
+
export {};
|
@@ -4,17 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.setRelAttribute = void 0;
|
7
|
-
|
8
|
-
var setRelAttribute = function setRelAttribute(rel, target) {
|
7
|
+
var setRelAttribute = exports.setRelAttribute = function setRelAttribute(rel, target) {
|
9
8
|
if (rel) {
|
10
9
|
return rel;
|
11
10
|
}
|
12
|
-
|
13
11
|
if (target !== '_self') {
|
14
12
|
return 'noreferrer noopener';
|
15
13
|
}
|
16
|
-
|
17
14
|
return undefined;
|
18
|
-
};
|
19
|
-
|
20
|
-
exports.setRelAttribute = setRelAttribute;
|
15
|
+
};
|
@@ -4,55 +4,42 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports["default"] = void 0;
|
7
|
-
|
8
7
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
9
|
-
|
10
8
|
require("core-js/modules/es.array.concat.js");
|
11
|
-
|
12
9
|
var _react = _interopRequireDefault(require("react"));
|
13
|
-
|
14
10
|
var _uiHelpers = require("@megafon/ui-helpers");
|
15
|
-
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
17
|
-
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
18
12
|
var MOBILE_MIDDLE_END = _uiHelpers.breakpoints.MOBILE_MIDDLE_END,
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
MOBILE_BIG_START = _uiHelpers.breakpoints.MOBILE_BIG_START,
|
14
|
+
MOBILE_BIG_END = _uiHelpers.breakpoints.MOBILE_BIG_END,
|
15
|
+
DESKTOP_SMALL_START = _uiHelpers.breakpoints.DESKTOP_SMALL_START;
|
23
16
|
var useResolutions = function useResolutions() {
|
24
17
|
var _React$useState = _react["default"].useState(false),
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
18
|
+
_React$useState2 = (0, _slicedToArray2["default"])(_React$useState, 2),
|
19
|
+
isMobile = _React$useState2[0],
|
20
|
+
setIsMobile = _React$useState2[1];
|
29
21
|
var _React$useState3 = _react["default"].useState(false),
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
_React$useState4 = (0, _slicedToArray2["default"])(_React$useState3, 2),
|
23
|
+
isTablet = _React$useState4[0],
|
24
|
+
setIsTablet = _React$useState4[1];
|
34
25
|
var _React$useState5 = _react["default"].useState(false),
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
26
|
+
_React$useState6 = (0, _slicedToArray2["default"])(_React$useState5, 2),
|
27
|
+
isDesktop = _React$useState6[0],
|
28
|
+
setIsDesktop = _React$useState6[1];
|
39
29
|
_react["default"].useEffect(function () {
|
40
30
|
if (typeof window === 'undefined') {
|
41
31
|
return undefined;
|
42
32
|
}
|
43
|
-
|
44
33
|
var _window = window,
|
45
|
-
|
34
|
+
matchMedia = _window.matchMedia;
|
46
35
|
var mobileQuery = matchMedia("(max-width: ".concat(MOBILE_MIDDLE_END, "px)"));
|
47
36
|
var tabletQuery = matchMedia("(min-width: ".concat(MOBILE_BIG_START, "px) and (max-width: ").concat(MOBILE_BIG_END, "px)"));
|
48
37
|
var desktopQuery = matchMedia("(min-width: ".concat(DESKTOP_SMALL_START, "px)"));
|
49
|
-
|
50
38
|
var handleResize = function handleResize() {
|
51
39
|
setIsMobile(mobileQuery.matches);
|
52
40
|
setIsTablet(tabletQuery.matches);
|
53
41
|
setIsDesktop(desktopQuery.matches);
|
54
42
|
};
|
55
|
-
|
56
43
|
handleResize();
|
57
44
|
mobileQuery.addEventListener('change', handleResize);
|
58
45
|
tabletQuery.addEventListener('change', handleResize);
|
@@ -63,13 +50,10 @@ var useResolutions = function useResolutions() {
|
|
63
50
|
desktopQuery.removeEventListener('change', handleResize);
|
64
51
|
};
|
65
52
|
}, []);
|
66
|
-
|
67
53
|
return {
|
68
54
|
isDesktop: isDesktop,
|
69
55
|
isMobile: isMobile,
|
70
56
|
isTablet: isTablet
|
71
57
|
};
|
72
58
|
};
|
73
|
-
|
74
|
-
var _default = useResolutions;
|
75
|
-
exports["default"] = _default;
|
59
|
+
var _default = exports["default"] = useResolutions;
|
package/dist/lib/index.d.ts
CHANGED
@@ -21,6 +21,8 @@ export { default as DownloadLink } from './components/DownloadLinks/DownloadLink
|
|
21
21
|
export { default as DownloadLinks } from './components/DownloadLinks/DownloadLinks';
|
22
22
|
export { default as FaqWrapper } from './components/FaqWrapper/FaqWrapper';
|
23
23
|
export { default as ImageBanner } from './components/ImageBanner/ImageBanner';
|
24
|
+
export { default as InfoCard } from './components/InfoCards/components/InfoCard/InfoCard';
|
25
|
+
export { default as InfoCards } from './components/InfoCards/InfoCards';
|
24
26
|
export { default as Instructions } from './components/Instructions/Instructions';
|
25
27
|
export { default as NotificationBox } from './components/NotificationBox/NotificationBox';
|
26
28
|
export { default as PageTitle } from './components/PageTitle/PageTitle';
|
@@ -28,6 +30,8 @@ export { default as Partners } from './components/Partners/Partners';
|
|
28
30
|
export { default as PictureWithDescription } from './components/PictureWithDescription/PictureWithDescription';
|
29
31
|
export { default as Property } from './components/Property/Property';
|
30
32
|
export { default as PropertyDescription } from './components/Property/PropertyDescription';
|
33
|
+
export { default as SidePictureCard } from './components/SidePictureCards/components/SidePictureCard';
|
34
|
+
export { default as SidePictureCards } from './components/SidePictureCards/SidePictureCards';
|
31
35
|
export { default as Steps } from './components/Steps/Steps';
|
32
36
|
export { default as StepsItem } from './components/Steps/StepsItem';
|
33
37
|
export { default as StoreBanner } from './components/StoreBanner/StoreBanner';
|
package/dist/lib/index.js
CHANGED
@@ -141,6 +141,18 @@ Object.defineProperty(exports, "ImageBanner", {
|
|
141
141
|
return _ImageBanner["default"];
|
142
142
|
}
|
143
143
|
});
|
144
|
+
Object.defineProperty(exports, "InfoCard", {
|
145
|
+
enumerable: true,
|
146
|
+
get: function get() {
|
147
|
+
return _InfoCard["default"];
|
148
|
+
}
|
149
|
+
});
|
150
|
+
Object.defineProperty(exports, "InfoCards", {
|
151
|
+
enumerable: true,
|
152
|
+
get: function get() {
|
153
|
+
return _InfoCards["default"];
|
154
|
+
}
|
155
|
+
});
|
144
156
|
Object.defineProperty(exports, "Instructions", {
|
145
157
|
enumerable: true,
|
146
158
|
get: function get() {
|
@@ -183,6 +195,18 @@ Object.defineProperty(exports, "PropertyDescription", {
|
|
183
195
|
return _PropertyDescription["default"];
|
184
196
|
}
|
185
197
|
});
|
198
|
+
Object.defineProperty(exports, "SidePictureCard", {
|
199
|
+
enumerable: true,
|
200
|
+
get: function get() {
|
201
|
+
return _SidePictureCard["default"];
|
202
|
+
}
|
203
|
+
});
|
204
|
+
Object.defineProperty(exports, "SidePictureCards", {
|
205
|
+
enumerable: true,
|
206
|
+
get: function get() {
|
207
|
+
return _SidePictureCards["default"];
|
208
|
+
}
|
209
|
+
});
|
186
210
|
Object.defineProperty(exports, "Steps", {
|
187
211
|
enumerable: true,
|
188
212
|
get: function get() {
|
@@ -261,131 +285,86 @@ Object.defineProperty(exports, "TextWithIconItem", {
|
|
261
285
|
return _TextWithIconItem["default"];
|
262
286
|
}
|
263
287
|
});
|
264
|
-
Object.defineProperty(exports, "
|
288
|
+
Object.defineProperty(exports, "TitleDescriptionBox", {
|
265
289
|
enumerable: true,
|
266
290
|
get: function get() {
|
267
|
-
return
|
291
|
+
return _TitleDescriptionBox["default"];
|
268
292
|
}
|
269
293
|
});
|
270
|
-
Object.defineProperty(exports, "
|
294
|
+
Object.defineProperty(exports, "VideoBanner", {
|
271
295
|
enumerable: true,
|
272
296
|
get: function get() {
|
273
|
-
return
|
297
|
+
return _VideoBanner["default"];
|
274
298
|
}
|
275
299
|
});
|
276
|
-
Object.defineProperty(exports, "
|
300
|
+
Object.defineProperty(exports, "VideoBlock", {
|
277
301
|
enumerable: true,
|
278
302
|
get: function get() {
|
279
|
-
return
|
303
|
+
return _VideoBlock["default"];
|
280
304
|
}
|
281
305
|
});
|
282
|
-
Object.defineProperty(exports, "
|
306
|
+
Object.defineProperty(exports, "timerFormatUtil", {
|
283
307
|
enumerable: true,
|
284
308
|
get: function get() {
|
285
|
-
return
|
309
|
+
return _timerFormatUtil["default"];
|
286
310
|
}
|
287
311
|
});
|
288
|
-
Object.defineProperty(exports, "
|
312
|
+
Object.defineProperty(exports, "useTrackDuration", {
|
289
313
|
enumerable: true,
|
290
314
|
get: function get() {
|
291
|
-
return
|
315
|
+
return _useTrackDuration["default"];
|
292
316
|
}
|
293
317
|
});
|
294
|
-
|
295
318
|
var _AccordionBox = _interopRequireDefault(require("./components/AccordionBox/AccordionBox"));
|
296
|
-
|
297
319
|
var _AudioPlayer = _interopRequireDefault(require("./components/AudioPlayer/AudioPlayer"));
|
298
|
-
|
299
320
|
var _AudioProgress = _interopRequireDefault(require("./components/AudioPlayer/AudioProgress"));
|
300
|
-
|
301
321
|
var _AudioRange = _interopRequireDefault(require("./components/AudioPlayer/AudioRange"));
|
302
|
-
|
303
322
|
var _AudioVolume = _interopRequireDefault(require("./components/AudioPlayer/AudioVolume"));
|
304
|
-
|
305
323
|
var _BannerBox = _interopRequireDefault(require("./components/BannerBox/BannerBox"));
|
306
|
-
|
307
324
|
var _BenefitsIcons = _interopRequireDefault(require("./components/BenefitsIcons/BenefitsIcons"));
|
308
|
-
|
309
325
|
var _BenefitsIconsTile = _interopRequireDefault(require("./components/BenefitsIcons/BenefitsIconsTile"));
|
310
|
-
|
311
326
|
var _BenefitsPictures = _interopRequireDefault(require("./components/BenefitsPictures/BenefitsPictures"));
|
312
|
-
|
313
327
|
var _BlogBox = _interopRequireDefault(require("./components/BlogBox/BlogBox"));
|
314
|
-
|
315
328
|
var _BlogBoxTile = _interopRequireDefault(require("./components/BlogBox/components/BlogBoxTile"));
|
316
|
-
|
317
329
|
var _Breadcrumbs = _interopRequireDefault(require("./components/Breadcrumbs/Breadcrumbs"));
|
318
|
-
|
319
330
|
var _BreadcrumbsItem = _interopRequireDefault(require("./components/Breadcrumbs/components/BreadcrumbsItem"));
|
320
|
-
|
321
331
|
var _ButtonBanner = _interopRequireDefault(require("./components/ButtonBanner/ButtonBanner"));
|
322
|
-
|
323
332
|
var _ButtonLinkBox = _interopRequireDefault(require("./components/ButtonLinkBox/ButtonLinkBox"));
|
324
|
-
|
325
333
|
var _Card = _interopRequireDefault(require("./components/Card/Card"));
|
326
|
-
|
327
334
|
var _CardsBox = _interopRequireDefault(require("./components/CardsBox/CardsBox"));
|
328
|
-
|
329
335
|
var _CarouselBox = _interopRequireDefault(require("./components/CarouselBox/CarouselBox"));
|
330
|
-
|
331
336
|
var _Container = _interopRequireDefault(require("./components/Container/Container"));
|
332
|
-
|
333
337
|
var _DownloadLink = _interopRequireDefault(require("./components/DownloadLinks/DownloadLink"));
|
334
|
-
|
335
338
|
var _DownloadLinks = _interopRequireDefault(require("./components/DownloadLinks/DownloadLinks"));
|
336
|
-
|
337
339
|
var _FaqWrapper = _interopRequireDefault(require("./components/FaqWrapper/FaqWrapper"));
|
338
|
-
|
339
340
|
var _ImageBanner = _interopRequireDefault(require("./components/ImageBanner/ImageBanner"));
|
340
|
-
|
341
|
+
var _InfoCard = _interopRequireDefault(require("./components/InfoCards/components/InfoCard/InfoCard"));
|
342
|
+
var _InfoCards = _interopRequireDefault(require("./components/InfoCards/InfoCards"));
|
341
343
|
var _Instructions = _interopRequireDefault(require("./components/Instructions/Instructions"));
|
342
|
-
|
343
344
|
var _NotificationBox = _interopRequireDefault(require("./components/NotificationBox/NotificationBox"));
|
344
|
-
|
345
345
|
var _PageTitle = _interopRequireDefault(require("./components/PageTitle/PageTitle"));
|
346
|
-
|
347
346
|
var _Partners = _interopRequireDefault(require("./components/Partners/Partners"));
|
348
|
-
|
349
347
|
var _PictureWithDescription = _interopRequireDefault(require("./components/PictureWithDescription/PictureWithDescription"));
|
350
|
-
|
351
348
|
var _Property = _interopRequireDefault(require("./components/Property/Property"));
|
352
|
-
|
353
349
|
var _PropertyDescription = _interopRequireDefault(require("./components/Property/PropertyDescription"));
|
354
|
-
|
350
|
+
var _SidePictureCard = _interopRequireDefault(require("./components/SidePictureCards/components/SidePictureCard"));
|
351
|
+
var _SidePictureCards = _interopRequireDefault(require("./components/SidePictureCards/SidePictureCards"));
|
355
352
|
var _Steps = _interopRequireDefault(require("./components/Steps/Steps"));
|
356
|
-
|
357
353
|
var _StepsItem = _interopRequireDefault(require("./components/Steps/StepsItem"));
|
358
|
-
|
359
354
|
var _StoreBanner = _interopRequireDefault(require("./components/StoreBanner/StoreBanner"));
|
360
|
-
|
361
355
|
var _StoreButton = _interopRequireDefault(require("./components/StoreButton/StoreButton"));
|
362
|
-
|
363
356
|
var _TabBox = _interopRequireDefault(require("./components/TabsBox/TabBox"));
|
364
|
-
|
365
357
|
var _Table = _interopRequireDefault(require("./components/Table/Table"));
|
366
|
-
|
367
358
|
var _TableCell = _interopRequireDefault(require("./components/Table/TableCell"));
|
368
|
-
|
369
359
|
var _TableRow = _interopRequireDefault(require("./components/Table/TableRow"));
|
370
|
-
|
371
360
|
var _TabsBox = _interopRequireDefault(require("./components/TabsBox/TabsBox"));
|
372
|
-
|
373
361
|
var _TextBox = _interopRequireDefault(require("./components/TextBox/TextBox"));
|
374
|
-
|
375
362
|
var _TextBoxPicture = _interopRequireDefault(require("./components/TextBox/TextBoxPicture"));
|
376
|
-
|
377
363
|
var _TextWithIcon = _interopRequireDefault(require("./components/TextWithIcon/TextWithIcon"));
|
378
|
-
|
379
364
|
var _TextWithIconItem = _interopRequireDefault(require("./components/TextWithIcon/TextWithIconItem"));
|
380
|
-
|
381
365
|
var _timerFormatUtil = _interopRequireDefault(require("./components/AudioPlayer/timerFormatUtil"));
|
382
|
-
|
383
366
|
var _TitleDescriptionBox = _interopRequireDefault(require("./components/TitleDescriptionBox/TitleDescriptionBox"));
|
384
|
-
|
385
367
|
var _useTrackDuration = _interopRequireDefault(require("./components/AudioPlayer/hooks/useTrackDuration"));
|
386
|
-
|
387
368
|
var _VideoBanner = _interopRequireDefault(require("./components/VideoBanner/VideoBanner"));
|
388
|
-
|
389
369
|
var _VideoBlock = _interopRequireDefault(require("./components/VideoBlock/VideoBlock"));
|
390
|
-
|
391
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
370
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|