@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,338 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { ButtonSize, ButtonView } from '@gravity-ui/uikit';
|
|
3
|
+
import { ThemeSupporting } from '../../utils/theme';
|
|
4
|
+
import { ClassNameProps, PixelEventType } from '../common';
|
|
5
|
+
export declare enum AuthorType {
|
|
6
|
+
Column = "column",
|
|
7
|
+
Line = "line"
|
|
8
|
+
}
|
|
9
|
+
export declare enum PriceDetailsType {
|
|
10
|
+
MARKED_LIST = "marked-list",
|
|
11
|
+
SETTINGS = "settings"
|
|
12
|
+
}
|
|
13
|
+
export declare enum PriceLabelColor {
|
|
14
|
+
BLUE = "blue",
|
|
15
|
+
GREEN = "green",
|
|
16
|
+
YELLOW = "yellow",
|
|
17
|
+
PURPLE = "purple",
|
|
18
|
+
RED = "red"
|
|
19
|
+
}
|
|
20
|
+
export declare enum PreviewItemType {
|
|
21
|
+
Video = "video",
|
|
22
|
+
Image = "image"
|
|
23
|
+
}
|
|
24
|
+
export declare enum PlayButtonType {
|
|
25
|
+
Default = "default",
|
|
26
|
+
Text = "text"
|
|
27
|
+
}
|
|
28
|
+
export declare enum PlayButtonThemes {
|
|
29
|
+
Blue = "blue",
|
|
30
|
+
Grey = "grey"
|
|
31
|
+
}
|
|
32
|
+
export declare enum MediaVideoType {
|
|
33
|
+
Default = "default",
|
|
34
|
+
Player = "player"
|
|
35
|
+
}
|
|
36
|
+
export declare enum MediaVideoControlsType {
|
|
37
|
+
Default = "default",
|
|
38
|
+
Custom = "custom"
|
|
39
|
+
}
|
|
40
|
+
export declare type TextTheme = 'light' | 'dark';
|
|
41
|
+
export declare type TextSize = 's' | 'm' | 'l';
|
|
42
|
+
export declare type DividerSize = '0' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
|
|
43
|
+
export declare type HeaderWidth = 's' | 'm' | 'l';
|
|
44
|
+
export declare type HeaderImageSize = 's' | 'm';
|
|
45
|
+
export declare type HeaderOffset = 'default' | 'large';
|
|
46
|
+
export declare type Justify = 'start' | 'center' | 'end';
|
|
47
|
+
export declare type ColumnsCount = 1 | 2 | 3 | 4;
|
|
48
|
+
export declare type LegendTableMarkerType = 'disk';
|
|
49
|
+
export declare type LinkTheme = 'file-link' | 'normal' | 'back' | 'underline';
|
|
50
|
+
export declare type MediaDirection = 'media-content' | 'content-media';
|
|
51
|
+
export declare type PriceDescriptionColor = 'cornflower' | 'black';
|
|
52
|
+
export declare type PreviewRatioMediaContent = '2-1' | '1-1';
|
|
53
|
+
export declare type ContentSize = 's' | 'l';
|
|
54
|
+
export declare type ContentTextSize = 's' | 'm' | 'l';
|
|
55
|
+
export declare type ContentTheme = 'default' | 'dark' | 'light';
|
|
56
|
+
export declare type FileLinkType = 'vertical' | 'horizontal';
|
|
57
|
+
export interface Themable {
|
|
58
|
+
theme?: TextTheme;
|
|
59
|
+
}
|
|
60
|
+
export interface Justifyable {
|
|
61
|
+
justify?: Justify;
|
|
62
|
+
}
|
|
63
|
+
export interface Stylable {
|
|
64
|
+
className?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface Animatable {
|
|
67
|
+
animated?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface Background {
|
|
70
|
+
image?: string;
|
|
71
|
+
color?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface AnchorProps {
|
|
74
|
+
text: string;
|
|
75
|
+
url: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated Component VideoBlock will be deleted, which uses this logic
|
|
79
|
+
*/
|
|
80
|
+
interface LoopProps {
|
|
81
|
+
start: number;
|
|
82
|
+
end?: number;
|
|
83
|
+
}
|
|
84
|
+
export interface ImageObjectProps {
|
|
85
|
+
src: string;
|
|
86
|
+
alt?: string;
|
|
87
|
+
disableCompress?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export declare type ImageProps = string | ImageObjectProps;
|
|
90
|
+
export declare type ThemedImage = ThemeSupporting<ImageProps>;
|
|
91
|
+
export interface BackgroundImageProps extends React.HTMLProps<HTMLDivElement> {
|
|
92
|
+
src?: string;
|
|
93
|
+
alt?: string;
|
|
94
|
+
disableCompress?: boolean;
|
|
95
|
+
style?: CSSProperties;
|
|
96
|
+
imageClassName?: string;
|
|
97
|
+
hide?: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface MediaVideoProps {
|
|
100
|
+
src: string[];
|
|
101
|
+
type?: MediaVideoType;
|
|
102
|
+
loop?: LoopProps | boolean;
|
|
103
|
+
muted?: boolean;
|
|
104
|
+
autoplay?: boolean;
|
|
105
|
+
elapsedTime?: number;
|
|
106
|
+
playButton?: PlayButtonProps;
|
|
107
|
+
controls?: MediaVideoControlsType;
|
|
108
|
+
metrika?: MetrikaVideo;
|
|
109
|
+
}
|
|
110
|
+
export interface LinkProps extends Stylable {
|
|
111
|
+
url: string;
|
|
112
|
+
text?: string;
|
|
113
|
+
textSize?: TextSize;
|
|
114
|
+
theme?: LinkTheme;
|
|
115
|
+
colorTheme?: TextTheme;
|
|
116
|
+
arrow?: boolean;
|
|
117
|
+
target?: string;
|
|
118
|
+
metrikaGoals?: MetrikaGoal;
|
|
119
|
+
pixelEvents?: ButtonPixel;
|
|
120
|
+
}
|
|
121
|
+
export interface FileLinkProps extends ClassNameProps {
|
|
122
|
+
href: string;
|
|
123
|
+
text: ReactNode;
|
|
124
|
+
type?: FileLinkType;
|
|
125
|
+
textSize?: TextSize;
|
|
126
|
+
theme?: ContentTheme;
|
|
127
|
+
onClick?: () => void;
|
|
128
|
+
}
|
|
129
|
+
export interface ButtonProps {
|
|
130
|
+
text: string;
|
|
131
|
+
url: string;
|
|
132
|
+
primary?: boolean;
|
|
133
|
+
size?: ButtonSize;
|
|
134
|
+
theme?: ButtonView | 'github' | 'app-store' | 'google-play' | 'scale' | 'monochrome';
|
|
135
|
+
img?: ButtonImageProps | string;
|
|
136
|
+
metrikaGoals?: MetrikaGoal;
|
|
137
|
+
pixelEvents?: ButtonPixel;
|
|
138
|
+
target?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface ButtonImageProps {
|
|
141
|
+
url: string;
|
|
142
|
+
position?: 'left' | 'right';
|
|
143
|
+
alt?: string;
|
|
144
|
+
}
|
|
145
|
+
export interface PlayButtonProps extends ClassNameProps {
|
|
146
|
+
type?: PlayButtonType;
|
|
147
|
+
theme?: PlayButtonThemes;
|
|
148
|
+
text?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface MediaVideoProps {
|
|
151
|
+
src: string[];
|
|
152
|
+
type?: MediaVideoType;
|
|
153
|
+
loop?: LoopProps | boolean;
|
|
154
|
+
muted?: boolean;
|
|
155
|
+
autoplay?: boolean;
|
|
156
|
+
elapsedTime?: number;
|
|
157
|
+
playButton?: PlayButtonProps;
|
|
158
|
+
controls?: MediaVideoControlsType;
|
|
159
|
+
metrika?: MetrikaVideo;
|
|
160
|
+
}
|
|
161
|
+
export declare type ThemedMediaVideoProps = ThemeSupporting<MediaVideoProps>;
|
|
162
|
+
export interface MediaComponentVideoProps {
|
|
163
|
+
video: MediaVideoProps;
|
|
164
|
+
height?: number;
|
|
165
|
+
metrika?: MetrikaVideo;
|
|
166
|
+
previewImg?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface MediaComponentYoutubeProps {
|
|
169
|
+
youtube: string;
|
|
170
|
+
previewImg?: string;
|
|
171
|
+
}
|
|
172
|
+
export interface MediaComponentImageProps {
|
|
173
|
+
image: ImageProps | ImageProps[];
|
|
174
|
+
video?: MediaVideoProps;
|
|
175
|
+
parallax?: boolean;
|
|
176
|
+
height?: number;
|
|
177
|
+
}
|
|
178
|
+
export interface MediaComponentDataLensProps {
|
|
179
|
+
dataLens: DataLensProps;
|
|
180
|
+
}
|
|
181
|
+
export interface MediaProps extends Animatable, Partial<MediaComponentDataLensProps>, Partial<MediaComponentYoutubeProps>, Partial<MediaComponentImageProps>, Partial<MediaComponentVideoProps> {
|
|
182
|
+
color?: string;
|
|
183
|
+
}
|
|
184
|
+
export declare type ThemedMediaProps = ThemeSupporting<MediaProps>;
|
|
185
|
+
export interface NewMetrikaGoal {
|
|
186
|
+
name: string;
|
|
187
|
+
isCrossSite?: boolean;
|
|
188
|
+
counterName?: string;
|
|
189
|
+
params?: Record<string, string>;
|
|
190
|
+
}
|
|
191
|
+
export declare type MetrikaGoal = string | string[] | NewMetrikaGoal[];
|
|
192
|
+
export interface MetrikaVideo {
|
|
193
|
+
counterName?: string;
|
|
194
|
+
play?: MetrikaGoal;
|
|
195
|
+
stop?: MetrikaGoal;
|
|
196
|
+
}
|
|
197
|
+
export interface ButtonPixelEvent {
|
|
198
|
+
name: PixelEventType;
|
|
199
|
+
data?: Object;
|
|
200
|
+
}
|
|
201
|
+
export declare type ButtonPixel = ButtonPixelEvent[];
|
|
202
|
+
export interface DataLensObjectProps {
|
|
203
|
+
id: string;
|
|
204
|
+
theme: 'dark' | 'light';
|
|
205
|
+
}
|
|
206
|
+
export declare type DataLensProps = string | DataLensObjectProps;
|
|
207
|
+
export interface AuthorItem {
|
|
208
|
+
firstName: string;
|
|
209
|
+
secondName: string;
|
|
210
|
+
description?: string;
|
|
211
|
+
avatar?: string | JSX.Element;
|
|
212
|
+
}
|
|
213
|
+
export interface HeaderBreadCrumbsProps extends ClassNameProps {
|
|
214
|
+
items: {
|
|
215
|
+
url: string;
|
|
216
|
+
text: ReactNode;
|
|
217
|
+
}[];
|
|
218
|
+
theme?: TextTheme;
|
|
219
|
+
metrikaGoals?: MetrikaGoal;
|
|
220
|
+
pixelEvents?: ButtonPixel;
|
|
221
|
+
}
|
|
222
|
+
export interface PreviewContentItemProps {
|
|
223
|
+
title: string;
|
|
224
|
+
description?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface PreviewItemProps {
|
|
227
|
+
type: PreviewItemType;
|
|
228
|
+
media: ThemedMediaProps;
|
|
229
|
+
content: PreviewContentItemProps;
|
|
230
|
+
}
|
|
231
|
+
export interface TitleProps extends Justifyable, TitleBaseProps {
|
|
232
|
+
navTitle?: string;
|
|
233
|
+
anchor?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface TitleBaseProps {
|
|
236
|
+
text: string;
|
|
237
|
+
textSize?: TextSize;
|
|
238
|
+
url?: string;
|
|
239
|
+
custom?: string | ReactNode;
|
|
240
|
+
onClick?: () => void;
|
|
241
|
+
}
|
|
242
|
+
export interface CardData {
|
|
243
|
+
header?: CardHeader;
|
|
244
|
+
text?: string;
|
|
245
|
+
title?: string;
|
|
246
|
+
link?: LinkProps;
|
|
247
|
+
footer?: string;
|
|
248
|
+
url?: string;
|
|
249
|
+
service?: {
|
|
250
|
+
slug: string;
|
|
251
|
+
name: string;
|
|
252
|
+
};
|
|
253
|
+
links?: LinkProps[];
|
|
254
|
+
}
|
|
255
|
+
export declare type CardBorder = 'shadow' | 'line' | 'none';
|
|
256
|
+
export interface CardBaseProps {
|
|
257
|
+
border?: CardBorder;
|
|
258
|
+
}
|
|
259
|
+
export interface CardProps extends CardBaseProps, CardData {
|
|
260
|
+
}
|
|
261
|
+
export interface CardHeader {
|
|
262
|
+
title?: string;
|
|
263
|
+
image?: ImageProps;
|
|
264
|
+
}
|
|
265
|
+
export interface PriceDescriptionProps {
|
|
266
|
+
title: string;
|
|
267
|
+
detailedTitle?: string;
|
|
268
|
+
description: string;
|
|
269
|
+
label?: {
|
|
270
|
+
color: PriceLabelColor;
|
|
271
|
+
text?: string;
|
|
272
|
+
size?: TextSize;
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
export interface PriceDetailsSettingsProps {
|
|
276
|
+
title: string;
|
|
277
|
+
description: string;
|
|
278
|
+
}
|
|
279
|
+
export interface PriceDetailsListProps {
|
|
280
|
+
text: string;
|
|
281
|
+
}
|
|
282
|
+
export interface PriceDetailsProps {
|
|
283
|
+
items?: PriceDetailsSettingsProps[] | PriceDetailsListProps[];
|
|
284
|
+
}
|
|
285
|
+
export interface PriceItemProps extends PriceDetailsProps, PriceDescriptionProps {
|
|
286
|
+
}
|
|
287
|
+
export interface PriceFoldableDetailsProps {
|
|
288
|
+
title: string;
|
|
289
|
+
size?: TextSize;
|
|
290
|
+
titleColor?: PriceDescriptionColor;
|
|
291
|
+
}
|
|
292
|
+
export interface PriceDetailedProps extends CardBaseProps {
|
|
293
|
+
items: PriceItemProps[];
|
|
294
|
+
description?: {
|
|
295
|
+
titleSize?: TextSize;
|
|
296
|
+
descriptionSize?: TextSize;
|
|
297
|
+
titleColor?: PriceDescriptionColor;
|
|
298
|
+
};
|
|
299
|
+
details?: {
|
|
300
|
+
titleSize?: TextSize;
|
|
301
|
+
descriptionSize?: TextSize;
|
|
302
|
+
};
|
|
303
|
+
priceType?: PriceDetailsType;
|
|
304
|
+
numberGroupItems?: 3 | 4 | 5;
|
|
305
|
+
isCombined?: boolean;
|
|
306
|
+
useMixedView?: boolean;
|
|
307
|
+
foldable?: PriceFoldableDetailsProps;
|
|
308
|
+
labelsDefaultText?: Record<PriceLabelColor, string>;
|
|
309
|
+
}
|
|
310
|
+
export interface PriceDetailedProps extends CardBaseProps {
|
|
311
|
+
items: PriceItemProps[];
|
|
312
|
+
description?: {
|
|
313
|
+
titleSize?: TextSize;
|
|
314
|
+
descriptionSize?: TextSize;
|
|
315
|
+
titleColor?: PriceDescriptionColor;
|
|
316
|
+
};
|
|
317
|
+
details?: {
|
|
318
|
+
titleSize?: TextSize;
|
|
319
|
+
descriptionSize?: TextSize;
|
|
320
|
+
};
|
|
321
|
+
priceType?: PriceDetailsType;
|
|
322
|
+
numberGroupItems?: 3 | 4 | 5;
|
|
323
|
+
isCombined?: boolean;
|
|
324
|
+
useMixedView?: boolean;
|
|
325
|
+
foldable?: PriceFoldableDetailsProps;
|
|
326
|
+
labelsDefaultText?: Record<PriceLabelColor, string>;
|
|
327
|
+
}
|
|
328
|
+
export interface AuthorProps {
|
|
329
|
+
author: AuthorItem;
|
|
330
|
+
className?: string;
|
|
331
|
+
authorContainerClassName?: string;
|
|
332
|
+
type?: AuthorType;
|
|
333
|
+
}
|
|
334
|
+
export interface BlockHeaderProps {
|
|
335
|
+
title?: TitleProps | string;
|
|
336
|
+
description?: string;
|
|
337
|
+
}
|
|
338
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// enums
|
|
2
|
+
export var AuthorType;
|
|
3
|
+
(function (AuthorType) {
|
|
4
|
+
AuthorType["Column"] = "column";
|
|
5
|
+
AuthorType["Line"] = "line";
|
|
6
|
+
})(AuthorType || (AuthorType = {}));
|
|
7
|
+
export var PriceDetailsType;
|
|
8
|
+
(function (PriceDetailsType) {
|
|
9
|
+
PriceDetailsType["MARKED_LIST"] = "marked-list";
|
|
10
|
+
PriceDetailsType["SETTINGS"] = "settings";
|
|
11
|
+
})(PriceDetailsType || (PriceDetailsType = {}));
|
|
12
|
+
export var PriceLabelColor;
|
|
13
|
+
(function (PriceLabelColor) {
|
|
14
|
+
PriceLabelColor["BLUE"] = "blue";
|
|
15
|
+
PriceLabelColor["GREEN"] = "green";
|
|
16
|
+
PriceLabelColor["YELLOW"] = "yellow";
|
|
17
|
+
PriceLabelColor["PURPLE"] = "purple";
|
|
18
|
+
PriceLabelColor["RED"] = "red";
|
|
19
|
+
})(PriceLabelColor || (PriceLabelColor = {}));
|
|
20
|
+
export var PreviewItemType;
|
|
21
|
+
(function (PreviewItemType) {
|
|
22
|
+
PreviewItemType["Video"] = "video";
|
|
23
|
+
PreviewItemType["Image"] = "image";
|
|
24
|
+
})(PreviewItemType || (PreviewItemType = {}));
|
|
25
|
+
export var PlayButtonType;
|
|
26
|
+
(function (PlayButtonType) {
|
|
27
|
+
PlayButtonType["Default"] = "default";
|
|
28
|
+
PlayButtonType["Text"] = "text";
|
|
29
|
+
})(PlayButtonType || (PlayButtonType = {}));
|
|
30
|
+
export var PlayButtonThemes;
|
|
31
|
+
(function (PlayButtonThemes) {
|
|
32
|
+
PlayButtonThemes["Blue"] = "blue";
|
|
33
|
+
PlayButtonThemes["Grey"] = "grey";
|
|
34
|
+
})(PlayButtonThemes || (PlayButtonThemes = {}));
|
|
35
|
+
export var MediaVideoType;
|
|
36
|
+
(function (MediaVideoType) {
|
|
37
|
+
MediaVideoType["Default"] = "default";
|
|
38
|
+
MediaVideoType["Player"] = "player";
|
|
39
|
+
})(MediaVideoType || (MediaVideoType = {}));
|
|
40
|
+
export var MediaVideoControlsType;
|
|
41
|
+
(function (MediaVideoControlsType) {
|
|
42
|
+
MediaVideoControlsType["Default"] = "default";
|
|
43
|
+
MediaVideoControlsType["Custom"] = "custom";
|
|
44
|
+
})(MediaVideoControlsType || (MediaVideoControlsType = {}));
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { ClassNameProps } from '../../models';
|
|
2
|
+
import { ThemeSupporting } from '../../utils';
|
|
3
|
+
import { HubspotEventData, HubspotEventHandlers } from '../../utils/hubspot';
|
|
4
|
+
import { AuthorItem, ButtonPixel, ButtonProps, CardBaseProps, CardProps, ContentTheme, DividerSize, ImageObjectProps, ImageProps, LinkProps, MediaProps, PriceDetailedProps, TextTheme, Themable, ThemedImage } from './common';
|
|
5
|
+
import { ContentBlockProps } from './blocks';
|
|
6
|
+
import { PixelEvent } from '../common';
|
|
7
|
+
export declare enum SubBlockType {
|
|
8
|
+
Divider = "divider",
|
|
9
|
+
Quote = "quote",
|
|
10
|
+
NewsCard = "news-card",
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
13
|
+
*/
|
|
14
|
+
Partner = "partner",
|
|
15
|
+
PriceDetailed = "price-detailed",
|
|
16
|
+
MediaCard = "media-card",
|
|
17
|
+
BannerCard = "banner-card",
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
20
|
+
*/
|
|
21
|
+
TutorialCard = "tutoral-card",
|
|
22
|
+
CardWithImage = "card-with-image",
|
|
23
|
+
BackgroundCard = "background-card",
|
|
24
|
+
BasicCard = "basic-card",
|
|
25
|
+
Content = "content",
|
|
26
|
+
HubspotForm = "hubspot-form",
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
29
|
+
*/
|
|
30
|
+
Card = "card"
|
|
31
|
+
}
|
|
32
|
+
export declare const SubBlockTypes: SubBlockType[];
|
|
33
|
+
export interface DividerProps {
|
|
34
|
+
size?: DividerSize;
|
|
35
|
+
border?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface HubspotFormProps extends HubspotEventHandlers {
|
|
38
|
+
className?: string;
|
|
39
|
+
theme?: ContentTheme;
|
|
40
|
+
isMobile?: boolean;
|
|
41
|
+
region?: string;
|
|
42
|
+
portalId: string;
|
|
43
|
+
formId: string;
|
|
44
|
+
formInstanceId?: string;
|
|
45
|
+
formClassName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* To use this handler for component that is rendered in iframe, set up useLoopBackHubspotEvents hook on top level frame
|
|
48
|
+
*/
|
|
49
|
+
onBeforeLoad?: (arg: HubspotEventData) => void;
|
|
50
|
+
/**
|
|
51
|
+
* To use this handler for component that is rendered in iframe, set up useLoopBackHubspotEvents hook on top level frame
|
|
52
|
+
*/
|
|
53
|
+
onBeforeSubmit?: (arg: HubspotEventData) => void;
|
|
54
|
+
/**
|
|
55
|
+
* To use this handler for component that is rendered in iframe, set up useLoopBackHubspotEvents hook on top level frame
|
|
56
|
+
*/
|
|
57
|
+
onSubmit?: (arg: HubspotEventData) => void;
|
|
58
|
+
/**
|
|
59
|
+
* To use this handler for component that is rendered in iframe, set up useLoopBackHubspotEvents hook on top level frame
|
|
60
|
+
*/
|
|
61
|
+
onLoad?: (arg: HubspotEventData) => void;
|
|
62
|
+
pixelEvents?: string | string[] | PixelEvent | PixelEvent[] | ButtonPixel;
|
|
63
|
+
hubspotEvents?: string[];
|
|
64
|
+
}
|
|
65
|
+
export interface PartnerProps extends CardBaseProps {
|
|
66
|
+
text: string;
|
|
67
|
+
logo: ImageProps;
|
|
68
|
+
url: string;
|
|
69
|
+
}
|
|
70
|
+
export interface QuoteProps extends Themable, CardBaseProps {
|
|
71
|
+
text: string;
|
|
72
|
+
image: ThemedImage;
|
|
73
|
+
logo: string;
|
|
74
|
+
color?: string;
|
|
75
|
+
url?: string;
|
|
76
|
+
author?: AuthorItem;
|
|
77
|
+
buttonText?: string;
|
|
78
|
+
theme?: TextTheme;
|
|
79
|
+
}
|
|
80
|
+
export interface NewsCardData {
|
|
81
|
+
id: number;
|
|
82
|
+
slug: string;
|
|
83
|
+
title: string;
|
|
84
|
+
date: string;
|
|
85
|
+
url: string;
|
|
86
|
+
isoDate?: string;
|
|
87
|
+
}
|
|
88
|
+
export declare type NewsCardProps = Pick<NewsCardData, 'title' | 'url' | 'date' | 'isoDate'> & CardBaseProps;
|
|
89
|
+
export interface TutorialCardProps extends CardBaseProps {
|
|
90
|
+
url: string;
|
|
91
|
+
title: string;
|
|
92
|
+
text: string;
|
|
93
|
+
icon?: ImageProps;
|
|
94
|
+
}
|
|
95
|
+
export interface BackgroundCardProps extends CardBaseProps, Omit<ContentBlockProps, 'colSizes' | 'centered'> {
|
|
96
|
+
url?: string;
|
|
97
|
+
background?: ThemeSupporting<ImageObjectProps>;
|
|
98
|
+
paddingBottom?: 's' | 'm' | 'l' | 'xl';
|
|
99
|
+
backgroundColor?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface BasicCardProps extends CardBaseProps, Omit<ContentBlockProps, 'colSizes' | 'centered' | 'size' | 'theme'> {
|
|
102
|
+
url: string;
|
|
103
|
+
icon?: ImageProps;
|
|
104
|
+
}
|
|
105
|
+
export interface BannerCardProps {
|
|
106
|
+
title: string;
|
|
107
|
+
subtitle?: string;
|
|
108
|
+
image?: ThemeSupporting<string>;
|
|
109
|
+
disableCompress?: boolean;
|
|
110
|
+
color?: ThemeSupporting<string>;
|
|
111
|
+
theme?: TextTheme;
|
|
112
|
+
button: Pick<ButtonProps, 'text' | 'url' | 'target'>;
|
|
113
|
+
}
|
|
114
|
+
export interface MediaCardProps extends MediaProps, CardBaseProps {
|
|
115
|
+
}
|
|
116
|
+
export interface CardWithImageLinkProps extends Omit<LinkProps, 'text' | 'url'> {
|
|
117
|
+
title: string;
|
|
118
|
+
link: string;
|
|
119
|
+
}
|
|
120
|
+
export interface CardWithImageProps extends ClassNameProps, Pick<ContentBlockProps, 'title' | 'additionalInfo' | 'buttons' | 'theme'> {
|
|
121
|
+
image: string;
|
|
122
|
+
description?: string;
|
|
123
|
+
disableCompress?: boolean;
|
|
124
|
+
border?: boolean;
|
|
125
|
+
fullScreen?: boolean;
|
|
126
|
+
links?: CardWithImageLinkProps[];
|
|
127
|
+
}
|
|
128
|
+
export declare type DividerModel = {
|
|
129
|
+
type: SubBlockType.Divider;
|
|
130
|
+
} & DividerProps;
|
|
131
|
+
export declare type CardModel = {
|
|
132
|
+
type: SubBlockType.Card;
|
|
133
|
+
} & CardProps;
|
|
134
|
+
export declare type QuoteModel = {
|
|
135
|
+
type: SubBlockType.Quote;
|
|
136
|
+
} & QuoteProps;
|
|
137
|
+
export declare type NewsCardModel = {
|
|
138
|
+
type: SubBlockType.NewsCard;
|
|
139
|
+
} & NewsCardProps;
|
|
140
|
+
export declare type CardWithImageModel = {
|
|
141
|
+
type: SubBlockType.CardWithImage;
|
|
142
|
+
} & CardWithImageProps;
|
|
143
|
+
export declare type TutorialCardModel = {
|
|
144
|
+
type: SubBlockType.TutorialCard;
|
|
145
|
+
} & TutorialCardProps;
|
|
146
|
+
export declare type BackgroundCardModel = {
|
|
147
|
+
type: SubBlockType.BackgroundCard;
|
|
148
|
+
} & BackgroundCardProps;
|
|
149
|
+
export declare type PartnerModel = {
|
|
150
|
+
type: SubBlockType.Partner;
|
|
151
|
+
} & PartnerProps;
|
|
152
|
+
export declare type PriceDetailedModel = {
|
|
153
|
+
type: SubBlockType.PriceDetailed;
|
|
154
|
+
} & PriceDetailedProps;
|
|
155
|
+
export declare type MediaCardModel = {
|
|
156
|
+
type: SubBlockType.MediaCard;
|
|
157
|
+
} & MediaCardProps;
|
|
158
|
+
export declare type HubspotFormModel = {
|
|
159
|
+
type: SubBlockType.HubspotForm;
|
|
160
|
+
} & HubspotFormProps;
|
|
161
|
+
export declare type BannerCardModel = {
|
|
162
|
+
type: SubBlockType.BannerCard;
|
|
163
|
+
} & BannerCardProps;
|
|
164
|
+
export declare type SubBlockModels = DividerModel | CardModel | QuoteModel | NewsCardModel | PartnerModel | PriceDetailedModel | MediaCardModel | TutorialCardModel | CardWithImageModel | BackgroundCardModel | HubspotFormModel | BannerCardModel;
|
|
165
|
+
export declare type SubBlock = SubBlockModels;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export var SubBlockType;
|
|
2
|
+
(function (SubBlockType) {
|
|
3
|
+
SubBlockType["Divider"] = "divider";
|
|
4
|
+
SubBlockType["Quote"] = "quote";
|
|
5
|
+
SubBlockType["NewsCard"] = "news-card";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
8
|
+
*/
|
|
9
|
+
SubBlockType["Partner"] = "partner";
|
|
10
|
+
SubBlockType["PriceDetailed"] = "price-detailed";
|
|
11
|
+
SubBlockType["MediaCard"] = "media-card";
|
|
12
|
+
SubBlockType["BannerCard"] = "banner-card";
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
15
|
+
*/
|
|
16
|
+
SubBlockType["TutorialCard"] = "tutoral-card";
|
|
17
|
+
SubBlockType["CardWithImage"] = "card-with-image";
|
|
18
|
+
SubBlockType["BackgroundCard"] = "background-card";
|
|
19
|
+
SubBlockType["BasicCard"] = "basic-card";
|
|
20
|
+
SubBlockType["Content"] = "content";
|
|
21
|
+
SubBlockType["HubspotForm"] = "hubspot-form";
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Will be moved to params use BasicCard instead
|
|
24
|
+
*/
|
|
25
|
+
SubBlockType["Card"] = "card";
|
|
26
|
+
})(SubBlockType || (SubBlockType = {}));
|
|
27
|
+
export const SubBlockTypes = Object.values(SubBlockType);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { Animatable, ThemedMediaProps, ConstructorItem, Block, WithChildren } from './';
|
|
3
|
+
export interface PageData {
|
|
4
|
+
content: PageContent;
|
|
5
|
+
}
|
|
6
|
+
export interface Menu {
|
|
7
|
+
title: string;
|
|
8
|
+
}
|
|
9
|
+
export interface PageContent extends Animatable {
|
|
10
|
+
blocks: Block[];
|
|
11
|
+
menu?: Menu;
|
|
12
|
+
background?: ThemedMediaProps;
|
|
13
|
+
footnotes?: string[];
|
|
14
|
+
}
|
|
15
|
+
export interface InitConstrucorState {
|
|
16
|
+
hasMenu: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface CustomBlock {
|
|
19
|
+
type: string;
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
export declare type ConstructorBlock = ConstructorItem | CustomBlock;
|
|
23
|
+
export declare type LoadableData = any;
|
|
24
|
+
export declare type FetchLoadableDataParams = {
|
|
25
|
+
blockKey: string;
|
|
26
|
+
serviceId?: number;
|
|
27
|
+
};
|
|
28
|
+
export declare type FetchLoadableData<TData = LoadableData> = (params: FetchLoadableDataParams) => Promise<TData>;
|
|
29
|
+
export declare type ShouldRenderBlock = (block: ConstructorBlock, blockKey: string) => Boolean;
|
|
30
|
+
export declare type OnInit = (data: InitConstrucorState) => void;
|
|
31
|
+
declare type ComponentProps = React.ComponentProps<React.ComponentClass<any>>;
|
|
32
|
+
export declare type CustomItem = WithChildren<ComponentProps> | React.ComponentType<PropsWithChildren<ComponentProps>>;
|
|
33
|
+
export declare type CustomItems = Record<string, CustomItem>;
|
|
34
|
+
export interface LoadableConfigItem {
|
|
35
|
+
fetch: FetchLoadableData;
|
|
36
|
+
component: CustomItem;
|
|
37
|
+
}
|
|
38
|
+
export declare type LoadableConfig = Record<string, LoadableConfigItem>;
|
|
39
|
+
export interface CustomConfig {
|
|
40
|
+
blocks?: CustomItems;
|
|
41
|
+
subBlocks?: CustomItems;
|
|
42
|
+
headers?: CustomItems;
|
|
43
|
+
loadable?: LoadableConfig;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Block, ConstructorItem, HeaderBlockBackground } from './';
|
|
2
|
+
import { MediaProps, MetrikaGoal, NewMetrikaGoal } from './index';
|
|
3
|
+
export declare function isBlock(block: ConstructorItem): block is Block;
|
|
4
|
+
export declare function isNewMetrikaFormat(metrika: MetrikaGoal): metrika is NewMetrikaGoal[];
|
|
5
|
+
export declare function headerHasMediaBackground(background: HeaderBlockBackground): background is MediaProps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BlockTypes } from './';
|
|
2
|
+
export function isBlock(block) {
|
|
3
|
+
return block.type in BlockTypes;
|
|
4
|
+
}
|
|
5
|
+
export function isNewMetrikaFormat(metrika) {
|
|
6
|
+
return Boolean(Array.isArray(metrika) && metrika.length && typeof metrika[0] === 'object');
|
|
7
|
+
}
|
|
8
|
+
export function headerHasMediaBackground(background) {
|
|
9
|
+
return 'image' in background || 'video' in background || 'youtube' in background;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|