@gravity-ui/page-constructor 4.0.0-beta.0 → 4.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/README.md +54 -7
- package/build/cjs/blocks/Banner/schema.d.ts +72 -24
- package/build/cjs/blocks/CardLayout/schema.d.ts +16 -6
- package/build/cjs/blocks/Companies/Companies.css +5 -5
- package/build/cjs/blocks/Companies/Companies.js +3 -3
- package/build/cjs/blocks/Companies/schema.d.ts +8 -3
- package/build/cjs/blocks/ContentLayout/ContentLayout.css +4 -7
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +112 -59
- package/build/cjs/blocks/ContentLayout/schema.js +23 -18
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.css +16 -16
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +3 -3
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +37 -6
- package/build/cjs/blocks/ExtendedFeatures/schema.js +2 -3
- package/build/cjs/blocks/FilterBlock/schema.d.ts +19 -7
- package/build/cjs/blocks/FilterBlock/schema.js +13 -2
- package/build/cjs/blocks/Header/Header.css +28 -25
- package/build/cjs/blocks/Header/Header.js +6 -7
- package/build/cjs/blocks/Header/schema.d.ts +329 -37
- package/build/cjs/blocks/Header/schema.js +1 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +129 -54
- package/build/cjs/blocks/HeaderSlider/schema.js +3 -1
- package/build/cjs/blocks/Icons/Icons.css +2 -2
- package/build/cjs/blocks/Icons/schema.d.ts +9 -3
- package/build/cjs/blocks/Icons/schema.js +2 -1
- package/build/cjs/blocks/Info/Info.css +1 -1
- package/build/cjs/blocks/Info/Info.js +3 -3
- package/build/cjs/blocks/Info/schema.d.ts +44 -9
- package/build/cjs/blocks/Map/schema.d.ts +31 -7
- package/build/cjs/blocks/Media/Media.js +2 -2
- package/build/cjs/blocks/Media/schema.d.ts +346 -112
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -13
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +103 -9
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/cjs/blocks/Questions/Questions.css +12 -12
- package/build/cjs/blocks/Questions/schema.d.ts +21 -4
- package/build/cjs/blocks/Share/Share.css +14 -12
- package/build/cjs/blocks/Share/schema.d.ts +3 -1
- package/build/cjs/blocks/Slider/Arrow/Arrow.css +4 -4
- package/build/cjs/blocks/Slider/Arrow/Arrow.js +1 -1
- package/build/cjs/blocks/Slider/Slider.css +12 -12
- package/build/cjs/blocks/Slider/Slider.js +3 -3
- package/build/cjs/blocks/Slider/schema.d.ts +16 -19
- package/build/cjs/blocks/Slider/schema.js +4 -5
- package/build/cjs/blocks/Slider/utils.d.ts +2 -2
- package/build/cjs/blocks/Slider/utils.js +3 -1
- package/build/cjs/blocks/Table/Table.css +5 -5
- package/build/cjs/blocks/Table/schema.d.ts +11 -4
- package/build/cjs/blocks/Table/schema.js +12 -2
- package/build/cjs/blocks/Tabs/Tabs.css +6 -6
- package/build/cjs/blocks/Tabs/Tabs.d.ts +1 -1
- package/build/cjs/blocks/Tabs/Tabs.js +4 -4
- package/build/cjs/blocks/Tabs/schema.d.ts +142 -18
- package/build/cjs/blocks/Tabs/schema.js +4 -1
- package/build/cjs/components/Anchor/Anchor.d.ts +2 -3
- package/build/cjs/components/AnimateBlock/AnimateBlock.d.ts +2 -3
- package/build/cjs/components/Author/Author.css +8 -8
- package/build/cjs/components/Author/Author.js +2 -2
- package/build/cjs/components/Author/schema.d.ts +3 -1
- package/build/cjs/components/BlockBase/BlockBase.css +4 -1
- package/build/cjs/components/BlockBase/BlockBase.d.ts +3 -2
- package/build/cjs/components/BlockBase/BlockBase.js +3 -5
- package/build/cjs/components/Button/Button.css +4 -0
- package/build/cjs/components/Button/Button.d.ts +2 -3
- package/build/cjs/components/Button/Button.js +3 -2
- package/build/cjs/components/ButtonTabs/ButtonTabs.css +4 -0
- package/build/cjs/components/ButtonTabs/ButtonTabs.d.ts +2 -3
- package/build/cjs/components/CardBase/CardBase.css +6 -6
- package/build/cjs/components/Control/Control.css +9 -9
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.css +3 -3
- package/build/cjs/components/FileLink/FileLink.css +16 -56
- package/build/cjs/components/FileLink/FileLink.js +18 -1
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.css +1 -1
- package/build/cjs/components/FullscreenImage/FullscreenImage.css +3 -3
- package/build/cjs/components/FullscreenMedia/FullscreenMedia.css +3 -3
- package/build/cjs/components/HTML/HTML.js +2 -1
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +11 -11
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/Image.d.ts +2 -3
- package/build/cjs/components/Image/schema.d.ts +2 -1
- package/build/cjs/components/Image/schema.js +10 -9
- package/build/cjs/components/Link/Link.css +13 -13
- package/build/cjs/components/Media/Image/Image.js +4 -3
- package/build/cjs/components/Media/Media.js +1 -1
- package/build/cjs/components/Media/Video/Video.js +1 -0
- package/build/cjs/components/MediaBase/MediaBaseContent.js +2 -2
- package/build/cjs/components/MetaInfo/MetaInfo.css +2 -2
- package/build/cjs/components/MetaInfo/MetaInfo.js +1 -1
- package/build/cjs/components/OverflowScroller/OverflowScroller.css +1 -1
- package/build/cjs/components/ReactPlayer/CustomBarControls.css +1 -1
- package/build/cjs/components/ReactPlayer/ReactPlayer.css +2 -2
- package/build/cjs/components/Table/Table.css +8 -8
- package/build/cjs/components/Title/Title.css +4 -4
- package/build/cjs/components/Title/TitleItem.css +19 -19
- package/build/cjs/components/Title/TitleItem.d.ts +2 -3
- package/build/cjs/components/Title/TitleItem.js +2 -2
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.css +5 -5
- package/build/cjs/components/VideoBlock/VideoBlock.css +2 -2
- package/build/cjs/components/VideoBlock/VideoBlock.d.ts +2 -1
- package/build/cjs/components/VideoBlock/VideoBlock.js +6 -2
- package/build/cjs/components/constants.d.ts +3 -1
- package/build/cjs/components/constants.js +4 -2
- package/build/cjs/constructor-items.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.css +50 -30
- package/build/cjs/containers/PageConstructor/PageConstructor.js +6 -3
- package/build/cjs/containers/PageConstructor/Provider.d.ts +2 -3
- package/build/cjs/containers/PageConstructor/Provider.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +8 -4
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +1 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +5 -3
- package/build/cjs/containers/PageConstructor/components/index.d.ts +2 -0
- package/build/cjs/containers/PageConstructor/components/index.js +5 -0
- package/build/cjs/containers/PageConstructor/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/index.js +2 -0
- package/build/cjs/context/theme/ThemeContext.d.ts +2 -3
- package/build/cjs/context/theme/ThemeContext.js +0 -1
- package/build/cjs/context/theme/index.d.ts +0 -1
- package/build/cjs/context/theme/index.js +0 -1
- package/build/cjs/context/theme/useTheme.d.ts +1 -1
- package/build/cjs/context/theme/useTheme.js +2 -2
- package/build/cjs/context/theme/withTheme.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +8 -14
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.css +7 -6
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.js +3 -3
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/cjs/editor/components/BlockForm/BlockForm.js +28 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +34 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +10 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +35 -0
- package/build/cjs/editor/components/ControlPanel/i18n/en.json +3 -0
- package/build/cjs/editor/components/ControlPanel/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/ControlPanel/i18n/index.js +8 -0
- package/build/cjs/editor/components/ControlPanel/i18n/ru.json +3 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulation.d.ts +7 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulation.js +10 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.css +33 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.d.ts +8 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.js +41 -0
- package/build/cjs/editor/components/DeviceEmulation/utils.d.ts +4 -0
- package/build/cjs/editor/components/DeviceEmulation/utils.js +7 -0
- package/build/{esm/editor/Components → cjs/editor/components}/EditBlock/EditBlock.css +22 -14
- package/build/cjs/editor/components/EditBlock/EditBlock.d.ts +13 -0
- package/build/cjs/editor/components/EditBlock/EditBlock.js +48 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.css +27 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.d.ts +13 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +35 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/en.json +4 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +8 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/ru.json +4 -0
- package/build/cjs/editor/components/Layout/Layout.css +44 -0
- package/build/cjs/editor/components/Layout/Layout.d.ts +19 -0
- package/build/cjs/editor/components/Layout/Layout.js +38 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.css +21 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.d.ts +2 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.js +12 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/en.json +3 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.js +8 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/ru.json +3 -0
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.d.ts +10 -0
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.js +17 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.css +12 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.d.ts +6 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.js +34 -0
- package/build/cjs/editor/containers/Editor/Editor.d.ts +2 -0
- package/build/cjs/editor/containers/Editor/Editor.js +67 -0
- package/build/cjs/editor/containers/Form/Form.css +115 -0
- package/build/cjs/editor/containers/Form/Form.d.ts +11 -0
- package/build/cjs/editor/containers/Form/Form.js +54 -0
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/cjs/editor/context.d.ts +9 -0
- package/build/cjs/editor/context.js +6 -0
- package/build/cjs/editor/data/previews/default-preview.js +1 -1
- package/build/cjs/editor/data/previews/header-block.js +5 -5
- package/build/cjs/editor/data/templates/banner-block.json +25 -0
- package/build/cjs/editor/data/templates/card-layout-block.json +39 -0
- package/build/cjs/editor/data/templates/companies-block.json +20 -0
- package/build/cjs/editor/data/templates/content-layout-block.json +56 -0
- package/build/cjs/editor/data/templates/extended-features-block.json +56 -0
- package/build/cjs/editor/data/templates/filter-block.json +62 -0
- package/build/cjs/editor/data/templates/header-block.json +19 -0
- package/build/cjs/editor/data/templates/header-slider-block.json +69 -0
- package/build/cjs/editor/data/templates/icons-block.json +32 -0
- package/build/cjs/editor/data/templates/info-block.json +40 -0
- package/build/cjs/editor/data/templates/link-table-block.json +10 -0
- package/build/cjs/editor/data/templates/map-block.json +48 -0
- package/build/cjs/editor/data/templates/media-block.json +15 -0
- package/build/cjs/editor/data/templates/preview-block.json +38 -0
- package/build/cjs/editor/data/templates/promo-features-block.json +52 -0
- package/build/cjs/editor/data/templates/questions-block.json +105 -0
- package/build/cjs/editor/data/templates/security-block.json +36 -0
- package/build/cjs/editor/data/templates/share-block.json +6 -0
- package/build/cjs/editor/data/templates/simple-block.json +7 -0
- package/build/cjs/editor/data/templates/slider-block.json +46 -0
- package/build/cjs/editor/data/templates/table-block.json +18 -0
- package/build/cjs/editor/data/templates/tabs-block.json +90 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +27 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +19 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +72 -0
- package/build/cjs/editor/dynamic-forms-custom/config.d.ts +2 -0
- package/build/cjs/editor/dynamic-forms-custom/config.js +13 -0
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +12 -0
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.js +75 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.d.ts +9 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.js +36 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/index.d.ts +28 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/index.js +187 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +28 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.js +2 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/views.d.ts +37 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/views.js +46 -0
- package/build/cjs/editor/hooks/useFormSpec.d.ts +2 -0
- package/build/cjs/editor/hooks/useFormSpec.js +13 -0
- package/build/cjs/editor/hooks/usePreviousValue.d.ts +1 -0
- package/build/cjs/editor/hooks/usePreviousValue.js +11 -0
- package/build/cjs/editor/icons/Tablet.d.ts +2 -0
- package/build/cjs/editor/icons/Tablet.js +9 -0
- package/build/cjs/editor/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +12 -11
- package/build/cjs/editor/store/index.js +70 -15
- package/build/cjs/editor/store/reducer.d.ts +30 -9
- package/build/cjs/editor/store/reducer.js +20 -31
- package/build/cjs/editor/store/utils.d.ts +1 -0
- package/build/cjs/editor/store/utils.js +6 -2
- package/build/cjs/editor/styles/root.css +7 -0
- package/build/cjs/editor/types/index.d.ts +30 -12
- package/build/cjs/editor/types/index.js +8 -0
- package/build/cjs/editor/utils/index.d.ts +6 -3
- package/build/cjs/editor/utils/index.js +9 -4
- package/build/cjs/editor/widget/constants.d.ts +4 -0
- package/build/cjs/editor/widget/constants.js +8 -0
- package/build/cjs/editor/widget/index.d.ts +21 -0
- package/build/cjs/editor/widget/index.js +76 -0
- package/build/cjs/editor/widget/utils.d.ts +1 -0
- package/build/cjs/editor/widget/utils.js +19 -0
- package/build/cjs/grid/Col/Col.d.ts +3 -4
- package/build/cjs/grid/Col/Col.js +2 -2
- package/build/cjs/grid/Grid/Grid.css +1 -1
- package/build/cjs/hooks/useHeightCalculator.js +1 -1
- package/build/cjs/models/common.d.ts +6 -1
- package/build/cjs/models/common.js +6 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +17 -13
- package/build/cjs/models/constructor-items/common.d.ts +3 -5
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +5 -7
- package/build/cjs/models/navigation.d.ts +4 -2
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.css +92 -0
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +4 -0
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.js +21 -0
- package/build/cjs/navigation/components/Logo/Logo.css +3 -3
- package/build/cjs/navigation/components/Logo/Logo.js +3 -3
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.css +7 -0
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.d.ts +3 -0
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.js +15 -0
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.css +17 -12
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -10
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.js +11 -31
- package/build/cjs/navigation/components/Navigation/Navigation.css +8 -13
- package/build/cjs/navigation/components/Navigation/Navigation.d.ts +4 -7
- package/build/cjs/navigation/components/Navigation/Navigation.js +37 -15
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.css +28 -0
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.d.ts +3 -9
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +15 -6
- package/build/cjs/navigation/components/NavigationItem/components/GithubButton/GithubButton.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.css +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.d.ts +5 -4
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.js +12 -8
- package/build/cjs/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.css +2 -2
- package/build/cjs/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationList/NavigationList.d.ts +3 -0
- package/build/cjs/navigation/components/NavigationList/NavigationList.js +11 -0
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.d.ts +4 -13
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.js +6 -13
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.css +10 -9
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.d.ts +1 -8
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.js +6 -6
- package/build/cjs/navigation/components/SocialIcon/SocialIcon.css +3 -3
- package/build/cjs/navigation/containers/Layout/Layout.js +2 -2
- package/build/cjs/navigation/models.d.ts +63 -0
- package/build/cjs/navigation/{constants.js → models.js} +7 -1
- package/build/cjs/navigation/schema.d.ts +1 -0
- package/build/cjs/navigation/schema.js +1 -1
- package/build/cjs/navigation/utils.d.ts +11 -1
- package/build/cjs/navigation/utils.js +19 -1
- package/build/cjs/schema/constants.d.ts +941 -0
- package/build/cjs/schema/constants.js +42 -0
- package/build/cjs/schema/index.d.ts +9 -228
- package/build/cjs/schema/index.js +8 -46
- package/build/cjs/schema/validators/common.d.ts +158 -30
- package/build/cjs/schema/validators/common.js +57 -19
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.css +4 -4
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +3 -3
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +26 -6
- package/build/cjs/sub-blocks/BannerCard/BannerCard.css +16 -16
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +22 -4
- package/build/cjs/sub-blocks/Content/Content.css +22 -22
- package/build/cjs/sub-blocks/Content/Content.js +3 -1
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.css +48 -0
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.d.ts +7 -0
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.js +25 -0
- package/build/cjs/sub-blocks/Content/schema.d.ts +74 -6
- package/build/cjs/sub-blocks/Content/schema.js +27 -2
- package/build/cjs/sub-blocks/Divider/Divider.css +1 -1
- package/build/cjs/sub-blocks/Divider/schema.d.ts +3 -1
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +39 -39
- package/build/cjs/sub-blocks/HubspotForm/index.js +2 -2
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.css +1 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +115 -10
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +100 -6
- package/build/cjs/sub-blocks/MediaCard/schema.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +2 -2
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +17 -29
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +18 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +7 -7
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +5 -5
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +4 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/cjs/sub-blocks/Quote/Quote.css +10 -10
- package/build/cjs/sub-blocks/Quote/Quote.js +2 -2
- package/build/cjs/sub-blocks/Quote/schema.d.ts +9 -4
- package/build/cjs/sub-blocks/Quote/schema.js +1 -2
- package/build/cjs/text-transform/config.js +19 -1
- package/build/cjs/text-transform/filter.d.ts +20 -0
- package/build/cjs/text-transform/filter.js +61 -0
- package/build/cjs/text-transform/index.d.ts +1 -0
- package/build/cjs/text-transform/index.js +1 -0
- package/build/cjs/text-transform/transformers.d.ts +2 -0
- package/build/cjs/text-transform/transformers.js +3 -2
- package/build/cjs/text-transform/utils.js +6 -1
- package/build/cjs/utils/blocks.d.ts +1 -1
- package/build/cjs/utils/blocks.js +43 -3
- package/build/cjs/utils/imageCompress.js +1 -1
- package/build/cjs/utils/theme.d.ts +1 -1
- package/build/esm/blocks/Banner/schema.d.ts +72 -24
- package/build/esm/blocks/CardLayout/schema.d.ts +16 -6
- package/build/esm/blocks/Companies/Companies.css +5 -5
- package/build/esm/blocks/Companies/Companies.js +3 -3
- package/build/esm/blocks/Companies/schema.d.ts +8 -3
- package/build/esm/blocks/ContentLayout/ContentLayout.css +4 -7
- package/build/esm/blocks/ContentLayout/ContentLayout.js +1 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +112 -59
- package/build/esm/blocks/ContentLayout/schema.js +23 -18
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.css +16 -16
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +3 -3
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +37 -6
- package/build/esm/blocks/ExtendedFeatures/schema.js +3 -4
- package/build/esm/blocks/FilterBlock/schema.d.ts +19 -7
- package/build/esm/blocks/FilterBlock/schema.js +13 -2
- package/build/esm/blocks/Header/Header.css +28 -25
- package/build/esm/blocks/Header/Header.js +6 -7
- package/build/esm/blocks/Header/schema.d.ts +329 -37
- package/build/esm/blocks/Header/schema.js +1 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +129 -54
- package/build/esm/blocks/HeaderSlider/schema.js +2 -1
- package/build/esm/blocks/Icons/Icons.css +2 -2
- package/build/esm/blocks/Icons/schema.d.ts +9 -3
- package/build/esm/blocks/Icons/schema.js +2 -1
- package/build/esm/blocks/Info/Info.css +1 -1
- package/build/esm/blocks/Info/Info.js +3 -3
- package/build/esm/blocks/Info/schema.d.ts +44 -9
- package/build/esm/blocks/Map/schema.d.ts +31 -7
- package/build/esm/blocks/Media/Media.js +3 -3
- package/build/esm/blocks/Media/schema.d.ts +346 -112
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -13
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +103 -9
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/esm/blocks/Questions/Questions.css +12 -12
- package/build/esm/blocks/Questions/schema.d.ts +21 -4
- package/build/esm/blocks/Share/Share.css +14 -12
- package/build/esm/blocks/Share/schema.d.ts +3 -1
- package/build/esm/blocks/Slider/Arrow/Arrow.css +4 -4
- package/build/esm/blocks/Slider/Arrow/Arrow.js +1 -1
- package/build/esm/blocks/Slider/Slider.css +12 -12
- package/build/esm/blocks/Slider/Slider.js +4 -4
- package/build/esm/blocks/Slider/schema.d.ts +16 -19
- package/build/esm/blocks/Slider/schema.js +4 -5
- package/build/esm/blocks/Slider/utils.d.ts +2 -2
- package/build/esm/blocks/Slider/utils.js +2 -1
- package/build/esm/blocks/Table/Table.css +5 -5
- package/build/esm/blocks/Table/schema.d.ts +11 -4
- package/build/esm/blocks/Table/schema.js +12 -2
- package/build/esm/blocks/Tabs/Tabs.css +6 -6
- package/build/esm/blocks/Tabs/Tabs.d.ts +1 -1
- package/build/esm/blocks/Tabs/Tabs.js +5 -5
- package/build/esm/blocks/Tabs/schema.d.ts +142 -18
- package/build/esm/blocks/Tabs/schema.js +5 -2
- package/build/esm/components/Anchor/Anchor.d.ts +2 -3
- package/build/esm/components/AnimateBlock/AnimateBlock.d.ts +2 -3
- package/build/esm/components/Author/Author.css +8 -8
- package/build/esm/components/Author/Author.js +2 -2
- package/build/esm/components/Author/schema.d.ts +3 -1
- package/build/esm/components/BlockBase/BlockBase.css +4 -1
- package/build/esm/components/BlockBase/BlockBase.d.ts +3 -2
- package/build/esm/components/BlockBase/BlockBase.js +3 -5
- package/build/esm/components/Button/Button.css +4 -0
- package/build/esm/components/Button/Button.d.ts +2 -3
- package/build/esm/components/Button/Button.js +4 -3
- package/build/esm/components/ButtonTabs/ButtonTabs.css +4 -0
- package/build/esm/components/ButtonTabs/ButtonTabs.d.ts +2 -3
- package/build/esm/components/CardBase/CardBase.css +6 -6
- package/build/esm/components/Control/Control.css +9 -9
- package/build/esm/components/ErrorWrapper/ErrorWrapper.css +3 -3
- package/build/esm/components/FileLink/FileLink.css +16 -56
- package/build/esm/components/FileLink/FileLink.js +18 -1
- package/build/esm/components/FullWidthBackground/FullWidthBackground.css +1 -1
- package/build/esm/components/FullscreenImage/FullscreenImage.css +3 -3
- package/build/esm/components/FullscreenMedia/FullscreenMedia.css +3 -3
- package/build/esm/components/HTML/HTML.js +2 -1
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +11 -11
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/Image.d.ts +2 -3
- package/build/esm/components/Image/schema.d.ts +2 -1
- package/build/esm/components/Image/schema.js +9 -8
- package/build/esm/components/Link/Link.css +13 -13
- package/build/esm/components/Media/Image/Image.js +4 -3
- package/build/esm/components/Media/Media.js +1 -1
- package/build/esm/components/Media/Video/Video.js +1 -0
- package/build/esm/components/MediaBase/MediaBaseContent.js +2 -2
- package/build/esm/components/MetaInfo/MetaInfo.css +2 -2
- package/build/esm/components/MetaInfo/MetaInfo.js +1 -1
- package/build/esm/components/OverflowScroller/OverflowScroller.css +1 -1
- package/build/esm/components/ReactPlayer/CustomBarControls.css +1 -1
- package/build/esm/components/ReactPlayer/ReactPlayer.css +2 -2
- package/build/esm/components/Table/Table.css +8 -8
- package/build/esm/components/Title/Title.css +4 -4
- package/build/esm/components/Title/TitleItem.css +19 -19
- package/build/esm/components/Title/TitleItem.d.ts +2 -3
- package/build/esm/components/Title/TitleItem.js +2 -2
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.css +5 -5
- package/build/esm/components/VideoBlock/VideoBlock.css +2 -2
- package/build/esm/components/VideoBlock/VideoBlock.d.ts +2 -1
- package/build/esm/components/VideoBlock/VideoBlock.js +6 -2
- package/build/esm/components/constants.d.ts +3 -1
- package/build/esm/components/constants.js +3 -1
- package/build/esm/constructor-items.d.ts +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.css +50 -30
- package/build/esm/containers/PageConstructor/PageConstructor.js +7 -4
- package/build/esm/containers/PageConstructor/Provider.d.ts +2 -3
- package/build/esm/containers/PageConstructor/Provider.js +2 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +2 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +8 -4
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +1 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +5 -3
- package/build/esm/containers/PageConstructor/components/index.d.ts +2 -0
- package/build/esm/containers/PageConstructor/components/index.js +1 -0
- package/build/esm/containers/PageConstructor/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/index.js +1 -0
- package/build/esm/context/theme/ThemeContext.d.ts +2 -3
- package/build/esm/context/theme/ThemeContext.js +0 -1
- package/build/esm/context/theme/index.d.ts +0 -1
- package/build/esm/context/theme/index.js +0 -1
- package/build/esm/context/theme/useTheme.d.ts +1 -1
- package/build/esm/context/theme/useTheme.js +2 -2
- package/build/esm/context/theme/withTheme.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +9 -14
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.css +7 -6
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.js +3 -3
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/esm/editor/components/BlockForm/BlockForm.js +25 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +34 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +11 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +33 -0
- package/build/esm/editor/components/ControlPanel/i18n/en.json +3 -0
- package/build/esm/editor/components/ControlPanel/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/ControlPanel/i18n/index.js +5 -0
- package/build/esm/editor/components/ControlPanel/i18n/ru.json +3 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulation.d.ts +7 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulation.js +7 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.css +33 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.d.ts +9 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.js +40 -0
- package/build/esm/editor/components/DeviceEmulation/utils.d.ts +4 -0
- package/build/esm/editor/components/DeviceEmulation/utils.js +3 -0
- package/build/{cjs/editor/Components → esm/editor/components}/EditBlock/EditBlock.css +22 -14
- package/build/esm/editor/components/EditBlock/EditBlock.d.ts +14 -0
- package/build/esm/editor/components/EditBlock/EditBlock.js +45 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.css +27 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.d.ts +14 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +31 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/en.json +4 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/index.js +5 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/ru.json +4 -0
- package/build/esm/editor/components/Layout/Layout.css +44 -0
- package/build/esm/editor/components/Layout/Layout.d.ts +20 -0
- package/build/esm/editor/components/Layout/Layout.js +36 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.css +21 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.d.ts +3 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.js +8 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/en.json +3 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/index.js +5 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/ru.json +3 -0
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.d.ts +10 -0
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.js +13 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.css +12 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.d.ts +7 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.js +30 -0
- package/build/esm/editor/containers/Editor/Editor.d.ts +2 -0
- package/build/esm/editor/containers/Editor/Editor.js +63 -0
- package/build/esm/editor/containers/Form/Form.css +115 -0
- package/build/esm/editor/containers/Form/Form.d.ts +12 -0
- package/build/esm/editor/containers/Form/Form.js +52 -0
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/esm/editor/context.d.ts +9 -0
- package/build/esm/editor/context.js +2 -0
- package/build/esm/editor/data/previews/default-preview.js +1 -1
- package/build/esm/editor/data/previews/header-block.js +5 -5
- package/build/esm/editor/data/templates/banner-block.json +25 -0
- package/build/esm/editor/data/templates/card-layout-block.json +39 -0
- package/build/esm/editor/data/templates/companies-block.json +20 -0
- package/build/esm/editor/data/templates/content-layout-block.json +56 -0
- package/build/esm/editor/data/templates/extended-features-block.json +56 -0
- package/build/esm/editor/data/templates/filter-block.json +62 -0
- package/build/esm/editor/data/templates/header-block.json +19 -0
- package/build/esm/editor/data/templates/header-slider-block.json +69 -0
- package/build/esm/editor/data/templates/icons-block.json +32 -0
- package/build/esm/editor/data/templates/info-block.json +40 -0
- package/build/esm/editor/data/templates/link-table-block.json +10 -0
- package/build/esm/editor/data/templates/map-block.json +48 -0
- package/build/esm/editor/data/templates/media-block.json +15 -0
- package/build/esm/editor/data/templates/preview-block.json +38 -0
- package/build/esm/editor/data/templates/promo-features-block.json +52 -0
- package/build/esm/editor/data/templates/questions-block.json +105 -0
- package/build/esm/editor/data/templates/security-block.json +36 -0
- package/build/esm/editor/data/templates/share-block.json +6 -0
- package/build/esm/editor/data/templates/simple-block.json +7 -0
- package/build/esm/editor/data/templates/slider-block.json +46 -0
- package/build/esm/editor/data/templates/table-block.json +18 -0
- package/build/esm/editor/data/templates/tabs-block.json +90 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +27 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +20 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +68 -0
- package/build/esm/editor/dynamic-forms-custom/config.d.ts +2 -0
- package/build/esm/editor/dynamic-forms-custom/config.js +9 -0
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +12 -0
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.js +69 -0
- package/build/esm/editor/dynamic-forms-custom/parser/detect.d.ts +9 -0
- package/build/esm/editor/dynamic-forms-custom/parser/detect.js +32 -0
- package/build/esm/editor/dynamic-forms-custom/parser/index.d.ts +28 -0
- package/build/esm/editor/dynamic-forms-custom/parser/index.js +185 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +28 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.js +1 -0
- package/build/esm/editor/dynamic-forms-custom/parser/views.d.ts +37 -0
- package/build/esm/editor/dynamic-forms-custom/parser/views.js +39 -0
- package/build/esm/editor/hooks/useFormSpec.d.ts +2 -0
- package/build/esm/editor/hooks/useFormSpec.js +9 -0
- package/build/esm/editor/hooks/usePreviousValue.d.ts +1 -0
- package/build/esm/editor/hooks/usePreviousValue.js +8 -0
- package/build/esm/editor/icons/Tablet.d.ts +2 -0
- package/build/esm/editor/icons/Tablet.js +4 -0
- package/build/esm/editor/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +12 -11
- package/build/esm/editor/store/index.js +72 -17
- package/build/esm/editor/store/reducer.d.ts +30 -9
- package/build/esm/editor/store/reducer.js +18 -29
- package/build/esm/editor/store/utils.d.ts +1 -0
- package/build/esm/editor/store/utils.js +3 -1
- package/build/esm/editor/styles/root.css +7 -0
- package/build/esm/editor/types/index.d.ts +30 -12
- package/build/esm/editor/types/index.js +7 -1
- package/build/esm/editor/utils/index.d.ts +6 -3
- package/build/esm/editor/utils/index.js +6 -3
- package/build/esm/editor/widget/constants.d.ts +4 -0
- package/build/esm/editor/widget/constants.js +5 -0
- package/build/esm/editor/widget/index.d.ts +21 -0
- package/build/esm/editor/widget/index.js +71 -0
- package/build/esm/editor/widget/utils.d.ts +1 -0
- package/build/esm/editor/widget/utils.js +15 -0
- package/build/esm/grid/Col/Col.d.ts +3 -4
- package/build/esm/grid/Col/Col.js +2 -2
- package/build/esm/grid/Grid/Grid.css +1 -1
- package/build/esm/hooks/useHeightCalculator.js +1 -1
- package/build/esm/models/common.d.ts +6 -1
- package/build/esm/models/common.js +5 -0
- package/build/esm/models/constructor-items/blocks.d.ts +17 -13
- package/build/esm/models/constructor-items/common.d.ts +3 -5
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +5 -7
- package/build/esm/models/navigation.d.ts +4 -2
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.css +92 -0
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +5 -0
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.js +19 -0
- package/build/esm/navigation/components/Logo/Logo.css +3 -3
- package/build/esm/navigation/components/Logo/Logo.js +3 -3
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.css +7 -0
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.d.ts +4 -0
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.js +11 -0
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.css +17 -12
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -10
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.js +13 -32
- package/build/esm/navigation/components/Navigation/Navigation.css +8 -13
- package/build/esm/navigation/components/Navigation/Navigation.d.ts +4 -7
- package/build/esm/navigation/components/Navigation/Navigation.js +35 -15
- package/build/esm/navigation/components/NavigationItem/NavigationItem.css +28 -0
- package/build/esm/navigation/components/NavigationItem/NavigationItem.d.ts +4 -9
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +16 -6
- package/build/esm/navigation/components/NavigationItem/components/GithubButton/GithubButton.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.css +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.d.ts +5 -4
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.js +11 -8
- package/build/esm/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.css +2 -2
- package/build/esm/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.d.ts +1 -1
- package/build/esm/navigation/components/NavigationList/NavigationList.d.ts +3 -0
- package/build/esm/navigation/components/NavigationList/NavigationList.js +7 -0
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.d.ts +4 -14
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.js +5 -10
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.css +10 -9
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.d.ts +1 -8
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.js +6 -6
- package/build/esm/navigation/components/SocialIcon/SocialIcon.css +3 -3
- package/build/esm/navigation/containers/Layout/Layout.js +2 -2
- package/build/esm/navigation/models.d.ts +63 -0
- package/build/esm/navigation/{constants.js → models.js} +6 -0
- package/build/esm/navigation/schema.d.ts +1 -0
- package/build/esm/navigation/schema.js +2 -2
- package/build/esm/navigation/utils.d.ts +11 -1
- package/build/esm/navigation/utils.js +17 -0
- package/build/esm/schema/constants.d.ts +941 -0
- package/build/esm/schema/constants.js +39 -0
- package/build/esm/schema/index.d.ts +9 -228
- package/build/esm/schema/index.js +4 -42
- package/build/esm/schema/validators/common.d.ts +158 -30
- package/build/esm/schema/validators/common.js +57 -19
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.css +4 -4
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +3 -3
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +26 -6
- package/build/esm/sub-blocks/BannerCard/BannerCard.css +16 -16
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +22 -4
- package/build/esm/sub-blocks/Content/Content.css +22 -22
- package/build/esm/sub-blocks/Content/Content.js +3 -1
- package/build/esm/sub-blocks/Content/ContentList/ContentList.css +48 -0
- package/build/esm/sub-blocks/Content/ContentList/ContentList.d.ts +8 -0
- package/build/esm/sub-blocks/Content/ContentList/ContentList.js +23 -0
- package/build/esm/sub-blocks/Content/schema.d.ts +74 -6
- package/build/esm/sub-blocks/Content/schema.js +27 -2
- package/build/esm/sub-blocks/Divider/Divider.css +1 -1
- package/build/esm/sub-blocks/Divider/schema.d.ts +3 -1
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +39 -39
- package/build/esm/sub-blocks/HubspotForm/index.js +2 -2
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.css +1 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +115 -10
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +100 -6
- package/build/esm/sub-blocks/MediaCard/schema.js +2 -2
- package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +2 -2
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +17 -29
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +18 -1
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +7 -7
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +5 -5
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +4 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/esm/sub-blocks/Quote/Quote.css +10 -10
- package/build/esm/sub-blocks/Quote/Quote.js +3 -3
- package/build/esm/sub-blocks/Quote/schema.d.ts +9 -4
- package/build/esm/sub-blocks/Quote/schema.js +2 -3
- package/build/esm/text-transform/config.js +19 -1
- package/build/esm/text-transform/filter.d.ts +20 -0
- package/build/esm/text-transform/filter.js +56 -0
- package/build/esm/text-transform/index.d.ts +1 -0
- package/build/esm/text-transform/index.js +1 -0
- package/build/esm/text-transform/transformers.d.ts +2 -0
- package/build/esm/text-transform/transformers.js +3 -2
- package/build/esm/text-transform/utils.js +6 -1
- package/build/esm/utils/blocks.d.ts +1 -1
- package/build/esm/utils/blocks.js +41 -1
- package/build/esm/utils/imageCompress.js +1 -1
- package/build/esm/utils/theme.d.ts +1 -1
- package/package.json +87 -24
- package/server/components/constants.d.ts +3 -1
- package/server/components/constants.js +4 -2
- package/server/models/common.d.ts +6 -1
- package/server/models/common.js +6 -1
- package/server/models/constructor-items/blocks.d.ts +17 -13
- package/server/models/constructor-items/common.d.ts +3 -5
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +5 -7
- package/server/models/navigation.d.ts +4 -2
- package/server/text-transform/config.js +19 -1
- package/server/text-transform/filter.d.ts +20 -0
- package/server/text-transform/filter.js +63 -0
- package/server/text-transform/index.d.ts +1 -0
- package/server/text-transform/index.js +1 -0
- package/server/text-transform/transformers.d.ts +2 -0
- package/server/text-transform/transformers.js +3 -2
- package/server/text-transform/utils.js +6 -1
- package/server/utils/blocks.d.ts +1 -1
- package/server/utils/blocks.js +43 -3
- package/server/utils/theme.d.ts +1 -1
- package/styles/colors/dark.scss +6 -0
- package/styles/colors/light.scss +6 -0
- package/styles/colors/social.scss +10 -0
- package/styles/mixins.scss +27 -29
- package/styles/root.scss +28 -14
- package/styles/storybook/common.scss +6 -6
- package/styles/storybook/palette.scss +6 -6
- package/styles/storybook/typography.scss +46 -46
- package/styles/styles.css +15 -15
- package/styles/variables.scss +0 -8
- package/styles/yfm.scss +12 -12
- package/widget/index.js +1 -0
- package/CHANGELOG.md +0 -1266
- package/build/cjs/context/theme/ThemeProvider.d.ts +0 -22
- package/build/cjs/context/theme/ThemeProvider.js +0 -49
- package/build/cjs/context/theme/ThemeValueContext.d.ts +0 -7
- package/build/cjs/context/theme/ThemeValueContext.js +0 -9
- package/build/cjs/context/theme/useThemeValue.d.ts +0 -2
- package/build/cjs/context/theme/useThemeValue.js +0 -11
- package/build/cjs/editor/Components/AddBlock/AddBlock.d.ts +0 -7
- package/build/cjs/editor/Components/EditBlock/EditBlock.d.ts +0 -4
- package/build/cjs/editor/Components/EditBlock/EditBlock.js +0 -32
- package/build/cjs/editor/Containers/Editor.d.ts +0 -2
- package/build/cjs/editor/Containers/Editor.js +0 -24
- package/build/cjs/navigation/components/Header/Header.css +0 -98
- package/build/cjs/navigation/components/Header/Header.d.ts +0 -8
- package/build/cjs/navigation/components/Header/Header.js +0 -68
- package/build/cjs/navigation/components/NavigationDropdownItem/NavigationDropdownItem.d.ts +0 -11
- package/build/cjs/navigation/components/NavigationDropdownItem/NavigationDropdownItem.js +0 -15
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.css +0 -27
- package/build/cjs/navigation/constants.d.ts +0 -6
- package/build/esm/context/theme/ThemeProvider.d.ts +0 -22
- package/build/esm/context/theme/ThemeProvider.js +0 -44
- package/build/esm/context/theme/ThemeValueContext.d.ts +0 -7
- package/build/esm/context/theme/ThemeValueContext.js +0 -5
- package/build/esm/context/theme/useThemeValue.d.ts +0 -2
- package/build/esm/context/theme/useThemeValue.js +0 -6
- package/build/esm/editor/Components/AddBlock/AddBlock.d.ts +0 -8
- package/build/esm/editor/Components/EditBlock/EditBlock.d.ts +0 -5
- package/build/esm/editor/Components/EditBlock/EditBlock.js +0 -30
- package/build/esm/editor/Containers/Editor.d.ts +0 -2
- package/build/esm/editor/Containers/Editor.js +0 -20
- package/build/esm/navigation/components/Header/Header.css +0 -98
- package/build/esm/navigation/components/Header/Header.d.ts +0 -9
- package/build/esm/navigation/components/Header/Header.js +0 -64
- package/build/esm/navigation/components/NavigationDropdownItem/NavigationDropdownItem.d.ts +0 -11
- package/build/esm/navigation/components/NavigationDropdownItem/NavigationDropdownItem.js +0 -13
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.css +0 -27
- package/build/esm/navigation/constants.d.ts +0 -6
|
@@ -7,7 +7,8 @@ export declare const Media: {
|
|
|
7
7
|
type: string;
|
|
8
8
|
};
|
|
9
9
|
image: {
|
|
10
|
-
|
|
10
|
+
oneOf: ({
|
|
11
|
+
optionName: string;
|
|
11
12
|
oneOf: ({
|
|
12
13
|
type: string;
|
|
13
14
|
properties: {
|
|
@@ -18,7 +19,10 @@ export declare const Media: {
|
|
|
18
19
|
} | {
|
|
19
20
|
type: string;
|
|
20
21
|
pattern: string;
|
|
22
|
+
optionName: string;
|
|
21
23
|
})[];
|
|
24
|
+
type?: undefined;
|
|
25
|
+
items?: undefined;
|
|
22
26
|
} | {
|
|
23
27
|
type: string;
|
|
24
28
|
items: {
|
|
@@ -32,8 +36,10 @@ export declare const Media: {
|
|
|
32
36
|
} | {
|
|
33
37
|
type: string;
|
|
34
38
|
pattern: string;
|
|
39
|
+
optionName: string;
|
|
35
40
|
})[];
|
|
36
41
|
};
|
|
42
|
+
optionName: string;
|
|
37
43
|
})[];
|
|
38
44
|
};
|
|
39
45
|
video: {
|
|
@@ -48,7 +54,8 @@ export declare const Media: {
|
|
|
48
54
|
};
|
|
49
55
|
};
|
|
50
56
|
loop: {
|
|
51
|
-
|
|
57
|
+
oneOf: ({
|
|
58
|
+
optionName: string;
|
|
52
59
|
type: string;
|
|
53
60
|
additionalProperties: boolean;
|
|
54
61
|
required: string[];
|
|
@@ -62,6 +69,7 @@ export declare const Media: {
|
|
|
62
69
|
};
|
|
63
70
|
} | {
|
|
64
71
|
type: string;
|
|
72
|
+
optionName: string;
|
|
65
73
|
})[];
|
|
66
74
|
};
|
|
67
75
|
type: {
|
|
@@ -71,13 +79,13 @@ export declare const Media: {
|
|
|
71
79
|
muted: {
|
|
72
80
|
type: string;
|
|
73
81
|
};
|
|
74
|
-
|
|
82
|
+
autoplay: {
|
|
75
83
|
type: string;
|
|
76
84
|
};
|
|
77
85
|
elapsedTime: {
|
|
78
86
|
type: string;
|
|
79
87
|
};
|
|
80
|
-
|
|
88
|
+
playButton: {
|
|
81
89
|
type: string;
|
|
82
90
|
additionalProperties: boolean;
|
|
83
91
|
properties: {
|
|
@@ -115,6 +123,10 @@ export declare const Media: {
|
|
|
115
123
|
};
|
|
116
124
|
dataLens: {
|
|
117
125
|
oneOf: ({
|
|
126
|
+
type: string;
|
|
127
|
+
optionName: string;
|
|
128
|
+
} | {
|
|
129
|
+
optionName: string;
|
|
118
130
|
type: string;
|
|
119
131
|
additionalProperties: boolean;
|
|
120
132
|
required: string[];
|
|
@@ -127,13 +139,89 @@ export declare const Media: {
|
|
|
127
139
|
enum: string[];
|
|
128
140
|
};
|
|
129
141
|
};
|
|
130
|
-
} | {
|
|
131
|
-
type: string;
|
|
132
142
|
})[];
|
|
133
143
|
};
|
|
134
144
|
fullscreen: {
|
|
135
145
|
type: string;
|
|
136
146
|
};
|
|
147
|
+
analyticsEvents: {
|
|
148
|
+
anyOf: ({
|
|
149
|
+
type: string;
|
|
150
|
+
additionalProperties: {
|
|
151
|
+
type: string;
|
|
152
|
+
};
|
|
153
|
+
required: string[];
|
|
154
|
+
properties: {
|
|
155
|
+
name: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
type: {
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
counters: {
|
|
162
|
+
type: string;
|
|
163
|
+
additionalProperties: boolean;
|
|
164
|
+
required: never[];
|
|
165
|
+
properties: {
|
|
166
|
+
include: {
|
|
167
|
+
type: string;
|
|
168
|
+
items: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
exclude: {
|
|
173
|
+
type: string;
|
|
174
|
+
items: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
context: {
|
|
181
|
+
type: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
} | {
|
|
185
|
+
type: string;
|
|
186
|
+
items: {
|
|
187
|
+
type: string;
|
|
188
|
+
additionalProperties: {
|
|
189
|
+
type: string;
|
|
190
|
+
};
|
|
191
|
+
required: string[];
|
|
192
|
+
properties: {
|
|
193
|
+
name: {
|
|
194
|
+
type: string;
|
|
195
|
+
};
|
|
196
|
+
type: {
|
|
197
|
+
type: string;
|
|
198
|
+
};
|
|
199
|
+
counters: {
|
|
200
|
+
type: string;
|
|
201
|
+
additionalProperties: boolean;
|
|
202
|
+
required: never[];
|
|
203
|
+
properties: {
|
|
204
|
+
include: {
|
|
205
|
+
type: string;
|
|
206
|
+
items: {
|
|
207
|
+
type: string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
exclude: {
|
|
211
|
+
type: string;
|
|
212
|
+
items: {
|
|
213
|
+
type: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
context: {
|
|
219
|
+
type: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
})[];
|
|
224
|
+
};
|
|
137
225
|
};
|
|
138
226
|
};
|
|
139
227
|
export declare const MediaBlockBaseProps: {
|
|
@@ -181,8 +269,9 @@ export declare const MediaBlockBaseProps: {
|
|
|
181
269
|
enum: string[];
|
|
182
270
|
};
|
|
183
271
|
img: {
|
|
184
|
-
|
|
272
|
+
oneOf: ({
|
|
185
273
|
type: string;
|
|
274
|
+
optionName: string;
|
|
186
275
|
additionalProperties?: undefined;
|
|
187
276
|
required?: undefined;
|
|
188
277
|
properties?: undefined;
|
|
@@ -203,11 +292,13 @@ export declare const MediaBlockBaseProps: {
|
|
|
203
292
|
contentType: string;
|
|
204
293
|
};
|
|
205
294
|
};
|
|
295
|
+
optionName: string;
|
|
206
296
|
})[];
|
|
207
297
|
};
|
|
208
298
|
metrikaGoals: {
|
|
209
|
-
|
|
299
|
+
oneOf: ({
|
|
210
300
|
type: string;
|
|
301
|
+
optionName: string;
|
|
211
302
|
items?: undefined;
|
|
212
303
|
} | {
|
|
213
304
|
type: string;
|
|
@@ -217,6 +308,7 @@ export declare const MediaBlockBaseProps: {
|
|
|
217
308
|
required?: undefined;
|
|
218
309
|
properties?: undefined;
|
|
219
310
|
};
|
|
311
|
+
optionName: string;
|
|
220
312
|
} | {
|
|
221
313
|
type: string;
|
|
222
314
|
items: {
|
|
@@ -232,6 +324,7 @@ export declare const MediaBlockBaseProps: {
|
|
|
232
324
|
};
|
|
233
325
|
};
|
|
234
326
|
};
|
|
327
|
+
optionName: string;
|
|
235
328
|
})[];
|
|
236
329
|
};
|
|
237
330
|
pixelEvents: {
|
|
@@ -291,7 +384,8 @@ export declare const MediaBlockBaseProps: {
|
|
|
291
384
|
};
|
|
292
385
|
};
|
|
293
386
|
analyticsEvents: {
|
|
294
|
-
|
|
387
|
+
oneOf: ({
|
|
388
|
+
optionName: string;
|
|
295
389
|
type: string;
|
|
296
390
|
additionalProperties: {
|
|
297
391
|
type: string;
|
|
@@ -327,6 +421,7 @@ export declare const MediaBlockBaseProps: {
|
|
|
327
421
|
type: string;
|
|
328
422
|
};
|
|
329
423
|
};
|
|
424
|
+
items?: undefined;
|
|
330
425
|
} | {
|
|
331
426
|
type: string;
|
|
332
427
|
items: {
|
|
@@ -366,6 +461,7 @@ export declare const MediaBlockBaseProps: {
|
|
|
366
461
|
};
|
|
367
462
|
};
|
|
368
463
|
};
|
|
464
|
+
optionName: string;
|
|
369
465
|
})[];
|
|
370
466
|
};
|
|
371
467
|
target: {
|
|
@@ -389,6 +485,11 @@ export declare const MediaBlockBaseProps: {
|
|
|
389
485
|
};
|
|
390
486
|
title: {
|
|
391
487
|
oneOf: ({
|
|
488
|
+
type: string;
|
|
489
|
+
contentType: string;
|
|
490
|
+
optionName: string;
|
|
491
|
+
} | {
|
|
492
|
+
optionName: string;
|
|
392
493
|
type: string;
|
|
393
494
|
additionalProperties: boolean;
|
|
394
495
|
required: string[];
|
|
@@ -408,9 +509,7 @@ export declare const MediaBlockBaseProps: {
|
|
|
408
509
|
type: string;
|
|
409
510
|
};
|
|
410
511
|
};
|
|
411
|
-
|
|
412
|
-
type: string;
|
|
413
|
-
contentType: string;
|
|
512
|
+
contentType?: undefined;
|
|
414
513
|
})[];
|
|
415
514
|
};
|
|
416
515
|
size: {
|
|
@@ -443,6 +542,17 @@ export declare const MediaBlockBaseProps: {
|
|
|
443
542
|
};
|
|
444
543
|
};
|
|
445
544
|
};
|
|
545
|
+
list: {
|
|
546
|
+
type: string;
|
|
547
|
+
items: {
|
|
548
|
+
type: string;
|
|
549
|
+
properties: {
|
|
550
|
+
when: {
|
|
551
|
+
type: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
};
|
|
446
556
|
animated: {
|
|
447
557
|
type: string;
|
|
448
558
|
};
|
|
@@ -471,7 +581,9 @@ export declare const MediaBlockBaseProps: {
|
|
|
471
581
|
type: string;
|
|
472
582
|
};
|
|
473
583
|
type: {};
|
|
474
|
-
when: {
|
|
584
|
+
when: {
|
|
585
|
+
type: string;
|
|
586
|
+
};
|
|
475
587
|
};
|
|
476
588
|
export declare const MediaBlock: {
|
|
477
589
|
'media-block': {
|
|
@@ -479,29 +591,17 @@ export declare const MediaBlock: {
|
|
|
479
591
|
required: string[];
|
|
480
592
|
properties: {
|
|
481
593
|
media: {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
};
|
|
489
|
-
image: {
|
|
490
|
-
anyOf: ({
|
|
491
|
-
oneOf: ({
|
|
492
|
-
type: string;
|
|
493
|
-
properties: {
|
|
494
|
-
when: {
|
|
495
|
-
type: string;
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
} | {
|
|
499
|
-
type: string;
|
|
500
|
-
pattern: string;
|
|
501
|
-
})[];
|
|
502
|
-
} | {
|
|
594
|
+
oneOf: (({
|
|
595
|
+
type: string;
|
|
596
|
+
additionalProperties: boolean;
|
|
597
|
+
required: never[];
|
|
598
|
+
properties: {
|
|
599
|
+
color: {
|
|
503
600
|
type: string;
|
|
504
|
-
|
|
601
|
+
};
|
|
602
|
+
image: {
|
|
603
|
+
oneOf: ({
|
|
604
|
+
optionName: string;
|
|
505
605
|
oneOf: ({
|
|
506
606
|
type: string;
|
|
507
607
|
properties: {
|
|
@@ -512,109 +612,219 @@ export declare const MediaBlock: {
|
|
|
512
612
|
} | {
|
|
513
613
|
type: string;
|
|
514
614
|
pattern: string;
|
|
615
|
+
optionName: string;
|
|
515
616
|
})[];
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
video: {
|
|
520
|
-
type: string;
|
|
521
|
-
additionalProperties: boolean;
|
|
522
|
-
required: string[];
|
|
523
|
-
properties: {
|
|
524
|
-
src: {
|
|
617
|
+
type?: undefined;
|
|
618
|
+
items?: undefined;
|
|
619
|
+
} | {
|
|
525
620
|
type: string;
|
|
526
621
|
items: {
|
|
622
|
+
oneOf: ({
|
|
623
|
+
type: string;
|
|
624
|
+
properties: {
|
|
625
|
+
when: {
|
|
626
|
+
type: string;
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
} | {
|
|
630
|
+
type: string;
|
|
631
|
+
pattern: string;
|
|
632
|
+
optionName: string;
|
|
633
|
+
})[];
|
|
634
|
+
};
|
|
635
|
+
optionName: string;
|
|
636
|
+
})[];
|
|
637
|
+
};
|
|
638
|
+
video: {
|
|
639
|
+
type: string;
|
|
640
|
+
additionalProperties: boolean;
|
|
641
|
+
required: string[];
|
|
642
|
+
properties: {
|
|
643
|
+
src: {
|
|
527
644
|
type: string;
|
|
645
|
+
items: {
|
|
646
|
+
type: string;
|
|
647
|
+
};
|
|
528
648
|
};
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
649
|
+
loop: {
|
|
650
|
+
oneOf: ({
|
|
651
|
+
optionName: string;
|
|
652
|
+
type: string;
|
|
653
|
+
additionalProperties: boolean;
|
|
654
|
+
required: string[];
|
|
655
|
+
properties: {
|
|
656
|
+
start: {
|
|
657
|
+
type: string;
|
|
658
|
+
};
|
|
659
|
+
end: {
|
|
660
|
+
type: string;
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
} | {
|
|
664
|
+
type: string;
|
|
665
|
+
optionName: string;
|
|
666
|
+
})[];
|
|
667
|
+
};
|
|
668
|
+
type: {
|
|
669
|
+
type: string;
|
|
670
|
+
enum: string[];
|
|
671
|
+
};
|
|
672
|
+
muted: {
|
|
673
|
+
type: string;
|
|
674
|
+
};
|
|
675
|
+
autoplay: {
|
|
676
|
+
type: string;
|
|
677
|
+
};
|
|
678
|
+
elapsedTime: {
|
|
679
|
+
type: string;
|
|
680
|
+
};
|
|
681
|
+
playButton: {
|
|
532
682
|
type: string;
|
|
533
683
|
additionalProperties: boolean;
|
|
534
|
-
required: string[];
|
|
535
684
|
properties: {
|
|
536
|
-
|
|
685
|
+
type: {
|
|
537
686
|
type: string;
|
|
687
|
+
enum: string[];
|
|
538
688
|
};
|
|
539
|
-
|
|
689
|
+
theme: {
|
|
540
690
|
type: string;
|
|
691
|
+
enum: string[];
|
|
692
|
+
};
|
|
693
|
+
text: {
|
|
694
|
+
type: string;
|
|
695
|
+
contentType: string;
|
|
541
696
|
};
|
|
542
697
|
};
|
|
543
|
-
}
|
|
698
|
+
};
|
|
699
|
+
controls: {
|
|
544
700
|
type: string;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
type: {
|
|
548
|
-
type: string;
|
|
549
|
-
enum: string[];
|
|
550
|
-
};
|
|
551
|
-
muted: {
|
|
552
|
-
type: string;
|
|
553
|
-
};
|
|
554
|
-
playing: {
|
|
555
|
-
type: string;
|
|
701
|
+
enum: string[];
|
|
702
|
+
};
|
|
556
703
|
};
|
|
557
|
-
|
|
704
|
+
};
|
|
705
|
+
youtube: {
|
|
706
|
+
type: string;
|
|
707
|
+
};
|
|
708
|
+
parallax: {
|
|
709
|
+
type: string;
|
|
710
|
+
};
|
|
711
|
+
height: {
|
|
712
|
+
type: string;
|
|
713
|
+
};
|
|
714
|
+
previewImg: {
|
|
715
|
+
type: string;
|
|
716
|
+
};
|
|
717
|
+
dataLens: {
|
|
718
|
+
oneOf: ({
|
|
558
719
|
type: string;
|
|
559
|
-
|
|
560
|
-
|
|
720
|
+
optionName: string;
|
|
721
|
+
} | {
|
|
722
|
+
optionName: string;
|
|
561
723
|
type: string;
|
|
562
724
|
additionalProperties: boolean;
|
|
725
|
+
required: string[];
|
|
563
726
|
properties: {
|
|
564
|
-
|
|
727
|
+
id: {
|
|
565
728
|
type: string;
|
|
566
|
-
enum: string[];
|
|
567
729
|
};
|
|
568
730
|
theme: {
|
|
569
731
|
type: string;
|
|
570
732
|
enum: string[];
|
|
571
733
|
};
|
|
572
|
-
text: {
|
|
573
|
-
type: string;
|
|
574
|
-
contentType: string;
|
|
575
|
-
};
|
|
576
734
|
};
|
|
577
|
-
};
|
|
578
|
-
controls: {
|
|
579
|
-
type: string;
|
|
580
|
-
enum: string[];
|
|
581
|
-
};
|
|
735
|
+
})[];
|
|
582
736
|
};
|
|
583
|
-
|
|
584
|
-
youtube: {
|
|
585
|
-
type: string;
|
|
586
|
-
};
|
|
587
|
-
parallax: {
|
|
588
|
-
type: string;
|
|
589
|
-
};
|
|
590
|
-
height: {
|
|
591
|
-
type: string;
|
|
592
|
-
};
|
|
593
|
-
previewImg: {
|
|
594
|
-
type: string;
|
|
595
|
-
};
|
|
596
|
-
dataLens: {
|
|
597
|
-
oneOf: ({
|
|
737
|
+
fullscreen: {
|
|
598
738
|
type: string;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
739
|
+
};
|
|
740
|
+
analyticsEvents: {
|
|
741
|
+
anyOf: ({
|
|
742
|
+
type: string;
|
|
743
|
+
additionalProperties: {
|
|
603
744
|
type: string;
|
|
604
745
|
};
|
|
605
|
-
|
|
746
|
+
required: string[];
|
|
747
|
+
properties: {
|
|
748
|
+
name: {
|
|
749
|
+
type: string;
|
|
750
|
+
};
|
|
751
|
+
type: {
|
|
752
|
+
type: string;
|
|
753
|
+
};
|
|
754
|
+
counters: {
|
|
755
|
+
type: string;
|
|
756
|
+
additionalProperties: boolean;
|
|
757
|
+
required: never[];
|
|
758
|
+
properties: {
|
|
759
|
+
include: {
|
|
760
|
+
type: string;
|
|
761
|
+
items: {
|
|
762
|
+
type: string;
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
exclude: {
|
|
766
|
+
type: string;
|
|
767
|
+
items: {
|
|
768
|
+
type: string;
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
context: {
|
|
774
|
+
type: string;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
} | {
|
|
778
|
+
type: string;
|
|
779
|
+
items: {
|
|
606
780
|
type: string;
|
|
607
|
-
|
|
781
|
+
additionalProperties: {
|
|
782
|
+
type: string;
|
|
783
|
+
};
|
|
784
|
+
required: string[];
|
|
785
|
+
properties: {
|
|
786
|
+
name: {
|
|
787
|
+
type: string;
|
|
788
|
+
};
|
|
789
|
+
type: {
|
|
790
|
+
type: string;
|
|
791
|
+
};
|
|
792
|
+
counters: {
|
|
793
|
+
type: string;
|
|
794
|
+
additionalProperties: boolean;
|
|
795
|
+
required: never[];
|
|
796
|
+
properties: {
|
|
797
|
+
include: {
|
|
798
|
+
type: string;
|
|
799
|
+
items: {
|
|
800
|
+
type: string;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
exclude: {
|
|
804
|
+
type: string;
|
|
805
|
+
items: {
|
|
806
|
+
type: string;
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
context: {
|
|
812
|
+
type: string;
|
|
813
|
+
};
|
|
814
|
+
};
|
|
608
815
|
};
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
type: string;
|
|
612
|
-
})[];
|
|
613
|
-
};
|
|
614
|
-
fullscreen: {
|
|
615
|
-
type: string;
|
|
816
|
+
})[];
|
|
817
|
+
};
|
|
616
818
|
};
|
|
617
|
-
}
|
|
819
|
+
} & {
|
|
820
|
+
optionName: string;
|
|
821
|
+
}) | {
|
|
822
|
+
type: string;
|
|
823
|
+
additionalProperties: boolean;
|
|
824
|
+
required: import("../..").Theme[];
|
|
825
|
+
properties: {};
|
|
826
|
+
optionName: string;
|
|
827
|
+
})[];
|
|
618
828
|
};
|
|
619
829
|
description: {
|
|
620
830
|
type: string;
|
|
@@ -660,8 +870,9 @@ export declare const MediaBlock: {
|
|
|
660
870
|
enum: string[];
|
|
661
871
|
};
|
|
662
872
|
img: {
|
|
663
|
-
|
|
873
|
+
oneOf: ({
|
|
664
874
|
type: string;
|
|
875
|
+
optionName: string;
|
|
665
876
|
additionalProperties?: undefined;
|
|
666
877
|
required?: undefined;
|
|
667
878
|
properties?: undefined;
|
|
@@ -682,11 +893,13 @@ export declare const MediaBlock: {
|
|
|
682
893
|
contentType: string;
|
|
683
894
|
};
|
|
684
895
|
};
|
|
896
|
+
optionName: string;
|
|
685
897
|
})[];
|
|
686
898
|
};
|
|
687
899
|
metrikaGoals: {
|
|
688
|
-
|
|
900
|
+
oneOf: ({
|
|
689
901
|
type: string;
|
|
902
|
+
optionName: string;
|
|
690
903
|
items?: undefined;
|
|
691
904
|
} | {
|
|
692
905
|
type: string;
|
|
@@ -696,6 +909,7 @@ export declare const MediaBlock: {
|
|
|
696
909
|
required?: undefined;
|
|
697
910
|
properties?: undefined;
|
|
698
911
|
};
|
|
912
|
+
optionName: string;
|
|
699
913
|
} | {
|
|
700
914
|
type: string;
|
|
701
915
|
items: {
|
|
@@ -711,6 +925,7 @@ export declare const MediaBlock: {
|
|
|
711
925
|
};
|
|
712
926
|
};
|
|
713
927
|
};
|
|
928
|
+
optionName: string;
|
|
714
929
|
})[];
|
|
715
930
|
};
|
|
716
931
|
pixelEvents: {
|
|
@@ -770,7 +985,8 @@ export declare const MediaBlock: {
|
|
|
770
985
|
};
|
|
771
986
|
};
|
|
772
987
|
analyticsEvents: {
|
|
773
|
-
|
|
988
|
+
oneOf: ({
|
|
989
|
+
optionName: string;
|
|
774
990
|
type: string;
|
|
775
991
|
additionalProperties: {
|
|
776
992
|
type: string;
|
|
@@ -806,6 +1022,7 @@ export declare const MediaBlock: {
|
|
|
806
1022
|
type: string;
|
|
807
1023
|
};
|
|
808
1024
|
};
|
|
1025
|
+
items?: undefined;
|
|
809
1026
|
} | {
|
|
810
1027
|
type: string;
|
|
811
1028
|
items: {
|
|
@@ -845,6 +1062,7 @@ export declare const MediaBlock: {
|
|
|
845
1062
|
};
|
|
846
1063
|
};
|
|
847
1064
|
};
|
|
1065
|
+
optionName: string;
|
|
848
1066
|
})[];
|
|
849
1067
|
};
|
|
850
1068
|
target: {
|
|
@@ -868,6 +1086,11 @@ export declare const MediaBlock: {
|
|
|
868
1086
|
};
|
|
869
1087
|
title: {
|
|
870
1088
|
oneOf: ({
|
|
1089
|
+
type: string;
|
|
1090
|
+
contentType: string;
|
|
1091
|
+
optionName: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
optionName: string;
|
|
871
1094
|
type: string;
|
|
872
1095
|
additionalProperties: boolean;
|
|
873
1096
|
required: string[];
|
|
@@ -887,9 +1110,7 @@ export declare const MediaBlock: {
|
|
|
887
1110
|
type: string;
|
|
888
1111
|
};
|
|
889
1112
|
};
|
|
890
|
-
|
|
891
|
-
type: string;
|
|
892
|
-
contentType: string;
|
|
1113
|
+
contentType?: undefined;
|
|
893
1114
|
})[];
|
|
894
1115
|
};
|
|
895
1116
|
size: {
|
|
@@ -922,6 +1143,17 @@ export declare const MediaBlock: {
|
|
|
922
1143
|
};
|
|
923
1144
|
};
|
|
924
1145
|
};
|
|
1146
|
+
list: {
|
|
1147
|
+
type: string;
|
|
1148
|
+
items: {
|
|
1149
|
+
type: string;
|
|
1150
|
+
properties: {
|
|
1151
|
+
when: {
|
|
1152
|
+
type: string;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
925
1157
|
animated: {
|
|
926
1158
|
type: string;
|
|
927
1159
|
};
|
|
@@ -950,7 +1182,9 @@ export declare const MediaBlock: {
|
|
|
950
1182
|
type: string;
|
|
951
1183
|
};
|
|
952
1184
|
type: {};
|
|
953
|
-
when: {
|
|
1185
|
+
when: {
|
|
1186
|
+
type: string;
|
|
1187
|
+
};
|
|
954
1188
|
};
|
|
955
1189
|
};
|
|
956
1190
|
};
|