@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,15 @@
|
|
|
1
|
+
export declare enum ScrollDirection {
|
|
2
|
+
HORIZONTAL = "scrollLeft",
|
|
3
|
+
VERTICAL = "scrollTop"
|
|
4
|
+
}
|
|
5
|
+
export interface ScrollReverseParams {
|
|
6
|
+
distance?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ScrollOptions {
|
|
9
|
+
distance: number;
|
|
10
|
+
timeSeconds: number;
|
|
11
|
+
speed: number;
|
|
12
|
+
direction?: ScrollDirection;
|
|
13
|
+
reverseParams?: ScrollReverseParams;
|
|
14
|
+
}
|
|
15
|
+
export declare function doSmoothScroll(element: HTMLDivElement, startPosition: number, scrollOptions: ScrollOptions): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export var ScrollDirection;
|
|
2
|
+
(function (ScrollDirection) {
|
|
3
|
+
ScrollDirection["HORIZONTAL"] = "scrollLeft";
|
|
4
|
+
ScrollDirection["VERTICAL"] = "scrollTop";
|
|
5
|
+
})(ScrollDirection || (ScrollDirection = {}));
|
|
6
|
+
export function doSmoothScroll(element, startPosition, scrollOptions) {
|
|
7
|
+
const { distance, timeSeconds, speed, direction = ScrollDirection.HORIZONTAL, reverseParams, } = scrollOptions;
|
|
8
|
+
let scrollShift = 0;
|
|
9
|
+
let currentTimeChanges = 0;
|
|
10
|
+
const changeScrollFunction = getChangeScrollFunction(direction, Boolean(reverseParams));
|
|
11
|
+
const scrollDistance = (reverseParams === null || reverseParams === void 0 ? void 0 : reverseParams.distance) || distance;
|
|
12
|
+
const timeChanges = getTimeChanges(scrollDistance, timeSeconds, speed);
|
|
13
|
+
while (scrollShift < scrollDistance) {
|
|
14
|
+
window.setTimeout(changeScrollFunction, currentTimeChanges, element, scrollShift, startPosition);
|
|
15
|
+
currentTimeChanges += timeChanges;
|
|
16
|
+
scrollShift++;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function getChangeScrollFunction(direction, isReverse) {
|
|
20
|
+
return (element, scrollPosition, startPosition) => {
|
|
21
|
+
element[direction] = isReverse
|
|
22
|
+
? startPosition - scrollPosition
|
|
23
|
+
: startPosition + scrollPosition;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function getTimeChanges(distance, timeSeconds, acceleration) {
|
|
27
|
+
const physicalSpeed = distance / timeSeconds;
|
|
28
|
+
const programSpeedMilliseconds = (1 / physicalSpeed) * 1000;
|
|
29
|
+
return programSpeedMilliseconds / acceleration;
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DEFAULT_THEME } from '../components/constants';
|
|
2
|
+
export interface ThemedValue<T> extends Partial<Record<string, T>> {
|
|
3
|
+
[DEFAULT_THEME]: T;
|
|
4
|
+
}
|
|
5
|
+
export declare type ThemeSupporting<T> = T | ThemedValue<T>;
|
|
6
|
+
export declare function isThemedValue<T>(value: ThemeSupporting<T>): value is ThemedValue<T>;
|
|
7
|
+
export declare function getThemedValue<T>(value: ThemeSupporting<T>, theme?: string): T;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DEFAULT_THEME } from '../components/constants';
|
|
2
|
+
export function isThemedValue(value) {
|
|
3
|
+
return typeof value === 'object' && value !== null && DEFAULT_THEME in value;
|
|
4
|
+
}
|
|
5
|
+
export function getThemedValue(value, theme = DEFAULT_THEME) {
|
|
6
|
+
if (isThemedValue(value)) {
|
|
7
|
+
return value[theme] || value[DEFAULT_THEME];
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
return value;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare type Query = Record<string, number | string | null>;
|
|
2
|
+
export declare const EXTERNAL_LINK_PROPS: {
|
|
3
|
+
target: string;
|
|
4
|
+
rel: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function getLinkProps(url: string, hostname?: string, target?: string): {
|
|
7
|
+
target: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare function isLinkExternal(url: string, routerHostname?: string): boolean;
|
|
10
|
+
export declare function getNonLocaleHostName(hostname: string): string;
|
|
11
|
+
export declare function setUrlTld(url: string, tld?: string): string;
|
|
12
|
+
export declare const getPageSearchParams: (query?: Query) => URLSearchParams;
|
|
13
|
+
export declare function getAbsolutePath(hostname?: string, pathname?: string, url?: string): string;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { parse, format } from 'url';
|
|
2
|
+
export const EXTERNAL_LINK_PROPS = { target: '_blank', rel: 'noopener noreferrer' };
|
|
3
|
+
export function getLinkProps(url, hostname, target) {
|
|
4
|
+
let linkProps = { target };
|
|
5
|
+
if (target === '_blank' || isLinkExternal(url, hostname)) {
|
|
6
|
+
linkProps = Object.assign(Object.assign({}, linkProps), EXTERNAL_LINK_PROPS);
|
|
7
|
+
}
|
|
8
|
+
return linkProps;
|
|
9
|
+
}
|
|
10
|
+
export function isLinkExternal(url, routerHostname) {
|
|
11
|
+
if (!routerHostname) {
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
const { hostname } = parse(url);
|
|
15
|
+
if (!hostname) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
return getNonLocaleHostName(hostname) !== getNonLocaleHostName(routerHostname);
|
|
19
|
+
}
|
|
20
|
+
export function getNonLocaleHostName(hostname) {
|
|
21
|
+
return hostname.replace(/\.(ru|com)$/, '');
|
|
22
|
+
}
|
|
23
|
+
export function setUrlTld(url, tld = 'ru') {
|
|
24
|
+
return typeof url === 'string' ? url === null || url === void 0 ? void 0 : url.replace(/\${tld}/g, tld) : url;
|
|
25
|
+
}
|
|
26
|
+
export const getPageSearchParams = (query = {}) => {
|
|
27
|
+
const searchParams = new URLSearchParams();
|
|
28
|
+
Object.entries(query).forEach(([key, value]) => {
|
|
29
|
+
searchParams.set(key, String(value));
|
|
30
|
+
});
|
|
31
|
+
return searchParams;
|
|
32
|
+
};
|
|
33
|
+
export function getAbsolutePath(hostname, pathname, url) {
|
|
34
|
+
if (!pathname) {
|
|
35
|
+
return url !== null && url !== void 0 ? url : '';
|
|
36
|
+
}
|
|
37
|
+
const parsed = parse(url || '');
|
|
38
|
+
return format(Object.assign(Object.assign({}, parsed), { protocol: parsed.protocol || 'https', hostname: parsed.hostname || hostname, pathname: parsed.pathname || pathname }));
|
|
39
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gravity-ui/page-constructor",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Gravity UI Page Constructor",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/gravity-ui/page-constructor"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"build",
|
|
12
|
+
"styles",
|
|
13
|
+
"server"
|
|
14
|
+
],
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"*.css",
|
|
17
|
+
"*.scss"
|
|
18
|
+
],
|
|
19
|
+
"main": "build/cjs/index.js",
|
|
20
|
+
"module": "build/esm/index.js",
|
|
21
|
+
"typings": "build/esm/index.d.ts",
|
|
22
|
+
"scripts": {
|
|
23
|
+
"deps:install": "npm ci",
|
|
24
|
+
"deps:truncate": "npm prune --production",
|
|
25
|
+
"lint:fix": "run-s lint:js:fix lint:styles:fix lint:prettier:fix typecheck",
|
|
26
|
+
"lint:js": "eslint '**/*.{js,jsx,ts,tsx}' --max-warnings=0",
|
|
27
|
+
"lint:js:fix": "eslint '**/*.{js,jsx,ts,tsx}' --max-warnings=0 --quiet --fix",
|
|
28
|
+
"lint:styles": "stylelint '{styles,src}/**/*.scss'",
|
|
29
|
+
"lint:styles:fix": "stylelint **/*.scss --fix",
|
|
30
|
+
"lint:prettier": "prettier --check '**/*.{js,jsx,ts,tsx,css,scss,json,yaml,yml,md}'",
|
|
31
|
+
"lint:prettier:fix": "prettier --write '**/*.{js,jsx,ts,tsx,css,scss,json,yaml,yml,md}'",
|
|
32
|
+
"lint": "run-p lint:js lint:styles lint:prettier typecheck",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"dev": "npm run storybook:start",
|
|
35
|
+
"storybook:start": "TS_NODE_PROJECT=.storybook/tsconfig.json start-storybook -p 7009",
|
|
36
|
+
"storybook:build": "TS_NODE_PROJECT=.storybook/tsconfig.json build-storybook -c .storybook -o storybook-static",
|
|
37
|
+
"start": "node dist",
|
|
38
|
+
"clean": "gulp clean",
|
|
39
|
+
"build:client": "gulp",
|
|
40
|
+
"build:server": "rimraf server && tsc -p tsconfig.server.json && move-file server/server.js server/index.js && move-file server/server.d.ts server/index.d.ts",
|
|
41
|
+
"build": "run-p build:client build:server",
|
|
42
|
+
"prepublishOnly": "npm run lint && npm run build",
|
|
43
|
+
"prepare": "husky install",
|
|
44
|
+
"test": "echo TODO: add tests"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"bem-cn-lite": "^4.0.0",
|
|
48
|
+
"lodash": "^4.17.21",
|
|
49
|
+
"react-player": "^2.9.0",
|
|
50
|
+
"react-slick": "^0.28.1",
|
|
51
|
+
"react-spring": "^9.3.0",
|
|
52
|
+
"react-transition-group": "^4.4.2",
|
|
53
|
+
"react-waypoint": "^10.1.0",
|
|
54
|
+
"sanitize-html": "^2.6.1",
|
|
55
|
+
"snakecase-keys": "^5.1.0",
|
|
56
|
+
"typograf": "^6.14.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"react": "^16.0.0",
|
|
60
|
+
"@gravity-ui/uikit": "^3.0.1",
|
|
61
|
+
"@gravity-ui/i18n": "^1.0.0",
|
|
62
|
+
"@doc-tools/transform": "^2.6.1"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@commitlint/cli": "^17.1.2",
|
|
66
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
67
|
+
"@doc-tools/transform": "^2.12.0",
|
|
68
|
+
"@gravity-ui/eslint-config": "^1.0.2",
|
|
69
|
+
"@gravity-ui/i18n": "^1.0.0",
|
|
70
|
+
"@gravity-ui/prettier-config": "^1.0.1",
|
|
71
|
+
"@gravity-ui/stylelint-config": "^1.0.0",
|
|
72
|
+
"@gravity-ui/tsconfig": "^1.0.0",
|
|
73
|
+
"@gravity-ui/uikit": "^3.0.1",
|
|
74
|
+
"@storybook/addon-actions": "^6.3.12",
|
|
75
|
+
"@storybook/addon-essentials": "^6.5.10",
|
|
76
|
+
"@storybook/addon-knobs": "^6.3.1",
|
|
77
|
+
"@storybook/addon-viewport": "^6.3.12",
|
|
78
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
79
|
+
"@storybook/react": "^6.5.10",
|
|
80
|
+
"@types/lodash": "^4.14.176",
|
|
81
|
+
"@types/react": "^16.14.20",
|
|
82
|
+
"@types/react-slick": "^0.23.7",
|
|
83
|
+
"@types/react-transition-group": "^4.4.4",
|
|
84
|
+
"@types/sanitize-html": "^2.6.0",
|
|
85
|
+
"eslint": "^7.32.0",
|
|
86
|
+
"eslint-plugin-local": "./eslint-plugin-local",
|
|
87
|
+
"gulp": "^4.0.2",
|
|
88
|
+
"gulp-dart-sass": "^1.0.2",
|
|
89
|
+
"gulp-replace": "^1.1.3",
|
|
90
|
+
"gulp-typescript": "^6.0.0-alpha.1",
|
|
91
|
+
"html-loader": "^1.3.2",
|
|
92
|
+
"husky": "^7.0.4",
|
|
93
|
+
"js-yaml": "^4.1.0",
|
|
94
|
+
"lint-staged": "^11.2.6",
|
|
95
|
+
"markdown-loader": "^6.0.0",
|
|
96
|
+
"move-file-cli": "^3.0.0",
|
|
97
|
+
"npm-run-all": "^4.1.5",
|
|
98
|
+
"postcss": "^8.4.16",
|
|
99
|
+
"postcss-scss": "^4.0.4",
|
|
100
|
+
"prettier": "2.4.1",
|
|
101
|
+
"react": "^18.2.0",
|
|
102
|
+
"react-docgen-typescript": "^2.2.2",
|
|
103
|
+
"react-dom": "^18.2.0",
|
|
104
|
+
"rimraf": "^3.0.2",
|
|
105
|
+
"sass": "^1.54.4",
|
|
106
|
+
"sass-loader": "^10.3.1",
|
|
107
|
+
"stylelint": "^14.11.0",
|
|
108
|
+
"svg-sprite-loader": "^6.0.11",
|
|
109
|
+
"tslib": "^2.4.0",
|
|
110
|
+
"typescript": "4.4.4",
|
|
111
|
+
"webpack": "^4.46.0"
|
|
112
|
+
},
|
|
113
|
+
"lint-staged": {
|
|
114
|
+
"*.{css,scss}": [
|
|
115
|
+
"stylelint --fix",
|
|
116
|
+
"prettier --write"
|
|
117
|
+
],
|
|
118
|
+
"*.{js,jsx,ts,tsx}": [
|
|
119
|
+
"eslint --fix --quiet",
|
|
120
|
+
"prettier --write"
|
|
121
|
+
],
|
|
122
|
+
"*.{json,yaml,yml,md}": [
|
|
123
|
+
"prettier --write"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"publishConfig": {
|
|
127
|
+
"tag": "alpha"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HEADER_HEIGHT = exports.KEY = exports.DEFAULT_THEME = void 0;
|
|
4
|
+
exports.DEFAULT_THEME = 'light';
|
|
5
|
+
exports.KEY = {
|
|
6
|
+
ENTER: 'Enter',
|
|
7
|
+
TAB: 'Tab',
|
|
8
|
+
};
|
|
9
|
+
exports.HEADER_HEIGHT = 64;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum GridJustifyContent {
|
|
2
|
+
Start = "justify-content-start",
|
|
3
|
+
Center = "justify-content-center",
|
|
4
|
+
End = "justify-content-end",
|
|
5
|
+
Around = "justify-content-around",
|
|
6
|
+
Between = "justify-content-between"
|
|
7
|
+
}
|
|
8
|
+
export declare enum GridAlignItems {
|
|
9
|
+
Start = "align-items-start",
|
|
10
|
+
Center = "align-items-center",
|
|
11
|
+
End = "align-items-end"
|
|
12
|
+
}
|
|
13
|
+
export declare enum GridColumnSize {
|
|
14
|
+
Sm = "sm",
|
|
15
|
+
Md = "md",
|
|
16
|
+
Lg = "lg",
|
|
17
|
+
Xl = "xl",
|
|
18
|
+
All = "all"
|
|
19
|
+
}
|
|
20
|
+
export declare enum GridColumnAlignSelf {
|
|
21
|
+
Start = "align-self-start",
|
|
22
|
+
Center = "align-self-center",
|
|
23
|
+
End = "align-self-end"
|
|
24
|
+
}
|
|
25
|
+
export declare enum GridColumnClassPrefix {
|
|
26
|
+
Col = "col",
|
|
27
|
+
Offset = "offset",
|
|
28
|
+
Order = "order"
|
|
29
|
+
}
|
|
30
|
+
export declare enum GridColumnVisibilityClass {
|
|
31
|
+
None = "none",
|
|
32
|
+
Block = "block"
|
|
33
|
+
}
|
|
34
|
+
export declare enum GridColumnOrderClasses {
|
|
35
|
+
First = "first",
|
|
36
|
+
Last = "last"
|
|
37
|
+
}
|
|
38
|
+
export declare type GridColumnSizesType = Partial<Record<GridColumnSize, number>>;
|
|
39
|
+
export declare type GridColumnOrderSizesType = Partial<Record<GridColumnSize, number | GridColumnOrderClasses>>;
|
|
40
|
+
export interface GridColumnClassParams {
|
|
41
|
+
className?: string;
|
|
42
|
+
sizes?: GridColumnSizesType | number;
|
|
43
|
+
offsets?: GridColumnSizesType;
|
|
44
|
+
orders?: GridColumnOrderSizesType;
|
|
45
|
+
hidden?: GridColumnSize;
|
|
46
|
+
visible?: GridColumnSize;
|
|
47
|
+
alignSelf?: GridColumnAlignSelf;
|
|
48
|
+
justifyContent?: GridJustifyContent;
|
|
49
|
+
reset?: boolean;
|
|
50
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GridColumnOrderClasses = exports.GridColumnVisibilityClass = exports.GridColumnClassPrefix = exports.GridColumnAlignSelf = exports.GridColumnSize = exports.GridAlignItems = exports.GridJustifyContent = void 0;
|
|
4
|
+
var GridJustifyContent;
|
|
5
|
+
(function (GridJustifyContent) {
|
|
6
|
+
GridJustifyContent["Start"] = "justify-content-start";
|
|
7
|
+
GridJustifyContent["Center"] = "justify-content-center";
|
|
8
|
+
GridJustifyContent["End"] = "justify-content-end";
|
|
9
|
+
GridJustifyContent["Around"] = "justify-content-around";
|
|
10
|
+
GridJustifyContent["Between"] = "justify-content-between";
|
|
11
|
+
})(GridJustifyContent = exports.GridJustifyContent || (exports.GridJustifyContent = {}));
|
|
12
|
+
var GridAlignItems;
|
|
13
|
+
(function (GridAlignItems) {
|
|
14
|
+
GridAlignItems["Start"] = "align-items-start";
|
|
15
|
+
GridAlignItems["Center"] = "align-items-center";
|
|
16
|
+
GridAlignItems["End"] = "align-items-end";
|
|
17
|
+
})(GridAlignItems = exports.GridAlignItems || (exports.GridAlignItems = {}));
|
|
18
|
+
var GridColumnSize;
|
|
19
|
+
(function (GridColumnSize) {
|
|
20
|
+
GridColumnSize["Sm"] = "sm";
|
|
21
|
+
GridColumnSize["Md"] = "md";
|
|
22
|
+
GridColumnSize["Lg"] = "lg";
|
|
23
|
+
GridColumnSize["Xl"] = "xl";
|
|
24
|
+
GridColumnSize["All"] = "all";
|
|
25
|
+
})(GridColumnSize = exports.GridColumnSize || (exports.GridColumnSize = {}));
|
|
26
|
+
var GridColumnAlignSelf;
|
|
27
|
+
(function (GridColumnAlignSelf) {
|
|
28
|
+
GridColumnAlignSelf["Start"] = "align-self-start";
|
|
29
|
+
GridColumnAlignSelf["Center"] = "align-self-center";
|
|
30
|
+
GridColumnAlignSelf["End"] = "align-self-end";
|
|
31
|
+
})(GridColumnAlignSelf = exports.GridColumnAlignSelf || (exports.GridColumnAlignSelf = {}));
|
|
32
|
+
var GridColumnClassPrefix;
|
|
33
|
+
(function (GridColumnClassPrefix) {
|
|
34
|
+
GridColumnClassPrefix["Col"] = "col";
|
|
35
|
+
GridColumnClassPrefix["Offset"] = "offset";
|
|
36
|
+
GridColumnClassPrefix["Order"] = "order";
|
|
37
|
+
})(GridColumnClassPrefix = exports.GridColumnClassPrefix || (exports.GridColumnClassPrefix = {}));
|
|
38
|
+
var GridColumnVisibilityClass;
|
|
39
|
+
(function (GridColumnVisibilityClass) {
|
|
40
|
+
GridColumnVisibilityClass["None"] = "none";
|
|
41
|
+
GridColumnVisibilityClass["Block"] = "block";
|
|
42
|
+
})(GridColumnVisibilityClass = exports.GridColumnVisibilityClass || (exports.GridColumnVisibilityClass = {}));
|
|
43
|
+
var GridColumnOrderClasses;
|
|
44
|
+
(function (GridColumnOrderClasses) {
|
|
45
|
+
GridColumnOrderClasses["First"] = "first";
|
|
46
|
+
GridColumnOrderClasses["Last"] = "last";
|
|
47
|
+
})(GridColumnOrderClasses = exports.GridColumnOrderClasses || (exports.GridColumnOrderClasses = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './text-transform';
|
package/server/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./text-transform"), exports);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MetrikaGoal } from './';
|
|
3
|
+
export interface Refable<T> {
|
|
4
|
+
ref?: React.Ref<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare enum Theme {
|
|
7
|
+
Light = "light",
|
|
8
|
+
Dark = "dark"
|
|
9
|
+
}
|
|
10
|
+
declare type PixelCommand = 'track' | 'trackCustom';
|
|
11
|
+
export interface PixelEvent {
|
|
12
|
+
command: PixelCommand;
|
|
13
|
+
event: PixelEventType | string;
|
|
14
|
+
data?: Object;
|
|
15
|
+
}
|
|
16
|
+
export declare enum PixelEventType {
|
|
17
|
+
AddPaymentInfo = "AddPaymentInfo",
|
|
18
|
+
AddToCart = "AddToCart",
|
|
19
|
+
AddToWishlist = "AddToWishlist",
|
|
20
|
+
CompleteRegistration = "CompleteRegistration",
|
|
21
|
+
Contact = "Contact",
|
|
22
|
+
CustomizeProduct = "CustomizeProduct",
|
|
23
|
+
Donate = "Donate",
|
|
24
|
+
FindLocation = "FindLocation",
|
|
25
|
+
InitiateCheckout = "InitiateCheckout",
|
|
26
|
+
Lead = "Lead",
|
|
27
|
+
PageView = "PageView",
|
|
28
|
+
Purchase = "Purchase",
|
|
29
|
+
Schedule = "Schedule",
|
|
30
|
+
Search = "Search",
|
|
31
|
+
StartTrial = "StartTrial",
|
|
32
|
+
SubmitApplication = "SubmitApplication",
|
|
33
|
+
Subscribe = "Subscribe",
|
|
34
|
+
ViewContent = "ViewContent"
|
|
35
|
+
}
|
|
36
|
+
export declare type Modifiers = {
|
|
37
|
+
[name: string]: string | boolean | undefined;
|
|
38
|
+
};
|
|
39
|
+
export interface Pixel<TEvent = string> {
|
|
40
|
+
trackStandard: (event: TEvent, data?: Object) => void;
|
|
41
|
+
trackCustom: (event: string, data?: Object) => void;
|
|
42
|
+
track: (trackEvents: string | string[] | PixelEvent[] | PixelEvent) => void;
|
|
43
|
+
}
|
|
44
|
+
export interface Metrika {
|
|
45
|
+
reachGoal: (counterName: string, ...args: any) => void;
|
|
46
|
+
reachGoals: (goals: MetrikaGoal, counterName?: string) => void;
|
|
47
|
+
}
|
|
48
|
+
export interface ClassNameProps {
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare type Timeout = ReturnType<typeof setTimeout> | undefined;
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PixelEventType = exports.Theme = void 0;
|
|
4
|
+
var Theme;
|
|
5
|
+
(function (Theme) {
|
|
6
|
+
Theme["Light"] = "light";
|
|
7
|
+
Theme["Dark"] = "dark";
|
|
8
|
+
})(Theme = exports.Theme || (exports.Theme = {}));
|
|
9
|
+
var PixelEventType;
|
|
10
|
+
(function (PixelEventType) {
|
|
11
|
+
PixelEventType["AddPaymentInfo"] = "AddPaymentInfo";
|
|
12
|
+
PixelEventType["AddToCart"] = "AddToCart";
|
|
13
|
+
PixelEventType["AddToWishlist"] = "AddToWishlist";
|
|
14
|
+
PixelEventType["CompleteRegistration"] = "CompleteRegistration";
|
|
15
|
+
PixelEventType["Contact"] = "Contact";
|
|
16
|
+
PixelEventType["CustomizeProduct"] = "CustomizeProduct";
|
|
17
|
+
PixelEventType["Donate"] = "Donate";
|
|
18
|
+
PixelEventType["FindLocation"] = "FindLocation";
|
|
19
|
+
PixelEventType["InitiateCheckout"] = "InitiateCheckout";
|
|
20
|
+
PixelEventType["Lead"] = "Lead";
|
|
21
|
+
PixelEventType["PageView"] = "PageView";
|
|
22
|
+
PixelEventType["Purchase"] = "Purchase";
|
|
23
|
+
PixelEventType["Schedule"] = "Schedule";
|
|
24
|
+
PixelEventType["Search"] = "Search";
|
|
25
|
+
PixelEventType["StartTrial"] = "StartTrial";
|
|
26
|
+
PixelEventType["SubmitApplication"] = "SubmitApplication";
|
|
27
|
+
PixelEventType["Subscribe"] = "Subscribe";
|
|
28
|
+
PixelEventType["ViewContent"] = "ViewContent";
|
|
29
|
+
})(PixelEventType = exports.PixelEventType || (exports.PixelEventType = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PCShareSocialNetwork = void 0;
|
|
4
|
+
var PCShareSocialNetwork;
|
|
5
|
+
(function (PCShareSocialNetwork) {
|
|
6
|
+
PCShareSocialNetwork["Vk"] = "vk";
|
|
7
|
+
PCShareSocialNetwork["Telegram"] = "telegram";
|
|
8
|
+
PCShareSocialNetwork["Twitter"] = "twitter";
|
|
9
|
+
PCShareSocialNetwork["Facebook"] = "facebook";
|
|
10
|
+
})(PCShareSocialNetwork = exports.PCShareSocialNetwork || (exports.PCShareSocialNetwork = {}));
|