@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,460 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaProps = exports.ButtonBlock = exports.TitleProps = exports.BlockBaseProps = exports.AnchorProps = exports.withTheme = exports.MenuProps = exports.ButtonProps = exports.authorItem = exports.FileLinkProps = exports.LinkProps = exports.BackgroundProps = exports.DataLensProps = exports.DataLensObjectProps = exports.ImageProps = exports.ImageObjectProps = exports.JustifyProps = exports.ThemeProps = exports.VideoProps = exports.PlayIconProps = exports.LoopProps = exports.ChildrenCardsProps = exports.ChildrenProps = exports.AnimatableProps = exports.sliderSizesObject = exports.containerSizesObject = exports.BaseProps = exports.urlPattern = exports.contentThemes = exports.sizeNumber = exports.dividerEnum = exports.fileLinkTypes = exports.videoControlsTypes = exports.playIconThemes = exports.playIconTypes = exports.videoTypes = exports.contentTextWidth = exports.contentSizes = exports.sliderSizesArray = exports.containerSizesArray = exports.textSize = exports.mediaDirection = void 0;
|
|
4
|
+
const utils_1 = require("./utils");
|
|
5
|
+
const pixel_1 = require("./pixel");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
exports.mediaDirection = ['media-content', 'content-media'];
|
|
8
|
+
exports.textSize = ['s', 'm', 'l'];
|
|
9
|
+
exports.containerSizesArray = ['sm', 'md', 'lg', 'xl', 'all'];
|
|
10
|
+
exports.sliderSizesArray = ['sm', 'md', 'lg', 'xl'];
|
|
11
|
+
exports.contentSizes = ['s', 'l'];
|
|
12
|
+
exports.contentTextWidth = ['s', 'm', 'l'];
|
|
13
|
+
exports.videoTypes = ['default', 'player'];
|
|
14
|
+
exports.playIconTypes = ['default', 'text'];
|
|
15
|
+
exports.playIconThemes = ['blue', 'grey'];
|
|
16
|
+
exports.videoControlsTypes = ['default', 'custom'];
|
|
17
|
+
exports.fileLinkTypes = ['vertical', 'horizontal'];
|
|
18
|
+
exports.dividerEnum = { enum: [0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl'] };
|
|
19
|
+
exports.sizeNumber = { type: 'number', maximum: 12, minimum: 1 };
|
|
20
|
+
exports.contentThemes = ['default', 'dark', 'light'];
|
|
21
|
+
exports.urlPattern = '^((http[s]?|ftp):\\/)?\\/?([^:\\/\\s]+)((\\/\\w+)*\\/)([\\w\\-\\.]+[^#?\\s]+)(.*)?(#[\\w\\-]+)?$';
|
|
22
|
+
exports.BaseProps = {
|
|
23
|
+
type: {},
|
|
24
|
+
when: {},
|
|
25
|
+
};
|
|
26
|
+
exports.containerSizesObject = {
|
|
27
|
+
type: 'object',
|
|
28
|
+
additionalProperties: false,
|
|
29
|
+
properties: exports.containerSizesArray.reduce((acc, size) => (Object.assign(Object.assign({}, acc), { [size]: exports.sizeNumber })), {}),
|
|
30
|
+
};
|
|
31
|
+
exports.sliderSizesObject = {
|
|
32
|
+
anyOf: [
|
|
33
|
+
{
|
|
34
|
+
type: 'object',
|
|
35
|
+
additionalProperties: false,
|
|
36
|
+
properties: exports.sliderSizesArray.reduce((acc, size) => (Object.assign(Object.assign({}, acc), { [size]: exports.sizeNumber })), {}),
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
type: 'number',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
};
|
|
43
|
+
exports.AnimatableProps = {
|
|
44
|
+
animated: {
|
|
45
|
+
type: 'boolean',
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
exports.ChildrenProps = {
|
|
49
|
+
type: 'array',
|
|
50
|
+
items: { $ref: 'self#/definitions/children' },
|
|
51
|
+
};
|
|
52
|
+
exports.ChildrenCardsProps = {
|
|
53
|
+
type: 'array',
|
|
54
|
+
items: { $ref: 'self#/definitions/cards' },
|
|
55
|
+
};
|
|
56
|
+
exports.LoopProps = {
|
|
57
|
+
type: 'object',
|
|
58
|
+
additionalProperties: false,
|
|
59
|
+
required: ['start'],
|
|
60
|
+
properties: {
|
|
61
|
+
start: {
|
|
62
|
+
type: 'number',
|
|
63
|
+
},
|
|
64
|
+
end: {
|
|
65
|
+
type: 'number',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
exports.PlayIconProps = {
|
|
70
|
+
type: 'object',
|
|
71
|
+
additionalProperties: false,
|
|
72
|
+
properties: {
|
|
73
|
+
type: {
|
|
74
|
+
type: 'string',
|
|
75
|
+
enum: exports.playIconTypes,
|
|
76
|
+
},
|
|
77
|
+
theme: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
enum: exports.playIconThemes,
|
|
80
|
+
},
|
|
81
|
+
text: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
exports.VideoProps = {
|
|
87
|
+
type: 'object',
|
|
88
|
+
additionalProperties: false,
|
|
89
|
+
required: ['src'],
|
|
90
|
+
properties: {
|
|
91
|
+
src: {
|
|
92
|
+
type: 'array',
|
|
93
|
+
items: {
|
|
94
|
+
type: 'string',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
loop: {
|
|
98
|
+
anyOf: [
|
|
99
|
+
exports.LoopProps,
|
|
100
|
+
{
|
|
101
|
+
type: 'boolean',
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
type: {
|
|
106
|
+
type: 'string',
|
|
107
|
+
enum: exports.videoTypes,
|
|
108
|
+
},
|
|
109
|
+
muted: {
|
|
110
|
+
type: 'boolean',
|
|
111
|
+
},
|
|
112
|
+
playing: {
|
|
113
|
+
type: 'boolean',
|
|
114
|
+
},
|
|
115
|
+
elapsedTime: {
|
|
116
|
+
type: 'number',
|
|
117
|
+
},
|
|
118
|
+
playIcon: exports.PlayIconProps,
|
|
119
|
+
controls: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
enum: exports.videoControlsTypes,
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
exports.ThemeProps = {
|
|
126
|
+
type: 'string',
|
|
127
|
+
enum: ['light', 'dark'],
|
|
128
|
+
};
|
|
129
|
+
exports.JustifyProps = {
|
|
130
|
+
type: 'string',
|
|
131
|
+
enum: ['start', 'center', 'end'],
|
|
132
|
+
};
|
|
133
|
+
exports.ImageObjectProps = {
|
|
134
|
+
type: 'object',
|
|
135
|
+
additionalProperties: false,
|
|
136
|
+
required: ['src'],
|
|
137
|
+
properties: {
|
|
138
|
+
src: {
|
|
139
|
+
type: 'string',
|
|
140
|
+
pattern: exports.urlPattern,
|
|
141
|
+
},
|
|
142
|
+
alt: {
|
|
143
|
+
type: 'string',
|
|
144
|
+
},
|
|
145
|
+
disableCompress: {
|
|
146
|
+
type: 'boolean',
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
exports.ImageProps = {
|
|
151
|
+
oneOf: [
|
|
152
|
+
{
|
|
153
|
+
type: 'string',
|
|
154
|
+
pattern: exports.urlPattern,
|
|
155
|
+
},
|
|
156
|
+
(0, utils_1.filteredItem)(Object.assign({}, exports.ImageObjectProps)),
|
|
157
|
+
],
|
|
158
|
+
};
|
|
159
|
+
exports.DataLensObjectProps = {
|
|
160
|
+
type: 'object',
|
|
161
|
+
additionalProperties: false,
|
|
162
|
+
required: ['id'],
|
|
163
|
+
properties: {
|
|
164
|
+
id: {
|
|
165
|
+
type: 'string',
|
|
166
|
+
},
|
|
167
|
+
theme: exports.ThemeProps,
|
|
168
|
+
},
|
|
169
|
+
};
|
|
170
|
+
exports.DataLensProps = {
|
|
171
|
+
oneOf: [{ type: 'string' }, exports.DataLensObjectProps],
|
|
172
|
+
};
|
|
173
|
+
exports.BackgroundProps = {
|
|
174
|
+
additionalProperties: false,
|
|
175
|
+
properties: Object.assign(Object.assign({}, exports.AnimatableProps), { image: exports.ImageProps, color: {
|
|
176
|
+
type: 'string',
|
|
177
|
+
}, video: exports.VideoProps, height: {
|
|
178
|
+
type: 'number',
|
|
179
|
+
}, size: {
|
|
180
|
+
type: 'string',
|
|
181
|
+
enum: ['contain', 'cover'],
|
|
182
|
+
}, parallax: {
|
|
183
|
+
type: 'boolean',
|
|
184
|
+
} }),
|
|
185
|
+
};
|
|
186
|
+
exports.LinkProps = {
|
|
187
|
+
type: 'object',
|
|
188
|
+
additionalProperties: false,
|
|
189
|
+
required: ['text', 'url'],
|
|
190
|
+
properties: Object.assign(Object.assign({}, exports.BaseProps), { text: {
|
|
191
|
+
type: 'string',
|
|
192
|
+
}, url: {
|
|
193
|
+
type: 'string',
|
|
194
|
+
}, arrow: {
|
|
195
|
+
type: 'boolean',
|
|
196
|
+
}, theme: {
|
|
197
|
+
type: 'string',
|
|
198
|
+
enum: ['back', 'file-link', 'normal'],
|
|
199
|
+
}, textSize: {
|
|
200
|
+
type: 'string',
|
|
201
|
+
enum: exports.textSize,
|
|
202
|
+
}, target: {
|
|
203
|
+
type: 'string',
|
|
204
|
+
enum: ['_blank', '_parent', '_top', '_self'],
|
|
205
|
+
} }),
|
|
206
|
+
};
|
|
207
|
+
exports.FileLinkProps = {
|
|
208
|
+
type: 'object',
|
|
209
|
+
additionalProperties: false,
|
|
210
|
+
required: ['href', 'text'],
|
|
211
|
+
properties: {
|
|
212
|
+
href: {
|
|
213
|
+
type: 'string',
|
|
214
|
+
},
|
|
215
|
+
text: {
|
|
216
|
+
type: 'string',
|
|
217
|
+
},
|
|
218
|
+
type: {
|
|
219
|
+
type: 'string',
|
|
220
|
+
enum: exports.fileLinkTypes,
|
|
221
|
+
},
|
|
222
|
+
textSize: {
|
|
223
|
+
type: 'string',
|
|
224
|
+
enum: exports.textSize,
|
|
225
|
+
},
|
|
226
|
+
theme: {
|
|
227
|
+
type: 'string',
|
|
228
|
+
enum: exports.contentThemes,
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
};
|
|
232
|
+
exports.authorItem = {
|
|
233
|
+
type: 'object',
|
|
234
|
+
required: ['firstName', 'secondName'],
|
|
235
|
+
properties: {
|
|
236
|
+
firstName: {
|
|
237
|
+
type: 'string',
|
|
238
|
+
},
|
|
239
|
+
secondName: {
|
|
240
|
+
type: 'string',
|
|
241
|
+
},
|
|
242
|
+
avatar: {
|
|
243
|
+
type: 'string',
|
|
244
|
+
pattern: exports.urlPattern,
|
|
245
|
+
},
|
|
246
|
+
description: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
};
|
|
251
|
+
exports.ButtonProps = {
|
|
252
|
+
text: {
|
|
253
|
+
type: 'string',
|
|
254
|
+
},
|
|
255
|
+
url: {
|
|
256
|
+
type: 'string',
|
|
257
|
+
},
|
|
258
|
+
primary: {
|
|
259
|
+
type: 'boolean',
|
|
260
|
+
},
|
|
261
|
+
size: {
|
|
262
|
+
type: 'string',
|
|
263
|
+
enum: [
|
|
264
|
+
'xs',
|
|
265
|
+
'ns',
|
|
266
|
+
's',
|
|
267
|
+
'n',
|
|
268
|
+
'm',
|
|
269
|
+
'l',
|
|
270
|
+
'xl',
|
|
271
|
+
'head',
|
|
272
|
+
'promo', // deprecated, use 'xl'
|
|
273
|
+
],
|
|
274
|
+
},
|
|
275
|
+
theme: {
|
|
276
|
+
type: 'string',
|
|
277
|
+
enum: [
|
|
278
|
+
'normal',
|
|
279
|
+
'action',
|
|
280
|
+
'outlined',
|
|
281
|
+
'outlined-info',
|
|
282
|
+
'outlined-danger',
|
|
283
|
+
'raised',
|
|
284
|
+
'flat',
|
|
285
|
+
'flat-info',
|
|
286
|
+
'flat-danger',
|
|
287
|
+
'flat-secondary',
|
|
288
|
+
'clear',
|
|
289
|
+
'normal-contrast',
|
|
290
|
+
'outlined-contrast',
|
|
291
|
+
'flat-contrast',
|
|
292
|
+
'link',
|
|
293
|
+
'pseudo',
|
|
294
|
+
'pseudo-special',
|
|
295
|
+
'websearch',
|
|
296
|
+
'normal-dark',
|
|
297
|
+
'normal-special',
|
|
298
|
+
'accent',
|
|
299
|
+
'dark-grey',
|
|
300
|
+
'app-store',
|
|
301
|
+
'google-play',
|
|
302
|
+
'scale',
|
|
303
|
+
'github',
|
|
304
|
+
'monochrome',
|
|
305
|
+
],
|
|
306
|
+
},
|
|
307
|
+
img: {
|
|
308
|
+
anyOf: [
|
|
309
|
+
{
|
|
310
|
+
type: 'string',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
type: 'object',
|
|
314
|
+
additionalProperties: false,
|
|
315
|
+
required: ['data'],
|
|
316
|
+
properties: {
|
|
317
|
+
data: {
|
|
318
|
+
type: 'string',
|
|
319
|
+
},
|
|
320
|
+
position: {
|
|
321
|
+
type: 'string',
|
|
322
|
+
enum: ['left', 'right'],
|
|
323
|
+
},
|
|
324
|
+
alt: {
|
|
325
|
+
type: 'string',
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
},
|
|
331
|
+
metrikaGoals: {
|
|
332
|
+
anyOf: [
|
|
333
|
+
{ type: 'string' },
|
|
334
|
+
{ type: 'array', items: { type: 'string' } },
|
|
335
|
+
{
|
|
336
|
+
type: 'array',
|
|
337
|
+
items: {
|
|
338
|
+
type: 'object',
|
|
339
|
+
additionalProperties: false,
|
|
340
|
+
required: ['name'],
|
|
341
|
+
properties: {
|
|
342
|
+
name: {
|
|
343
|
+
type: 'string',
|
|
344
|
+
},
|
|
345
|
+
isCrossSite: {
|
|
346
|
+
type: 'boolean',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
},
|
|
353
|
+
pixelEvents: pixel_1.pixelEvents,
|
|
354
|
+
target: {
|
|
355
|
+
type: 'string',
|
|
356
|
+
enum: ['_self', '_blank', '_parent', '_top'],
|
|
357
|
+
},
|
|
358
|
+
};
|
|
359
|
+
exports.MenuProps = {
|
|
360
|
+
type: 'object',
|
|
361
|
+
additionalProperties: false,
|
|
362
|
+
properties: {
|
|
363
|
+
title: {
|
|
364
|
+
type: 'string',
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
};
|
|
368
|
+
function withTheme(value) {
|
|
369
|
+
return {
|
|
370
|
+
oneOf: [
|
|
371
|
+
value,
|
|
372
|
+
{
|
|
373
|
+
type: 'object',
|
|
374
|
+
additionalProperties: false,
|
|
375
|
+
required: [models_1.Theme.Light],
|
|
376
|
+
properties: Object.values(models_1.Theme).reduce((result, themeName) => (Object.assign(Object.assign({}, result), { [themeName]: value })), {}),
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
exports.withTheme = withTheme;
|
|
382
|
+
exports.AnchorProps = {
|
|
383
|
+
type: 'object',
|
|
384
|
+
additionalProperties: false,
|
|
385
|
+
required: ['text', 'url'],
|
|
386
|
+
properties: {
|
|
387
|
+
text: {
|
|
388
|
+
type: 'string',
|
|
389
|
+
},
|
|
390
|
+
url: {
|
|
391
|
+
type: 'string',
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
exports.BlockBaseProps = Object.assign(Object.assign({}, exports.BaseProps), { anchor: exports.AnchorProps, visible: {
|
|
396
|
+
type: 'string',
|
|
397
|
+
enum: exports.containerSizesArray,
|
|
398
|
+
}, resetPaddings: {
|
|
399
|
+
type: 'boolean',
|
|
400
|
+
} });
|
|
401
|
+
exports.TitleProps = {
|
|
402
|
+
type: 'object',
|
|
403
|
+
additionalProperties: false,
|
|
404
|
+
required: ['text'],
|
|
405
|
+
properties: {
|
|
406
|
+
text: {
|
|
407
|
+
type: 'string',
|
|
408
|
+
},
|
|
409
|
+
textSize: {
|
|
410
|
+
type: 'string',
|
|
411
|
+
enum: exports.textSize,
|
|
412
|
+
},
|
|
413
|
+
url: {
|
|
414
|
+
type: 'string',
|
|
415
|
+
},
|
|
416
|
+
resetMargin: {
|
|
417
|
+
type: 'boolean',
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
};
|
|
421
|
+
exports.ButtonBlock = {
|
|
422
|
+
type: 'object',
|
|
423
|
+
additionalProperties: false,
|
|
424
|
+
properties: exports.ButtonProps,
|
|
425
|
+
if: {
|
|
426
|
+
properties: {
|
|
427
|
+
theme: {
|
|
428
|
+
enum: ['app-store', 'google-play'],
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
then: {
|
|
433
|
+
required: ['url'],
|
|
434
|
+
},
|
|
435
|
+
else: {
|
|
436
|
+
required: ['text', 'url'],
|
|
437
|
+
},
|
|
438
|
+
};
|
|
439
|
+
exports.MediaProps = {
|
|
440
|
+
color: {
|
|
441
|
+
type: 'string',
|
|
442
|
+
},
|
|
443
|
+
image: {
|
|
444
|
+
anyOf: [exports.ImageProps, { type: 'array', items: exports.ImageProps }],
|
|
445
|
+
},
|
|
446
|
+
video: exports.VideoProps,
|
|
447
|
+
youtube: {
|
|
448
|
+
type: 'string',
|
|
449
|
+
},
|
|
450
|
+
parallax: {
|
|
451
|
+
type: 'boolean',
|
|
452
|
+
},
|
|
453
|
+
height: {
|
|
454
|
+
type: 'number',
|
|
455
|
+
},
|
|
456
|
+
previewImg: {
|
|
457
|
+
type: 'string',
|
|
458
|
+
},
|
|
459
|
+
dataLens: exports.DataLensProps,
|
|
460
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as blocks from './blocks';
|
|
2
|
+
import * as common from './common';
|
|
3
|
+
import * as subBlocks from './sub-blocks';
|
|
4
|
+
import * as pixel from './pixel';
|
|
5
|
+
import * as utils from './utils';
|
|
6
|
+
export declare const validators: {
|
|
7
|
+
blocks: typeof blocks;
|
|
8
|
+
common: typeof common;
|
|
9
|
+
subBlocks: typeof subBlocks;
|
|
10
|
+
pixel: typeof pixel;
|
|
11
|
+
utils: typeof utils;
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validators = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const blocks = (0, tslib_1.__importStar)(require("./blocks"));
|
|
6
|
+
const common = (0, tslib_1.__importStar)(require("./common"));
|
|
7
|
+
const subBlocks = (0, tslib_1.__importStar)(require("./sub-blocks"));
|
|
8
|
+
const pixel = (0, tslib_1.__importStar)(require("./pixel"));
|
|
9
|
+
const utils = (0, tslib_1.__importStar)(require("./utils"));
|
|
10
|
+
exports.validators = {
|
|
11
|
+
blocks,
|
|
12
|
+
common,
|
|
13
|
+
subBlocks,
|
|
14
|
+
pixel,
|
|
15
|
+
utils,
|
|
16
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PixelEventType } from '../../models';
|
|
2
|
+
export declare const pixelEvents: {
|
|
3
|
+
type: string;
|
|
4
|
+
items: {
|
|
5
|
+
type: string;
|
|
6
|
+
required: string[];
|
|
7
|
+
additionalProperties: boolean;
|
|
8
|
+
properties: {
|
|
9
|
+
name: {
|
|
10
|
+
type: string;
|
|
11
|
+
enum: PixelEventType[];
|
|
12
|
+
};
|
|
13
|
+
data: {};
|
|
14
|
+
};
|
|
15
|
+
select: {
|
|
16
|
+
$data: string;
|
|
17
|
+
};
|
|
18
|
+
selectCases: {
|
|
19
|
+
SubmitApplication: {
|
|
20
|
+
additionalProperties: boolean;
|
|
21
|
+
properties: {
|
|
22
|
+
name: {};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
Contact: {
|
|
26
|
+
additionalProperties: boolean;
|
|
27
|
+
properties: {
|
|
28
|
+
name: {};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
Lead: {
|
|
32
|
+
additionalProperties: boolean;
|
|
33
|
+
properties: {
|
|
34
|
+
name: {};
|
|
35
|
+
data: {
|
|
36
|
+
type: string;
|
|
37
|
+
additionalProperties: boolean;
|
|
38
|
+
properties: {
|
|
39
|
+
content_category: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
content_name: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
currency: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
value: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pixelEvents = void 0;
|
|
4
|
+
const models_1 = require("../../models");
|
|
5
|
+
const LeadData = {
|
|
6
|
+
Lead: {
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
name: {},
|
|
10
|
+
data: {
|
|
11
|
+
type: 'object',
|
|
12
|
+
additionalProperties: false,
|
|
13
|
+
properties: {
|
|
14
|
+
content_category: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
},
|
|
17
|
+
content_name: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
},
|
|
20
|
+
currency: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
value: {
|
|
24
|
+
type: 'number',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const ContactData = {
|
|
32
|
+
Contact: {
|
|
33
|
+
additionalProperties: false,
|
|
34
|
+
properties: {
|
|
35
|
+
name: {},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const SubmitApplicationData = {
|
|
40
|
+
SubmitApplication: {
|
|
41
|
+
additionalProperties: false,
|
|
42
|
+
properties: {
|
|
43
|
+
name: {},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
exports.pixelEvents = {
|
|
48
|
+
type: 'array',
|
|
49
|
+
items: {
|
|
50
|
+
type: 'object',
|
|
51
|
+
required: ['name'],
|
|
52
|
+
additionalProperties: false,
|
|
53
|
+
properties: {
|
|
54
|
+
name: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
enum: Object.values(models_1.PixelEventType),
|
|
57
|
+
},
|
|
58
|
+
data: {},
|
|
59
|
+
},
|
|
60
|
+
select: { $data: '0/name' },
|
|
61
|
+
selectCases: Object.assign(Object.assign(Object.assign({}, LeadData), ContactData), SubmitApplicationData),
|
|
62
|
+
},
|
|
63
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from '../../sub-blocks/PriceDetailed/schema';
|
|
2
|
+
export * from '../../sub-blocks/BackgroundCard/schema';
|
|
3
|
+
export * from '../../sub-blocks/Content/schema';
|
|
4
|
+
export * from '../../sub-blocks/MediaCard/schema';
|
|
5
|
+
export * from '../../sub-blocks/NewsCard/schema';
|
|
6
|
+
export * from '../../sub-blocks/Partner/schema';
|
|
7
|
+
export * from '../../sub-blocks/TutorialCard/schema';
|
|
8
|
+
export * from '../../sub-blocks/CardWithImage/schema';
|
|
9
|
+
export * from '../../sub-blocks/Quote/schema';
|
|
10
|
+
export * from '../../sub-blocks/Divider/schema';
|
|
11
|
+
export * from '../../sub-blocks/BasicCard/schema';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Will be removed
|
|
14
|
+
*/
|
|
15
|
+
export * from '../../components/CardBase/schema';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/PriceDetailed/schema"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/BackgroundCard/schema"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/Content/schema"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/MediaCard/schema"), exports);
|
|
8
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/NewsCard/schema"), exports);
|
|
9
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/Partner/schema"), exports);
|
|
10
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/TutorialCard/schema"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/CardWithImage/schema"), exports);
|
|
12
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/Quote/schema"), exports);
|
|
13
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/Divider/schema"), exports);
|
|
14
|
+
(0, tslib_1.__exportStar)(require("../../sub-blocks/BasicCard/schema"), exports);
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Will be removed
|
|
17
|
+
*/
|
|
18
|
+
(0, tslib_1.__exportStar)(require("../../components/CardBase/schema"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ObjectSchema extends Record<string, unknown> {
|
|
2
|
+
properties: object;
|
|
3
|
+
}
|
|
4
|
+
export declare const filteredItem: (itemsSchema: ObjectSchema) => {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
when: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const filteredArray: (itemsSchema: ObjectSchema) => {
|
|
13
|
+
type: string;
|
|
14
|
+
items: {
|
|
15
|
+
type: string;
|
|
16
|
+
properties: {
|
|
17
|
+
when: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filteredArray = exports.filteredItem = void 0;
|
|
4
|
+
const filteredItem = (itemsSchema) => (Object.assign(Object.assign({}, itemsSchema), { type: 'object', properties: Object.assign({ when: {
|
|
5
|
+
type: 'string',
|
|
6
|
+
} }, itemsSchema.properties) }));
|
|
7
|
+
exports.filteredItem = filteredItem;
|
|
8
|
+
const filteredArray = (itemsSchema) => ({
|
|
9
|
+
type: 'array',
|
|
10
|
+
items: (0, exports.filteredItem)(itemsSchema),
|
|
11
|
+
});
|
|
12
|
+
exports.filteredArray = filteredArray;
|