publ-echo-test 0.0.206 → 0.0.207
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.
@@ -60,8 +60,6 @@ var GridItem = function (_a) {
|
|
60
60
|
if (mutation.type === 'attributes') {
|
61
61
|
var oldClass = mutation.oldValue || '';
|
62
62
|
var newClass = (_b = (_a = mutation.target) === null || _a === void 0 ? void 0 : _a.getAttribute('class')) !== null && _b !== void 0 ? _b : '';
|
63
|
-
console.log('oldClass:', oldClass);
|
64
|
-
console.log('newClass:', newClass);
|
65
63
|
// hover로 인해 "hovered" 클래스가 추가된 경우
|
66
64
|
if (!oldClass.includes('hovered') && newClass.includes('hovered')) {
|
67
65
|
console.log('Hover 상태로 변경됨');
|
@@ -739,7 +739,7 @@ var ReactGridLayout = function (_a) {
|
|
739
739
|
var currentGroupBlocks = blockStructure
|
740
740
|
? findGroupBlocks(blockStructure, editingGroupBlock)
|
741
741
|
: [];
|
742
|
-
return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: 'grid-guide-line-center' }), activeDrag && (_jsx("div", { className: 'grid-placeholder', style: {
|
742
|
+
return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, "data-grid-row-height": rowHeight, "data-grid-cols": cols, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: 'grid-guide-line-center' }), activeDrag && (_jsx("div", { className: 'grid-placeholder', style: {
|
743
743
|
marginTop: margin[1] + 'px',
|
744
744
|
marginBottom: margin[1] + 'px',
|
745
745
|
marginLeft: margin[0] + 'px',
|
@@ -107,11 +107,9 @@ export var findDirectChildrenBlockIds = function (block, targetId) {
|
|
107
107
|
export var findGroupBlocks = function (block, targetId) {
|
108
108
|
var targetBlock = findBlockByBlockId(block, targetId);
|
109
109
|
if (!targetBlock) {
|
110
|
-
console.error('Target block not found');
|
111
110
|
return [];
|
112
111
|
}
|
113
112
|
if (targetBlock.type !== 'GROUP_BLOCK') {
|
114
|
-
console.error('Target block is not a group block');
|
115
113
|
return [];
|
116
114
|
}
|
117
115
|
var groupBlocks = targetBlock.children.filter(function (child) { return child.type === 'GROUP_BLOCK'; });
|