pds-dev-kit-web-test 0.3.30 → 0.3.31

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.
@@ -100,7 +100,6 @@ function CustomSection(props) {
100
100
  (0, react_1.useEffect)(function () {
101
101
  var _a = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : []), lg = _a.lg, sm = _a.sm;
102
102
  setLayouts(function (prev) {
103
- console.log('custom section EFFECT: componentBlocks setLayouts');
104
103
  var groupInLG = (0, useGroupDrag_2.getGroupCB)(prev.lg);
105
104
  var groupInSM = (0, useGroupDrag_2.getGroupCB)(prev.sm);
106
105
  var groupedCBIdsInLG = (groupInLG === null || groupInLG === void 0 ? void 0 : groupInLG.childrenIds) || [];
@@ -215,7 +214,9 @@ function CustomSection(props) {
215
214
  var isIdNumber = !Number.isNaN(numberId);
216
215
  if (isIdNumber) {
217
216
  if ((0, useGroupDrag_2.getGroupCB)(layouts[layoutByDevice])) {
218
- breakGroupCB();
217
+ setTimeout(function () {
218
+ breakGroupCB();
219
+ }, 100);
219
220
  }
220
221
  setSelectedCB(numberId);
221
222
  }
@@ -335,6 +336,7 @@ function CustomSection(props) {
335
336
  }
336
337
  function keepSimilarOrderToPreventRerender(arr) {
337
338
  var arrCopy = __spreadArray([], arr, true);
339
+ console.log('arrcopy', arrCopy);
338
340
  var groupIdx = arrCopy.findIndex(function (each) { return each.i === 'group'; });
339
341
  if (groupIdx >= 0) {
340
342
  var group = arrCopy.splice(groupIdx, 1)[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.3.30]
2
+ ## [v0.3.31]
3
3
  ## 기준 pds-dev-kit-web 버전 @2.2.41
4
4
  ### sub
5
5
  * DynamicLayout
6
- * 애니메이션 이슈 픽스 - cb의 순서를 최대한 보장한다.
6
+ * 그룹화 그룹 외부의 CB를 드래그 그룹은 깨진다.