microboard-ui-temp 0.1.122 → 0.1.124

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/dist/index.js CHANGED
@@ -271583,11 +271583,11 @@ class AddFrame extends BoardTool {
271583
271583
  }
271584
271584
  const currMbr = this.frame.getMbr();
271585
271585
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
271586
- this.applyAddChildren(frameChildren);
271587
271586
  if (this.shape !== "Custom") {
271588
271587
  this.applyCanChangeRatio(false);
271589
271588
  }
271590
271589
  const frame = this.board.add(this.frame);
271590
+ frame.emitNesting(frameChildren);
271591
271591
  frame.text.editor.moveCursorToEndOfTheText();
271592
271592
  this.nestingHighlighter.clear();
271593
271593
  this.board.selection.removeAll();
package/dist/spa.js CHANGED
@@ -271583,11 +271583,11 @@ class AddFrame extends BoardTool {
271583
271583
  }
271584
271584
  const currMbr = this.frame.getMbr();
271585
271585
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
271586
- this.applyAddChildren(frameChildren);
271587
271586
  if (this.shape !== "Custom") {
271588
271587
  this.applyCanChangeRatio(false);
271589
271588
  }
271590
271589
  const frame = this.board.add(this.frame);
271590
+ frame.emitNesting(frameChildren);
271591
271591
  frame.text.editor.moveCursorToEndOfTheText();
271592
271592
  this.nestingHighlighter.clear();
271593
271593
  this.board.selection.removeAll();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.1.122",
3
+ "version": "0.1.124",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",
@@ -66,7 +66,7 @@
66
66
  "i18next-browser-languagedetector": "^8.2.0",
67
67
  "js-cookie": "^3.0.5",
68
68
  "jwt-decode": "^4.0.0",
69
- "microboard-temp": "^0.5.49",
69
+ "microboard-temp": "^0.5.51",
70
70
  "nanoid": "^5.1.5",
71
71
  "prop-types": "^15.8.1",
72
72
  "react-hot-toast": "2.4.1",