@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,25 @@
|
|
|
1
|
+
import React, { useCallback, useContext } from 'react';
|
|
2
|
+
import { Button, Icon } from '@gravity-ui/uikit';
|
|
3
|
+
import { ArrowSidebar } from '../../icons';
|
|
4
|
+
import { LocationContext } from '../../context/locationContext';
|
|
5
|
+
export default function BackLink(props) {
|
|
6
|
+
const { history } = useContext(LocationContext);
|
|
7
|
+
const { url, title, theme = 'default', size = 'l', className, shouldHandleBackAction = false, onClick, } = props;
|
|
8
|
+
const backActionHandler = useCallback(async () => {
|
|
9
|
+
if (!history) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (onClick) {
|
|
13
|
+
onClick();
|
|
14
|
+
}
|
|
15
|
+
if (history.length > 1) {
|
|
16
|
+
history.goBack();
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
history.push({ pathname: url });
|
|
20
|
+
}
|
|
21
|
+
}, [history, onClick, url]);
|
|
22
|
+
return (React.createElement(Button, { className: className, view: theme === 'special' ? 'flat-contrast' : 'flat-secondary', size: size, href: shouldHandleBackAction ? undefined : url, onClick: shouldHandleBackAction ? backActionHandler : undefined },
|
|
23
|
+
React.createElement(Icon, { data: ArrowSidebar, size: 24 }),
|
|
24
|
+
React.createElement("span", null, title)));
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.pc-storage-background-image {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
}
|
|
5
|
+
.pc-storage-background-image__img {
|
|
6
|
+
left: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
position: absolute;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
object-fit: cover;
|
|
13
|
+
}
|
|
14
|
+
.pc-storage-background-image__container {
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { block } from '../../utils';
|
|
3
|
+
import Image from '../Image/Image';
|
|
4
|
+
import './BackgroundImage.css';
|
|
5
|
+
const b = block('storage-background-image');
|
|
6
|
+
const BackgroundImage = (props) => {
|
|
7
|
+
const { children, src, alt, disableCompress, className, imageClassName, style, hide } = props;
|
|
8
|
+
return (React.createElement("div", { className: b(null, className), style: style },
|
|
9
|
+
src && !hide && (React.createElement(Image, { className: b('img', imageClassName), src: src, alt: alt, disableCompress: disableCompress })),
|
|
10
|
+
children && React.createElement("div", { className: b('container') }, children)));
|
|
11
|
+
};
|
|
12
|
+
export default BackgroundImage;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-BackgroundMedia {
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
.pc-BackgroundMedia__media {
|
|
10
|
+
margin: 0 auto;
|
|
11
|
+
max-width: 1440px;
|
|
12
|
+
text-align: center;
|
|
13
|
+
}
|
|
14
|
+
.pc-BackgroundMedia__image {
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.pc-BackgroundMedia__video {
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
.pc-BackgroundMedia__video video {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
left: 50%;
|
|
25
|
+
transform: translateX(-50%);
|
|
26
|
+
}
|
|
27
|
+
.pc-BackgroundMedia__video,
|
|
28
|
+
.pc-BackgroundMedia video {
|
|
29
|
+
width: auto;
|
|
30
|
+
}
|
|
31
|
+
@media (max-width: 769px) {
|
|
32
|
+
.pc-BackgroundMedia__image {
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
.pc-BackgroundMedia__video {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
@media (min-width: 769px) {
|
|
40
|
+
.pc-BackgroundMedia.pc-AnimateBlock__image, .pc-AnimateBlock .pc-BackgroundMedia__image {
|
|
41
|
+
position: relative;
|
|
42
|
+
bottom: 100px;
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
.pc-BackgroundMedia.pc-AnimateBlock.animate .pc-BackgroundMedia__image, .pc-AnimateBlock .pc-BackgroundMedia.animate .pc-BackgroundMedia__image {
|
|
46
|
+
bottom: 0;
|
|
47
|
+
opacity: 1;
|
|
48
|
+
transition: bottom 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MediaProps, Animatable } from '../../models';
|
|
2
|
+
import './BackgroundMedia.css';
|
|
3
|
+
export interface FullProps extends MediaProps, Animatable {
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const BackgroundMedia: ({ className, color, animated, parallax, video, ...props }: FullProps) => JSX.Element;
|
|
7
|
+
export default BackgroundMedia;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React, { useContext } from 'react';
|
|
3
|
+
import { block } from '../../utils';
|
|
4
|
+
import Media from '../Media/Media';
|
|
5
|
+
import AnimateBlock from '../AnimateBlock/AnimateBlock';
|
|
6
|
+
import { MobileContext } from '../../context/mobileContext';
|
|
7
|
+
import './BackgroundMedia.css';
|
|
8
|
+
const b = block('BackgroundMedia');
|
|
9
|
+
const BackgroundMedia = (_a) => {
|
|
10
|
+
var { className, color, animated, parallax = true, video } = _a, props = __rest(_a, ["className", "color", "animated", "parallax", "video"]);
|
|
11
|
+
const isMobile = useContext(MobileContext);
|
|
12
|
+
return (React.createElement(AnimateBlock, { className: b(null, className), style: { backgroundColor: color }, animate: animated },
|
|
13
|
+
React.createElement(Media, Object.assign({ className: b('media'), imageClassName: b('image'), videoClassName: b('video'), isBackground: true }, Object.assign({ height: 720, color,
|
|
14
|
+
parallax, video: isMobile ? undefined : video }, props)))));
|
|
15
|
+
};
|
|
16
|
+
export default BackgroundMedia;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { WithChildren } from '../../models';
|
|
3
|
+
import './BalancedMasonry.css';
|
|
4
|
+
export interface BalancedMasonryProps {
|
|
5
|
+
className: string;
|
|
6
|
+
columnClassName: string;
|
|
7
|
+
children: ReactNode[];
|
|
8
|
+
breakpointCols: {
|
|
9
|
+
[key: number]: number;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
declare const BalancedMasonry: (props: WithChildren<BalancedMasonryProps>) => JSX.Element;
|
|
13
|
+
export default BalancedMasonry;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React, { useEffect, useState, useCallback, useRef, useContext } from 'react';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { block } from '../../utils';
|
|
4
|
+
import { SSRContext } from '../../context/ssrContext';
|
|
5
|
+
import './BalancedMasonry.css';
|
|
6
|
+
const b = block('BalancedMasonry');
|
|
7
|
+
const BalancedMasonry = (props) => {
|
|
8
|
+
const { className, columnClassName, children = [], breakpointCols } = props;
|
|
9
|
+
const { isServer } = useContext(SSRContext);
|
|
10
|
+
const getCurrentColumnsCount = useCallback(() => {
|
|
11
|
+
const breakpoints = Object.entries(breakpointCols).sort(([firstBreakpoint], [secondBreakpoint]) => {
|
|
12
|
+
return Number(secondBreakpoint) - Number(firstBreakpoint);
|
|
13
|
+
});
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
15
|
+
let [, result] = _.first(breakpoints);
|
|
16
|
+
if (isServer) {
|
|
17
|
+
return result;
|
|
18
|
+
}
|
|
19
|
+
for (const [rawWidth, columnCount] of breakpoints) {
|
|
20
|
+
const width = Number(rawWidth);
|
|
21
|
+
if (document.body.clientWidth <= width) {
|
|
22
|
+
result = columnCount;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return result;
|
|
26
|
+
}, [breakpointCols, isServer]);
|
|
27
|
+
const [columnCount, setColumnCount] = useState(getCurrentColumnsCount());
|
|
28
|
+
const [columns, setColumns] = useState([]);
|
|
29
|
+
const containerRef = useRef(null);
|
|
30
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
31
|
+
const balanceColumns = useCallback(_.debounce(() => {
|
|
32
|
+
if (!containerRef.current) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const localColumns = [];
|
|
36
|
+
const columnsMeta = [];
|
|
37
|
+
for (let i = 0; i < columnCount; i++) {
|
|
38
|
+
columnsMeta.push({ id: i, height: 0 });
|
|
39
|
+
localColumns.push([]);
|
|
40
|
+
}
|
|
41
|
+
for (let i = 0; i < containerRef.current.children.length; i++) {
|
|
42
|
+
const node = containerRef.current.children.item(i);
|
|
43
|
+
if (!node) {
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
const minColumn = _.minBy(columnsMeta, 'height') || { id: 0, height: 0 };
|
|
47
|
+
const { id: columnId } = minColumn;
|
|
48
|
+
localColumns[columnId].push(children[i]);
|
|
49
|
+
minColumn.height += node.offsetHeight;
|
|
50
|
+
}
|
|
51
|
+
setColumns(localColumns);
|
|
52
|
+
}, 300), [children, columnCount]);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
balanceColumns();
|
|
55
|
+
}, [balanceColumns, children, columnCount]);
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
const updateColumnCounter = () => setColumnCount(getCurrentColumnsCount());
|
|
58
|
+
window.addEventListener('resize', updateColumnCounter);
|
|
59
|
+
return () => window.removeEventListener('resize', updateColumnCounter);
|
|
60
|
+
}, [setColumnCount, columns, getCurrentColumnsCount]);
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
const currentRef = containerRef.current;
|
|
63
|
+
const isResizeEventsSupported = 'ResizeObserver' in window;
|
|
64
|
+
if (!currentRef || !isResizeEventsSupported) {
|
|
65
|
+
return () => { };
|
|
66
|
+
}
|
|
67
|
+
const observer = new ResizeObserver(balanceColumns);
|
|
68
|
+
for (let i = 0; i < currentRef.children.length; i++) {
|
|
69
|
+
const node = currentRef.children.item(i);
|
|
70
|
+
if (!node) {
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
observer.observe(node);
|
|
74
|
+
}
|
|
75
|
+
return () => observer.disconnect();
|
|
76
|
+
}, [balanceColumns, children]);
|
|
77
|
+
return (React.createElement("div", { className: b(null, className) },
|
|
78
|
+
React.createElement("div", { className: b('hidden-container'), style: { width: `${100 / columnCount}%` } },
|
|
79
|
+
React.createElement("div", { ref: containerRef, className: b('hidden-list') }, children)),
|
|
80
|
+
columns.map((columnElements, index) => (React.createElement("div", { key: index, className: columnClassName, style: { width: `${100 / columnCount}%` } }, columnElements)))));
|
|
81
|
+
};
|
|
82
|
+
export default BalancedMasonry;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-block-base {
|
|
4
|
+
--anchor-offset: 48px;
|
|
5
|
+
margin-top: 48px;
|
|
6
|
+
padding: 0 0 48px;
|
|
7
|
+
}
|
|
8
|
+
.pc-block-base:first-child {
|
|
9
|
+
margin-top: var(--pc-first-block-indent, 96px);
|
|
10
|
+
}
|
|
11
|
+
@media only screen and (max-width: 577px) {
|
|
12
|
+
.pc-block-base.pc-block-base {
|
|
13
|
+
margin-top: 32px;
|
|
14
|
+
padding-bottom: 32px;
|
|
15
|
+
}
|
|
16
|
+
.pc-block-base.pc-block-base:first-child {
|
|
17
|
+
margin-top: var(--pc-first-block-mobile-indent, 64px);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pc-block-base_reset-paddings.pc-block-base.pc-block-base_reset-paddings.pc-block-base {
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (max-width: 577px) {
|
|
27
|
+
.pc-block-base {
|
|
28
|
+
--anchor-offset: 32px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { block } from '../../utils';
|
|
3
|
+
import Anchor from '../Anchor/Anchor';
|
|
4
|
+
import { Col } from '../../grid';
|
|
5
|
+
import './BlockBase.css';
|
|
6
|
+
const b = block('block-base');
|
|
7
|
+
const BlockBase = (props) => {
|
|
8
|
+
const { anchor, visible, children, className, resetPaddings } = props;
|
|
9
|
+
return (React.createElement(Col, { className: b({ ['reset-paddings']: resetPaddings }, className), visible: visible, reset: true },
|
|
10
|
+
anchor && React.createElement(Anchor, { id: anchor.url, className: b('anchor') }),
|
|
11
|
+
children));
|
|
12
|
+
};
|
|
13
|
+
export default BlockBase;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-BlockHeader__description {
|
|
4
|
+
font-size: var(--yc-text-body-2-font-size);
|
|
5
|
+
line-height: var(--yc-text-body-2-line-height);
|
|
6
|
+
margin-top: 16px;
|
|
7
|
+
}
|
|
8
|
+
.pc-BlockHeader__description_titleSize_s {
|
|
9
|
+
margin-top: 8px;
|
|
10
|
+
}
|
|
11
|
+
.pc-BlockHeader__description_titleSize_l {
|
|
12
|
+
font-size: var(--yc-text-body-3-font-size);
|
|
13
|
+
line-height: var(--yc-text-body-3-line-height);
|
|
14
|
+
}
|
|
15
|
+
.pc-BlockHeader__description a {
|
|
16
|
+
outline: none;
|
|
17
|
+
color: var(--yc-color-text-link);
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.utilityfocus .pc-BlockHeader__description a:focus {
|
|
22
|
+
outline: 2px solid #ffdb4d;
|
|
23
|
+
}
|
|
24
|
+
.pc-BlockHeader__description a:hover, .pc-BlockHeader__description a:active {
|
|
25
|
+
--pc-text-header-color: var(--yc-color-text-link-hover);
|
|
26
|
+
color: var(--yc-color-text-link-hover);
|
|
27
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BlockHeaderProps as BlockHeaderParams, ClassNameProps } from '../../models';
|
|
2
|
+
import { GridColumnSizesType } from '../../grid';
|
|
3
|
+
import './BlockHeader.css';
|
|
4
|
+
export interface BlockHeaderProps extends BlockHeaderParams {
|
|
5
|
+
colSizes?: GridColumnSizesType;
|
|
6
|
+
}
|
|
7
|
+
declare const BlockHeader: ({ title, description, className, colSizes, }: BlockHeaderProps & ClassNameProps) => JSX.Element | null;
|
|
8
|
+
export default BlockHeader;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { block } from '../../utils';
|
|
4
|
+
import { Col } from '../../grid';
|
|
5
|
+
import { Title, HTML } from '../';
|
|
6
|
+
import './BlockHeader.css';
|
|
7
|
+
const b = block('BlockHeader');
|
|
8
|
+
const BlockHeader = ({ title, description, className, colSizes = { all: 12, sm: 8 }, }) => {
|
|
9
|
+
if (!title && !description) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
const _a = !title || typeof title === 'string' ? { text: title } : title, { text } = _a, titleProps = __rest(_a, ["text"]);
|
|
13
|
+
return (React.createElement("div", { className: b(null, className) },
|
|
14
|
+
text && (React.createElement(Col, { reset: true, sizes: colSizes },
|
|
15
|
+
React.createElement(Title, Object.assign({ text: text }, titleProps)))),
|
|
16
|
+
description && (React.createElement(Col, { reset: true, sizes: { all: 12, sm: 8 } },
|
|
17
|
+
React.createElement("div", { className: b('description', { titleSize: titleProps === null || titleProps === void 0 ? void 0 : titleProps.textSize }) },
|
|
18
|
+
React.createElement(HTML, null, description))))));
|
|
19
|
+
};
|
|
20
|
+
export default BlockHeader;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.pc-button-block__content {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
.pc-button-block__image {
|
|
6
|
+
width: 18px;
|
|
7
|
+
height: 18px;
|
|
8
|
+
}
|
|
9
|
+
.pc-button-block__image + .pc-button-block__text, .pc-button-block__text + .pc-button-block__image {
|
|
10
|
+
margin-left: var(--btn-image-margin);
|
|
11
|
+
}
|
|
12
|
+
.pc-button-block_theme_github.pc-button-block_theme_github {
|
|
13
|
+
--yc-button-background-color: var(--pc-monochrome-button);
|
|
14
|
+
--yc-button-background-color-hover: var(--pc-monochrome-button-hover);
|
|
15
|
+
color: var(--yc-color-text-light-primary);
|
|
16
|
+
}
|
|
17
|
+
.pc-button-block_theme_github.pc-button-block_theme_github:hover {
|
|
18
|
+
color: var(--yc-color-text-light-primary);
|
|
19
|
+
}
|
|
20
|
+
.pc-button-block_theme_scale::before, .pc-button-block_theme_scale::after {
|
|
21
|
+
border-radius: 300px;
|
|
22
|
+
}
|
|
23
|
+
.pc-button-block_theme_monochrome {
|
|
24
|
+
--yc-button-background-color: var(--pc-monochrome-button);
|
|
25
|
+
--yc-button-background-color-hover: var(--pc-monochrome-button-hover);
|
|
26
|
+
color: var(--yc-color-text-light-primary);
|
|
27
|
+
}
|
|
28
|
+
.pc-button-block_theme_monochrome:hover {
|
|
29
|
+
color: var(--yc-color-text-light-primary);
|
|
30
|
+
}
|
|
31
|
+
.pc-button-block_size_s {
|
|
32
|
+
--btn-image-margin: 10px;
|
|
33
|
+
}
|
|
34
|
+
.pc-button-block_size_m {
|
|
35
|
+
--btn-image-margin: 13px;
|
|
36
|
+
}
|
|
37
|
+
.pc-button-block_size_l {
|
|
38
|
+
--btn-image-margin: 18px;
|
|
39
|
+
}
|
|
40
|
+
.pc-button-block_size_xl {
|
|
41
|
+
--btn-image-margin: 25px;
|
|
42
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonProps as ButtonParams } from '../../models';
|
|
2
|
+
import './Button.css';
|
|
3
|
+
export interface ButtonProps extends Omit<ButtonParams, 'url'> {
|
|
4
|
+
className?: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const Button: (props: ButtonProps) => JSX.Element;
|
|
9
|
+
export default Button;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React, { useCallback, useContext } from 'react';
|
|
3
|
+
import { Platform, Button as CommonButton, Icon, StoreBadge } from '@gravity-ui/uikit';
|
|
4
|
+
import { block, setUrlTld } from '../../utils';
|
|
5
|
+
import { toCommonSize, toCommonView } from './utils';
|
|
6
|
+
import { LocaleContext } from '../../context/localeContext/localeContext';
|
|
7
|
+
import { useMetrika } from '../../hooks/useMetrika';
|
|
8
|
+
import { Github } from '../../icons';
|
|
9
|
+
import './Button.css';
|
|
10
|
+
const b = block('button-block');
|
|
11
|
+
const Button = (props) => {
|
|
12
|
+
const handleMetrika = useMetrika();
|
|
13
|
+
const { lang, tld } = useContext(LocaleContext);
|
|
14
|
+
const { className, metrikaGoals, pixelEvents, size = 'l', theme = 'normal', url, img, onClick: onClickOrigin, text } = props, rest = __rest(props, ["className", "metrikaGoals", "pixelEvents", "size", "theme", "url", "img", "onClick", "text"]);
|
|
15
|
+
const defaultImgPosition = 'left';
|
|
16
|
+
const onClick = useCallback(() => {
|
|
17
|
+
handleMetrika({ metrikaGoals, pixelEvents });
|
|
18
|
+
if (onClickOrigin) {
|
|
19
|
+
onClickOrigin();
|
|
20
|
+
}
|
|
21
|
+
}, [handleMetrika, metrikaGoals, pixelEvents, onClickOrigin]);
|
|
22
|
+
const buttonImg = img instanceof Object
|
|
23
|
+
? { url: img.url, position: img.position || defaultImgPosition, alt: img.alt }
|
|
24
|
+
: { url: img, position: defaultImgPosition };
|
|
25
|
+
const buttonClass = img
|
|
26
|
+
? b({ position: buttonImg.position, size, theme }, className)
|
|
27
|
+
: b({ size, theme }, className);
|
|
28
|
+
const buttonProps = Object.assign(Object.assign({}, rest), { onClick });
|
|
29
|
+
if (theme === 'app-store' || theme === 'google-play') {
|
|
30
|
+
const platform = theme === 'app-store' ? Platform.IOS : Platform.ANDROID;
|
|
31
|
+
return React.createElement(StoreBadge, { className: buttonClass, platform: platform, lang: lang, url: url });
|
|
32
|
+
}
|
|
33
|
+
let icon;
|
|
34
|
+
let image = img && React.createElement("img", { className: b('image'), src: buttonImg.url, alt: buttonImg.alt });
|
|
35
|
+
if (theme === 'github') {
|
|
36
|
+
icon = React.createElement(Icon, { className: b('icon'), data: Github, size: 24 });
|
|
37
|
+
image = undefined;
|
|
38
|
+
}
|
|
39
|
+
const buttonTheme = theme === 'scale' ? 'accent' : theme;
|
|
40
|
+
return (React.createElement(CommonButton, Object.assign({ className: buttonClass, view: toCommonView(buttonTheme), size: toCommonSize(size), href: url ? setUrlTld(url, tld) : undefined }, buttonProps),
|
|
41
|
+
icon && buttonImg.position === 'left' ? icon : null,
|
|
42
|
+
React.createElement("span", { className: b('content') },
|
|
43
|
+
image && buttonImg.position === 'left' ? image : null,
|
|
44
|
+
React.createElement("span", { className: b('text') }, text),
|
|
45
|
+
image && buttonImg.position === 'right' ? image : null),
|
|
46
|
+
icon && buttonImg.position === 'right' ? icon : null));
|
|
47
|
+
};
|
|
48
|
+
export default Button;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ButtonSize, ButtonView } from '@gravity-ui/uikit';
|
|
2
|
+
export declare type OldButtonTheme = 'normal' | 'action' | 'flat' | 'light' | 'clear' | 'raised' | 'pseudo' | 'link' | 'accent' | 'websearch' | 'flat-special' | 'normal-special' | 'normal-dark' | 'pseudo-special';
|
|
3
|
+
export declare type OldButtonSize = 'xs' | 'ns' | 's' | 'm' | 'l' | 'n' | 'head' | 'promo';
|
|
4
|
+
export declare const toCommonView: (theme: OldButtonTheme) => ButtonView;
|
|
5
|
+
export declare const toCommonSize: (size: OldButtonSize) => ButtonSize;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const themeMap = {
|
|
2
|
+
normal: 'normal',
|
|
3
|
+
action: 'action',
|
|
4
|
+
flat: 'flat',
|
|
5
|
+
light: 'flat-secondary',
|
|
6
|
+
clear: 'flat-secondary',
|
|
7
|
+
raised: 'raised',
|
|
8
|
+
pseudo: 'outlined',
|
|
9
|
+
link: 'outlined-info',
|
|
10
|
+
accent: 'action',
|
|
11
|
+
websearch: 'action',
|
|
12
|
+
'flat-special': 'flat-contrast',
|
|
13
|
+
'normal-special': 'normal-contrast',
|
|
14
|
+
'normal-dark': 'outlined-contrast',
|
|
15
|
+
'pseudo-special': 'outlined-contrast',
|
|
16
|
+
};
|
|
17
|
+
const sizeMap = {
|
|
18
|
+
xs: 's',
|
|
19
|
+
ns: 's',
|
|
20
|
+
s: 'm',
|
|
21
|
+
m: 'l',
|
|
22
|
+
l: 'l',
|
|
23
|
+
n: 'l',
|
|
24
|
+
head: 'l',
|
|
25
|
+
promo: 'xl',
|
|
26
|
+
};
|
|
27
|
+
export const toCommonView = (theme) => { var _a; return (_a = themeMap[theme]) !== null && _a !== void 0 ? _a : theme; };
|
|
28
|
+
export const toCommonSize = (size) => { var _a; return (_a = sizeMap[size]) !== null && _a !== void 0 ? _a : size; };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
a.pc-card-base-block_border_shadow, .pc-card-base-block_border_shadow {
|
|
2
|
+
box-shadow: 0px 4px 24px var(--pc-color-sfx-shadow), 0px 2px 8px var(--pc-color-sfx-shadow);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/* use this for style redefinitions to awoid problems with
|
|
6
|
+
unpredictable css rules order in build */
|
|
7
|
+
.pc-card-base-block__body, .pc-card-base-block {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.pc-card-base-block {
|
|
14
|
+
min-height: 248px;
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow-x: hidden;
|
|
17
|
+
border-radius: var(--pc-border-radius);
|
|
18
|
+
background-color: var(--yc-color-base-float);
|
|
19
|
+
transition: box-shadow 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
.pc-card-base-block_border_line {
|
|
23
|
+
border: 1px solid var(--yc-color-line-generic);
|
|
24
|
+
}
|
|
25
|
+
.pc-card-base-block_border_line, .pc-card-base-block_border_none {
|
|
26
|
+
cursor: default;
|
|
27
|
+
}
|
|
28
|
+
@media (min-width: 577px) {
|
|
29
|
+
.slick-slide:not(.slick-active) .pc-card-base-block {
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.pc-card-base-block__header {
|
|
34
|
+
position: relative;
|
|
35
|
+
background-repeat: no-repeat;
|
|
36
|
+
background-size: cover;
|
|
37
|
+
background-position: center;
|
|
38
|
+
margin: var(--pc-image-padding);
|
|
39
|
+
border-radius: calc(var(--pc-border-radius) - var(--pc-image-padding));
|
|
40
|
+
}
|
|
41
|
+
.pc-card-base-block__header-content {
|
|
42
|
+
padding: 32px;
|
|
43
|
+
}
|
|
44
|
+
.pc-card-base-block__body {
|
|
45
|
+
font-size: var(--yc-text-body-2-font-size);
|
|
46
|
+
line-height: var(--yc-text-body-2-line-height);
|
|
47
|
+
flex: 1;
|
|
48
|
+
padding: 32px;
|
|
49
|
+
}
|
|
50
|
+
.pc-card-base-block__header + .pc-card-base-block__body {
|
|
51
|
+
padding: 24px 32px 32px;
|
|
52
|
+
}
|
|
53
|
+
.pc-card-base-block__content {
|
|
54
|
+
flex: 1;
|
|
55
|
+
}
|
|
56
|
+
.pc-card-base-block__footer {
|
|
57
|
+
margin-top: 14px;
|
|
58
|
+
}
|
|
59
|
+
@media (max-width: 577px) {
|
|
60
|
+
.pc-card-base-block {
|
|
61
|
+
min-height: unset;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
a.pc-card-base-block {
|
|
66
|
+
color: inherit;
|
|
67
|
+
text-decoration: none;
|
|
68
|
+
min-height: 248px;
|
|
69
|
+
height: 100%;
|
|
70
|
+
overflow-x: hidden;
|
|
71
|
+
border-radius: var(--pc-border-radius);
|
|
72
|
+
background-color: var(--yc-color-base-float);
|
|
73
|
+
transition: box-shadow 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
74
|
+
}
|
|
75
|
+
a.pc-card-base-block:hover, a.pc-card-base-block:active {
|
|
76
|
+
--pc-text-header-color: inherit;
|
|
77
|
+
color: inherit;
|
|
78
|
+
}
|
|
79
|
+
a.pc-card-base-block_border_line {
|
|
80
|
+
border: 1px solid var(--yc-color-line-generic);
|
|
81
|
+
}
|
|
82
|
+
a.pc-card-base-block_border_line, a.pc-card-base-block_border_none {
|
|
83
|
+
cursor: default;
|
|
84
|
+
}
|
|
85
|
+
a.pc-card-base-block_border_shadow {
|
|
86
|
+
transition: transform 0.3s ease-out;
|
|
87
|
+
}
|
|
88
|
+
a.pc-card-base-block_border_shadow:hover {
|
|
89
|
+
transform: translateY(-8px);
|
|
90
|
+
}
|
|
91
|
+
a.pc-card-base-block_border_shadow:hover {
|
|
92
|
+
background-color: var(--pc-color-base-float-hover);
|
|
93
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { ReactElement, HTMLAttributeAnchorTarget } from 'react';
|
|
2
|
+
import { ButtonPixel, CardBaseProps as CardBaseParams, ImageProps, MetrikaGoal, WithChildren } from '../../models';
|
|
3
|
+
import './CardBase.css';
|
|
4
|
+
export interface CardBaseProps extends CardBaseParams {
|
|
5
|
+
className?: string;
|
|
6
|
+
bodyClassName?: string;
|
|
7
|
+
contentClassName?: string;
|
|
8
|
+
children: ReactElement | ReactElement[];
|
|
9
|
+
url?: string;
|
|
10
|
+
target?: HTMLAttributeAnchorTarget;
|
|
11
|
+
metrikaGoals?: MetrikaGoal;
|
|
12
|
+
pixelEvents?: ButtonPixel;
|
|
13
|
+
}
|
|
14
|
+
export interface CardHeaderBaseProps {
|
|
15
|
+
className?: string;
|
|
16
|
+
image?: ImageProps | null;
|
|
17
|
+
}
|
|
18
|
+
export interface CardFooterBaseProps {
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const Layout: {
|
|
22
|
+
(props: CardBaseProps): JSX.Element;
|
|
23
|
+
Header: React.FC<WithChildren<CardHeaderBaseProps>>;
|
|
24
|
+
Content: React.FC<{
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}>;
|
|
27
|
+
Footer: React.FC<WithChildren<CardFooterBaseProps>>;
|
|
28
|
+
};
|
|
29
|
+
export default Layout;
|