@gravity-ui/page-constructor 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +441 -0
- package/LICENSE +21 -0
- package/README.md +196 -0
- package/build/cjs/blocks/Banner/Banner.css +15 -0
- package/build/cjs/blocks/Banner/Banner.d.ts +3 -0
- package/build/cjs/blocks/Banner/Banner.js +16 -0
- package/build/cjs/blocks/Banner/schema.d.ts +595 -0
- package/build/cjs/blocks/Banner/schema.js +28 -0
- package/build/cjs/blocks/CardLayout/CardLayout.css +47 -0
- package/build/cjs/blocks/CardLayout/CardLayout.d.ts +7 -0
- package/build/cjs/blocks/CardLayout/CardLayout.js +21 -0
- package/build/cjs/blocks/CardLayout/schema.d.ts +140 -0
- package/build/cjs/blocks/CardLayout/schema.js +16 -0
- package/build/cjs/blocks/Companies/Companies.css +37 -0
- package/build/cjs/blocks/Companies/Companies.d.ts +3 -0
- package/build/cjs/blocks/Companies/Companies.js +25 -0
- package/build/cjs/blocks/Companies/schema.d.ts +41 -0
- package/build/cjs/blocks/Companies/schema.js +30 -0
- package/build/cjs/blocks/ContentLayout/ContentLayout.css +62 -0
- package/build/cjs/blocks/ContentLayout/ContentLayout.d.ts +3 -0
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +44 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +145 -0
- package/build/cjs/blocks/ContentLayout/schema.js +29 -0
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.css +125 -0
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.d.ts +3 -0
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +27 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +125 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.js +36 -0
- package/build/cjs/blocks/Header/Header.css +202 -0
- package/build/cjs/blocks/Header/Header.d.ts +4 -0
- package/build/cjs/blocks/Header/Header.js +68 -0
- package/build/cjs/blocks/Header/schema.d.ts +710 -0
- package/build/cjs/blocks/Header/schema.js +107 -0
- package/build/cjs/blocks/Header/utils.d.ts +20 -0
- package/build/cjs/blocks/Header/utils.js +51 -0
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.css +52 -0
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.d.ts +3 -0
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js +21 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +473 -0
- package/build/cjs/blocks/HeaderSlider/schema.js +20 -0
- package/build/cjs/blocks/Icons/Icons.css +42 -0
- package/build/cjs/blocks/Icons/Icons.d.ts +3 -0
- package/build/cjs/blocks/Icons/Icons.js +17 -0
- package/build/cjs/blocks/Icons/schema.d.ts +116 -0
- package/build/cjs/blocks/Icons/schema.js +35 -0
- package/build/cjs/blocks/Info/Info.css +68 -0
- package/build/cjs/blocks/Info/Info.d.ts +3 -0
- package/build/cjs/blocks/Info/Info.js +28 -0
- package/build/cjs/blocks/Info/schema.d.ts +52 -0
- package/build/cjs/blocks/Info/schema.js +18 -0
- package/build/cjs/blocks/LinkTable/LinkTable.css +3 -0
- package/build/cjs/blocks/LinkTable/LinkTable.d.ts +3 -0
- package/build/cjs/blocks/LinkTable/LinkTable.js +22 -0
- package/build/cjs/blocks/LinkTable/schema.d.ts +64 -0
- package/build/cjs/blocks/LinkTable/schema.js +15 -0
- package/build/cjs/blocks/Media/Media.css +53 -0
- package/build/cjs/blocks/Media/Media.d.ts +3 -0
- package/build/cjs/blocks/Media/Media.js +42 -0
- package/build/cjs/blocks/Media/MediaContent.css +12 -0
- package/build/cjs/blocks/Media/MediaContent.d.ts +3 -0
- package/build/cjs/blocks/Media/MediaContent.js +14 -0
- package/build/cjs/blocks/Media/schema.d.ts +523 -0
- package/build/cjs/blocks/Media/schema.js +39 -0
- package/build/cjs/blocks/Preview/MediaContent/MediaContent.css +50 -0
- package/build/cjs/blocks/Preview/MediaContent/MediaContent.d.ts +13 -0
- package/build/cjs/blocks/Preview/MediaContent/MediaContent.js +49 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewContent.css +106 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewContent.d.ts +11 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewContent.js +17 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewMedia.css +54 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewMedia.d.ts +9 -0
- package/build/cjs/blocks/Preview/MediaContent/PreviewMedia.js +13 -0
- package/build/cjs/blocks/Preview/Preview.css +50 -0
- package/build/cjs/blocks/Preview/Preview.d.ts +3 -0
- package/build/cjs/blocks/Preview/Preview.js +130 -0
- package/build/cjs/blocks/Preview/schema.d.ts +38 -0
- package/build/cjs/blocks/Preview/schema.js +49 -0
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +119 -0
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.d.ts +3 -0
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +39 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +223 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +35 -0
- package/build/cjs/blocks/Questions/Questions.css +61 -0
- package/build/cjs/blocks/Questions/Questions.d.ts +3 -0
- package/build/cjs/blocks/Questions/Questions.js +45 -0
- package/build/cjs/blocks/Questions/schema.d.ts +93 -0
- package/build/cjs/blocks/Questions/schema.js +32 -0
- package/build/cjs/blocks/Security/Security.css +142 -0
- package/build/cjs/blocks/Security/Security.d.ts +3 -0
- package/build/cjs/blocks/Security/Security.js +28 -0
- package/build/cjs/blocks/Security/schema.d.ts +168 -0
- package/build/cjs/blocks/Security/schema.js +30 -0
- package/build/cjs/blocks/Simple/Simple.css +22 -0
- package/build/cjs/blocks/Simple/Simple.d.ts +3 -0
- package/build/cjs/blocks/Simple/Simple.js +22 -0
- package/build/cjs/blocks/Simple/schema.d.ts +62 -0
- package/build/cjs/blocks/Simple/schema.js +13 -0
- package/build/cjs/blocks/Slider/Arrow/Arrow.css +58 -0
- package/build/cjs/blocks/Slider/Arrow/Arrow.d.ts +9 -0
- package/build/cjs/blocks/Slider/Arrow/Arrow.js +12 -0
- package/build/cjs/blocks/Slider/Slider.css +325 -0
- package/build/cjs/blocks/Slider/Slider.d.ts +18 -0
- package/build/cjs/blocks/Slider/Slider.js +211 -0
- package/build/cjs/blocks/Slider/models.d.ts +8 -0
- package/build/cjs/blocks/Slider/models.js +10 -0
- package/build/cjs/blocks/Slider/schema.d.ts +232 -0
- package/build/cjs/blocks/Slider/schema.js +75 -0
- package/build/cjs/blocks/Slider/slick.css +87 -0
- package/build/cjs/blocks/Slider/utils.d.ts +26 -0
- package/build/cjs/blocks/Slider/utils.js +39 -0
- package/build/cjs/blocks/Table/Table.css +30 -0
- package/build/cjs/blocks/Table/Table.d.ts +3 -0
- package/build/cjs/blocks/Table/Table.js +21 -0
- package/build/cjs/blocks/Table/schema.d.ts +67 -0
- package/build/cjs/blocks/Table/schema.js +36 -0
- package/build/cjs/blocks/Tabs/Tabs.css +83 -0
- package/build/cjs/blocks/Tabs/Tabs.d.ts +3 -0
- package/build/cjs/blocks/Tabs/Tabs.js +54 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +283 -0
- package/build/cjs/blocks/Tabs/schema.js +41 -0
- package/build/cjs/blocks/index.d.ts +19 -0
- package/build/cjs/blocks/index.js +44 -0
- package/build/cjs/blocks/validators.d.ts +18 -0
- package/build/cjs/blocks/validators.js +21 -0
- package/build/cjs/components/Anchor/Anchor.css +8 -0
- package/build/cjs/components/Anchor/Anchor.d.ts +6 -0
- package/build/cjs/components/Anchor/Anchor.js +9 -0
- package/build/cjs/components/AnimateBlock/AnimateBlock.d.ts +12 -0
- package/build/cjs/components/AnimateBlock/AnimateBlock.js +29 -0
- package/build/cjs/components/Author/Author.css +56 -0
- package/build/cjs/components/Author/Author.d.ts +3 -0
- package/build/cjs/components/Author/Author.js +19 -0
- package/build/cjs/components/Author/schema.d.ts +30 -0
- package/build/cjs/components/Author/schema.js +11 -0
- package/build/cjs/components/BackLink/BackLink.d.ts +13 -0
- package/build/cjs/components/BackLink/BackLink.js +29 -0
- package/build/cjs/components/BackgroundImage/BackgroundImage.css +16 -0
- package/build/cjs/components/BackgroundImage/BackgroundImage.d.ts +3 -0
- package/build/cjs/components/BackgroundImage/BackgroundImage.js +14 -0
- package/build/cjs/components/BackgroundMedia/BackgroundMedia.css +50 -0
- package/build/cjs/components/BackgroundMedia/BackgroundMedia.d.ts +6 -0
- package/build/cjs/components/BackgroundMedia/BackgroundMedia.js +17 -0
- package/build/cjs/components/BalancedMasonry/BalancedMasonry.css +10 -0
- package/build/cjs/components/BalancedMasonry/BalancedMasonry.d.ts +12 -0
- package/build/cjs/components/BalancedMasonry/BalancedMasonry.js +84 -0
- package/build/cjs/components/BlockBase/BlockBase.css +30 -0
- package/build/cjs/components/BlockBase/BlockBase.d.ts +3 -0
- package/build/cjs/components/BlockBase/BlockBase.js +15 -0
- package/build/cjs/components/BlockHeader/BlockHeader.css +27 -0
- package/build/cjs/components/BlockHeader/BlockHeader.d.ts +7 -0
- package/build/cjs/components/BlockHeader/BlockHeader.js +21 -0
- package/build/cjs/components/Button/Button.css +42 -0
- package/build/cjs/components/Button/Button.d.ts +8 -0
- package/build/cjs/components/Button/Button.js +49 -0
- package/build/cjs/components/Button/utils.d.ts +5 -0
- package/build/cjs/components/Button/utils.js +33 -0
- package/build/cjs/components/CardBase/CardBase.css +93 -0
- package/build/cjs/components/CardBase/CardBase.d.ts +28 -0
- package/build/cjs/components/CardBase/CardBase.js +57 -0
- package/build/cjs/components/CardBase/schema.d.ts +70 -0
- package/build/cjs/components/CardBase/schema.js +53 -0
- package/build/cjs/components/Control/Control.css +80 -0
- package/build/cjs/components/Control/Control.d.ts +13 -0
- package/build/cjs/components/Control/Control.js +13 -0
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.css +11 -0
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.d.ts +11 -0
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.js +11 -0
- package/build/cjs/components/FileLink/FileLink.css +87 -0
- package/build/cjs/components/FileLink/FileLink.d.ts +12 -0
- package/build/cjs/components/FileLink/FileLink.js +36 -0
- package/build/cjs/components/Foldable/Foldable.css +7 -0
- package/build/cjs/components/Foldable/Foldable.d.ts +7 -0
- package/build/cjs/components/Foldable/Foldable.js +23 -0
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.css +13 -0
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.d.ts +13 -0
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.js +44 -0
- package/build/cjs/components/FullscreenImage/FullScreenImage.css +60 -0
- package/build/cjs/components/FullscreenImage/FullscreenImage.d.ts +9 -0
- package/build/cjs/components/FullscreenImage/FullscreenImage.js +28 -0
- package/build/cjs/components/HTML/HTML.d.ts +14 -0
- package/build/cjs/components/HTML/HTML.js +14 -0
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +42 -0
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.d.ts +3 -0
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +17 -0
- package/build/cjs/components/HeightCalculator/HeightCalculator.css +9 -0
- package/build/cjs/components/HeightCalculator/HeightCalculator.d.ts +6 -0
- package/build/cjs/components/HeightCalculator/HeightCalculator.js +40 -0
- package/build/cjs/components/Image/Image.d.ts +11 -0
- package/build/cjs/components/Image/Image.js +23 -0
- package/build/cjs/components/Link/Link.css +54 -0
- package/build/cjs/components/Link/Link.d.ts +4 -0
- package/build/cjs/components/Link/Link.js +55 -0
- package/build/cjs/components/Link/Links.d.ts +6 -0
- package/build/cjs/components/Link/Links.js +13 -0
- package/build/cjs/components/Media/DataLens/DataLens.css +20 -0
- package/build/cjs/components/Media/DataLens/DataLens.d.ts +3 -0
- package/build/cjs/components/Media/DataLens/DataLens.js +14 -0
- package/build/cjs/components/Media/DataLens/utils.d.ts +2 -0
- package/build/cjs/components/Media/DataLens/utils.js +7 -0
- package/build/cjs/components/Media/Image/Image.css +10 -0
- package/build/cjs/components/Media/Image/Image.d.ts +11 -0
- package/build/cjs/components/Media/Image/Image.js +55 -0
- package/build/cjs/components/Media/Image/utils.d.ts +2 -0
- package/build/cjs/components/Media/Image/utils.js +7 -0
- package/build/cjs/components/Media/Media.css +11 -0
- package/build/cjs/components/Media/Media.d.ts +9 -0
- package/build/cjs/components/Media/Media.js +52 -0
- package/build/cjs/components/Media/Video/Video.css +17 -0
- package/build/cjs/components/Media/Video/Video.d.ts +15 -0
- package/build/cjs/components/Media/Video/Video.js +58 -0
- package/build/cjs/components/Media/Video/utils.d.ts +16 -0
- package/build/cjs/components/Media/Video/utils.js +48 -0
- package/build/cjs/components/OutsideClick/OutsideClick.d.ts +13 -0
- package/build/cjs/components/OutsideClick/OutsideClick.js +30 -0
- package/build/cjs/components/OverflowScroller/OverflowScroller.css +26 -0
- package/build/cjs/components/OverflowScroller/OverflowScroller.d.ts +26 -0
- package/build/cjs/components/OverflowScroller/OverflowScroller.js +82 -0
- package/build/cjs/components/ReactPlayer/CircleProgress.css +3 -0
- package/build/cjs/components/ReactPlayer/CircleProgress.d.ts +10 -0
- package/build/cjs/components/ReactPlayer/CircleProgress.js +20 -0
- package/build/cjs/components/ReactPlayer/CustomBarControls.css +35 -0
- package/build/cjs/components/ReactPlayer/CustomBarControls.d.ts +12 -0
- package/build/cjs/components/ReactPlayer/CustomBarControls.js +21 -0
- package/build/cjs/components/ReactPlayer/ReactPlayer.css +66 -0
- package/build/cjs/components/ReactPlayer/ReactPlayer.d.ts +13 -0
- package/build/cjs/components/ReactPlayer/ReactPlayer.js +196 -0
- package/build/cjs/components/RouterLink/RouterLink.d.ts +6 -0
- package/build/cjs/components/RouterLink/RouterLink.js +10 -0
- package/build/cjs/components/Share/Share.css +52 -0
- package/build/cjs/components/Share/Share.d.ts +7 -0
- package/build/cjs/components/Share/Share.js +24 -0
- package/build/cjs/components/Share/i18n/en.json +3 -0
- package/build/cjs/components/Share/i18n/index.d.ts +2 -0
- package/build/cjs/components/Share/i18n/index.js +8 -0
- package/build/cjs/components/Share/i18n/ru.json +3 -0
- package/build/cjs/components/Table/Table.css +82 -0
- package/build/cjs/components/Table/Table.d.ts +9 -0
- package/build/cjs/components/Table/Table.js +34 -0
- package/build/cjs/components/Title/Title.css +96 -0
- package/build/cjs/components/Title/Title.d.ts +10 -0
- package/build/cjs/components/Title/Title.js +55 -0
- package/build/cjs/components/ToggleArrow/ToggleArrow.css +23 -0
- package/build/cjs/components/ToggleArrow/ToggleArrow.d.ts +11 -0
- package/build/cjs/components/ToggleArrow/ToggleArrow.js +10 -0
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.css +19 -0
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.d.ts +8 -0
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.js +9 -0
- package/build/cjs/components/UnpublishedLabel/i18n/en.json +3 -0
- package/build/cjs/components/UnpublishedLabel/i18n/index.d.ts +2 -0
- package/build/cjs/components/UnpublishedLabel/i18n/index.js +8 -0
- package/build/cjs/components/UnpublishedLabel/i18n/ru.json +3 -0
- package/build/cjs/components/VideoBlock/VideoBlock.css +44 -0
- package/build/cjs/components/VideoBlock/VideoBlock.d.ts +16 -0
- package/build/cjs/components/VideoBlock/VideoBlock.js +97 -0
- package/build/cjs/components/YFMWrapper/YFMWrapper.d.ts +8 -0
- package/build/cjs/components/YFMWrapper/YFMWrapper.js +12 -0
- package/build/cjs/components/YandexForm/YandexForm.d.ts +19 -0
- package/build/cjs/components/YandexForm/YandexForm.js +103 -0
- package/build/cjs/components/constants.d.ts +6 -0
- package/build/cjs/components/constants.js +9 -0
- package/build/cjs/components/index.d.ts +36 -0
- package/build/cjs/components/index.js +76 -0
- package/build/cjs/constants.d.ts +7 -0
- package/build/cjs/constants.js +10 -0
- package/build/cjs/constructor-items.d.ts +52 -0
- package/build/cjs/constructor-items.js +52 -0
- package/build/cjs/containers/Loadable/Loadable.css +4 -0
- package/build/cjs/containers/Loadable/Loadable.d.ts +16 -0
- package/build/cjs/containers/Loadable/Loadable.js +46 -0
- package/build/cjs/containers/Loadable/i18n/en.json +4 -0
- package/build/cjs/containers/Loadable/i18n/index.d.ts +2 -0
- package/build/cjs/containers/Loadable/i18n/index.js +8 -0
- package/build/cjs/containers/Loadable/i18n/ru.json +4 -0
- package/build/cjs/containers/PageConstructor/PageConstructor.css +139 -0
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +12 -0
- package/build/cjs/containers/PageConstructor/PageConstructor.js +56 -0
- package/build/cjs/containers/PageConstructor/Provider.d.ts +17 -0
- package/build/cjs/containers/PageConstructor/Provider.js +29 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +9 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +13 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/index.js +4 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +7 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +42 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/index.js +4 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.css +12 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.d.ts +3 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +14 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/index.js +4 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +6 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +15 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/index.js +4 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.d.ts +7 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +16 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/index.js +4 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.css +8 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.d.ts +2 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +11 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/index.js +4 -0
- package/build/cjs/containers/PageConstructor/index.d.ts +4 -0
- package/build/cjs/containers/PageConstructor/index.js +7 -0
- package/build/cjs/context/animateContext/AnimateContext.d.ts +5 -0
- package/build/cjs/context/animateContext/AnimateContext.js +6 -0
- package/build/cjs/context/animateContext/index.d.ts +1 -0
- package/build/cjs/context/animateContext/index.js +4 -0
- package/build/cjs/context/breakpointContext/breakpointContext.d.ts +2 -0
- package/build/cjs/context/breakpointContext/breakpointContext.js +7 -0
- package/build/cjs/context/breakpointContext/index.d.ts +1 -0
- package/build/cjs/context/breakpointContext/index.js +4 -0
- package/build/cjs/context/innerContext/InnerContext.d.ts +9 -0
- package/build/cjs/context/innerContext/InnerContext.js +9 -0
- package/build/cjs/context/innerContext/index.d.ts +1 -0
- package/build/cjs/context/innerContext/index.js +4 -0
- package/build/cjs/context/localeContext/index.d.ts +1 -0
- package/build/cjs/context/localeContext/index.js +4 -0
- package/build/cjs/context/localeContext/localeContext.d.ts +7 -0
- package/build/cjs/context/localeContext/localeContext.js +7 -0
- package/build/cjs/context/locationContext/index.d.ts +1 -0
- package/build/cjs/context/locationContext/index.js +4 -0
- package/build/cjs/context/locationContext/locationContext.d.ts +20 -0
- package/build/cjs/context/locationContext/locationContext.js +6 -0
- package/build/cjs/context/metrikaContext/index.d.ts +1 -0
- package/build/cjs/context/metrikaContext/index.js +4 -0
- package/build/cjs/context/metrikaContext/metrikaContext.d.ts +7 -0
- package/build/cjs/context/metrikaContext/metrikaContext.js +6 -0
- package/build/cjs/context/mobileContext/MobileContext.d.ts +2 -0
- package/build/cjs/context/mobileContext/MobileContext.js +6 -0
- package/build/cjs/context/mobileContext/index.d.ts +1 -0
- package/build/cjs/context/mobileContext/index.js +4 -0
- package/build/cjs/context/projectSettingsContext/ProjectSettingsContext.d.ts +5 -0
- package/build/cjs/context/projectSettingsContext/ProjectSettingsContext.js +6 -0
- package/build/cjs/context/projectSettingsContext/index.d.ts +1 -0
- package/build/cjs/context/projectSettingsContext/index.js +4 -0
- package/build/cjs/context/ssrContext/SSRContext.d.ts +5 -0
- package/build/cjs/context/ssrContext/SSRContext.js +6 -0
- package/build/cjs/context/ssrContext/index.d.ts +1 -0
- package/build/cjs/context/ssrContext/index.js +4 -0
- package/build/cjs/context/stylesContext/StylesContext.d.ts +6 -0
- package/build/cjs/context/stylesContext/StylesContext.js +6 -0
- package/build/cjs/context/stylesContext/index.d.ts +1 -0
- package/build/cjs/context/stylesContext/index.js +4 -0
- package/build/cjs/context/theme/ThemeContext.d.ts +8 -0
- package/build/cjs/context/theme/ThemeContext.js +11 -0
- package/build/cjs/context/theme/ThemeProvider.d.ts +22 -0
- package/build/cjs/context/theme/ThemeProvider.js +49 -0
- package/build/cjs/context/theme/ThemeValueContext.d.ts +7 -0
- package/build/cjs/context/theme/ThemeValueContext.js +9 -0
- package/build/cjs/context/theme/index.d.ts +4 -0
- package/build/cjs/context/theme/index.js +7 -0
- package/build/cjs/context/theme/useTheme.d.ts +2 -0
- package/build/cjs/context/theme/useTheme.js +11 -0
- package/build/cjs/context/theme/useThemeValue.d.ts +2 -0
- package/build/cjs/context/theme/useThemeValue.js +11 -0
- package/build/cjs/context/theme/withTheme.d.ts +6 -0
- package/build/cjs/context/theme/withTheme.js +19 -0
- package/build/cjs/context/videoContext/VideoContext.d.ts +6 -0
- package/build/cjs/context/videoContext/VideoContext.js +6 -0
- package/build/cjs/context/videoContext/index.d.ts +1 -0
- package/build/cjs/context/videoContext/index.js +4 -0
- package/build/cjs/grid/Break/Break.d.ts +2 -0
- package/build/cjs/grid/Break/Break.js +7 -0
- package/build/cjs/grid/Col/Col.d.ts +10 -0
- package/build/cjs/grid/Col/Col.js +11 -0
- package/build/cjs/grid/Grid/Grid.css +87 -0
- package/build/cjs/grid/Grid/Grid.d.ts +9 -0
- package/build/cjs/grid/Grid/Grid.js +10 -0
- package/build/cjs/grid/Row/Row.d.ts +12 -0
- package/build/cjs/grid/Row/Row.js +15 -0
- package/build/cjs/grid/index.d.ts +6 -0
- package/build/cjs/grid/index.js +9 -0
- package/build/cjs/grid/styles/bootstrap.css +1627 -0
- package/build/cjs/grid/types.d.ts +50 -0
- package/build/cjs/grid/types.js +47 -0
- package/build/cjs/grid/utils.d.ts +9 -0
- package/build/cjs/grid/utils.js +64 -0
- package/build/cjs/hooks/hubspot.d.ts +16 -0
- package/build/cjs/hooks/hubspot.js +38 -0
- package/build/cjs/hooks/index.d.ts +5 -0
- package/build/cjs/hooks/index.js +13 -0
- package/build/cjs/hooks/useFocus.d.ts +5 -0
- package/build/cjs/hooks/useFocus.js +39 -0
- package/build/cjs/hooks/useIntersection.d.ts +1 -0
- package/build/cjs/hooks/useIntersection.js +21 -0
- package/build/cjs/hooks/useMetrika.d.ts +7 -0
- package/build/cjs/hooks/useMetrika.js +41 -0
- package/build/cjs/hooks/useMount.d.ts +3 -0
- package/build/cjs/hooks/useMount.js +8 -0
- package/build/cjs/hooks/useWindowBreakpoint.d.ts +1 -0
- package/build/cjs/hooks/useWindowBreakpoint.js +33 -0
- package/build/cjs/i18n.d.ts +2 -0
- package/build/cjs/i18n.js +12 -0
- package/build/cjs/icons/ArrowConstructor.d.ts +2 -0
- package/build/cjs/icons/ArrowConstructor.js +9 -0
- package/build/cjs/icons/ArrowSidebar.d.ts +2 -0
- package/build/cjs/icons/ArrowSidebar.js +9 -0
- package/build/cjs/icons/Chevron.d.ts +2 -0
- package/build/cjs/icons/Chevron.js +9 -0
- package/build/cjs/icons/FullScreen.d.ts +2 -0
- package/build/cjs/icons/FullScreen.js +9 -0
- package/build/cjs/icons/Github.d.ts +2 -0
- package/build/cjs/icons/Github.js +9 -0
- package/build/cjs/icons/NavigationChevron.d.ts +2 -0
- package/build/cjs/icons/NavigationChevron.js +9 -0
- package/build/cjs/icons/PlayVideo.d.ts +2 -0
- package/build/cjs/icons/PlayVideo.js +9 -0
- package/build/cjs/icons/PreviewClose.d.ts +2 -0
- package/build/cjs/icons/PreviewClose.js +9 -0
- package/build/cjs/icons/index.d.ts +8 -0
- package/build/cjs/icons/index.js +11 -0
- package/build/cjs/index.d.ts +12 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/internal-typings/global.d.ts +30 -0
- package/build/cjs/models/common.d.ts +52 -0
- package/build/cjs/models/common.js +29 -0
- package/build/cjs/models/components.d.ts +10 -0
- package/build/cjs/models/components.js +10 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +339 -0
- package/build/cjs/models/constructor-items/blocks.js +41 -0
- package/build/cjs/models/constructor-items/common.d.ts +338 -0
- package/build/cjs/models/constructor-items/common.js +47 -0
- package/build/cjs/models/constructor-items/index.d.ts +6 -0
- package/build/cjs/models/constructor-items/index.js +6 -0
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +165 -0
- package/build/cjs/models/constructor-items/sub-blocks.js +30 -0
- package/build/cjs/models/constructor.d.ts +45 -0
- package/build/cjs/models/constructor.js +2 -0
- package/build/cjs/models/guards.d.ts +5 -0
- package/build/cjs/models/guards.js +16 -0
- package/build/cjs/models/index.d.ts +6 -0
- package/build/cjs/models/index.js +9 -0
- package/build/cjs/models/react.d.ts +4 -0
- package/build/cjs/models/react.js +2 -0
- package/build/cjs/schema/index.d.ts +164 -0
- package/build/cjs/schema/index.js +102 -0
- package/build/cjs/schema/validators/blocks.d.ts +19 -0
- package/build/cjs/schema/validators/blocks.js +22 -0
- package/build/cjs/schema/validators/common.d.ts +879 -0
- package/build/cjs/schema/validators/common.js +460 -0
- package/build/cjs/schema/validators/index.d.ts +12 -0
- package/build/cjs/schema/validators/index.js +16 -0
- package/build/cjs/schema/validators/pixel.d.ts +57 -0
- package/build/cjs/schema/validators/pixel.js +63 -0
- package/build/cjs/schema/validators/sub-blocks.d.ts +15 -0
- package/build/cjs/schema/validators/sub-blocks.js +18 -0
- package/build/cjs/schema/validators/utils.d.ts +22 -0
- package/build/cjs/schema/validators/utils.js +12 -0
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.css +46 -0
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.d.ts +3 -0
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +21 -0
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +104 -0
- package/build/cjs/sub-blocks/BackgroundCard/schema.js +23 -0
- package/build/cjs/sub-blocks/BannerCard/BannerCard.css +90 -0
- package/build/cjs/sub-blocks/BannerCard/BannerCard.d.ts +3 -0
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +28 -0
- package/build/cjs/sub-blocks/BasicCard/BasicCard.css +13 -0
- package/build/cjs/sub-blocks/BasicCard/BasicCard.d.ts +3 -0
- package/build/cjs/sub-blocks/BasicCard/BasicCard.js +19 -0
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +82 -0
- package/build/cjs/sub-blocks/BasicCard/schema.js +18 -0
- package/build/cjs/sub-blocks/CardWithImage/CardWithImage.css +19 -0
- package/build/cjs/sub-blocks/CardWithImage/CardWithImage.d.ts +3 -0
- package/build/cjs/sub-blocks/CardWithImage/CardWithImage.js +16 -0
- package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +146 -0
- package/build/cjs/sub-blocks/CardWithImage/schema.js +45 -0
- package/build/cjs/sub-blocks/Content/Content.css +133 -0
- package/build/cjs/sub-blocks/Content/Content.d.ts +3 -0
- package/build/cjs/sub-blocks/Content/Content.js +52 -0
- package/build/cjs/sub-blocks/Content/schema.d.ts +133 -0
- package/build/cjs/sub-blocks/Content/schema.js +34 -0
- package/build/cjs/sub-blocks/Divider/Divider.css +27 -0
- package/build/cjs/sub-blocks/Divider/Divider.d.ts +3 -0
- package/build/cjs/sub-blocks/Divider/Divider.js +8 -0
- package/build/cjs/sub-blocks/Divider/schema.d.ts +15 -0
- package/build/cjs/sub-blocks/Divider/schema.js +12 -0
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +343 -0
- package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +5 -0
- package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.js +31 -0
- package/build/cjs/sub-blocks/HubspotForm/index.d.ts +4 -0
- package/build/cjs/sub-blocks/HubspotForm/index.js +33 -0
- package/build/cjs/sub-blocks/HubspotForm/loadHubspotScript.d.ts +2 -0
- package/build/cjs/sub-blocks/HubspotForm/loadHubspotScript.js +25 -0
- package/build/cjs/sub-blocks/MediaCard/MediaCard.css +5 -0
- package/build/cjs/sub-blocks/MediaCard/MediaCard.d.ts +3 -0
- package/build/cjs/sub-blocks/MediaCard/MediaCard.js +14 -0
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +140 -0
- package/build/cjs/sub-blocks/MediaCard/schema.js +11 -0
- package/build/cjs/sub-blocks/NewsCard/NewsCard.css +18 -0
- package/build/cjs/sub-blocks/NewsCard/NewsCard.d.ts +3 -0
- package/build/cjs/sub-blocks/NewsCard/NewsCard.js +16 -0
- package/build/cjs/sub-blocks/NewsCard/schema.d.ts +22 -0
- package/build/cjs/sub-blocks/NewsCard/schema.js +19 -0
- package/build/cjs/sub-blocks/Partner/Partner.css +8 -0
- package/build/cjs/sub-blocks/Partner/Partner.d.ts +3 -0
- package/build/cjs/sub-blocks/Partner/Partner.js +15 -0
- package/build/cjs/sub-blocks/Partner/schema.d.ts +29 -0
- package/build/cjs/sub-blocks/Partner/schema.js +15 -0
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +35 -0
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.d.ts +12 -0
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +60 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +62 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.d.ts +10 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +54 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.d.ts +3 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +22 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/List.css +11 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/List.d.ts +7 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/List.js +15 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +20 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.d.ts +8 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.js +15 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +43 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.d.ts +11 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.js +56 -0
- package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.css +9 -0
- package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.d.ts +10 -0
- package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +15 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +92 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +147 -0
- package/build/cjs/sub-blocks/Quote/Quote.css +146 -0
- package/build/cjs/sub-blocks/Quote/Quote.d.ts +3 -0
- package/build/cjs/sub-blocks/Quote/Quote.js +30 -0
- package/build/cjs/sub-blocks/Quote/schema.d.ts +67 -0
- package/build/cjs/sub-blocks/Quote/schema.js +21 -0
- package/build/cjs/sub-blocks/TutorialCard/TutorialCard.css +20 -0
- package/build/cjs/sub-blocks/TutorialCard/TutorialCard.d.ts +3 -0
- package/build/cjs/sub-blocks/TutorialCard/TutorialCard.js +23 -0
- package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +32 -0
- package/build/cjs/sub-blocks/TutorialCard/schema.js +17 -0
- package/build/cjs/sub-blocks/index.d.ts +13 -0
- package/build/cjs/sub-blocks/index.js +32 -0
- package/build/cjs/text-transform/blocks.d.ts +16 -0
- package/build/cjs/text-transform/blocks.js +352 -0
- package/build/cjs/text-transform/index.d.ts +2 -0
- package/build/cjs/text-transform/index.js +5 -0
- package/build/cjs/text-transform/utils.d.ts +30 -0
- package/build/cjs/text-transform/utils.js +115 -0
- package/build/cjs/utils/blocks.d.ts +9 -0
- package/build/cjs/utils/blocks.js +31 -0
- package/build/cjs/utils/cn.d.ts +4 -0
- package/build/cjs/utils/cn.js +10 -0
- package/build/cjs/utils/configure.d.ts +12 -0
- package/build/cjs/utils/configure.js +26 -0
- package/build/cjs/utils/hubspot.d.ts +16 -0
- package/build/cjs/utils/hubspot.js +58 -0
- package/build/cjs/utils/index.d.ts +9 -0
- package/build/cjs/utils/index.js +15 -0
- package/build/cjs/utils/registerKeyset.d.ts +5 -0
- package/build/cjs/utils/registerKeyset.js +9 -0
- package/build/cjs/utils/scroll.d.ts +15 -0
- package/build/cjs/utils/scroll.js +34 -0
- package/build/cjs/utils/svg.d.ts +3 -0
- package/build/cjs/utils/svg.js +7 -0
- package/build/cjs/utils/theme.d.ts +7 -0
- package/build/cjs/utils/theme.js +17 -0
- package/build/cjs/utils/url.d.ts +13 -0
- package/build/cjs/utils/url.js +48 -0
- package/build/esm/blocks/Banner/Banner.css +15 -0
- package/build/esm/blocks/Banner/Banner.d.ts +4 -0
- package/build/esm/blocks/Banner/Banner.js +13 -0
- package/build/esm/blocks/Banner/schema.d.ts +595 -0
- package/build/esm/blocks/Banner/schema.js +25 -0
- package/build/esm/blocks/CardLayout/CardLayout.css +47 -0
- package/build/esm/blocks/CardLayout/CardLayout.d.ts +8 -0
- package/build/esm/blocks/CardLayout/CardLayout.js +19 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +140 -0
- package/build/esm/blocks/CardLayout/schema.js +13 -0
- package/build/esm/blocks/Companies/Companies.css +37 -0
- package/build/esm/blocks/Companies/Companies.d.ts +4 -0
- package/build/esm/blocks/Companies/Companies.js +21 -0
- package/build/esm/blocks/Companies/schema.d.ts +41 -0
- package/build/esm/blocks/Companies/schema.js +27 -0
- package/build/esm/blocks/ContentLayout/ContentLayout.css +62 -0
- package/build/esm/blocks/ContentLayout/ContentLayout.d.ts +4 -0
- package/build/esm/blocks/ContentLayout/ContentLayout.js +40 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +145 -0
- package/build/esm/blocks/ContentLayout/schema.js +26 -0
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.css +125 -0
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.d.ts +4 -0
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +23 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +125 -0
- package/build/esm/blocks/ExtendedFeatures/schema.js +33 -0
- package/build/esm/blocks/Header/Header.css +202 -0
- package/build/esm/blocks/Header/Header.d.ts +5 -0
- package/build/esm/blocks/Header/Header.js +64 -0
- package/build/esm/blocks/Header/schema.d.ts +710 -0
- package/build/esm/blocks/Header/schema.js +104 -0
- package/build/esm/blocks/Header/utils.d.ts +20 -0
- package/build/esm/blocks/Header/utils.js +45 -0
- package/build/esm/blocks/HeaderSlider/HeaderSlider.css +52 -0
- package/build/esm/blocks/HeaderSlider/HeaderSlider.d.ts +4 -0
- package/build/esm/blocks/HeaderSlider/HeaderSlider.js +18 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +473 -0
- package/build/esm/blocks/HeaderSlider/schema.js +17 -0
- package/build/esm/blocks/Icons/Icons.css +42 -0
- package/build/esm/blocks/Icons/Icons.d.ts +4 -0
- package/build/esm/blocks/Icons/Icons.js +15 -0
- package/build/esm/blocks/Icons/schema.d.ts +116 -0
- package/build/esm/blocks/Icons/schema.js +32 -0
- package/build/esm/blocks/Info/Info.css +68 -0
- package/build/esm/blocks/Info/Info.d.ts +4 -0
- package/build/esm/blocks/Info/Info.js +24 -0
- package/build/esm/blocks/Info/schema.d.ts +52 -0
- package/build/esm/blocks/Info/schema.js +15 -0
- package/build/esm/blocks/LinkTable/LinkTable.css +3 -0
- package/build/esm/blocks/LinkTable/LinkTable.d.ts +4 -0
- package/build/esm/blocks/LinkTable/LinkTable.js +21 -0
- package/build/esm/blocks/LinkTable/schema.d.ts +64 -0
- package/build/esm/blocks/LinkTable/schema.js +12 -0
- package/build/esm/blocks/Media/Media.css +53 -0
- package/build/esm/blocks/Media/Media.d.ts +4 -0
- package/build/esm/blocks/Media/Media.js +39 -0
- package/build/esm/blocks/Media/MediaContent.css +12 -0
- package/build/esm/blocks/Media/MediaContent.d.ts +4 -0
- package/build/esm/blocks/Media/MediaContent.js +12 -0
- package/build/esm/blocks/Media/schema.d.ts +523 -0
- package/build/esm/blocks/Media/schema.js +36 -0
- package/build/esm/blocks/Preview/MediaContent/MediaContent.css +50 -0
- package/build/esm/blocks/Preview/MediaContent/MediaContent.d.ts +14 -0
- package/build/esm/blocks/Preview/MediaContent/MediaContent.js +47 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewContent.css +106 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewContent.d.ts +12 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewContent.js +15 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewMedia.css +54 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewMedia.d.ts +10 -0
- package/build/esm/blocks/Preview/MediaContent/PreviewMedia.js +11 -0
- package/build/esm/blocks/Preview/Preview.css +50 -0
- package/build/esm/blocks/Preview/Preview.d.ts +4 -0
- package/build/esm/blocks/Preview/Preview.js +126 -0
- package/build/esm/blocks/Preview/schema.d.ts +38 -0
- package/build/esm/blocks/Preview/schema.js +46 -0
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +119 -0
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.d.ts +4 -0
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +37 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +223 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +32 -0
- package/build/esm/blocks/Questions/Questions.css +61 -0
- package/build/esm/blocks/Questions/Questions.d.ts +4 -0
- package/build/esm/blocks/Questions/Questions.js +43 -0
- package/build/esm/blocks/Questions/schema.d.ts +93 -0
- package/build/esm/blocks/Questions/schema.js +28 -0
- package/build/esm/blocks/Security/Security.css +142 -0
- package/build/esm/blocks/Security/Security.d.ts +4 -0
- package/build/esm/blocks/Security/Security.js +24 -0
- package/build/esm/blocks/Security/schema.d.ts +168 -0
- package/build/esm/blocks/Security/schema.js +26 -0
- package/build/esm/blocks/Simple/Simple.css +22 -0
- package/build/esm/blocks/Simple/Simple.d.ts +4 -0
- package/build/esm/blocks/Simple/Simple.js +18 -0
- package/build/esm/blocks/Simple/schema.d.ts +62 -0
- package/build/esm/blocks/Simple/schema.js +10 -0
- package/build/esm/blocks/Slider/Arrow/Arrow.css +58 -0
- package/build/esm/blocks/Slider/Arrow/Arrow.d.ts +10 -0
- package/build/esm/blocks/Slider/Arrow/Arrow.js +10 -0
- package/build/esm/blocks/Slider/Slider.css +325 -0
- package/build/esm/blocks/Slider/Slider.d.ts +20 -0
- package/build/esm/blocks/Slider/Slider.js +208 -0
- package/build/esm/blocks/Slider/models.d.ts +8 -0
- package/build/esm/blocks/Slider/models.js +7 -0
- package/build/esm/blocks/Slider/schema.d.ts +232 -0
- package/build/esm/blocks/Slider/schema.js +72 -0
- package/build/esm/blocks/Slider/slick.css +87 -0
- package/build/esm/blocks/Slider/utils.d.ts +26 -0
- package/build/esm/blocks/Slider/utils.js +32 -0
- package/build/esm/blocks/Table/Table.css +30 -0
- package/build/esm/blocks/Table/Table.d.ts +4 -0
- package/build/esm/blocks/Table/Table.js +17 -0
- package/build/esm/blocks/Table/schema.d.ts +67 -0
- package/build/esm/blocks/Table/schema.js +33 -0
- package/build/esm/blocks/Tabs/Tabs.css +83 -0
- package/build/esm/blocks/Tabs/Tabs.d.ts +4 -0
- package/build/esm/blocks/Tabs/Tabs.js +50 -0
- package/build/esm/blocks/Tabs/schema.d.ts +283 -0
- package/build/esm/blocks/Tabs/schema.js +38 -0
- package/build/esm/blocks/index.d.ts +19 -0
- package/build/esm/blocks/index.js +19 -0
- package/build/esm/blocks/validators.d.ts +18 -0
- package/build/esm/blocks/validators.js +18 -0
- package/build/esm/components/Anchor/Anchor.css +8 -0
- package/build/esm/components/Anchor/Anchor.d.ts +7 -0
- package/build/esm/components/Anchor/Anchor.js +7 -0
- package/build/esm/components/AnimateBlock/AnimateBlock.d.ts +12 -0
- package/build/esm/components/AnimateBlock/AnimateBlock.js +26 -0
- package/build/esm/components/Author/Author.css +56 -0
- package/build/esm/components/Author/Author.d.ts +4 -0
- package/build/esm/components/Author/Author.js +17 -0
- package/build/esm/components/Author/schema.d.ts +30 -0
- package/build/esm/components/Author/schema.js +8 -0
- package/build/esm/components/BackLink/BackLink.d.ts +13 -0
- package/build/esm/components/BackLink/BackLink.js +25 -0
- package/build/esm/components/BackgroundImage/BackgroundImage.css +16 -0
- package/build/esm/components/BackgroundImage/BackgroundImage.d.ts +4 -0
- package/build/esm/components/BackgroundImage/BackgroundImage.js +12 -0
- package/build/esm/components/BackgroundMedia/BackgroundMedia.css +50 -0
- package/build/esm/components/BackgroundMedia/BackgroundMedia.d.ts +7 -0
- package/build/esm/components/BackgroundMedia/BackgroundMedia.js +16 -0
- package/build/esm/components/BalancedMasonry/BalancedMasonry.css +10 -0
- package/build/esm/components/BalancedMasonry/BalancedMasonry.d.ts +13 -0
- package/build/esm/components/BalancedMasonry/BalancedMasonry.js +82 -0
- package/build/esm/components/BlockBase/BlockBase.css +30 -0
- package/build/esm/components/BlockBase/BlockBase.d.ts +4 -0
- package/build/esm/components/BlockBase/BlockBase.js +13 -0
- package/build/esm/components/BlockHeader/BlockHeader.css +27 -0
- package/build/esm/components/BlockHeader/BlockHeader.d.ts +8 -0
- package/build/esm/components/BlockHeader/BlockHeader.js +20 -0
- package/build/esm/components/Button/Button.css +42 -0
- package/build/esm/components/Button/Button.d.ts +9 -0
- package/build/esm/components/Button/Button.js +48 -0
- package/build/esm/components/Button/utils.d.ts +5 -0
- package/build/esm/components/Button/utils.js +28 -0
- package/build/esm/components/CardBase/CardBase.css +93 -0
- package/build/esm/components/CardBase/CardBase.d.ts +29 -0
- package/build/esm/components/CardBase/CardBase.js +53 -0
- package/build/esm/components/CardBase/schema.d.ts +70 -0
- package/build/esm/components/CardBase/schema.js +50 -0
- package/build/esm/components/Control/Control.css +80 -0
- package/build/esm/components/Control/Control.d.ts +14 -0
- package/build/esm/components/Control/Control.js +11 -0
- package/build/esm/components/ErrorWrapper/ErrorWrapper.css +11 -0
- package/build/esm/components/ErrorWrapper/ErrorWrapper.d.ts +12 -0
- package/build/esm/components/ErrorWrapper/ErrorWrapper.js +9 -0
- package/build/esm/components/FileLink/FileLink.css +87 -0
- package/build/esm/components/FileLink/FileLink.d.ts +13 -0
- package/build/esm/components/FileLink/FileLink.js +32 -0
- package/build/esm/components/Foldable/Foldable.css +7 -0
- package/build/esm/components/Foldable/Foldable.d.ts +8 -0
- package/build/esm/components/Foldable/Foldable.js +21 -0
- package/build/esm/components/FullWidthBackground/FullWidthBackground.css +13 -0
- package/build/esm/components/FullWidthBackground/FullWidthBackground.d.ts +14 -0
- package/build/esm/components/FullWidthBackground/FullWidthBackground.js +41 -0
- package/build/esm/components/FullscreenImage/FullScreenImage.css +60 -0
- package/build/esm/components/FullscreenImage/FullscreenImage.d.ts +10 -0
- package/build/esm/components/FullscreenImage/FullscreenImage.js +26 -0
- package/build/esm/components/HTML/HTML.d.ts +14 -0
- package/build/esm/components/HTML/HTML.js +11 -0
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +42 -0
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.d.ts +4 -0
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +14 -0
- package/build/esm/components/HeightCalculator/HeightCalculator.css +9 -0
- package/build/esm/components/HeightCalculator/HeightCalculator.d.ts +7 -0
- package/build/esm/components/HeightCalculator/HeightCalculator.js +38 -0
- package/build/esm/components/Image/Image.d.ts +11 -0
- package/build/esm/components/Image/Image.js +20 -0
- package/build/esm/components/Link/Link.css +54 -0
- package/build/esm/components/Link/Link.d.ts +5 -0
- package/build/esm/components/Link/Link.js +53 -0
- package/build/esm/components/Link/Links.d.ts +6 -0
- package/build/esm/components/Link/Links.js +10 -0
- package/build/esm/components/Media/DataLens/DataLens.css +20 -0
- package/build/esm/components/Media/DataLens/DataLens.d.ts +4 -0
- package/build/esm/components/Media/DataLens/DataLens.js +12 -0
- package/build/esm/components/Media/DataLens/utils.d.ts +2 -0
- package/build/esm/components/Media/DataLens/utils.js +3 -0
- package/build/esm/components/Media/Image/Image.css +10 -0
- package/build/esm/components/Media/Image/Image.d.ts +12 -0
- package/build/esm/components/Media/Image/Image.js +53 -0
- package/build/esm/components/Media/Image/utils.d.ts +2 -0
- package/build/esm/components/Media/Image/utils.js +3 -0
- package/build/esm/components/Media/Media.css +11 -0
- package/build/esm/components/Media/Media.d.ts +10 -0
- package/build/esm/components/Media/Media.js +48 -0
- package/build/esm/components/Media/Video/Video.css +17 -0
- package/build/esm/components/Media/Video/Video.d.ts +16 -0
- package/build/esm/components/Media/Video/Video.js +56 -0
- package/build/esm/components/Media/Video/utils.d.ts +16 -0
- package/build/esm/components/Media/Video/utils.js +44 -0
- package/build/esm/components/OutsideClick/OutsideClick.d.ts +13 -0
- package/build/esm/components/OutsideClick/OutsideClick.js +26 -0
- package/build/esm/components/OverflowScroller/OverflowScroller.css +26 -0
- package/build/esm/components/OverflowScroller/OverflowScroller.d.ts +27 -0
- package/build/esm/components/OverflowScroller/OverflowScroller.js +79 -0
- package/build/esm/components/ReactPlayer/CircleProgress.css +3 -0
- package/build/esm/components/ReactPlayer/CircleProgress.d.ts +11 -0
- package/build/esm/components/ReactPlayer/CircleProgress.js +18 -0
- package/build/esm/components/ReactPlayer/CustomBarControls.css +35 -0
- package/build/esm/components/ReactPlayer/CustomBarControls.d.ts +13 -0
- package/build/esm/components/ReactPlayer/CustomBarControls.js +19 -0
- package/build/esm/components/ReactPlayer/ReactPlayer.css +66 -0
- package/build/esm/components/ReactPlayer/ReactPlayer.d.ts +14 -0
- package/build/esm/components/ReactPlayer/ReactPlayer.js +193 -0
- package/build/esm/components/RouterLink/RouterLink.d.ts +6 -0
- package/build/esm/components/RouterLink/RouterLink.js +7 -0
- package/build/esm/components/Share/Share.css +52 -0
- package/build/esm/components/Share/Share.d.ts +8 -0
- package/build/esm/components/Share/Share.js +22 -0
- package/build/esm/components/Share/i18n/en.json +3 -0
- package/build/esm/components/Share/i18n/index.d.ts +2 -0
- package/build/esm/components/Share/i18n/index.js +5 -0
- package/build/esm/components/Share/i18n/ru.json +3 -0
- package/build/esm/components/Table/Table.css +82 -0
- package/build/esm/components/Table/Table.d.ts +10 -0
- package/build/esm/components/Table/Table.js +31 -0
- package/build/esm/components/Title/Title.css +96 -0
- package/build/esm/components/Title/Title.d.ts +11 -0
- package/build/esm/components/Title/Title.js +51 -0
- package/build/esm/components/ToggleArrow/ToggleArrow.css +23 -0
- package/build/esm/components/ToggleArrow/ToggleArrow.d.ts +12 -0
- package/build/esm/components/ToggleArrow/ToggleArrow.js +8 -0
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.css +19 -0
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.d.ts +9 -0
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.js +7 -0
- package/build/esm/components/UnpublishedLabel/i18n/en.json +3 -0
- package/build/esm/components/UnpublishedLabel/i18n/index.d.ts +2 -0
- package/build/esm/components/UnpublishedLabel/i18n/index.js +5 -0
- package/build/esm/components/UnpublishedLabel/i18n/ru.json +3 -0
- package/build/esm/components/VideoBlock/VideoBlock.css +44 -0
- package/build/esm/components/VideoBlock/VideoBlock.d.ts +17 -0
- package/build/esm/components/VideoBlock/VideoBlock.js +94 -0
- package/build/esm/components/YFMWrapper/YFMWrapper.d.ts +8 -0
- package/build/esm/components/YFMWrapper/YFMWrapper.js +9 -0
- package/build/esm/components/YandexForm/YandexForm.d.ts +19 -0
- package/build/esm/components/YandexForm/YandexForm.js +99 -0
- package/build/esm/components/constants.d.ts +6 -0
- package/build/esm/components/constants.js +6 -0
- package/build/esm/components/index.d.ts +36 -0
- package/build/esm/components/index.js +35 -0
- package/build/esm/constants.d.ts +7 -0
- package/build/esm/constants.js +7 -0
- package/build/esm/constructor-items.d.ts +52 -0
- package/build/esm/constructor-items.js +49 -0
- package/build/esm/containers/Loadable/Loadable.css +4 -0
- package/build/esm/containers/Loadable/Loadable.d.ts +17 -0
- package/build/esm/containers/Loadable/Loadable.js +44 -0
- package/build/esm/containers/Loadable/i18n/en.json +4 -0
- package/build/esm/containers/Loadable/i18n/index.d.ts +2 -0
- package/build/esm/containers/Loadable/i18n/index.js +5 -0
- package/build/esm/containers/Loadable/i18n/ru.json +4 -0
- package/build/esm/containers/PageConstructor/PageConstructor.css +139 -0
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +13 -0
- package/build/esm/containers/PageConstructor/PageConstructor.js +52 -0
- package/build/esm/containers/PageConstructor/Provider.d.ts +17 -0
- package/build/esm/containers/PageConstructor/Provider.js +24 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +9 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +8 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/index.js +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +7 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +37 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/index.js +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.css +12 -0
- package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.d.ts +4 -0
- package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +10 -0
- package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorFootnotes/index.js +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +6 -0
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +10 -0
- package/build/esm/containers/PageConstructor/components/ConstructorItem/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorItem/index.js +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.d.ts +7 -0
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +11 -0
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/index.js +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.css +8 -0
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.d.ts +3 -0
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +7 -0
- package/build/esm/containers/PageConstructor/components/ConstructorRow/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/components/ConstructorRow/index.js +1 -0
- package/build/esm/containers/PageConstructor/index.d.ts +4 -0
- package/build/esm/containers/PageConstructor/index.js +2 -0
- package/build/esm/context/animateContext/AnimateContext.d.ts +5 -0
- package/build/esm/context/animateContext/AnimateContext.js +2 -0
- package/build/esm/context/animateContext/index.d.ts +1 -0
- package/build/esm/context/animateContext/index.js +1 -0
- package/build/esm/context/breakpointContext/breakpointContext.d.ts +2 -0
- package/build/esm/context/breakpointContext/breakpointContext.js +3 -0
- package/build/esm/context/breakpointContext/index.d.ts +1 -0
- package/build/esm/context/breakpointContext/index.js +1 -0
- package/build/esm/context/innerContext/InnerContext.d.ts +9 -0
- package/build/esm/context/innerContext/InnerContext.js +5 -0
- package/build/esm/context/innerContext/index.d.ts +1 -0
- package/build/esm/context/innerContext/index.js +1 -0
- package/build/esm/context/localeContext/index.d.ts +1 -0
- package/build/esm/context/localeContext/index.js +1 -0
- package/build/esm/context/localeContext/localeContext.d.ts +7 -0
- package/build/esm/context/localeContext/localeContext.js +3 -0
- package/build/esm/context/locationContext/index.d.ts +1 -0
- package/build/esm/context/locationContext/index.js +1 -0
- package/build/esm/context/locationContext/locationContext.d.ts +20 -0
- package/build/esm/context/locationContext/locationContext.js +2 -0
- package/build/esm/context/metrikaContext/index.d.ts +1 -0
- package/build/esm/context/metrikaContext/index.js +1 -0
- package/build/esm/context/metrikaContext/metrikaContext.d.ts +7 -0
- package/build/esm/context/metrikaContext/metrikaContext.js +2 -0
- package/build/esm/context/mobileContext/MobileContext.d.ts +2 -0
- package/build/esm/context/mobileContext/MobileContext.js +2 -0
- package/build/esm/context/mobileContext/index.d.ts +1 -0
- package/build/esm/context/mobileContext/index.js +1 -0
- package/build/esm/context/projectSettingsContext/ProjectSettingsContext.d.ts +5 -0
- package/build/esm/context/projectSettingsContext/ProjectSettingsContext.js +2 -0
- package/build/esm/context/projectSettingsContext/index.d.ts +1 -0
- package/build/esm/context/projectSettingsContext/index.js +1 -0
- package/build/esm/context/ssrContext/SSRContext.d.ts +5 -0
- package/build/esm/context/ssrContext/SSRContext.js +2 -0
- package/build/esm/context/ssrContext/index.d.ts +1 -0
- package/build/esm/context/ssrContext/index.js +1 -0
- package/build/esm/context/stylesContext/StylesContext.d.ts +6 -0
- package/build/esm/context/stylesContext/StylesContext.js +2 -0
- package/build/esm/context/stylesContext/index.d.ts +1 -0
- package/build/esm/context/stylesContext/index.js +1 -0
- package/build/esm/context/theme/ThemeContext.d.ts +8 -0
- package/build/esm/context/theme/ThemeContext.js +7 -0
- package/build/esm/context/theme/ThemeProvider.d.ts +22 -0
- package/build/esm/context/theme/ThemeProvider.js +44 -0
- package/build/esm/context/theme/ThemeValueContext.d.ts +7 -0
- package/build/esm/context/theme/ThemeValueContext.js +5 -0
- package/build/esm/context/theme/index.d.ts +4 -0
- package/build/esm/context/theme/index.js +4 -0
- package/build/esm/context/theme/useTheme.d.ts +2 -0
- package/build/esm/context/theme/useTheme.js +6 -0
- package/build/esm/context/theme/useThemeValue.d.ts +2 -0
- package/build/esm/context/theme/useThemeValue.js +6 -0
- package/build/esm/context/theme/withTheme.d.ts +6 -0
- package/build/esm/context/theme/withTheme.js +14 -0
- package/build/esm/context/videoContext/VideoContext.d.ts +6 -0
- package/build/esm/context/videoContext/VideoContext.js +2 -0
- package/build/esm/context/videoContext/index.d.ts +1 -0
- package/build/esm/context/videoContext/index.js +1 -0
- package/build/esm/grid/Break/Break.d.ts +2 -0
- package/build/esm/grid/Break/Break.js +2 -0
- package/build/esm/grid/Col/Col.d.ts +10 -0
- package/build/esm/grid/Col/Col.js +8 -0
- package/build/esm/grid/Grid/Grid.css +87 -0
- package/build/esm/grid/Grid/Grid.d.ts +11 -0
- package/build/esm/grid/Grid/Grid.js +7 -0
- package/build/esm/grid/Row/Row.d.ts +12 -0
- package/build/esm/grid/Row/Row.js +11 -0
- package/build/esm/grid/index.d.ts +6 -0
- package/build/esm/grid/index.js +6 -0
- package/build/esm/grid/styles/bootstrap.css +1627 -0
- package/build/esm/grid/types.d.ts +50 -0
- package/build/esm/grid/types.js +44 -0
- package/build/esm/grid/utils.d.ts +9 -0
- package/build/esm/grid/utils.js +53 -0
- package/build/esm/hooks/hubspot.d.ts +16 -0
- package/build/esm/hooks/hubspot.js +33 -0
- package/build/esm/hooks/index.d.ts +5 -0
- package/build/esm/hooks/index.js +5 -0
- package/build/esm/hooks/useFocus.d.ts +5 -0
- package/build/esm/hooks/useFocus.js +35 -0
- package/build/esm/hooks/useIntersection.d.ts +1 -0
- package/build/esm/hooks/useIntersection.js +17 -0
- package/build/esm/hooks/useMetrika.d.ts +7 -0
- package/build/esm/hooks/useMetrika.js +37 -0
- package/build/esm/hooks/useMount.d.ts +3 -0
- package/build/esm/hooks/useMount.js +5 -0
- package/build/esm/hooks/useWindowBreakpoint.d.ts +1 -0
- package/build/esm/hooks/useWindowBreakpoint.js +29 -0
- package/build/esm/i18n.d.ts +2 -0
- package/build/esm/i18n.js +9 -0
- package/build/esm/icons/ArrowConstructor.d.ts +2 -0
- package/build/esm/icons/ArrowConstructor.js +4 -0
- package/build/esm/icons/ArrowSidebar.d.ts +2 -0
- package/build/esm/icons/ArrowSidebar.js +4 -0
- package/build/esm/icons/Chevron.d.ts +2 -0
- package/build/esm/icons/Chevron.js +4 -0
- package/build/esm/icons/FullScreen.d.ts +2 -0
- package/build/esm/icons/FullScreen.js +4 -0
- package/build/esm/icons/Github.d.ts +2 -0
- package/build/esm/icons/Github.js +4 -0
- package/build/esm/icons/NavigationChevron.d.ts +2 -0
- package/build/esm/icons/NavigationChevron.js +4 -0
- package/build/esm/icons/PlayVideo.d.ts +2 -0
- package/build/esm/icons/PlayVideo.js +4 -0
- package/build/esm/icons/PreviewClose.d.ts +2 -0
- package/build/esm/icons/PreviewClose.js +4 -0
- package/build/esm/icons/index.d.ts +8 -0
- package/build/esm/icons/index.js +8 -0
- package/build/esm/index.d.ts +12 -0
- package/build/esm/index.js +13 -0
- package/build/esm/internal-typings/global.d.ts +30 -0
- package/build/esm/models/common.d.ts +52 -0
- package/build/esm/models/common.js +26 -0
- package/build/esm/models/components.d.ts +10 -0
- package/build/esm/models/components.js +7 -0
- package/build/esm/models/constructor-items/blocks.d.ts +339 -0
- package/build/esm/models/constructor-items/blocks.js +38 -0
- package/build/esm/models/constructor-items/common.d.ts +338 -0
- package/build/esm/models/constructor-items/common.js +44 -0
- package/build/esm/models/constructor-items/index.d.ts +6 -0
- package/build/esm/models/constructor-items/index.js +3 -0
- package/build/esm/models/constructor-items/sub-blocks.d.ts +165 -0
- package/build/esm/models/constructor-items/sub-blocks.js +27 -0
- package/build/esm/models/constructor.d.ts +45 -0
- package/build/esm/models/constructor.js +1 -0
- package/build/esm/models/guards.d.ts +5 -0
- package/build/esm/models/guards.js +10 -0
- package/build/esm/models/index.d.ts +6 -0
- package/build/esm/models/index.js +6 -0
- package/build/esm/models/react.d.ts +4 -0
- package/build/esm/models/react.js +1 -0
- package/build/esm/schema/index.d.ts +164 -0
- package/build/esm/schema/index.js +96 -0
- package/build/esm/schema/validators/blocks.d.ts +19 -0
- package/build/esm/schema/validators/blocks.js +19 -0
- package/build/esm/schema/validators/common.d.ts +879 -0
- package/build/esm/schema/validators/common.js +456 -0
- package/build/esm/schema/validators/index.d.ts +12 -0
- package/build/esm/schema/validators/index.js +12 -0
- package/build/esm/schema/validators/pixel.d.ts +57 -0
- package/build/esm/schema/validators/pixel.js +60 -0
- package/build/esm/schema/validators/sub-blocks.d.ts +15 -0
- package/build/esm/schema/validators/sub-blocks.js +15 -0
- package/build/esm/schema/validators/utils.d.ts +22 -0
- package/build/esm/schema/validators/utils.js +7 -0
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.css +46 -0
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.d.ts +4 -0
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +19 -0
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +104 -0
- package/build/esm/sub-blocks/BackgroundCard/schema.js +19 -0
- package/build/esm/sub-blocks/BannerCard/BannerCard.css +90 -0
- package/build/esm/sub-blocks/BannerCard/BannerCard.d.ts +4 -0
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +24 -0
- package/build/esm/sub-blocks/BasicCard/BasicCard.css +13 -0
- package/build/esm/sub-blocks/BasicCard/BasicCard.d.ts +4 -0
- package/build/esm/sub-blocks/BasicCard/BasicCard.js +17 -0
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +82 -0
- package/build/esm/sub-blocks/BasicCard/schema.js +14 -0
- package/build/esm/sub-blocks/CardWithImage/CardWithImage.css +19 -0
- package/build/esm/sub-blocks/CardWithImage/CardWithImage.d.ts +4 -0
- package/build/esm/sub-blocks/CardWithImage/CardWithImage.js +14 -0
- package/build/esm/sub-blocks/CardWithImage/schema.d.ts +146 -0
- package/build/esm/sub-blocks/CardWithImage/schema.js +42 -0
- package/build/esm/sub-blocks/Content/Content.css +133 -0
- package/build/esm/sub-blocks/Content/Content.d.ts +4 -0
- package/build/esm/sub-blocks/Content/Content.js +51 -0
- package/build/esm/sub-blocks/Content/schema.d.ts +133 -0
- package/build/esm/sub-blocks/Content/schema.js +31 -0
- package/build/esm/sub-blocks/Divider/Divider.css +27 -0
- package/build/esm/sub-blocks/Divider/Divider.d.ts +4 -0
- package/build/esm/sub-blocks/Divider/Divider.js +6 -0
- package/build/esm/sub-blocks/Divider/schema.d.ts +15 -0
- package/build/esm/sub-blocks/Divider/schema.js +9 -0
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +343 -0
- package/build/esm/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +5 -0
- package/build/esm/sub-blocks/HubspotForm/HubspotFormContainer.js +28 -0
- package/build/esm/sub-blocks/HubspotForm/index.d.ts +5 -0
- package/build/esm/sub-blocks/HubspotForm/index.js +31 -0
- package/build/esm/sub-blocks/HubspotForm/loadHubspotScript.d.ts +2 -0
- package/build/esm/sub-blocks/HubspotForm/loadHubspotScript.js +23 -0
- package/build/esm/sub-blocks/MediaCard/MediaCard.css +5 -0
- package/build/esm/sub-blocks/MediaCard/MediaCard.d.ts +4 -0
- package/build/esm/sub-blocks/MediaCard/MediaCard.js +13 -0
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +140 -0
- package/build/esm/sub-blocks/MediaCard/schema.js +8 -0
- package/build/esm/sub-blocks/NewsCard/NewsCard.css +18 -0
- package/build/esm/sub-blocks/NewsCard/NewsCard.d.ts +4 -0
- package/build/esm/sub-blocks/NewsCard/NewsCard.js +14 -0
- package/build/esm/sub-blocks/NewsCard/schema.d.ts +22 -0
- package/build/esm/sub-blocks/NewsCard/schema.js +16 -0
- package/build/esm/sub-blocks/Partner/Partner.css +8 -0
- package/build/esm/sub-blocks/Partner/Partner.d.ts +4 -0
- package/build/esm/sub-blocks/Partner/Partner.js +13 -0
- package/build/esm/sub-blocks/Partner/schema.d.ts +29 -0
- package/build/esm/sub-blocks/Partner/schema.js +12 -0
- package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +35 -0
- package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.d.ts +13 -0
- package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +58 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +62 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.d.ts +11 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +52 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.d.ts +3 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js +19 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/List.css +11 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/List.d.ts +8 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/List.js +13 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +20 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.d.ts +9 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.js +13 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +43 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.d.ts +12 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.js +54 -0
- package/build/esm/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.css +9 -0
- package/build/esm/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.d.ts +11 -0
- package/build/esm/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +13 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +92 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.js +144 -0
- package/build/esm/sub-blocks/Quote/Quote.css +146 -0
- package/build/esm/sub-blocks/Quote/Quote.d.ts +4 -0
- package/build/esm/sub-blocks/Quote/Quote.js +28 -0
- package/build/esm/sub-blocks/Quote/schema.d.ts +67 -0
- package/build/esm/sub-blocks/Quote/schema.js +18 -0
- package/build/esm/sub-blocks/TutorialCard/TutorialCard.css +20 -0
- package/build/esm/sub-blocks/TutorialCard/TutorialCard.d.ts +4 -0
- package/build/esm/sub-blocks/TutorialCard/TutorialCard.js +21 -0
- package/build/esm/sub-blocks/TutorialCard/schema.d.ts +32 -0
- package/build/esm/sub-blocks/TutorialCard/schema.js +14 -0
- package/build/esm/sub-blocks/index.d.ts +13 -0
- package/build/esm/sub-blocks/index.js +13 -0
- package/build/esm/text-transform/blocks.d.ts +16 -0
- package/build/esm/text-transform/blocks.js +344 -0
- package/build/esm/text-transform/index.d.ts +2 -0
- package/build/esm/text-transform/index.js +2 -0
- package/build/esm/text-transform/utils.d.ts +30 -0
- package/build/esm/text-transform/utils.js +105 -0
- package/build/esm/utils/blocks.d.ts +9 -0
- package/build/esm/utils/blocks.js +23 -0
- package/build/esm/utils/cn.d.ts +4 -0
- package/build/esm/utils/cn.js +5 -0
- package/build/esm/utils/configure.d.ts +12 -0
- package/build/esm/utils/configure.js +20 -0
- package/build/esm/utils/hubspot.d.ts +16 -0
- package/build/esm/utils/hubspot.js +52 -0
- package/build/esm/utils/index.d.ts +9 -0
- package/build/esm/utils/index.js +8 -0
- package/build/esm/utils/registerKeyset.d.ts +5 -0
- package/build/esm/utils/registerKeyset.js +5 -0
- package/build/esm/utils/scroll.d.ts +15 -0
- package/build/esm/utils/scroll.js +30 -0
- package/build/esm/utils/svg.d.ts +3 -0
- package/build/esm/utils/svg.js +4 -0
- package/build/esm/utils/theme.d.ts +7 -0
- package/build/esm/utils/theme.js +12 -0
- package/build/esm/utils/url.d.ts +13 -0
- package/build/esm/utils/url.js +39 -0
- package/package.json +129 -0
- package/server/components/constants.d.ts +6 -0
- package/server/components/constants.js +9 -0
- package/server/grid/types.d.ts +50 -0
- package/server/grid/types.js +47 -0
- package/server/index.d.ts +1 -0
- package/server/index.js +13 -0
- package/server/models/common.d.ts +52 -0
- package/server/models/common.js +29 -0
- package/server/models/components.d.ts +10 -0
- package/server/models/components.js +10 -0
- package/server/models/constructor-items/blocks.d.ts +339 -0
- package/server/models/constructor-items/blocks.js +41 -0
- package/server/models/constructor-items/common.d.ts +338 -0
- package/server/models/constructor-items/common.js +47 -0
- package/server/models/constructor-items/index.d.ts +6 -0
- package/server/models/constructor-items/index.js +15 -0
- package/server/models/constructor-items/sub-blocks.d.ts +165 -0
- package/server/models/constructor-items/sub-blocks.js +30 -0
- package/server/models/constructor.d.ts +45 -0
- package/server/models/constructor.js +2 -0
- package/server/models/guards.d.ts +5 -0
- package/server/models/guards.js +16 -0
- package/server/models/index.d.ts +6 -0
- package/server/models/index.js +18 -0
- package/server/models/react.d.ts +4 -0
- package/server/models/react.js +2 -0
- package/server/text-transform/blocks.d.ts +16 -0
- package/server/text-transform/blocks.js +365 -0
- package/server/text-transform/index.d.ts +2 -0
- package/server/text-transform/index.js +14 -0
- package/server/text-transform/utils.d.ts +30 -0
- package/server/text-transform/utils.js +128 -0
- package/server/utils/blocks.d.ts +9 -0
- package/server/utils/blocks.js +31 -0
- package/server/utils/cn.d.ts +4 -0
- package/server/utils/cn.js +12 -0
- package/server/utils/configure.d.ts +12 -0
- package/server/utils/configure.js +26 -0
- package/server/utils/hubspot.d.ts +16 -0
- package/server/utils/hubspot.js +58 -0
- package/server/utils/index.d.ts +9 -0
- package/server/utils/index.js +24 -0
- package/server/utils/scroll.d.ts +15 -0
- package/server/utils/scroll.js +34 -0
- package/server/utils/theme.d.ts +7 -0
- package/server/utils/theme.js +17 -0
- package/server/utils/url.d.ts +13 -0
- package/server/utils/url.js +48 -0
- package/styles/fonts.scss +223 -0
- package/styles/mixins.scss +444 -0
- package/styles/root.scss +25 -0
- package/styles/storybook/common.scss +35 -0
- package/styles/storybook/index.scss +21 -0
- package/styles/storybook/palette.scss +75 -0
- package/styles/storybook/typography.scss +139 -0
- package/styles/styles.css +301 -0
- package/styles/styles.scss +5 -0
- package/styles/variables.scss +61 -0
- package/styles/yfm.scss +119 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TabsBlock = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
6
|
+
const uikit_1 = require("@gravity-ui/uikit");
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
|
+
const grid_1 = require("../../grid");
|
|
9
|
+
const YFMWrapper_1 = (0, tslib_1.__importDefault)(require("../../components/YFMWrapper/YFMWrapper"));
|
|
10
|
+
const AnimateBlock_1 = (0, tslib_1.__importDefault)(require("../../components/AnimateBlock/AnimateBlock"));
|
|
11
|
+
const BlockHeader_1 = (0, tslib_1.__importDefault)(require("../../components/BlockHeader/BlockHeader"));
|
|
12
|
+
const FullscreenImage_1 = (0, tslib_1.__importDefault)(require("../../components/FullscreenImage/FullscreenImage"));
|
|
13
|
+
const Media_1 = (0, tslib_1.__importDefault)(require("../../components/Media/Media"));
|
|
14
|
+
const Links_1 = (0, tslib_1.__importDefault)(require("../../components/Link/Links"));
|
|
15
|
+
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
16
|
+
const b = (0, utils_1.block)('TabsBlock');
|
|
17
|
+
const TabsBlock = ({ items, title, description, animated }) => {
|
|
18
|
+
const [activeTab, setActiveTab] = (0, react_1.useState)(items[0].tabName);
|
|
19
|
+
const [play, setPlay] = (0, react_1.useState)(false);
|
|
20
|
+
const { themeValue: theme } = (0, react_1.useContext)(ThemeValueContext_1.ThemeValueContext);
|
|
21
|
+
const tabs = items.map(({ tabName }) => ({ title: tabName, id: tabName }));
|
|
22
|
+
const activeTabData = items.find(({ tabName }) => tabName === activeTab);
|
|
23
|
+
let imageProps;
|
|
24
|
+
if (activeTabData) {
|
|
25
|
+
const themedImage = (0, utils_1.getThemedValue)(activeTabData.image, theme);
|
|
26
|
+
imageProps = typeof themedImage === 'string' ? { src: themedImage } : themedImage;
|
|
27
|
+
}
|
|
28
|
+
const showMedia = Boolean((activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) || imageProps);
|
|
29
|
+
return (react_1.default.createElement(AnimateBlock_1.default, { className: b(), onScroll: () => setPlay(true), animate: animated },
|
|
30
|
+
react_1.default.createElement(BlockHeader_1.default, { title: title, description: description, className: b('block-title') }),
|
|
31
|
+
react_1.default.createElement(uikit_1.Tabs, { className: b('tabs'), items: tabs, activeTab: activeTab, onSelectTab: setActiveTab, size: "l" }),
|
|
32
|
+
activeTabData && (react_1.default.createElement(grid_1.Row, null,
|
|
33
|
+
showMedia && (react_1.default.createElement(grid_1.Col, { sizes: { all: 12, md: 8 }, orders: {
|
|
34
|
+
all: grid_1.GridColumnOrderClasses.Last,
|
|
35
|
+
md: grid_1.GridColumnOrderClasses.First,
|
|
36
|
+
} },
|
|
37
|
+
(activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) && (react_1.default.createElement(Media_1.default, Object.assign({}, (0, utils_1.getThemedValue)(activeTabData.media, theme), { key: activeTab, className: b('media'), playVideo: play }))),
|
|
38
|
+
imageProps && (react_1.default.createElement(react_1.Fragment, null,
|
|
39
|
+
react_1.default.createElement(FullscreenImage_1.default, { imageClassName: b('image'), src: (imageProps && imageProps.src) || 'default_image', alt: imageProps && imageProps.alt, disableCompress: imageProps === null || imageProps === void 0 ? void 0 : imageProps.disableCompress }),
|
|
40
|
+
activeTabData && (react_1.default.createElement("p", { className: b('caption') }, activeTabData.caption)))))),
|
|
41
|
+
react_1.default.createElement(grid_1.Col, { sizes: { all: 12, md: showMedia ? 4 : 8 }, className: b('content') },
|
|
42
|
+
react_1.default.createElement("div", { className: b('content-wrapper', {
|
|
43
|
+
margin: Boolean((activeTabData === null || activeTabData === void 0 ? void 0 : activeTabData.media) || imageProps),
|
|
44
|
+
}) },
|
|
45
|
+
react_1.default.createElement("h4", { className: b('content-title') },
|
|
46
|
+
react_1.default.createElement(YFMWrapper_1.default, { content: activeTabData.title, modifiers: { constructor: true } })),
|
|
47
|
+
react_1.default.createElement(YFMWrapper_1.default, { content: activeTabData.text, modifiers: { constructor: true } }),
|
|
48
|
+
react_1.default.createElement(Links_1.default, { links: [
|
|
49
|
+
...(activeTabData.link ? [activeTabData.link] : []),
|
|
50
|
+
...(activeTabData.links || []),
|
|
51
|
+
], className: b('link') })))))));
|
|
52
|
+
};
|
|
53
|
+
exports.TabsBlock = TabsBlock;
|
|
54
|
+
exports.default = exports.TabsBlock;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
export declare const tabsItem: {
|
|
2
|
+
type: string;
|
|
3
|
+
additionalProperties: boolean;
|
|
4
|
+
required: string[];
|
|
5
|
+
properties: {
|
|
6
|
+
tabName: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
caption: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
media: {
|
|
19
|
+
oneOf: ({
|
|
20
|
+
type: string;
|
|
21
|
+
properties: {
|
|
22
|
+
color: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
image: {
|
|
26
|
+
anyOf: ({
|
|
27
|
+
oneOf: ({
|
|
28
|
+
type: string;
|
|
29
|
+
properties: {
|
|
30
|
+
when: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
pattern: string;
|
|
37
|
+
})[];
|
|
38
|
+
} | {
|
|
39
|
+
type: string;
|
|
40
|
+
items: {
|
|
41
|
+
oneOf: ({
|
|
42
|
+
type: string;
|
|
43
|
+
properties: {
|
|
44
|
+
when: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
} | {
|
|
49
|
+
type: string;
|
|
50
|
+
pattern: string;
|
|
51
|
+
})[];
|
|
52
|
+
};
|
|
53
|
+
})[];
|
|
54
|
+
};
|
|
55
|
+
video: {
|
|
56
|
+
type: string;
|
|
57
|
+
additionalProperties: boolean;
|
|
58
|
+
required: string[];
|
|
59
|
+
properties: {
|
|
60
|
+
src: {
|
|
61
|
+
type: string;
|
|
62
|
+
items: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
loop: {
|
|
67
|
+
anyOf: ({
|
|
68
|
+
type: string;
|
|
69
|
+
additionalProperties: boolean;
|
|
70
|
+
required: string[];
|
|
71
|
+
properties: {
|
|
72
|
+
start: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
end: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
} | {
|
|
80
|
+
type: string;
|
|
81
|
+
})[];
|
|
82
|
+
};
|
|
83
|
+
type: {
|
|
84
|
+
type: string;
|
|
85
|
+
enum: string[];
|
|
86
|
+
};
|
|
87
|
+
muted: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
playing: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
elapsedTime: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
playIcon: {
|
|
97
|
+
type: string;
|
|
98
|
+
additionalProperties: boolean;
|
|
99
|
+
properties: {
|
|
100
|
+
type: {
|
|
101
|
+
type: string;
|
|
102
|
+
enum: string[];
|
|
103
|
+
};
|
|
104
|
+
theme: {
|
|
105
|
+
type: string;
|
|
106
|
+
enum: string[];
|
|
107
|
+
};
|
|
108
|
+
text: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
controls: {
|
|
114
|
+
type: string;
|
|
115
|
+
enum: string[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
youtube: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
parallax: {
|
|
123
|
+
type: string;
|
|
124
|
+
};
|
|
125
|
+
height: {
|
|
126
|
+
type: string;
|
|
127
|
+
};
|
|
128
|
+
previewImg: {
|
|
129
|
+
type: string;
|
|
130
|
+
};
|
|
131
|
+
dataLens: {
|
|
132
|
+
oneOf: ({
|
|
133
|
+
type: string;
|
|
134
|
+
additionalProperties: boolean;
|
|
135
|
+
required: string[];
|
|
136
|
+
properties: {
|
|
137
|
+
id: {
|
|
138
|
+
type: string;
|
|
139
|
+
};
|
|
140
|
+
theme: {
|
|
141
|
+
type: string;
|
|
142
|
+
enum: string[];
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
type: string;
|
|
147
|
+
})[];
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
} | {
|
|
151
|
+
type: string;
|
|
152
|
+
additionalProperties: boolean;
|
|
153
|
+
required: import("../..").Theme[];
|
|
154
|
+
properties: {};
|
|
155
|
+
})[];
|
|
156
|
+
};
|
|
157
|
+
link: {
|
|
158
|
+
type: string;
|
|
159
|
+
additionalProperties: boolean;
|
|
160
|
+
required: string[];
|
|
161
|
+
properties: {
|
|
162
|
+
text: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
url: {
|
|
166
|
+
type: string;
|
|
167
|
+
};
|
|
168
|
+
arrow: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
171
|
+
theme: {
|
|
172
|
+
type: string;
|
|
173
|
+
enum: string[];
|
|
174
|
+
};
|
|
175
|
+
textSize: {
|
|
176
|
+
type: string;
|
|
177
|
+
enum: string[];
|
|
178
|
+
};
|
|
179
|
+
target: {
|
|
180
|
+
type: string;
|
|
181
|
+
enum: string[];
|
|
182
|
+
};
|
|
183
|
+
type: {};
|
|
184
|
+
when: {};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
links: {
|
|
188
|
+
type: string;
|
|
189
|
+
items: {
|
|
190
|
+
type: string;
|
|
191
|
+
properties: {
|
|
192
|
+
when: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
image: {
|
|
199
|
+
oneOf: ({
|
|
200
|
+
oneOf: ({
|
|
201
|
+
type: string;
|
|
202
|
+
properties: {
|
|
203
|
+
when: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
} | {
|
|
208
|
+
type: string;
|
|
209
|
+
pattern: string;
|
|
210
|
+
})[];
|
|
211
|
+
} | {
|
|
212
|
+
type: string;
|
|
213
|
+
additionalProperties: boolean;
|
|
214
|
+
required: import("../..").Theme[];
|
|
215
|
+
properties: {};
|
|
216
|
+
})[];
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
export declare const TabsBlock: {
|
|
221
|
+
'tabs-block': {
|
|
222
|
+
additionalProperties: boolean;
|
|
223
|
+
required: string[];
|
|
224
|
+
properties: {
|
|
225
|
+
title: {
|
|
226
|
+
type: string;
|
|
227
|
+
additionalProperties: boolean;
|
|
228
|
+
required: string[];
|
|
229
|
+
properties: {
|
|
230
|
+
text: {
|
|
231
|
+
type: string;
|
|
232
|
+
};
|
|
233
|
+
textSize: {
|
|
234
|
+
type: string;
|
|
235
|
+
enum: string[];
|
|
236
|
+
};
|
|
237
|
+
url: {
|
|
238
|
+
type: string;
|
|
239
|
+
};
|
|
240
|
+
resetMargin: {
|
|
241
|
+
type: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
description: {
|
|
246
|
+
type: string;
|
|
247
|
+
};
|
|
248
|
+
items: {
|
|
249
|
+
type: string;
|
|
250
|
+
items: {
|
|
251
|
+
type: string;
|
|
252
|
+
properties: {
|
|
253
|
+
when: {
|
|
254
|
+
type: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
anchor: {
|
|
260
|
+
type: string;
|
|
261
|
+
additionalProperties: boolean;
|
|
262
|
+
required: string[];
|
|
263
|
+
properties: {
|
|
264
|
+
text: {
|
|
265
|
+
type: string;
|
|
266
|
+
};
|
|
267
|
+
url: {
|
|
268
|
+
type: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
visible: {
|
|
273
|
+
type: string;
|
|
274
|
+
enum: string[];
|
|
275
|
+
};
|
|
276
|
+
resetPaddings: {
|
|
277
|
+
type: string;
|
|
278
|
+
};
|
|
279
|
+
type: {};
|
|
280
|
+
when: {};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TabsBlock = exports.tabsItem = void 0;
|
|
4
|
+
const utils_1 = require("../../schema/validators/utils");
|
|
5
|
+
const common_1 = require("../../schema/validators/common");
|
|
6
|
+
exports.tabsItem = {
|
|
7
|
+
type: 'object',
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
required: ['tabName', 'text'],
|
|
10
|
+
properties: {
|
|
11
|
+
tabName: {
|
|
12
|
+
type: 'string',
|
|
13
|
+
},
|
|
14
|
+
title: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
},
|
|
17
|
+
text: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
},
|
|
20
|
+
caption: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
media: (0, common_1.withTheme)({
|
|
24
|
+
type: 'object',
|
|
25
|
+
properties: common_1.MediaProps,
|
|
26
|
+
}),
|
|
27
|
+
//TODO deprecated
|
|
28
|
+
link: common_1.LinkProps,
|
|
29
|
+
links: (0, utils_1.filteredArray)(common_1.LinkProps),
|
|
30
|
+
image: (0, common_1.withTheme)(common_1.ImageProps),
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
exports.TabsBlock = {
|
|
34
|
+
'tabs-block': {
|
|
35
|
+
additionalProperties: false,
|
|
36
|
+
required: ['title', 'items'],
|
|
37
|
+
properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { title: common_1.TitleProps, description: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
}, items: (0, utils_1.filteredArray)(exports.tabsItem) }),
|
|
40
|
+
},
|
|
41
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as BannerBlock } from './Banner/Banner';
|
|
2
|
+
export { default as CompaniesBlock } from './Companies/Companies';
|
|
3
|
+
export { default as SimpleBlock } from './Simple/Simple';
|
|
4
|
+
export { default as InfoBlock } from './Info/Info';
|
|
5
|
+
export { default as MediaBlock } from './Media/Media';
|
|
6
|
+
export { default as PreviewBlock } from './Preview/Preview';
|
|
7
|
+
export { default as SecurityBlock } from './Security/Security';
|
|
8
|
+
export { default as SliderBlock } from './Slider/Slider';
|
|
9
|
+
export { default as ExtendedFeaturesBlock } from './ExtendedFeatures/ExtendedFeatures';
|
|
10
|
+
export { default as PromoFeaturesBlock } from './PromoFeaturesBlock/PromoFeaturesBlock';
|
|
11
|
+
export { default as QuestionsBlock } from './Questions/Questions';
|
|
12
|
+
export { default as TableBlock } from './Table/Table';
|
|
13
|
+
export { default as TabsBlock } from './Tabs/Tabs';
|
|
14
|
+
export { default as LinkTableBlock } from './LinkTable/LinkTable';
|
|
15
|
+
export { default as HeaderBlock } from './Header/Header';
|
|
16
|
+
export { default as IconsBlock } from './Icons/Icons';
|
|
17
|
+
export { default as HeaderSliderBlock } from './HeaderSlider/HeaderSlider';
|
|
18
|
+
export { default as CardLayoutBlock } from './CardLayout/CardLayout';
|
|
19
|
+
export { default as ContentLayoutBlock } from './ContentLayout/ContentLayout';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderBlock = exports.LinkTableBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderBlock = exports.SecurityBlock = exports.PreviewBlock = exports.MediaBlock = exports.InfoBlock = exports.SimpleBlock = exports.CompaniesBlock = exports.BannerBlock = void 0;
|
|
7
|
+
var Banner_1 = require("./Banner/Banner");
|
|
8
|
+
Object.defineProperty(exports, "BannerBlock", { enumerable: true, get: function () { return __importDefault(Banner_1).default; } });
|
|
9
|
+
var Companies_1 = require("./Companies/Companies");
|
|
10
|
+
Object.defineProperty(exports, "CompaniesBlock", { enumerable: true, get: function () { return __importDefault(Companies_1).default; } });
|
|
11
|
+
var Simple_1 = require("./Simple/Simple");
|
|
12
|
+
Object.defineProperty(exports, "SimpleBlock", { enumerable: true, get: function () { return __importDefault(Simple_1).default; } });
|
|
13
|
+
var Info_1 = require("./Info/Info");
|
|
14
|
+
Object.defineProperty(exports, "InfoBlock", { enumerable: true, get: function () { return __importDefault(Info_1).default; } });
|
|
15
|
+
var Media_1 = require("./Media/Media");
|
|
16
|
+
Object.defineProperty(exports, "MediaBlock", { enumerable: true, get: function () { return __importDefault(Media_1).default; } });
|
|
17
|
+
var Preview_1 = require("./Preview/Preview");
|
|
18
|
+
Object.defineProperty(exports, "PreviewBlock", { enumerable: true, get: function () { return __importDefault(Preview_1).default; } });
|
|
19
|
+
var Security_1 = require("./Security/Security");
|
|
20
|
+
Object.defineProperty(exports, "SecurityBlock", { enumerable: true, get: function () { return __importDefault(Security_1).default; } });
|
|
21
|
+
var Slider_1 = require("./Slider/Slider");
|
|
22
|
+
Object.defineProperty(exports, "SliderBlock", { enumerable: true, get: function () { return __importDefault(Slider_1).default; } });
|
|
23
|
+
var ExtendedFeatures_1 = require("./ExtendedFeatures/ExtendedFeatures");
|
|
24
|
+
Object.defineProperty(exports, "ExtendedFeaturesBlock", { enumerable: true, get: function () { return __importDefault(ExtendedFeatures_1).default; } });
|
|
25
|
+
var PromoFeaturesBlock_1 = require("./PromoFeaturesBlock/PromoFeaturesBlock");
|
|
26
|
+
Object.defineProperty(exports, "PromoFeaturesBlock", { enumerable: true, get: function () { return __importDefault(PromoFeaturesBlock_1).default; } });
|
|
27
|
+
var Questions_1 = require("./Questions/Questions");
|
|
28
|
+
Object.defineProperty(exports, "QuestionsBlock", { enumerable: true, get: function () { return __importDefault(Questions_1).default; } });
|
|
29
|
+
var Table_1 = require("./Table/Table");
|
|
30
|
+
Object.defineProperty(exports, "TableBlock", { enumerable: true, get: function () { return __importDefault(Table_1).default; } });
|
|
31
|
+
var Tabs_1 = require("./Tabs/Tabs");
|
|
32
|
+
Object.defineProperty(exports, "TabsBlock", { enumerable: true, get: function () { return __importDefault(Tabs_1).default; } });
|
|
33
|
+
var LinkTable_1 = require("./LinkTable/LinkTable");
|
|
34
|
+
Object.defineProperty(exports, "LinkTableBlock", { enumerable: true, get: function () { return __importDefault(LinkTable_1).default; } });
|
|
35
|
+
var Header_1 = require("./Header/Header");
|
|
36
|
+
Object.defineProperty(exports, "HeaderBlock", { enumerable: true, get: function () { return __importDefault(Header_1).default; } });
|
|
37
|
+
var Icons_1 = require("./Icons/Icons");
|
|
38
|
+
Object.defineProperty(exports, "IconsBlock", { enumerable: true, get: function () { return __importDefault(Icons_1).default; } });
|
|
39
|
+
var HeaderSlider_1 = require("./HeaderSlider/HeaderSlider");
|
|
40
|
+
Object.defineProperty(exports, "HeaderSliderBlock", { enumerable: true, get: function () { return __importDefault(HeaderSlider_1).default; } });
|
|
41
|
+
var CardLayout_1 = require("./CardLayout/CardLayout");
|
|
42
|
+
Object.defineProperty(exports, "CardLayoutBlock", { enumerable: true, get: function () { return __importDefault(CardLayout_1).default; } });
|
|
43
|
+
var ContentLayout_1 = require("./ContentLayout/ContentLayout");
|
|
44
|
+
Object.defineProperty(exports, "ContentLayoutBlock", { enumerable: true, get: function () { return __importDefault(ContentLayout_1).default; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './Banner/schema';
|
|
2
|
+
export * from './CardLayout/schema';
|
|
3
|
+
export * from './Companies/schema';
|
|
4
|
+
export * from './ContentLayout/schema';
|
|
5
|
+
export * from './ExtendedFeatures/schema';
|
|
6
|
+
export * from './Header/schema';
|
|
7
|
+
export * from './HeaderSlider/schema';
|
|
8
|
+
export * from './Icons/schema';
|
|
9
|
+
export * from './Info/schema';
|
|
10
|
+
export * from './LinkTable/schema';
|
|
11
|
+
export * from './Media/schema';
|
|
12
|
+
export * from './Preview/schema';
|
|
13
|
+
export * from './PromoFeaturesBlock/schema';
|
|
14
|
+
export * from './Questions/schema';
|
|
15
|
+
export * from './Security/schema';
|
|
16
|
+
export * from './Simple/schema';
|
|
17
|
+
export * from './Slider/schema';
|
|
18
|
+
export * from './Table/schema';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./Banner/schema"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./CardLayout/schema"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./Companies/schema"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./ContentLayout/schema"), exports);
|
|
8
|
+
(0, tslib_1.__exportStar)(require("./ExtendedFeatures/schema"), exports);
|
|
9
|
+
(0, tslib_1.__exportStar)(require("./Header/schema"), exports);
|
|
10
|
+
(0, tslib_1.__exportStar)(require("./HeaderSlider/schema"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("./Icons/schema"), exports);
|
|
12
|
+
(0, tslib_1.__exportStar)(require("./Info/schema"), exports);
|
|
13
|
+
(0, tslib_1.__exportStar)(require("./LinkTable/schema"), exports);
|
|
14
|
+
(0, tslib_1.__exportStar)(require("./Media/schema"), exports);
|
|
15
|
+
(0, tslib_1.__exportStar)(require("./Preview/schema"), exports);
|
|
16
|
+
(0, tslib_1.__exportStar)(require("./PromoFeaturesBlock/schema"), exports);
|
|
17
|
+
(0, tslib_1.__exportStar)(require("./Questions/schema"), exports);
|
|
18
|
+
(0, tslib_1.__exportStar)(require("./Security/schema"), exports);
|
|
19
|
+
(0, tslib_1.__exportStar)(require("./Simple/schema"), exports);
|
|
20
|
+
(0, tslib_1.__exportStar)(require("./Slider/schema"), exports);
|
|
21
|
+
(0, tslib_1.__exportStar)(require("./Table/schema"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
//TODO move to cloud components
|
|
5
|
+
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
|
+
const utils_1 = require("../../utils");
|
|
7
|
+
const b = (0, utils_1.block)('Anchor');
|
|
8
|
+
const Anchor = ({ id, className }) => react_1.default.createElement("div", { id: id, className: b(null, className) });
|
|
9
|
+
exports.default = Anchor;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { AnimateContextProps } from '../../context/animateContext/AnimateContext';
|
|
3
|
+
import { WithChildren } from '../../models';
|
|
4
|
+
export interface AnimateBlockProps extends AnimateContextProps {
|
|
5
|
+
animate?: boolean;
|
|
6
|
+
offset?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
onScroll?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const AnimateBlock: (props: WithChildren<AnimateBlockProps>) => JSX.Element;
|
|
12
|
+
export default AnimateBlock;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
5
|
+
const react_waypoint_1 = require("react-waypoint");
|
|
6
|
+
const AnimateContext_1 = require("../../context/animateContext/AnimateContext");
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
|
+
const b = (0, utils_1.block)('AnimateBlock');
|
|
9
|
+
const AnimateBlock = (props) => {
|
|
10
|
+
const { animated } = (0, react_1.useContext)(AnimateContext_1.AnimateContext);
|
|
11
|
+
const { children, className, offset = 100, onScroll, style, animate = animated } = props;
|
|
12
|
+
const [playAnimation, setPlayAnimation] = (0, react_1.useState)(false);
|
|
13
|
+
const divClassName = animate
|
|
14
|
+
? b(null, `${playAnimation && 'animate'} ${className}`)
|
|
15
|
+
: className;
|
|
16
|
+
return (react_1.default.createElement("div", { className: divClassName, style: style },
|
|
17
|
+
react_1.default.createElement(react_waypoint_1.Waypoint
|
|
18
|
+
// trigger animation if element is above screen
|
|
19
|
+
, {
|
|
20
|
+
// trigger animation if element is above screen
|
|
21
|
+
topOffset: '-100000%', bottomOffset: offset, onEnter: async () => {
|
|
22
|
+
setPlayAnimation(true);
|
|
23
|
+
if (onScroll) {
|
|
24
|
+
onScroll();
|
|
25
|
+
}
|
|
26
|
+
} }),
|
|
27
|
+
children));
|
|
28
|
+
};
|
|
29
|
+
exports.default = AnimateBlock;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-author {
|
|
4
|
+
font-size: var(--yc-text-body-3-font-size);
|
|
5
|
+
line-height: var(--yc-text-body-3-line-height);
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
color: var(--yc-color-text-secondary);
|
|
9
|
+
}
|
|
10
|
+
.pc-author__avatar {
|
|
11
|
+
width: 80px;
|
|
12
|
+
height: 80px;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
flex: 0 0 auto;
|
|
16
|
+
border-radius: 16px;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
.pc-author__avatar img {
|
|
20
|
+
width: 80px;
|
|
21
|
+
height: 80px;
|
|
22
|
+
object-fit: cover;
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
.pc-author__name {
|
|
26
|
+
font-size: var(--yc-text-body-3-font-size);
|
|
27
|
+
line-height: var(--yc-text-body-3-line-height);
|
|
28
|
+
color: var(--yc-color-text-primary);
|
|
29
|
+
}
|
|
30
|
+
.pc-author__description {
|
|
31
|
+
font-size: var(--yc-text-body-2-font-size);
|
|
32
|
+
line-height: var(--yc-text-body-2-line-height);
|
|
33
|
+
padding-top: 4px;
|
|
34
|
+
}
|
|
35
|
+
.pc-author__label:not(:first-child) {
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
margin-top: 8px;
|
|
38
|
+
}
|
|
39
|
+
.pc-author_type_column {
|
|
40
|
+
z-index: 1;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.pc-author_type_line {
|
|
44
|
+
flex-flow: row nowrap;
|
|
45
|
+
align-items: center;
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
.pc-author_type_line .pc-author__avatar {
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
.pc-author_type_line .pc-author__label {
|
|
52
|
+
margin-top: 0;
|
|
53
|
+
}
|
|
54
|
+
.pc-author_type_line .pc-author__label:not(:first-child) {
|
|
55
|
+
margin-left: 16px;
|
|
56
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
5
|
+
const index_1 = require("../index");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
|
+
const b = (0, utils_1.block)('author');
|
|
9
|
+
const Author = (props) => {
|
|
10
|
+
const { author, className, authorContainerClassName, type = models_1.AuthorType.Column } = props;
|
|
11
|
+
const { firstName, secondName, description, avatar } = author;
|
|
12
|
+
const name = secondName ? `${firstName} ${secondName}` : firstName;
|
|
13
|
+
return (react_1.default.createElement("div", { className: b({ type }, className) },
|
|
14
|
+
avatar && (react_1.default.createElement("div", { className: b('avatar', authorContainerClassName) }, typeof avatar === 'string' ? react_1.default.createElement(index_1.Image, { src: avatar }) : avatar)),
|
|
15
|
+
react_1.default.createElement("div", { className: b('label') },
|
|
16
|
+
react_1.default.createElement("div", { className: b('name') }, name),
|
|
17
|
+
description && react_1.default.createElement("div", { className: b('description') }, description))));
|
|
18
|
+
};
|
|
19
|
+
exports.default = Author;
|