@gravity-ui/page-constructor 1.10.5 → 1.10.7-alpha.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 +14 -0
- package/build/cjs/blocks/Banner/Banner.js +3 -3
- package/build/cjs/blocks/CardLayout/CardLayout.js +1 -1
- package/build/cjs/blocks/Companies/Companies.js +2 -2
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -1
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +2 -2
- package/build/cjs/blocks/Header/Header.d.ts +1 -1
- package/build/cjs/blocks/Header/Header.js +3 -3
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js +3 -3
- package/build/cjs/blocks/Icons/Icons.js +1 -1
- package/build/cjs/blocks/Info/Info.js +2 -2
- package/build/cjs/blocks/Info/schema.js +1 -1
- package/build/cjs/blocks/LinkTable/LinkTable.js +4 -4
- package/build/cjs/blocks/Media/Media.js +6 -6
- package/build/cjs/blocks/Media/MediaContent.js +1 -1
- package/build/cjs/blocks/Preview/MediaContent/MediaContent.js +3 -3
- package/build/cjs/blocks/Preview/MediaContent/PreviewContent.js +2 -2
- package/build/cjs/blocks/Preview/MediaContent/PreviewMedia.js +2 -2
- package/build/cjs/blocks/Preview/Preview.js +3 -3
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +7 -7
- package/build/cjs/blocks/Questions/Questions.js +2 -2
- package/build/cjs/blocks/Questions/schema.js +1 -1
- package/build/cjs/blocks/Security/Security.js +1 -1
- package/build/cjs/blocks/Security/schema.js +1 -1
- package/build/cjs/blocks/Share/Share.js +2 -2
- package/build/cjs/blocks/Share/i18n/index.js +2 -2
- package/build/cjs/blocks/Share/schema.js +1 -1
- package/build/cjs/blocks/Simple/Simple.js +4 -4
- package/build/cjs/blocks/Slider/Arrow/Arrow.d.ts +1 -1
- package/build/cjs/blocks/Slider/Arrow/Arrow.js +2 -2
- package/build/cjs/blocks/Slider/Slider.js +9 -9
- package/build/cjs/blocks/Slider/models.d.ts +2 -2
- package/build/cjs/blocks/Table/Table.js +1 -1
- package/build/cjs/blocks/Tabs/Tabs.js +6 -6
- package/build/cjs/blocks/Tabs/schema.js +1 -1
- package/build/cjs/blocks/validators.js +19 -19
- package/build/cjs/components/Anchor/Anchor.d.ts +2 -1
- package/build/cjs/components/Anchor/Anchor.js +2 -2
- package/build/cjs/components/Anchor/__tests__/Anchor.test.d.ts +1 -0
- package/build/cjs/components/Anchor/__tests__/Anchor.test.js +21 -0
- package/build/cjs/components/AnimateBlock/AnimateBlock.js +1 -1
- package/build/cjs/components/Author/Author.js +1 -1
- package/build/cjs/components/BackLink/BackLink.d.ts +1 -1
- package/build/cjs/components/BackLink/BackLink.js +1 -1
- package/build/cjs/components/BackgroundImage/BackgroundImage.js +2 -2
- package/build/cjs/components/BackgroundMedia/BackgroundMedia.js +4 -4
- package/build/cjs/components/BalancedMasonry/BalancedMasonry.js +2 -2
- package/build/cjs/components/BlockBase/BlockBase.js +2 -2
- package/build/cjs/components/BlockHeader/BlockHeader.js +2 -2
- package/build/cjs/components/Button/Button.js +2 -2
- package/build/cjs/components/Button/utils.d.ts +2 -2
- package/build/cjs/components/ButtonTabs/ButtonTabs.js +1 -1
- package/build/cjs/components/CardBase/CardBase.js +3 -3
- package/build/cjs/components/Control/Control.js +1 -1
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.js +1 -1
- package/build/cjs/components/FileLink/FileLink.js +1 -1
- package/build/cjs/components/Foldable/Foldable.js +2 -2
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.js +2 -2
- package/build/cjs/components/FullscreenImage/FullscreenImage.js +2 -2
- package/build/cjs/components/HTML/HTML.js +1 -1
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/HeightCalculator/HeightCalculator.js +2 -2
- package/build/cjs/components/Image/Image.js +1 -1
- package/build/cjs/components/Link/Link.d.ts +1 -1
- package/build/cjs/components/Link/Link.js +3 -3
- package/build/cjs/components/Link/Links.js +2 -2
- package/build/cjs/components/Media/DataLens/DataLens.js +1 -1
- package/build/cjs/components/Media/Image/Image.d.ts +1 -1
- package/build/cjs/components/Media/Image/Image.js +6 -6
- package/build/cjs/components/Media/Media.js +5 -5
- package/build/cjs/components/Media/Video/Video.d.ts +1 -1
- package/build/cjs/components/Media/Video/Video.js +2 -2
- package/build/cjs/components/OutsideClick/OutsideClick.js +1 -1
- package/build/cjs/components/OverflowScroller/OverflowScroller.d.ts +1 -1
- package/build/cjs/components/OverflowScroller/OverflowScroller.js +2 -2
- package/build/cjs/components/ReactPlayer/CircleProgress.js +1 -1
- package/build/cjs/components/ReactPlayer/CustomBarControls.js +2 -2
- package/build/cjs/components/ReactPlayer/ReactPlayer.js +4 -4
- package/build/cjs/components/RouterLink/RouterLink.js +1 -1
- package/build/cjs/components/Table/Table.js +1 -1
- package/build/cjs/components/Title/Title.js +2 -2
- package/build/cjs/components/ToggleArrow/ToggleArrow.js +1 -1
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.d.ts +1 -1
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.js +2 -2
- package/build/cjs/components/UnpublishedLabel/i18n/index.js +2 -2
- package/build/cjs/components/VideoBlock/VideoBlock.js +3 -3
- package/build/cjs/components/YFMWrapper/YFMWrapper.js +3 -3
- package/build/cjs/components/YandexForm/YandexForm.js +1 -1
- package/build/cjs/containers/Loadable/Loadable.js +4 -4
- package/build/cjs/containers/Loadable/i18n/index.js +2 -2
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.js +4 -4
- package/build/cjs/containers/PageConstructor/Provider.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/index.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/index.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/index.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/index.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/index.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/index.js +1 -1
- package/build/cjs/context/animateContext/AnimateContext.js +1 -1
- package/build/cjs/context/animateContext/index.js +1 -1
- package/build/cjs/context/breakpointContext/breakpointContext.js +1 -1
- package/build/cjs/context/breakpointContext/index.js +1 -1
- package/build/cjs/context/innerContext/InnerContext.js +1 -1
- package/build/cjs/context/innerContext/index.js +1 -1
- package/build/cjs/context/localeContext/index.js +1 -1
- package/build/cjs/context/localeContext/localeContext.d.ts +1 -1
- package/build/cjs/context/localeContext/localeContext.js +1 -1
- package/build/cjs/context/locationContext/index.js +1 -1
- package/build/cjs/context/locationContext/locationContext.d.ts +2 -2
- package/build/cjs/context/locationContext/locationContext.js +1 -1
- package/build/cjs/context/metrikaContext/index.js +1 -1
- package/build/cjs/context/metrikaContext/metrikaContext.js +1 -1
- package/build/cjs/context/mobileContext/MobileContext.js +1 -1
- package/build/cjs/context/mobileContext/index.js +1 -1
- package/build/cjs/context/projectSettingsContext/ProjectSettingsContext.js +1 -1
- package/build/cjs/context/projectSettingsContext/index.js +1 -1
- package/build/cjs/context/ssrContext/SSRContext.js +1 -1
- package/build/cjs/context/ssrContext/index.js +1 -1
- package/build/cjs/context/stylesContext/StylesContext.js +1 -1
- package/build/cjs/context/stylesContext/index.js +1 -1
- package/build/cjs/context/theme/ThemeContext.js +1 -1
- package/build/cjs/context/theme/ThemeProvider.js +1 -1
- package/build/cjs/context/theme/ThemeValueContext.d.ts +1 -1
- package/build/cjs/context/theme/ThemeValueContext.js +1 -1
- package/build/cjs/context/theme/index.js +4 -4
- package/build/cjs/context/theme/useTheme.js +1 -1
- package/build/cjs/context/theme/useThemeValue.js +1 -1
- package/build/cjs/context/theme/withTheme.js +1 -1
- package/build/cjs/context/videoContext/VideoContext.js +1 -1
- package/build/cjs/context/videoContext/index.js +1 -1
- package/build/cjs/grid/Break/Break.js +1 -1
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/grid/Col/Col.js +2 -2
- package/build/cjs/grid/Grid/Grid.js +1 -1
- package/build/cjs/grid/Row/Row.js +1 -1
- package/build/cjs/grid/index.js +6 -6
- package/build/cjs/grid/types.d.ts +2 -2
- package/build/cjs/hooks/index.js +4 -4
- package/build/cjs/hooks/useFocus.js +1 -1
- package/build/cjs/hooks/useIntersection.d.ts +1 -1
- package/build/cjs/hooks/useMetrika.d.ts +1 -1
- package/build/cjs/hooks/useMount.d.ts +1 -1
- package/build/cjs/hooks/useWindowBreakpoint.js +1 -1
- package/build/cjs/icons/ArrowConstructor.js +1 -1
- package/build/cjs/icons/ArrowSidebar.js +1 -1
- package/build/cjs/icons/Chevron.js +1 -1
- package/build/cjs/icons/Facebook.js +1 -1
- package/build/cjs/icons/FullScreen.js +1 -1
- package/build/cjs/icons/Github.js +1 -1
- package/build/cjs/icons/Linkedin.js +1 -1
- package/build/cjs/icons/NavigationArrow.js +1 -1
- package/build/cjs/icons/NavigationChevron.js +1 -1
- package/build/cjs/icons/NavigationClose.js +1 -1
- package/build/cjs/icons/NavigationOpen.js +1 -1
- package/build/cjs/icons/PlayVideo.js +1 -1
- package/build/cjs/icons/PreviewClose.js +1 -1
- package/build/cjs/icons/Telegram.js +1 -1
- package/build/cjs/icons/Twitter.js +1 -1
- package/build/cjs/icons/Vk.js +1 -1
- package/build/cjs/icons/index.js +11 -11
- package/build/cjs/index.js +11 -11
- package/build/cjs/models/common.d.ts +3 -3
- package/build/cjs/models/components.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +29 -29
- package/build/cjs/models/constructor-items/common.d.ts +25 -25
- package/build/cjs/models/constructor-items/index.d.ts +1 -1
- package/build/cjs/models/constructor-items/index.js +3 -3
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +15 -15
- package/build/cjs/models/constructor.d.ts +10 -10
- package/build/cjs/models/index.js +7 -7
- package/build/cjs/models/navigation.d.ts +3 -3
- package/build/cjs/models/react.d.ts +1 -1
- package/build/cjs/navigation/components/Header/Header.js +7 -7
- package/build/cjs/navigation/components/Logo/Logo.js +2 -2
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.js +3 -3
- package/build/cjs/navigation/components/Navigation/Navigation.js +6 -6
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +6 -6
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.js +3 -3
- package/build/cjs/navigation/components/SocialIcon/SocialIcon.js +1 -1
- package/build/cjs/navigation/containers/Layout/Layout.js +2 -2
- package/build/cjs/schema/index.d.ts +1 -1
- package/build/cjs/schema/validators/blocks.js +20 -20
- package/build/cjs/schema/validators/index.js +5 -5
- package/build/cjs/schema/validators/sub-blocks.js +11 -11
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +2 -2
- package/build/cjs/sub-blocks/BackgroundCard/schema.js +1 -1
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +1 -1
- package/build/cjs/sub-blocks/BasicCard/BasicCard.js +3 -3
- package/build/cjs/sub-blocks/BasicCard/schema.js +1 -1
- package/build/cjs/sub-blocks/CardWithImage/CardWithImage.js +1 -1
- package/build/cjs/sub-blocks/Content/Content.js +3 -3
- package/build/cjs/sub-blocks/Divider/Divider.css +1 -1
- package/build/cjs/sub-blocks/Divider/Divider.js +1 -1
- package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +2 -2
- package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.js +2 -2
- package/build/cjs/sub-blocks/HubspotForm/index.js +2 -2
- package/build/cjs/sub-blocks/MediaCard/MediaCard.js +2 -2
- package/build/cjs/sub-blocks/NewsCard/NewsCard.js +1 -1
- package/build/cjs/sub-blocks/Partner/Partner.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +2 -2
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +5 -5
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/List.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.js +3 -3
- package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +1 -1
- package/build/cjs/sub-blocks/Quote/Quote.js +1 -1
- package/build/cjs/sub-blocks/TutorialCard/TutorialCard.js +2 -2
- package/build/cjs/text-transform/blocks.d.ts +5 -5
- package/build/cjs/text-transform/blocks.js +4 -4
- package/build/cjs/text-transform/index.js +2 -2
- package/build/cjs/text-transform/utils.js +4 -4
- package/build/cjs/utils/blocks.d.ts +1 -1
- package/build/cjs/utils/cn.d.ts +1 -1
- package/build/cjs/utils/cn.js +1 -1
- package/build/cjs/utils/configure.d.ts +1 -1
- package/build/cjs/utils/hubspot.d.ts +1 -1
- package/build/cjs/utils/hubspot.js +1 -2
- package/build/cjs/utils/index.js +6 -6
- package/build/cjs/utils/registerKeyset.d.ts +1 -1
- package/build/cjs/utils/theme.d.ts +1 -1
- package/build/cjs/utils/url.d.ts +1 -1
- package/build/esm/blocks/Header/Header.d.ts +1 -1
- package/build/esm/blocks/Share/schema.js +1 -1
- package/build/esm/blocks/Slider/Arrow/Arrow.d.ts +1 -1
- package/build/esm/blocks/Slider/models.d.ts +2 -2
- package/build/esm/components/Anchor/Anchor.d.ts +2 -1
- package/build/esm/components/Anchor/Anchor.js +1 -1
- package/build/esm/components/Anchor/__tests__/Anchor.test.d.ts +1 -0
- package/build/esm/components/Anchor/__tests__/Anchor.test.js +18 -0
- package/build/esm/components/BackLink/BackLink.d.ts +1 -1
- package/build/esm/components/Button/utils.d.ts +2 -2
- package/build/esm/components/Link/Link.d.ts +1 -1
- package/build/esm/components/Media/Image/Image.d.ts +1 -1
- package/build/esm/components/Media/Video/Video.d.ts +1 -1
- package/build/esm/components/OverflowScroller/OverflowScroller.d.ts +1 -1
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.d.ts +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/esm/context/localeContext/localeContext.d.ts +1 -1
- package/build/esm/context/locationContext/locationContext.d.ts +2 -2
- package/build/esm/context/theme/ThemeValueContext.d.ts +1 -1
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/grid/types.d.ts +2 -2
- package/build/esm/hooks/useIntersection.d.ts +1 -1
- package/build/esm/hooks/useMetrika.d.ts +1 -1
- package/build/esm/hooks/useMount.d.ts +1 -1
- package/build/esm/models/common.d.ts +3 -3
- package/build/esm/models/components.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +29 -29
- package/build/esm/models/constructor-items/common.d.ts +25 -25
- package/build/esm/models/constructor-items/index.d.ts +1 -1
- package/build/esm/models/constructor-items/sub-blocks.d.ts +15 -15
- package/build/esm/models/constructor.d.ts +10 -10
- package/build/esm/models/navigation.d.ts +3 -3
- package/build/esm/models/react.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +1 -1
- package/build/esm/schema/index.d.ts +1 -1
- package/build/esm/sub-blocks/Divider/Divider.css +1 -1
- package/build/esm/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +2 -2
- package/build/esm/text-transform/blocks.d.ts +5 -5
- package/build/esm/utils/blocks.d.ts +1 -1
- package/build/esm/utils/cn.d.ts +1 -1
- package/build/esm/utils/configure.d.ts +1 -1
- package/build/esm/utils/hubspot.d.ts +1 -1
- package/build/esm/utils/hubspot.js +1 -2
- package/build/esm/utils/registerKeyset.d.ts +1 -1
- package/build/esm/utils/theme.d.ts +1 -1
- package/build/esm/utils/url.d.ts +1 -1
- package/package.json +18 -3
- package/server/grid/types.d.ts +2 -2
- package/server/index.js +5 -1
- package/server/models/common.d.ts +3 -3
- package/server/models/components.d.ts +1 -1
- package/server/models/constructor-items/blocks.d.ts +29 -29
- package/server/models/constructor-items/common.d.ts +25 -25
- package/server/models/constructor-items/index.d.ts +1 -1
- package/server/models/constructor-items/index.js +5 -1
- package/server/models/constructor-items/sub-blocks.d.ts +15 -15
- package/server/models/constructor.d.ts +10 -10
- package/server/models/index.js +5 -1
- package/server/models/navigation.d.ts +3 -3
- package/server/models/react.d.ts +1 -1
- package/server/text-transform/blocks.d.ts +5 -5
- package/server/text-transform/index.js +5 -1
- package/server/utils/blocks.d.ts +1 -1
- package/server/utils/cn.d.ts +1 -1
- package/server/utils/configure.d.ts +1 -1
- package/server/utils/hubspot.d.ts +1 -1
- package/server/utils/hubspot.js +1 -2
- package/server/utils/index.js +5 -1
- package/server/utils/theme.d.ts +1 -1
- package/server/utils/url.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.10.7](https://github.com/gravity-ui/page-constructor/compare/v1.10.6...v1.10.7) (2022-12-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **Share:** schema ([#94](https://github.com/gravity-ui/page-constructor/issues/94)) ([465e039](https://github.com/gravity-ui/page-constructor/commit/465e0395413df74af8ac8be83dfe4167ae378835))
|
|
9
|
+
|
|
10
|
+
## [1.10.6](https://github.com/gravity-ui/page-constructor/compare/v1.10.5...v1.10.6) (2022-12-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **Divider:** size s ([#93](https://github.com/gravity-ui/page-constructor/issues/93)) ([d8aba9a](https://github.com/gravity-ui/page-constructor/commit/d8aba9a9d6ec5b1bec560a4d22b16fc45180c1ed))
|
|
16
|
+
|
|
3
17
|
## [1.10.5](https://github.com/gravity-ui/page-constructor/compare/v1.10.4...v1.10.5) (2022-12-22)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BannerBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
|
-
const AnimateBlock_1 =
|
|
7
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
8
8
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
9
9
|
const b = (0, utils_1.block)('banner-block');
|
|
10
10
|
const BannerBlock = (props) => {
|
|
11
|
-
const { animated } = props, bannerProps =
|
|
11
|
+
const { animated } = props, bannerProps = tslib_1.__rest(props, ["animated"]);
|
|
12
12
|
return (react_1.default.createElement(AnimateBlock_1.default, { className: b(), animate: animated },
|
|
13
13
|
react_1.default.createElement(sub_blocks_1.BannerCard, Object.assign({}, bannerProps))));
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const grid_1 = require("../../grid");
|
|
7
7
|
const components_1 = require("../../components");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompaniesBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
|
-
const AnimateBlock_1 =
|
|
7
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
8
8
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
9
9
|
const components_1 = require("../../components");
|
|
10
10
|
const b = (0, utils_1.block)('companies-block');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ContentLayoutBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
8
8
|
const components_1 = require("../../components");
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExtendedFeaturesBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const grid_1 = require("../../grid");
|
|
8
8
|
const components_1 = require("../../components/");
|
|
9
9
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
10
|
-
const Image_1 =
|
|
10
|
+
const Image_1 = tslib_1.__importDefault(require("../../components/Image/Image"));
|
|
11
11
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
12
12
|
const utils_2 = require("../../components/Media/Image/utils");
|
|
13
13
|
const b = (0, utils_1.block)('ExtendedFeaturesBlock');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ClassNameProps, HeaderBlockProps, WithChildren } from '../../models';
|
|
2
|
-
|
|
2
|
+
type HeaderBlockFullProps = HeaderBlockProps & ClassNameProps;
|
|
3
3
|
export declare const HeaderBlock: (props: WithChildren<HeaderBlockFullProps>) => JSX.Element;
|
|
4
4
|
export default HeaderBlock;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HeaderBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const components_1 = require("../../components");
|
|
8
8
|
const grid_1 = require("../../grid");
|
|
9
9
|
const utils_2 = require("./utils");
|
|
10
10
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
11
|
-
const YFMWrapper_1 =
|
|
12
|
-
const HeaderBreadcrumbs_1 =
|
|
11
|
+
const YFMWrapper_1 = tslib_1.__importDefault(require("../../components/YFMWrapper/YFMWrapper"));
|
|
12
|
+
const HeaderBreadcrumbs_1 = tslib_1.__importDefault(require("../../components/HeaderBreadcrumbs/HeaderBreadcrumbs"));
|
|
13
13
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
14
14
|
const utils_3 = require("../../components/Media/Image/utils");
|
|
15
15
|
const b = (0, utils_1.block)('header-block');
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HeaderSliderBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
8
|
const index_1 = require("../index");
|
|
9
|
-
const Header_1 =
|
|
9
|
+
const Header_1 = tslib_1.__importDefault(require("../Header/Header"));
|
|
10
10
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
11
11
|
const b = (0, utils_1.block)('header-slider-block');
|
|
12
12
|
const HeaderSliderBlock = (_a) => {
|
|
13
|
-
var { items, arrows } = _a, props =
|
|
13
|
+
var { items, arrows } = _a, props = tslib_1.__rest(_a, ["items", "arrows"]);
|
|
14
14
|
const isMobile = (0, react_1.useContext)(mobileContext_1.MobileContext);
|
|
15
15
|
const showArrows = isMobile ? false : arrows;
|
|
16
16
|
return (react_1.default.createElement("div", { className: b('wrapper'), "data-qa": "header-slider" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const components_1 = require("../../components");
|
|
7
7
|
const locationContext_1 = require("../../context/locationContext");
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InfoBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const grid_1 = require("../../grid");
|
|
8
8
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
9
|
-
const Content_1 =
|
|
9
|
+
const Content_1 = tslib_1.__importDefault(require("../../sub-blocks/Content/Content"));
|
|
10
10
|
const b = (0, utils_1.block)('info-block');
|
|
11
11
|
const sizes = { md: 6, all: 12 };
|
|
12
12
|
const InfoBlock = (props) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InfoBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const lodash_1 =
|
|
5
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
6
6
|
const utils_1 = require("../../schema/validators/utils");
|
|
7
7
|
const common_1 = require("../../schema/validators/common");
|
|
8
8
|
const schema_1 = require("../../sub-blocks/Content/schema");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const grid_1 = require("../../grid");
|
|
7
|
-
const Link_1 =
|
|
8
|
-
const BlockHeader_1 =
|
|
7
|
+
const Link_1 = tslib_1.__importDefault(require("../../components/Link/Link"));
|
|
8
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
9
9
|
const b = (0, utils_1.block)('LinkTable');
|
|
10
10
|
const LinkTable = ({ items, title, description, linkTheme = 'normal' }) => {
|
|
11
11
|
return (react_1.default.createElement("div", { className: b() },
|
|
@@ -15,7 +15,7 @@ const LinkTable = ({ items, title, description, linkTheme = 'normal' }) => {
|
|
|
15
15
|
[grid_1.GridColumnSize.Md]: 6,
|
|
16
16
|
[grid_1.GridColumnSize.All]: 12,
|
|
17
17
|
} }, column.map((_a) => {
|
|
18
|
-
var { theme = linkTheme } = _a, link =
|
|
18
|
+
var { theme = linkTheme } = _a, link = tslib_1.__rest(_a, ["theme"]);
|
|
19
19
|
return (react_1.default.createElement(Link_1.default, Object.assign({ key: link.url }, link, { theme: theme })));
|
|
20
20
|
})))))));
|
|
21
21
|
};
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const grid_1 = require("../../grid");
|
|
8
|
-
const Media_1 =
|
|
9
|
-
const AnimateBlock_1 =
|
|
10
|
-
const BlockHeader_1 =
|
|
11
|
-
const MediaContent_1 =
|
|
8
|
+
const Media_1 = tslib_1.__importDefault(require("../../components/Media/Media"));
|
|
9
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
10
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
11
|
+
const MediaContent_1 = tslib_1.__importDefault(require("./MediaContent"));
|
|
12
12
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
13
13
|
const b = (0, utils_1.block)('media-block');
|
|
14
14
|
const MediaBlock = (props) => {
|
|
15
|
-
const { media, largeMedia, direction = 'content-media', mobileDirection = 'content-media', animated, mediaOnly, disableShadow = false } = props, mediaContentProps =
|
|
15
|
+
const { media, largeMedia, direction = 'content-media', mobileDirection = 'content-media', animated, mediaOnly, disableShadow = false } = props, mediaContentProps = tslib_1.__rest(props, ["media", "largeMedia", "direction", "mobileDirection", "animated", "mediaOnly", "disableShadow"]);
|
|
16
16
|
const { title, description } = mediaContentProps;
|
|
17
17
|
const [play, setPlay] = (0, react_1.useState)(false);
|
|
18
18
|
const { themeValue: theme } = (0, react_1.useContext)(ThemeValueContext_1.ThemeValueContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
7
7
|
const b = (0, utils_1.block)('media-content');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
const utils_1 = require("../../../utils");
|
|
6
6
|
const grid_1 = require("../../../grid");
|
|
7
7
|
const components_1 = require("../../../components/");
|
|
8
|
-
const PreviewContent_1 =
|
|
9
|
-
const PreviewMedia_1 =
|
|
8
|
+
const PreviewContent_1 = tslib_1.__importDefault(require("./PreviewContent"));
|
|
9
|
+
const PreviewMedia_1 = tslib_1.__importDefault(require("./PreviewMedia"));
|
|
10
10
|
const ThemeValueContext_1 = require("../../../context/theme/ThemeValueContext");
|
|
11
11
|
const b = (0, utils_1.block)('preview-media-content-block');
|
|
12
12
|
const MediaContent = (0, react_1.forwardRef)((props, ref) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../../utils");
|
|
6
|
-
const YFMWrapper_1 =
|
|
6
|
+
const YFMWrapper_1 = tslib_1.__importDefault(require("../../../components/YFMWrapper/YFMWrapper"));
|
|
7
7
|
const b = (0, utils_1.block)('preview-content-block');
|
|
8
8
|
const PreviewContent = (props) => {
|
|
9
9
|
const { id, title, description = '', switching, onClick, mods } = props;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../../utils");
|
|
6
|
-
const Media_1 =
|
|
6
|
+
const Media_1 = tslib_1.__importDefault(require("../../../components/Media/Media"));
|
|
7
7
|
const b = (0, utils_1.block)('preview-media-block');
|
|
8
8
|
const PreviewMedia = (props) => {
|
|
9
9
|
const { id, media, play, mods } = props;
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreviewBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
|
-
const react_1 =
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
7
|
const breakpointContext_1 = require("../../context/breakpointContext");
|
|
8
|
-
const AnimateBlock_1 =
|
|
9
|
-
const MediaContent_1 =
|
|
8
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
9
|
+
const MediaContent_1 = tslib_1.__importDefault(require("./MediaContent/MediaContent"));
|
|
10
10
|
const grid_1 = require("../../grid");
|
|
11
11
|
const constants_1 = require("../../constants");
|
|
12
12
|
const useIntersection_1 = require("../../hooks/useIntersection");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const constants_1 = require("../../constants");
|
|
7
|
-
const YFMWrapper_1 =
|
|
8
|
-
const Media_1 =
|
|
9
|
-
const BlockHeader_1 =
|
|
10
|
-
const AnimateBlock_1 =
|
|
11
|
-
const FullWidthBackground_1 =
|
|
12
|
-
const BalancedMasonry_1 =
|
|
7
|
+
const YFMWrapper_1 = tslib_1.__importDefault(require("../../components/YFMWrapper/YFMWrapper"));
|
|
8
|
+
const Media_1 = tslib_1.__importDefault(require("../../components/Media/Media"));
|
|
9
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
10
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
11
|
+
const FullWidthBackground_1 = tslib_1.__importDefault(require("../../components/FullWidthBackground/FullWidthBackground"));
|
|
12
|
+
const BalancedMasonry_1 = tslib_1.__importDefault(require("../../components/BalancedMasonry/BalancedMasonry"));
|
|
13
13
|
const b = (0, utils_1.block)('PromoFeaturesBlock');
|
|
14
14
|
const breakpointColumns = {
|
|
15
15
|
[constants_1.BREAKPOINTS.lg]: 3,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
|
-
const Link_1 =
|
|
6
|
+
const Link_1 = tslib_1.__importDefault(require("../../components/Link/Link"));
|
|
7
7
|
const components_1 = require("../../components");
|
|
8
8
|
const grid_1 = require("../../grid");
|
|
9
9
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QuestionsBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const lodash_1 =
|
|
5
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
6
6
|
const common_1 = require("../../schema/validators/common");
|
|
7
7
|
const utils_1 = require("../../schema/validators/utils");
|
|
8
8
|
const schema_1 = require("../../sub-blocks/Content/schema");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SecurityBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const components_1 = require("../../components");
|
|
8
8
|
const grid_1 = require("../../grid");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SecurityBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const lodash_1 =
|
|
5
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
6
6
|
const utils_1 = require("../../schema/validators/utils");
|
|
7
7
|
const common_1 = require("../../schema/validators/common");
|
|
8
8
|
const schema_1 = require("../Media/schema");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
const uikit_1 = require("@gravity-ui/uikit");
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const locationContext_1 = require("../../context/locationContext");
|
|
8
|
-
const i18n_1 =
|
|
8
|
+
const i18n_1 = tslib_1.__importDefault(require("./i18n"));
|
|
9
9
|
const Facebook_1 = require("../../icons/Facebook");
|
|
10
10
|
const Twitter_1 = require("../../icons/Twitter");
|
|
11
11
|
const Linkedin_1 = require("../../icons/Linkedin");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const registerKeyset_1 = require("../../../utils/registerKeyset");
|
|
5
|
-
const en_json_1 =
|
|
6
|
-
const ru_json_1 =
|
|
5
|
+
const en_json_1 = tslib_1.__importDefault(require("./en.json"));
|
|
6
|
+
const ru_json_1 = tslib_1.__importDefault(require("./ru.json"));
|
|
7
7
|
const COMPONENT = 'Share';
|
|
8
8
|
exports.default = (0, registerKeyset_1.registerKeyset)({ en: en_json_1.default, ru: ru_json_1.default }, COMPONENT);
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SimpleBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
|
-
const AnimateBlock_1 =
|
|
8
|
-
const BlockHeader_1 =
|
|
9
|
-
const YFMWrapper_1 =
|
|
7
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
8
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
9
|
+
const YFMWrapper_1 = tslib_1.__importDefault(require("../../components/YFMWrapper/YFMWrapper"));
|
|
10
10
|
const b = (0, utils_1.block)('simple-block');
|
|
11
11
|
const SimpleBlock = (props) => {
|
|
12
12
|
const { title, description, animated = true, children } = props;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 =
|
|
4
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const utils_1 = require("../../../utils");
|
|
6
|
-
const ToggleArrow_1 =
|
|
6
|
+
const ToggleArrow_1 = tslib_1.__importDefault(require("../../../components/ToggleArrow/ToggleArrow"));
|
|
7
7
|
const b = (0, utils_1.block)('slider-block-arrow');
|
|
8
8
|
const Arrow = ({ type, handleClick, className, size = 16 }) => (react_1.default.createElement("div", { className: b({ type }, className), onClick: () => handleClick && handleClick(type) },
|
|
9
9
|
react_1.default.createElement("button", { className: b('button') },
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SliderBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
6
|
-
const react_slick_1 =
|
|
7
|
-
const lodash_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_slick_1 = tslib_1.__importDefault(require("react-slick"));
|
|
7
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
8
8
|
const utils_1 = require("../../utils");
|
|
9
9
|
const models_1 = require("../../models");
|
|
10
|
-
const Arrow_1 =
|
|
11
|
-
const AnimateBlock_1 =
|
|
12
|
-
const Anchor_1 =
|
|
10
|
+
const Arrow_1 = tslib_1.__importDefault(require("./Arrow/Arrow"));
|
|
11
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
12
|
+
const Anchor_1 = tslib_1.__importDefault(require("../../components/Anchor/Anchor"));
|
|
13
13
|
const utils_2 = require("./utils");
|
|
14
14
|
const constants_1 = require("../../constants");
|
|
15
|
-
const BlockHeader_1 =
|
|
15
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
16
16
|
const StylesContext_1 = require("../../context/stylesContext/StylesContext");
|
|
17
17
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
18
|
-
const OutsideClick_1 =
|
|
19
|
-
const useFocus_1 =
|
|
18
|
+
const OutsideClick_1 = tslib_1.__importDefault(require("../../components/OutsideClick/OutsideClick"));
|
|
19
|
+
const useFocus_1 = tslib_1.__importDefault(require("../../hooks/useFocus"));
|
|
20
20
|
const ssrContext_1 = require("../../context/ssrContext");
|
|
21
21
|
const b = (0, utils_1.block)('SliderBlock');
|
|
22
22
|
const slick = (0, utils_1.block)('slick-origin');
|
|
@@ -4,5 +4,5 @@ export declare enum SliderBreakpointNames {
|
|
|
4
4
|
Lg = "lg",
|
|
5
5
|
Xl = "xl"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type SliderBreakpointParams = Record<SliderBreakpointNames, number>;
|
|
8
|
+
export type SlidesToShow = Partial<SliderBreakpointParams> | number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TableBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const grid_1 = require("../../grid");
|
|
8
8
|
const components_1 = require("../../components");
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TabsBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const grid_1 = require("../../grid");
|
|
8
|
-
const AnimateBlock_1 =
|
|
9
|
-
const BlockHeader_1 =
|
|
10
|
-
const FullscreenImage_1 =
|
|
11
|
-
const Media_1 =
|
|
8
|
+
const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
|
|
9
|
+
const BlockHeader_1 = tslib_1.__importDefault(require("../../components/BlockHeader/BlockHeader"));
|
|
10
|
+
const FullscreenImage_1 = tslib_1.__importDefault(require("../../components/FullscreenImage/FullscreenImage"));
|
|
11
|
+
const Media_1 = tslib_1.__importDefault(require("../../components/Media/Media"));
|
|
12
12
|
const ThemeValueContext_1 = require("../../context/theme/ThemeValueContext");
|
|
13
13
|
const utils_2 = require("../../components/Media/Image/utils");
|
|
14
|
-
const ButtonTabs_1 =
|
|
14
|
+
const ButtonTabs_1 = tslib_1.__importDefault(require("../../components/ButtonTabs/ButtonTabs"));
|
|
15
15
|
const sub_blocks_1 = require("../../sub-blocks");
|
|
16
16
|
const VideoBlock_1 = require("../../components/VideoBlock/VideoBlock");
|
|
17
17
|
const b = (0, utils_1.block)('tabs-block');
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const utils_1 = require("../../schema/validators/utils");
|
|
6
6
|
const common_1 = require("../../schema/validators/common");
|
|
7
7
|
const schema_1 = require("../../components/Image/schema");
|
|
8
|
-
const lodash_1 =
|
|
8
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
9
9
|
const schema_2 = require("../../sub-blocks/Content/schema");
|
|
10
10
|
const TabsItemContentProps = lodash_1.default.omit(schema_2.ContentBase, ['size', 'colSizes', 'centered', 'theme']);
|
|
11
11
|
exports.tabsItem = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./Banner/schema"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CardLayout/schema"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Companies/schema"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ContentLayout/schema"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ExtendedFeatures/schema"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./Header/schema"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./HeaderSlider/schema"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./Icons/schema"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./Info/schema"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./LinkTable/schema"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./Media/schema"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./Preview/schema"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./PromoFeaturesBlock/schema"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./Questions/schema"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./Security/schema"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./Simple/schema"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./Slider/schema"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./Table/schema"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./Share/schema"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassNameProps } from '../../models';
|
|
2
2
|
export interface AnchorProps extends ClassNameProps {
|
|
3
3
|
id: string;
|
|
4
|
+
dataQa?: string;
|
|
4
5
|
}
|
|
5
|
-
declare const Anchor: ({ id, className }: AnchorProps) => JSX.Element;
|
|
6
|
+
declare const Anchor: ({ id, className, dataQa }: AnchorProps) => JSX.Element;
|
|
6
7
|
export default Anchor;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
//TODO move to cloud components
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const b = (0, utils_1.block)('Anchor');
|
|
8
|
-
const Anchor = ({ id, className }) => react_1.default.createElement("div", { id: id, className: b(null, className) });
|
|
8
|
+
const Anchor = ({ id, className, dataQa }) => (react_1.default.createElement("div", { id: id, className: b(null, className), "data-qa": dataQa }));
|
|
9
9
|
exports.default = Anchor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|