@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
|
@@ -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
|
/* we won't use 'pc' class prefix here to let you opportunity to define yfm styles
|
|
6
6
|
in your project via global 'yfm' class */
|
|
7
|
-
const bem_cn_lite_1 =
|
|
8
|
-
const snakecase_keys_1 =
|
|
7
|
+
const bem_cn_lite_1 = tslib_1.__importDefault(require("bem-cn-lite"));
|
|
8
|
+
const snakecase_keys_1 = tslib_1.__importDefault(require("snakecase-keys"));
|
|
9
9
|
const components_1 = require("../../components");
|
|
10
10
|
const yfm = (0, bem_cn_lite_1.default)('yfm');
|
|
11
11
|
const YFMWrapper = ({ content, modifiers, className }) => (react_1.default.createElement(components_1.HTML, { className: yfm(modifiers ? (0, snakecase_keys_1.default)(modifiers) : {}, className) }, content));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.YANDEX_FORM_ORIGIN = 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 constants_1 = require("../constants");
|
|
7
7
|
const localeContext_1 = require("../../context/localeContext");
|
|
8
8
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
@@ -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
|
-
const bem_cn_lite_1 =
|
|
7
|
-
const ErrorWrapper_1 =
|
|
8
|
-
const i18n_1 =
|
|
6
|
+
const bem_cn_lite_1 = tslib_1.__importDefault(require("bem-cn-lite"));
|
|
7
|
+
const ErrorWrapper_1 = tslib_1.__importDefault(require("../../components/ErrorWrapper/ErrorWrapper"));
|
|
8
|
+
const i18n_1 = tslib_1.__importDefault(require("./i18n"));
|
|
9
9
|
const b = (0, bem_cn_lite_1.default)('loadable-block');
|
|
10
10
|
const initData = {
|
|
11
11
|
loading: false,
|
|
@@ -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 = 'Loadable';
|
|
8
8
|
exports.default = (0, registerKeyset_1.registerKeyset)({ en: en_json_1.default, ru: ru_json_1.default }, COMPONENT);
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import '@doc-tools/transform/dist/js/yfm';
|
|
3
3
|
import { ShouldRenderBlock, CustomConfig, PageContent, CustomItems, NavigationData } from '../../models';
|
|
4
4
|
import { blockMap, subBlockMap } from '../../constructor-items';
|
|
5
|
-
export
|
|
5
|
+
export type ItemMap = typeof blockMap & typeof subBlockMap & CustomItems;
|
|
6
6
|
export interface PageConstructorProps {
|
|
7
7
|
content?: PageContent;
|
|
8
8
|
shouldRenderBlock?: ShouldRenderBlock;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PageConstructor = exports.Constructor = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
require("@doc-tools/transform/dist/js/yfm");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
8
|
const constructor_items_1 = require("../../constructor-items");
|
|
9
9
|
const grid_1 = require("../../grid");
|
|
10
|
-
const BackgroundMedia_1 =
|
|
10
|
+
const BackgroundMedia_1 = tslib_1.__importDefault(require("../../components/BackgroundMedia/BackgroundMedia"));
|
|
11
11
|
const utils_1 = require("../../utils");
|
|
12
12
|
const animateContext_1 = require("../../context/animateContext");
|
|
13
13
|
const innerContext_1 = require("../../context/innerContext");
|
|
@@ -16,7 +16,7 @@ const ConstructorRow_1 = require("./components/ConstructorRow");
|
|
|
16
16
|
const ConstructorFootnotes_1 = require("./components/ConstructorFootnotes");
|
|
17
17
|
const ConstructorItem_1 = require("./components/ConstructorItem");
|
|
18
18
|
const ConstructorBlocks_1 = require("./components/ConstructorBlocks");
|
|
19
|
-
const Layout_1 =
|
|
19
|
+
const Layout_1 = tslib_1.__importDefault(require("../../navigation/containers/Layout/Layout"));
|
|
20
20
|
const b = (0, utils_1.block)('page-constructor');
|
|
21
21
|
const Constructor = (props) => {
|
|
22
22
|
const { context, headerBlockTypes } = (0, react_1.useMemo)(() => {
|
|
@@ -52,7 +52,7 @@ const Constructor = (props) => {
|
|
|
52
52
|
};
|
|
53
53
|
exports.Constructor = Constructor;
|
|
54
54
|
const PageConstructor = (props) => {
|
|
55
|
-
const { content: { animated = true } = {} } = props, rest =
|
|
55
|
+
const { content: { animated = true } = {} } = props, rest = tslib_1.__rest(props, ["content"]);
|
|
56
56
|
return (react_1.default.createElement(animateContext_1.AnimateContext.Provider, { value: { animated } },
|
|
57
57
|
react_1.default.createElement(exports.Constructor, Object.assign({ content: props.content }, rest))));
|
|
58
58
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PageConstructorProvider = 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 metrikaContext_1 = require("../../context/metrikaContext");
|
|
7
7
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
8
8
|
const projectSettingsContext_1 = require("../../context/projectSettingsContext");
|
package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
6
|
-
const BlockBase_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const BlockBase_1 = tslib_1.__importDefault(require("../../../../components/BlockBase/BlockBase"));
|
|
7
7
|
const utils_1 = require("../../../../utils");
|
|
8
8
|
const b = (0, utils_1.block)('constructor-block');
|
|
9
9
|
const ConstructorBlock = ({ data, Component }) => {
|
package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorBlocks = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const lodash_1 =
|
|
6
|
-
const react_1 =
|
|
5
|
+
const lodash_1 = tslib_1.__importDefault(require("lodash"));
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
7
|
const utils_1 = require("../../../../utils");
|
|
8
8
|
const innerContext_1 = require("../../../../context/innerContext");
|
|
9
9
|
const ConstructorLoadable_1 = require("../ConstructorLoadable");
|
package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorFootnotes = 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 components_1 = require("../../../../components");
|
|
7
7
|
const utils_1 = require("../../../../utils");
|
|
8
8
|
const b = (0, utils_1.block)('constructor-footnotes');
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorHeader = exports.ConstructorItem = 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 innerContext_1 = require("../../../../context/innerContext");
|
|
7
7
|
const ConstructorItem = ({ data, children }) => {
|
|
8
8
|
const { itemMap } = (0, react_1.useContext)(innerContext_1.InnerContext);
|
|
9
|
-
const { type } = data, rest =
|
|
9
|
+
const { type } = data, rest = tslib_1.__rest(data, ["type"]);
|
|
10
10
|
const Component = itemMap[type];
|
|
11
11
|
return react_1.default.createElement(Component, Object.assign({}, rest), children);
|
|
12
12
|
};
|
package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorLoadable = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
6
|
-
const Loadable_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
|
+
const Loadable_1 = tslib_1.__importDefault(require("../../../Loadable/Loadable"));
|
|
7
7
|
const innerContext_1 = require("../../../../context/innerContext");
|
|
8
8
|
const ConstructorLoadable = (props) => {
|
|
9
9
|
const { itemMap } = (0, react_1.useContext)(innerContext_1.InnerContext);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConstructorRow = 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 grid_1 = require("../../../../grid");
|
|
7
7
|
const utils_1 = require("../../../../utils");
|
|
8
8
|
const b = (0, utils_1.block)('constructor-row');
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AnimateContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.AnimateContext = react_1.default.createContext({ animated: true });
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BreakpointContext = 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 constants_1 = require("../../constants");
|
|
7
7
|
exports.BreakpointContext = react_1.default.createContext(constants_1.BREAKPOINTS.sm);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InnerContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.InnerContext = react_1.default.createContext({
|
|
7
7
|
blockTypes: [],
|
|
8
8
|
itemMap: {},
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LocaleContext = 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 configure_1 = require("../../utils/configure");
|
|
7
7
|
exports.LocaleContext = react_1.default.createContext({ lang: configure_1.Lang.Ru, tld: '.ru' });
|
|
@@ -8,8 +8,8 @@ export interface History {
|
|
|
8
8
|
goBack(): void;
|
|
9
9
|
length: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type RouterLink = React.ComponentClass<RouterLinkProps> | React.FC<WithChildren<RouterLinkProps>>;
|
|
12
|
+
export type LocationContextProps = {
|
|
13
13
|
history?: History;
|
|
14
14
|
search?: string;
|
|
15
15
|
hash?: string;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LocationContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.LocationContext = react_1.default.createContext({});
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MetrikaContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.MetrikaContext = react_1.default.createContext({});
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MobileContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.MobileContext = react_1.default.createContext(false);
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProjectSettingsContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.ProjectSettingsContext = react_1.default.createContext({});
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SSRContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.SSRContext = react_1.default.createContext({});
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StylesContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.StylesContext = react_1.default.createContext({ setStyles: () => { } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ThemeContext = exports.initialValue = 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 constants_1 = require("../../components/constants");
|
|
7
7
|
exports.initialValue = {
|
|
8
8
|
theme: constants_1.DEFAULT_THEME,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ThemeProvider = 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 ThemeContext_1 = require("./ThemeContext");
|
|
7
7
|
const ThemeValueContext_1 = require("./ThemeValueContext");
|
|
8
8
|
const constants_1 = require("../../components/constants");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ThemeValueContext = exports.initialValue = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.initialValue = {
|
|
7
7
|
themeValue: 'light',
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./ThemeContext"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ThemeProvider"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./useTheme"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./withTheme"), exports);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useTheme = 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 ThemeContext_1 = require("./ThemeContext");
|
|
7
7
|
function useTheme() {
|
|
8
8
|
const { theme, setTheme } = react_1.default.useContext(ThemeContext_1.ThemeContext);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useThemeValue = 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 ThemeValueContext_1 = require("./ThemeValueContext");
|
|
7
7
|
function useThemeValue() {
|
|
8
8
|
const { themeValue } = react_1.default.useContext(ThemeValueContext_1.ThemeValueContext);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withTheme = 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 ThemeContext_1 = require("./ThemeContext");
|
|
7
7
|
function withTheme(WrappedComponent) {
|
|
8
8
|
var _a;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VideoContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
exports.VideoContext = react_1.default.createContext({ setProps: () => { } });
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Break = 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 Break = () => react_1.default.createElement("div", { className: "w-100" });
|
|
7
7
|
exports.Break = Break;
|
|
@@ -7,4 +7,4 @@ export interface GridColumnProps extends GridColumnClassParams, Refable<HTMLDivE
|
|
|
7
7
|
dataQa?: string;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "className" | "sizes" | "offsets" | "orders" | "hidden" | "visible" | "alignSelf" | "justifyContent" | "reset"
|
|
10
|
+
export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "className" | "dataQa" | "sizes" | "offsets" | "orders" | "hidden" | "visible" | "alignSelf" | "justifyContent" | "reset"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Col = 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
|
exports.Col = (0, react_1.forwardRef)((props, ref) => {
|
|
8
|
-
const { children, style, dataQa } = props, rest =
|
|
8
|
+
const { children, style, dataQa } = props, rest = tslib_1.__rest(props, ["children", "style", "dataQa"]);
|
|
9
9
|
return (react_1.default.createElement("div", { ref: ref, className: (0, utils_1.getColClass)(rest), style: style, "data-qa": dataQa }, children));
|
|
10
10
|
});
|
|
11
11
|
exports.Col.displayName = 'Col';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Grid = 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 b = (0, utils_1.block)('Grid');
|
|
8
8
|
const Grid = ({ debug, children, className, style, containerClass = '', }) => (react_1.default.createElement("div", { style: style, className: b({ debug }, className) },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Row = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const react_1 =
|
|
5
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
exports.Row = (0, react_1.forwardRef)((props, ref) => {
|
|
7
7
|
const { className, justifyContent, alignItems, noGutter, style, children } = props;
|
|
8
8
|
const getClassName = (0, react_1.useCallback)(() => {
|
package/build/cjs/grid/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./Col/Col"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Row/Row"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Break/Break"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./Grid/Grid"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
@@ -35,8 +35,8 @@ export declare enum GridColumnOrderClasses {
|
|
|
35
35
|
First = "first",
|
|
36
36
|
Last = "last"
|
|
37
37
|
}
|
|
38
|
-
export
|
|
39
|
-
export
|
|
38
|
+
export type GridColumnSizesType = Partial<Record<GridColumnSize, number>>;
|
|
39
|
+
export type GridColumnOrderSizesType = Partial<Record<GridColumnSize, number | GridColumnOrderClasses>>;
|
|
40
40
|
export interface GridColumnClassParams {
|
|
41
41
|
className?: string;
|
|
42
42
|
sizes?: GridColumnSizesType | number;
|
package/build/cjs/hooks/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useMount = exports.useIntersection = exports.useWindowBreakpoint = exports.useFocus = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
var useFocus_1 = require("./useFocus");
|
|
6
|
-
Object.defineProperty(exports, "useFocus", { enumerable: true, get: function () { return
|
|
6
|
+
Object.defineProperty(exports, "useFocus", { enumerable: true, get: function () { return tslib_1.__importDefault(useFocus_1).default; } });
|
|
7
7
|
var useWindowBreakpoint_1 = require("./useWindowBreakpoint");
|
|
8
|
-
Object.defineProperty(exports, "useWindowBreakpoint", { enumerable: true, get: function () { return
|
|
8
|
+
Object.defineProperty(exports, "useWindowBreakpoint", { enumerable: true, get: function () { return tslib_1.__importDefault(useWindowBreakpoint_1).default; } });
|
|
9
9
|
var useIntersection_1 = require("./useIntersection");
|
|
10
10
|
Object.defineProperty(exports, "useIntersection", { enumerable: true, get: function () { return useIntersection_1.useIntersection; } });
|
|
11
11
|
var useMount_1 = require("./useMount");
|
|
12
|
-
Object.defineProperty(exports, "useMount", { enumerable: true, get: function () { return
|
|
13
|
-
|
|
12
|
+
Object.defineProperty(exports, "useMount", { enumerable: true, get: function () { return tslib_1.__importDefault(useMount_1).default; } });
|
|
13
|
+
tslib_1.__exportStar(require("./hubspot"), exports);
|