@gravity-ui/page-constructor 3.5.0-alpha.0 → 3.6.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 +46 -0
- package/README.md +2 -0
- package/build/cjs/blocks/Banner/schema.d.ts +63 -21
- package/build/cjs/blocks/CardLayout/schema.d.ts +10 -4
- package/build/cjs/blocks/Companies/schema.d.ts +5 -2
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +3 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +107 -61
- package/build/cjs/blocks/ContentLayout/schema.js +23 -18
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +31 -4
- package/build/cjs/blocks/ExtendedFeatures/schema.js +2 -3
- package/build/cjs/blocks/FilterBlock/schema.d.ts +13 -5
- package/build/cjs/blocks/FilterBlock/schema.js +13 -2
- package/build/cjs/blocks/Header/Header.css +6 -7
- package/build/cjs/blocks/Header/schema.d.ts +92 -36
- package/build/cjs/blocks/Header/schema.js +1 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +48 -53
- package/build/cjs/blocks/HeaderSlider/schema.js +3 -1
- package/build/cjs/blocks/Icons/schema.d.ts +3 -1
- package/build/cjs/blocks/Icons/schema.js +2 -1
- package/build/cjs/blocks/Info/schema.d.ts +19 -8
- package/build/cjs/blocks/Map/schema.d.ts +17 -6
- package/build/cjs/blocks/Media/schema.d.ts +204 -152
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +22 -8
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/cjs/blocks/Questions/schema.d.ts +7 -3
- package/build/cjs/blocks/Slider/schema.d.ts +13 -18
- package/build/cjs/blocks/Slider/schema.js +4 -5
- package/build/cjs/blocks/Table/schema.d.ts +5 -2
- package/build/cjs/blocks/Table/schema.js +12 -2
- package/build/cjs/blocks/Tabs/schema.d.ts +43 -16
- package/build/cjs/components/BlockBase/BlockBase.js +2 -2
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/schema.d.ts +1 -0
- package/build/cjs/components/Image/schema.js +3 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +5 -6
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.css +1 -1
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.js +2 -2
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/cjs/editor/components/BlockForm/BlockForm.js +33 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +26 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +8 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +25 -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/EditBlock/EditBlock.d.ts +13 -0
- package/build/cjs/editor/components/EditBlock/EditBlock.js +44 -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 +39 -0
- package/build/cjs/editor/components/Layout/Layout.d.ts +16 -0
- package/build/cjs/editor/components/Layout/Layout.js +34 -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/containers/Editor/Editor.d.ts +2 -0
- package/build/cjs/editor/containers/Editor/Editor.js +40 -0
- package/build/cjs/editor/containers/Form/Form.css +94 -0
- package/build/cjs/editor/containers/Form/Form.d.ts +11 -0
- package/build/cjs/editor/containers/Form/Form.js +47 -0
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- 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 +188 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +29 -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/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +10 -11
- package/build/cjs/editor/store/index.js +66 -15
- package/build/cjs/editor/store/reducer.d.ts +24 -9
- package/build/cjs/editor/store/reducer.js +17 -31
- package/build/cjs/editor/store/utils.d.ts +1 -0
- package/build/cjs/editor/store/utils.js +3 -1
- package/build/cjs/editor/styles/root.css +5 -0
- package/build/cjs/editor/types/index.d.ts +15 -9
- package/build/cjs/editor/types/index.js +6 -0
- package/build/cjs/editor/utils/index.d.ts +4 -3
- package/build/cjs/editor/utils/index.js +6 -4
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +13 -8
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +3 -8
- package/build/cjs/models/navigation.d.ts +1 -0
- package/build/cjs/navigation/components/Header/Header.css +2 -0
- package/build/cjs/navigation/components/Header/Header.js +15 -4
- package/build/cjs/navigation/schema.d.ts +1 -0
- package/build/cjs/schema/constants.d.ts +908 -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 +71 -27
- package/build/cjs/schema/validators/common.js +50 -17
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +12 -5
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +8 -3
- package/build/cjs/sub-blocks/Content/schema.d.ts +14 -6
- package/build/cjs/sub-blocks/Content/schema.js +9 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +23 -9
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +16 -6
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/cjs/sub-blocks/Quote/schema.d.ts +6 -2
- package/build/esm/blocks/Banner/schema.d.ts +63 -21
- package/build/esm/blocks/CardLayout/schema.d.ts +10 -4
- package/build/esm/blocks/Companies/schema.d.ts +5 -2
- package/build/esm/blocks/ContentLayout/ContentLayout.js +3 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +107 -61
- package/build/esm/blocks/ContentLayout/schema.js +23 -18
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +31 -4
- package/build/esm/blocks/ExtendedFeatures/schema.js +3 -4
- package/build/esm/blocks/FilterBlock/schema.d.ts +13 -5
- package/build/esm/blocks/FilterBlock/schema.js +13 -2
- package/build/esm/blocks/Header/Header.css +6 -7
- package/build/esm/blocks/Header/schema.d.ts +92 -36
- package/build/esm/blocks/Header/schema.js +1 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +48 -53
- package/build/esm/blocks/HeaderSlider/schema.js +2 -1
- package/build/esm/blocks/Icons/schema.d.ts +3 -1
- package/build/esm/blocks/Icons/schema.js +2 -1
- package/build/esm/blocks/Info/schema.d.ts +19 -8
- package/build/esm/blocks/Map/schema.d.ts +17 -6
- package/build/esm/blocks/Media/schema.d.ts +204 -152
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +22 -8
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/esm/blocks/Questions/schema.d.ts +7 -3
- package/build/esm/blocks/Slider/schema.d.ts +13 -18
- package/build/esm/blocks/Slider/schema.js +4 -5
- package/build/esm/blocks/Table/schema.d.ts +5 -2
- package/build/esm/blocks/Table/schema.js +12 -2
- package/build/esm/blocks/Tabs/schema.d.ts +43 -16
- package/build/esm/components/BlockBase/BlockBase.js +2 -2
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/schema.d.ts +1 -0
- package/build/esm/components/Image/schema.js +3 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +6 -6
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.css +1 -1
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.js +2 -2
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/esm/editor/components/BlockForm/BlockForm.js +30 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +26 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +9 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +23 -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/EditBlock/EditBlock.d.ts +14 -0
- package/build/esm/editor/components/EditBlock/EditBlock.js +41 -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 +39 -0
- package/build/esm/editor/components/Layout/Layout.d.ts +17 -0
- package/build/esm/editor/components/Layout/Layout.js +32 -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/containers/Editor/Editor.d.ts +2 -0
- package/build/esm/editor/containers/Editor/Editor.js +36 -0
- package/build/esm/editor/containers/Form/Form.css +94 -0
- package/build/esm/editor/containers/Form/Form.d.ts +12 -0
- package/build/esm/editor/containers/Form/Form.js +45 -0
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- 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 +186 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +29 -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/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +10 -11
- package/build/esm/editor/store/index.js +68 -17
- package/build/esm/editor/store/reducer.d.ts +24 -9
- package/build/esm/editor/store/reducer.js +15 -29
- package/build/esm/editor/store/utils.d.ts +1 -0
- package/build/esm/editor/store/utils.js +1 -0
- package/build/esm/editor/styles/root.css +5 -0
- package/build/esm/editor/types/index.d.ts +15 -9
- package/build/esm/editor/types/index.js +5 -1
- package/build/esm/editor/utils/index.d.ts +4 -3
- package/build/esm/editor/utils/index.js +4 -3
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +13 -8
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +3 -8
- package/build/esm/models/navigation.d.ts +1 -0
- package/build/esm/navigation/components/Header/Header.css +2 -0
- package/build/esm/navigation/components/Header/Header.js +16 -5
- package/build/esm/navigation/schema.d.ts +1 -0
- package/build/esm/schema/constants.d.ts +908 -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 +71 -27
- package/build/esm/schema/validators/common.js +49 -16
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +12 -5
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +8 -3
- package/build/esm/sub-blocks/Content/schema.d.ts +14 -6
- package/build/esm/sub-blocks/Content/schema.js +9 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +23 -9
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +16 -6
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/esm/sub-blocks/Quote/schema.d.ts +6 -2
- package/package.json +39 -7
- package/server/models/constructor-items/blocks.d.ts +13 -8
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +3 -8
- package/server/models/navigation.d.ts +1 -0
- 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/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/cjs/editor/{Components → components}/EditBlock/EditBlock.css +0 -0
- /package/build/esm/editor/{Components → components}/EditBlock/EditBlock.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.6.0](https://github.com/gravity-ui/page-constructor/compare/v3.5.0...v3.6.0) (2023-06-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add exeptions for typograf rules ([#397](https://github.com/gravity-ui/page-constructor/issues/397)) ([16490a1](https://github.com/gravity-ui/page-constructor/commit/16490a1df289baf1d922d4821823638ccd43a0c1))
|
|
9
|
+
|
|
10
|
+
## [3.5.0](https://github.com/gravity-ui/page-constructor/compare/v3.4.0...v3.5.0) (2023-06-19)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add subpath exports and fix editor form deps ([#407](https://github.com/gravity-ui/page-constructor/issues/407)) ([90ed4b5](https://github.com/gravity-ui/page-constructor/commit/90ed4b51fc30f4a2c25d9bb49bb035f9479f6736))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* control panel icons and layout ([#406](https://github.com/gravity-ui/page-constructor/issues/406)) ([e1ecadd](https://github.com/gravity-ui/page-constructor/commit/e1ecadd4b9738e19f8eff3bf5e8e51fea4eca658))
|
|
21
|
+
|
|
22
|
+
## [3.4.0](https://github.com/gravity-ui/page-constructor/compare/v3.3.0...v3.4.0) (2023-06-16)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add editor mode switch ([#404](https://github.com/gravity-ui/page-constructor/issues/404)) ([118a369](https://github.com/gravity-ui/page-constructor/commit/118a3694459479c240ca9829c6194c1185cad4a4))
|
|
28
|
+
|
|
29
|
+
## [3.3.0](https://github.com/gravity-ui/page-constructor/compare/v3.2.0...v3.3.0) (2023-06-14)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* add editor forms ([#393](https://github.com/gravity-ui/page-constructor/issues/393)) ([94fd2b2](https://github.com/gravity-ui/page-constructor/commit/94fd2b2f0f5a93d7e775be5c758a62aeecd56e8e))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* **Video:** fix schema validator ([#395](https://github.com/gravity-ui/page-constructor/issues/395)) ([0571d27](https://github.com/gravity-ui/page-constructor/commit/0571d277d902c59e546647d42c0620f8a4feb827))
|
|
40
|
+
|
|
41
|
+
## [3.2.0](https://github.com/gravity-ui/page-constructor/compare/v3.1.2...v3.2.0) (2023-06-13)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* update header offset, remove unnecessary margins ([#369](https://github.com/gravity-ui/page-constructor/issues/369)) ([7757ec1](https://github.com/gravity-ui/page-constructor/commit/7757ec1b80b20b79c693b28cd3c47a7a44a2987f))
|
|
47
|
+
* remove navigation's border by default if scroll top = 0. If you want this border by default, use prop `withBorder: true` im navigation config
|
|
48
|
+
|
|
3
49
|
## [3.1.2](https://github.com/gravity-ui/page-constructor/compare/v3.1.1...v3.1.2) (2023-06-07)
|
|
4
50
|
|
|
5
51
|
|
package/README.md
CHANGED
|
@@ -184,6 +184,8 @@ Sub-blocks are components that can be used in the block `children` property. In
|
|
|
184
184
|
|
|
185
185
|
6. In the block directory, add the `README.md` file with a description of input parameters.
|
|
186
186
|
7. In the block directory add storybook demo in `__stories__` folder. All demo content for story should be placed in `data.json` at story dir. The generic `Story` must accept the type of block props, otherwise incorrect block props will be displayed in Storybook.
|
|
187
|
+
8. Add block data template to `src/editor/data/templates/` folder, file name should match block type
|
|
188
|
+
9. (optional) Add block preview icon to `src/editor/data/previews/` folder, file name should match block type
|
|
187
189
|
|
|
188
190
|
### Themes
|
|
189
191
|
|
|
@@ -11,26 +11,32 @@ export declare const BannerCardProps: {
|
|
|
11
11
|
contentType: string;
|
|
12
12
|
};
|
|
13
13
|
image: {
|
|
14
|
-
oneOf: ({
|
|
14
|
+
oneOf: (({
|
|
15
15
|
type: string;
|
|
16
|
-
}
|
|
16
|
+
} & {
|
|
17
|
+
optionName: string;
|
|
18
|
+
}) | {
|
|
17
19
|
type: string;
|
|
18
20
|
additionalProperties: boolean;
|
|
19
21
|
required: import("../..").Theme[];
|
|
20
22
|
properties: {};
|
|
23
|
+
optionName: string;
|
|
21
24
|
})[];
|
|
22
25
|
};
|
|
23
26
|
disableCompress: {
|
|
24
27
|
type: string;
|
|
25
28
|
};
|
|
26
29
|
color: {
|
|
27
|
-
oneOf: ({
|
|
30
|
+
oneOf: (({
|
|
28
31
|
type: string;
|
|
29
|
-
}
|
|
32
|
+
} & {
|
|
33
|
+
optionName: string;
|
|
34
|
+
}) | {
|
|
30
35
|
type: string;
|
|
31
36
|
additionalProperties: boolean;
|
|
32
37
|
required: import("../..").Theme[];
|
|
33
38
|
properties: {};
|
|
39
|
+
optionName: string;
|
|
34
40
|
})[];
|
|
35
41
|
};
|
|
36
42
|
theme: {
|
|
@@ -64,8 +70,9 @@ export declare const BannerCardProps: {
|
|
|
64
70
|
enum: string[];
|
|
65
71
|
};
|
|
66
72
|
img: {
|
|
67
|
-
|
|
73
|
+
oneOf: ({
|
|
68
74
|
type: string;
|
|
75
|
+
optionName: string;
|
|
69
76
|
additionalProperties?: undefined;
|
|
70
77
|
required?: undefined;
|
|
71
78
|
properties?: undefined;
|
|
@@ -86,11 +93,13 @@ export declare const BannerCardProps: {
|
|
|
86
93
|
contentType: string;
|
|
87
94
|
};
|
|
88
95
|
};
|
|
96
|
+
optionName: string;
|
|
89
97
|
})[];
|
|
90
98
|
};
|
|
91
99
|
metrikaGoals: {
|
|
92
|
-
|
|
100
|
+
oneOf: ({
|
|
93
101
|
type: string;
|
|
102
|
+
optionName: string;
|
|
94
103
|
items?: undefined;
|
|
95
104
|
} | {
|
|
96
105
|
type: string;
|
|
@@ -100,6 +109,7 @@ export declare const BannerCardProps: {
|
|
|
100
109
|
required?: undefined;
|
|
101
110
|
properties?: undefined;
|
|
102
111
|
};
|
|
112
|
+
optionName: string;
|
|
103
113
|
} | {
|
|
104
114
|
type: string;
|
|
105
115
|
items: {
|
|
@@ -115,6 +125,7 @@ export declare const BannerCardProps: {
|
|
|
115
125
|
};
|
|
116
126
|
};
|
|
117
127
|
};
|
|
128
|
+
optionName: string;
|
|
118
129
|
})[];
|
|
119
130
|
};
|
|
120
131
|
pixelEvents: {
|
|
@@ -174,7 +185,8 @@ export declare const BannerCardProps: {
|
|
|
174
185
|
};
|
|
175
186
|
};
|
|
176
187
|
analyticsEvents: {
|
|
177
|
-
|
|
188
|
+
oneOf: ({
|
|
189
|
+
optionName: string;
|
|
178
190
|
type: string;
|
|
179
191
|
additionalProperties: {
|
|
180
192
|
type: string;
|
|
@@ -210,6 +222,7 @@ export declare const BannerCardProps: {
|
|
|
210
222
|
type: string;
|
|
211
223
|
};
|
|
212
224
|
};
|
|
225
|
+
items?: undefined;
|
|
213
226
|
} | {
|
|
214
227
|
type: string;
|
|
215
228
|
items: {
|
|
@@ -249,6 +262,7 @@ export declare const BannerCardProps: {
|
|
|
249
262
|
};
|
|
250
263
|
};
|
|
251
264
|
};
|
|
265
|
+
optionName: string;
|
|
252
266
|
})[];
|
|
253
267
|
};
|
|
254
268
|
target: {
|
|
@@ -291,26 +305,32 @@ export declare const BannerBlock: {
|
|
|
291
305
|
contentType: string;
|
|
292
306
|
};
|
|
293
307
|
image: {
|
|
294
|
-
oneOf: ({
|
|
308
|
+
oneOf: (({
|
|
295
309
|
type: string;
|
|
296
|
-
}
|
|
310
|
+
} & {
|
|
311
|
+
optionName: string;
|
|
312
|
+
}) | {
|
|
297
313
|
type: string;
|
|
298
314
|
additionalProperties: boolean;
|
|
299
315
|
required: import("../..").Theme[];
|
|
300
316
|
properties: {};
|
|
317
|
+
optionName: string;
|
|
301
318
|
})[];
|
|
302
319
|
};
|
|
303
320
|
disableCompress: {
|
|
304
321
|
type: string;
|
|
305
322
|
};
|
|
306
323
|
color: {
|
|
307
|
-
oneOf: ({
|
|
324
|
+
oneOf: (({
|
|
308
325
|
type: string;
|
|
309
|
-
}
|
|
326
|
+
} & {
|
|
327
|
+
optionName: string;
|
|
328
|
+
}) | {
|
|
310
329
|
type: string;
|
|
311
330
|
additionalProperties: boolean;
|
|
312
331
|
required: import("../..").Theme[];
|
|
313
332
|
properties: {};
|
|
333
|
+
optionName: string;
|
|
314
334
|
})[];
|
|
315
335
|
};
|
|
316
336
|
theme: {
|
|
@@ -344,8 +364,9 @@ export declare const BannerBlock: {
|
|
|
344
364
|
enum: string[];
|
|
345
365
|
};
|
|
346
366
|
img: {
|
|
347
|
-
|
|
367
|
+
oneOf: ({
|
|
348
368
|
type: string;
|
|
369
|
+
optionName: string;
|
|
349
370
|
additionalProperties?: undefined;
|
|
350
371
|
required?: undefined;
|
|
351
372
|
properties?: undefined;
|
|
@@ -366,11 +387,13 @@ export declare const BannerBlock: {
|
|
|
366
387
|
contentType: string;
|
|
367
388
|
};
|
|
368
389
|
};
|
|
390
|
+
optionName: string;
|
|
369
391
|
})[];
|
|
370
392
|
};
|
|
371
393
|
metrikaGoals: {
|
|
372
|
-
|
|
394
|
+
oneOf: ({
|
|
373
395
|
type: string;
|
|
396
|
+
optionName: string;
|
|
374
397
|
items?: undefined;
|
|
375
398
|
} | {
|
|
376
399
|
type: string;
|
|
@@ -380,6 +403,7 @@ export declare const BannerBlock: {
|
|
|
380
403
|
required?: undefined;
|
|
381
404
|
properties?: undefined;
|
|
382
405
|
};
|
|
406
|
+
optionName: string;
|
|
383
407
|
} | {
|
|
384
408
|
type: string;
|
|
385
409
|
items: {
|
|
@@ -395,6 +419,7 @@ export declare const BannerBlock: {
|
|
|
395
419
|
};
|
|
396
420
|
};
|
|
397
421
|
};
|
|
422
|
+
optionName: string;
|
|
398
423
|
})[];
|
|
399
424
|
};
|
|
400
425
|
pixelEvents: {
|
|
@@ -454,7 +479,8 @@ export declare const BannerBlock: {
|
|
|
454
479
|
};
|
|
455
480
|
};
|
|
456
481
|
analyticsEvents: {
|
|
457
|
-
|
|
482
|
+
oneOf: ({
|
|
483
|
+
optionName: string;
|
|
458
484
|
type: string;
|
|
459
485
|
additionalProperties: {
|
|
460
486
|
type: string;
|
|
@@ -490,6 +516,7 @@ export declare const BannerBlock: {
|
|
|
490
516
|
type: string;
|
|
491
517
|
};
|
|
492
518
|
};
|
|
519
|
+
items?: undefined;
|
|
493
520
|
} | {
|
|
494
521
|
type: string;
|
|
495
522
|
items: {
|
|
@@ -529,6 +556,7 @@ export declare const BannerBlock: {
|
|
|
529
556
|
};
|
|
530
557
|
};
|
|
531
558
|
};
|
|
559
|
+
optionName: string;
|
|
532
560
|
})[];
|
|
533
561
|
};
|
|
534
562
|
target: {
|
|
@@ -572,26 +600,32 @@ export declare const BannerCard: {
|
|
|
572
600
|
contentType: string;
|
|
573
601
|
};
|
|
574
602
|
image: {
|
|
575
|
-
oneOf: ({
|
|
603
|
+
oneOf: (({
|
|
576
604
|
type: string;
|
|
577
|
-
}
|
|
605
|
+
} & {
|
|
606
|
+
optionName: string;
|
|
607
|
+
}) | {
|
|
578
608
|
type: string;
|
|
579
609
|
additionalProperties: boolean;
|
|
580
610
|
required: import("../..").Theme[];
|
|
581
611
|
properties: {};
|
|
612
|
+
optionName: string;
|
|
582
613
|
})[];
|
|
583
614
|
};
|
|
584
615
|
disableCompress: {
|
|
585
616
|
type: string;
|
|
586
617
|
};
|
|
587
618
|
color: {
|
|
588
|
-
oneOf: ({
|
|
619
|
+
oneOf: (({
|
|
589
620
|
type: string;
|
|
590
|
-
}
|
|
621
|
+
} & {
|
|
622
|
+
optionName: string;
|
|
623
|
+
}) | {
|
|
591
624
|
type: string;
|
|
592
625
|
additionalProperties: boolean;
|
|
593
626
|
required: import("../..").Theme[];
|
|
594
627
|
properties: {};
|
|
628
|
+
optionName: string;
|
|
595
629
|
})[];
|
|
596
630
|
};
|
|
597
631
|
theme: {
|
|
@@ -625,8 +659,9 @@ export declare const BannerCard: {
|
|
|
625
659
|
enum: string[];
|
|
626
660
|
};
|
|
627
661
|
img: {
|
|
628
|
-
|
|
662
|
+
oneOf: ({
|
|
629
663
|
type: string;
|
|
664
|
+
optionName: string;
|
|
630
665
|
additionalProperties?: undefined;
|
|
631
666
|
required?: undefined;
|
|
632
667
|
properties?: undefined;
|
|
@@ -647,11 +682,13 @@ export declare const BannerCard: {
|
|
|
647
682
|
contentType: string;
|
|
648
683
|
};
|
|
649
684
|
};
|
|
685
|
+
optionName: string;
|
|
650
686
|
})[];
|
|
651
687
|
};
|
|
652
688
|
metrikaGoals: {
|
|
653
|
-
|
|
689
|
+
oneOf: ({
|
|
654
690
|
type: string;
|
|
691
|
+
optionName: string;
|
|
655
692
|
items?: undefined;
|
|
656
693
|
} | {
|
|
657
694
|
type: string;
|
|
@@ -661,6 +698,7 @@ export declare const BannerCard: {
|
|
|
661
698
|
required?: undefined;
|
|
662
699
|
properties?: undefined;
|
|
663
700
|
};
|
|
701
|
+
optionName: string;
|
|
664
702
|
} | {
|
|
665
703
|
type: string;
|
|
666
704
|
items: {
|
|
@@ -676,6 +714,7 @@ export declare const BannerCard: {
|
|
|
676
714
|
};
|
|
677
715
|
};
|
|
678
716
|
};
|
|
717
|
+
optionName: string;
|
|
679
718
|
})[];
|
|
680
719
|
};
|
|
681
720
|
pixelEvents: {
|
|
@@ -735,7 +774,8 @@ export declare const BannerCard: {
|
|
|
735
774
|
};
|
|
736
775
|
};
|
|
737
776
|
analyticsEvents: {
|
|
738
|
-
|
|
777
|
+
oneOf: ({
|
|
778
|
+
optionName: string;
|
|
739
779
|
type: string;
|
|
740
780
|
additionalProperties: {
|
|
741
781
|
type: string;
|
|
@@ -771,6 +811,7 @@ export declare const BannerCard: {
|
|
|
771
811
|
type: string;
|
|
772
812
|
};
|
|
773
813
|
};
|
|
814
|
+
items?: undefined;
|
|
774
815
|
} | {
|
|
775
816
|
type: string;
|
|
776
817
|
items: {
|
|
@@ -810,6 +851,7 @@ export declare const BannerCard: {
|
|
|
810
851
|
};
|
|
811
852
|
};
|
|
812
853
|
};
|
|
854
|
+
optionName: string;
|
|
813
855
|
})[];
|
|
814
856
|
};
|
|
815
857
|
target: {
|
|
@@ -15,6 +15,10 @@ export declare const CardLayoutProps: {
|
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
17
|
oneOf: ({
|
|
18
|
+
type: string;
|
|
19
|
+
optionName: string;
|
|
20
|
+
} | {
|
|
21
|
+
optionName: string;
|
|
18
22
|
type: string;
|
|
19
23
|
additionalProperties: boolean;
|
|
20
24
|
required: string[];
|
|
@@ -34,13 +38,12 @@ export declare const CardLayoutProps: {
|
|
|
34
38
|
type: string;
|
|
35
39
|
};
|
|
36
40
|
};
|
|
37
|
-
} | {
|
|
38
|
-
type: string;
|
|
39
41
|
})[];
|
|
40
42
|
};
|
|
41
43
|
description: {
|
|
42
44
|
type: string;
|
|
43
45
|
contentType: string;
|
|
46
|
+
inputType: string;
|
|
44
47
|
};
|
|
45
48
|
animated: {
|
|
46
49
|
type: string;
|
|
@@ -91,6 +94,10 @@ export declare const CardLayoutBlock: {
|
|
|
91
94
|
};
|
|
92
95
|
title: {
|
|
93
96
|
oneOf: ({
|
|
97
|
+
type: string;
|
|
98
|
+
optionName: string;
|
|
99
|
+
} | {
|
|
100
|
+
optionName: string;
|
|
94
101
|
type: string;
|
|
95
102
|
additionalProperties: boolean;
|
|
96
103
|
required: string[];
|
|
@@ -110,13 +117,12 @@ export declare const CardLayoutBlock: {
|
|
|
110
117
|
type: string;
|
|
111
118
|
};
|
|
112
119
|
};
|
|
113
|
-
} | {
|
|
114
|
-
type: string;
|
|
115
120
|
})[];
|
|
116
121
|
};
|
|
117
122
|
description: {
|
|
118
123
|
type: string;
|
|
119
124
|
contentType: string;
|
|
125
|
+
inputType: string;
|
|
120
126
|
};
|
|
121
127
|
animated: {
|
|
122
128
|
type: string;
|
|
@@ -8,7 +8,7 @@ export declare const CompaniesBlock: {
|
|
|
8
8
|
contentType: string;
|
|
9
9
|
};
|
|
10
10
|
images: {
|
|
11
|
-
oneOf: ({
|
|
11
|
+
oneOf: (({
|
|
12
12
|
type: string;
|
|
13
13
|
required: string[];
|
|
14
14
|
properties: {
|
|
@@ -26,11 +26,14 @@ export declare const CompaniesBlock: {
|
|
|
26
26
|
contentType: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
|
+
optionName: string;
|
|
31
|
+
}) | {
|
|
30
32
|
type: string;
|
|
31
33
|
additionalProperties: boolean;
|
|
32
34
|
required: import("../..").Theme[];
|
|
33
35
|
properties: {};
|
|
36
|
+
optionName: string;
|
|
34
37
|
})[];
|
|
35
38
|
};
|
|
36
39
|
animated: {
|
|
@@ -31,8 +31,9 @@ function getTextWidth(size) {
|
|
|
31
31
|
}
|
|
32
32
|
const ContentLayoutBlock = (props) => {
|
|
33
33
|
const isMobile = (0, react_1.useContext)(mobileContext_1.MobileContext);
|
|
34
|
-
const { textContent, fileContent
|
|
35
|
-
const
|
|
34
|
+
const { textContent, fileContent } = props;
|
|
35
|
+
const propsSource = props.properties || props;
|
|
36
|
+
const { size = 'l', background, centered, theme = 'default', textWidth = 'm' } = propsSource;
|
|
36
37
|
const colSizes = (0, react_1.useMemo)(() => getTextWidth(textWidth), [textWidth]);
|
|
37
38
|
return (react_1.default.createElement("div", { className: b({ size, background: Boolean(background) }) },
|
|
38
39
|
react_1.default.createElement(sub_blocks_1.Content, Object.assign({ className: b('content') }, textContent, { size: size, centered: centered, colSizes: colSizes, theme: theme })),
|
|
@@ -2,79 +2,120 @@ export declare const ContentLayoutBlock: {
|
|
|
2
2
|
'content-layout-block': {
|
|
3
3
|
additionalProperties: boolean;
|
|
4
4
|
properties: {
|
|
5
|
+
size: {
|
|
6
|
+
type: string;
|
|
7
|
+
enum: string[];
|
|
8
|
+
};
|
|
9
|
+
background: {
|
|
10
|
+
type: string;
|
|
11
|
+
additionalProperties: boolean;
|
|
12
|
+
required: string[];
|
|
13
|
+
properties: {
|
|
14
|
+
src: {
|
|
15
|
+
type: string; /**
|
|
16
|
+
* @deprecated Use params on top level instead
|
|
17
|
+
*/
|
|
18
|
+
pattern: string;
|
|
19
|
+
};
|
|
20
|
+
alt: {
|
|
21
|
+
type: string;
|
|
22
|
+
contentType: string;
|
|
23
|
+
};
|
|
24
|
+
disableCompress: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
centered: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
theme: {
|
|
33
|
+
type: string;
|
|
34
|
+
enum: string[];
|
|
35
|
+
};
|
|
36
|
+
textWidth: {
|
|
37
|
+
type: string;
|
|
38
|
+
enum: string[];
|
|
39
|
+
};
|
|
5
40
|
textContent: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
oneOf: ({
|
|
15
|
-
type: string;
|
|
16
|
-
additionalProperties: boolean;
|
|
17
|
-
required: string[];
|
|
18
|
-
properties: {
|
|
19
|
-
text: {
|
|
20
|
-
type: string;
|
|
21
|
-
contentType: string;
|
|
22
|
-
};
|
|
23
|
-
textSize: {
|
|
24
|
-
type: string;
|
|
25
|
-
enum: string[];
|
|
26
|
-
};
|
|
27
|
-
url: {
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
resetMargin: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
} | {
|
|
35
|
-
type: string;
|
|
36
|
-
contentType: string;
|
|
37
|
-
})[];
|
|
38
|
-
};
|
|
39
|
-
text: {
|
|
40
|
-
type: string;
|
|
41
|
-
contentType: string;
|
|
42
|
-
};
|
|
43
|
-
additionalInfo: {
|
|
41
|
+
additionalProperties: boolean;
|
|
42
|
+
properties: {
|
|
43
|
+
colSizes: {};
|
|
44
|
+
centered: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
title: {
|
|
48
|
+
oneOf: ({
|
|
44
49
|
type: string;
|
|
45
50
|
contentType: string;
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
optionName: string;
|
|
52
|
+
} | {
|
|
53
|
+
optionName: string;
|
|
48
54
|
type: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
additionalProperties: boolean;
|
|
56
|
+
required: string[];
|
|
57
|
+
properties: {
|
|
58
|
+
text: {
|
|
59
|
+
type: string;
|
|
60
|
+
contentType: string;
|
|
61
|
+
};
|
|
62
|
+
textSize: {
|
|
63
|
+
type: string;
|
|
64
|
+
enum: string[];
|
|
65
|
+
};
|
|
66
|
+
url: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
resetMargin: {
|
|
70
|
+
type: string;
|
|
59
71
|
};
|
|
60
72
|
};
|
|
61
|
-
|
|
62
|
-
|
|
73
|
+
contentType?: undefined;
|
|
74
|
+
})[];
|
|
75
|
+
};
|
|
76
|
+
text: {
|
|
77
|
+
type: string;
|
|
78
|
+
contentType: string;
|
|
79
|
+
inputType: string;
|
|
80
|
+
};
|
|
81
|
+
additionalInfo: {
|
|
82
|
+
type: string;
|
|
83
|
+
contentType: string;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: string;
|
|
87
|
+
enum: string[];
|
|
88
|
+
};
|
|
89
|
+
links: {
|
|
90
|
+
type: string;
|
|
91
|
+
items: {
|
|
63
92
|
type: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
when: {
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
93
|
+
properties: {
|
|
94
|
+
when: {
|
|
95
|
+
type: string;
|
|
70
96
|
};
|
|
71
97
|
};
|
|
72
98
|
};
|
|
73
|
-
|
|
99
|
+
};
|
|
100
|
+
buttons: {
|
|
101
|
+
type: string;
|
|
102
|
+
items: {
|
|
74
103
|
type: string;
|
|
75
|
-
|
|
104
|
+
properties: {
|
|
105
|
+
when: {
|
|
106
|
+
type: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
76
109
|
};
|
|
77
110
|
};
|
|
111
|
+
theme: {
|
|
112
|
+
type: string;
|
|
113
|
+
enum: string[]; /**
|
|
114
|
+
* @deprecated Use params on top level instead
|
|
115
|
+
*/
|
|
116
|
+
}; /**
|
|
117
|
+
* @deprecated Use params on top level instead
|
|
118
|
+
*/
|
|
78
119
|
};
|
|
79
120
|
};
|
|
80
121
|
fileContent: {
|
|
@@ -88,6 +129,9 @@ export declare const ContentLayoutBlock: {
|
|
|
88
129
|
};
|
|
89
130
|
};
|
|
90
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* @deprecated Use params on top level instead
|
|
134
|
+
*/
|
|
91
135
|
properties: {
|
|
92
136
|
size: {
|
|
93
137
|
type: string;
|
|
@@ -99,7 +143,9 @@ export declare const ContentLayoutBlock: {
|
|
|
99
143
|
required: string[];
|
|
100
144
|
properties: {
|
|
101
145
|
src: {
|
|
102
|
-
type: string;
|
|
146
|
+
type: string; /**
|
|
147
|
+
* @deprecated Use params on top level instead
|
|
148
|
+
*/
|
|
103
149
|
pattern: string;
|
|
104
150
|
};
|
|
105
151
|
alt: {
|