@gravity-ui/page-constructor 1.15.0-alpha.16 → 1.15.0-alpha.17

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.
@@ -7,7 +7,7 @@ const utils_1 = require("../../utils");
7
7
  const models_1 = require("../../models");
8
8
  const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
9
9
  const sub_blocks_1 = require("../../sub-blocks");
10
- const blockPositionContext_1 = require("src/context/blockPositionContext");
10
+ const blockPositionContext_1 = require("../../context/blockPositionContext");
11
11
  const b = (0, utils_1.block)('banner-block');
12
12
  const BannerBlock = (props) => {
13
13
  const { animated, blockName = models_1.BlockType.BannerBlock } = props, bannerProps = tslib_1.__rest(props, ["animated", "blockName"]);
@@ -4,7 +4,7 @@ exports.ConstructorHeader = exports.ConstructorItem = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
6
  const innerContext_1 = require("../../../../context/innerContext");
7
- const blockPositionContext_1 = require("src/context/blockPositionContext");
7
+ const blockPositionContext_1 = require("../../../../context/blockPositionContext");
8
8
  const ConstructorItem = ({ data, children, context = '', }) => {
9
9
  const { itemMap } = (0, react_1.useContext)(innerContext_1.InnerContext);
10
10
  const { type } = data, rest = tslib_1.__rest(data, ["type"]);
@@ -4,7 +4,7 @@ import { block } from '../../utils';
4
4
  import { BlockType } from '../../models';
5
5
  import AnimateBlock from '../../components/AnimateBlock/AnimateBlock';
6
6
  import { BannerCard } from '../../sub-blocks';
7
- import { BlockPositionContext } from 'src/context/blockPositionContext';
7
+ import { BlockPositionContext } from '../../context/blockPositionContext';
8
8
  import './Banner.css';
9
9
  const b = block('banner-block');
10
10
  export const BannerBlock = (props) => {
@@ -1,7 +1,7 @@
1
1
  import { __rest } from "tslib";
2
2
  import React, { useContext } from 'react';
3
3
  import { InnerContext } from '../../../../context/innerContext';
4
- import { BlockPositionContext } from 'src/context/blockPositionContext';
4
+ import { BlockPositionContext } from '../../../../context/blockPositionContext';
5
5
  export const ConstructorItem = ({ data, children, context = '', }) => {
6
6
  const { itemMap } = useContext(InnerContext);
7
7
  const { type } = data, rest = __rest(data, ["type"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "1.15.0-alpha.16",
3
+ "version": "1.15.0-alpha.17",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {