microboard-ui-temp 0.0.49 → 0.0.50
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 +1 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -256014,13 +256014,6 @@ class Deck extends BaseItem {
|
|
|
256014
256014
|
const foundItem = this.index?.getById(childId);
|
|
256015
256015
|
if (this.parent !== childId && this.getId() !== childId) {
|
|
256016
256016
|
if (foundItem) {
|
|
256017
|
-
foundItem.transformation.apply({
|
|
256018
|
-
class: "Transformation",
|
|
256019
|
-
method: "translateTo",
|
|
256020
|
-
item: [this.id],
|
|
256021
|
-
x: this.left,
|
|
256022
|
-
y: this.top - this.getHeight() / 2
|
|
256023
|
-
});
|
|
256024
256017
|
this.index?.remove(foundItem);
|
|
256025
256018
|
foundItem.parent = "Board";
|
|
256026
256019
|
foundItem.shouldUseRelativeAlignment = true;
|
|
@@ -262128,7 +262121,7 @@ class Board {
|
|
|
262128
262121
|
itemData.transformation.translateX = translateX - minX + x;
|
|
262129
262122
|
itemData.transformation.translateY = translateY - minY + y;
|
|
262130
262123
|
}
|
|
262131
|
-
if (itemData
|
|
262124
|
+
if ("children" in itemData && itemData.children) {
|
|
262132
262125
|
itemData.children = itemData.children.map((childId) => newItemIdMap[childId]);
|
|
262133
262126
|
}
|
|
262134
262127
|
newMap[newItemId] = itemData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
51
51
|
"js-cookie": "^3.0.5",
|
|
52
52
|
"jwt-decode": "^4.0.0",
|
|
53
|
-
"microboard-temp": "^0.4.
|
|
53
|
+
"microboard-temp": "^0.4.99",
|
|
54
54
|
"nanoid": "^5.1.5",
|
|
55
55
|
"prop-types": "^15.8.1",
|
|
56
56
|
"react-hot-toast": "2.4.1",
|