publ-echo-test 0.0.340 → 0.0.342

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.
@@ -29,7 +29,7 @@ import { perc, setTopLeft, setTransform, } from "../GridLayoutEditor/utils/rende
29
29
  var GroupItem = function (_a) {
30
30
  var _b;
31
31
  var children = _a.children, props = __rest(_a, ["children"]);
32
- var resizeHandle = props.resizeHandle, cols = props.cols, zOrder = props.zOrder, zOrderInternal = props.zOrderInternal, isDraggable = props.isDraggable, _c = props.transformScale, transformScale = _c === void 0 ? 1 : _c, isResizable = props.isResizable, useCSSTransforms = props.useCSSTransforms, className = props.className, _d = props.cancel, cancel = _d === void 0 ? "" : _d, _e = props.handle, handle = _e === void 0 ? "" : _e, x = props.x, y = props.y, z = props.z, w = props.w, h = props.h, _f = props.minH, minH = _f === void 0 ? 1 : _f, _g = props.minW, minW = _g === void 0 ? 1 : _g, _h = props.maxH, maxH = _h === void 0 ? Infinity : _h, _j = props.maxW, maxW = _j === void 0 ? Infinity : _j, i = props.i, _k = props.isHiddenVisibility, isHiddenVisibility = _k === void 0 ? false : _k, containerWidth = props.containerWidth, customColWidth = props.customColWidth, autoResize = props.autoResize, minZ = props.minZ, onContextGroup = props.onContextGroup;
32
+ var resizeHandle = props.resizeHandle, cols = props.cols, zOrder = props.zOrder, zOrderInternal = props.zOrderInternal, isDraggable = props.isDraggable, _c = props.transformScale, transformScale = _c === void 0 ? 1 : _c, isResizable = props.isResizable, useCSSTransforms = props.useCSSTransforms, className = props.className, _d = props.cancel, cancel = _d === void 0 ? "" : _d, _e = props.handle, handle = _e === void 0 ? "" : _e, x = props.x, y = props.y, z = props.z, w = props.w, h = props.h, _f = props.minH, minH = _f === void 0 ? 1 : _f, _g = props.minW, minW = _g === void 0 ? 1 : _g, _h = props.maxH, maxH = _h === void 0 ? Infinity : _h, _j = props.maxW, maxW = _j === void 0 ? Infinity : _j, i = props.i, _k = props.isHiddenVisibility, isHiddenVisibility = _k === void 0 ? false : _k, containerWidth = props.containerWidth, customColWidth = props.customColWidth, autoResize = props.autoResize, minZ = props.minZ, onContextGroup = props.onContextGroup, isPinned = props.isPinned;
33
33
  var _l = useState(), resizing = _l[0], setResizing = _l[1];
34
34
  var _m = useState(), dragging = _m[0], setDragging = _m[1];
35
35
  var _o = useState(), dragStart = _o[0], setDragStart = _o[1];
@@ -419,6 +419,7 @@ var GroupItem = function (_a) {
419
419
  "data-z-order": zOrder,
420
420
  "data-z-order-internal": zOrderInternal,
421
421
  "data-min-z": minZ,
422
+ "data-is-pinned": isPinned,
422
423
  className: classNames("react-group-block", child.props.className, className, {
423
424
  static: props.static,
424
425
  isResizing: Boolean(resizing) &&
@@ -590,8 +590,8 @@ var ReactGridLayout = function (_a) {
590
590
  })();
591
591
  var zIndex = editorMode === "EDIT" ? editorZIndex : z;
592
592
  return (_jsx(GridItem, { isPinned: device === "DESKTOP"
593
- ? !!block.zOrderDesktopInternal
594
- : !!block.zOrderMobileInternal, className: classNames({
593
+ ? !!block.isPinnedDesktop
594
+ : !!block.isPinnedMobile, className: classNames({
595
595
  "editable-grid-item": !isRoot && editable,
596
596
  "not-editable-grid-item": !isRoot && !editable,
597
597
  "bulk-child-item": isInBulk,
@@ -721,8 +721,8 @@ var ReactGridLayout = function (_a) {
721
721
  ? findParentGroupBlock(blockStructure, block.blockId)
722
722
  : null;
723
723
  return (_jsx(OutsideClickHandler, { onOutsideClick: onDoubleClickOutsideGroup, children: _jsx(GroupItem, { isPinned: device === "DESKTOP"
724
- ? !!block.zOrderDesktopInternal
725
- : !!block.zOrderMobileInternal, className: classNames({
724
+ ? !!block.isPinnedDesktop
725
+ : !!block.isPinnedMobile, className: classNames({
726
726
  "bulk-child-item": isInBulk,
727
727
  "grid-bulk-block": block.blockId === "BULK",
728
728
  editing: editingGroupBlock === block.blockId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.340",
3
+ "version": "0.0.342",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",