@micromag/editor 0.3.311 → 0.3.313
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/es/index.js +6 -6
- package/lib/index.js +6 -6
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1823,12 +1823,9 @@ function buildTree(flattenedItems) {
|
|
|
1823
1823
|
|
|
1824
1824
|
nodes[id] = {
|
|
1825
1825
|
id: id,
|
|
1826
|
-
children: children
|
|
1827
|
-
index: indexes[parentId]
|
|
1826
|
+
children: children
|
|
1828
1827
|
};
|
|
1829
|
-
parent.children.push(_objectSpread(
|
|
1830
|
-
index: indexes[parentId]
|
|
1831
|
-
}));
|
|
1828
|
+
parent.children.push(_objectSpread({}, item));
|
|
1832
1829
|
}
|
|
1833
1830
|
} catch (err) {
|
|
1834
1831
|
_iterator.e(err);
|
|
@@ -2707,7 +2704,10 @@ var SortableTree = function SortableTree(_ref2) {
|
|
|
2707
2704
|
});
|
|
2708
2705
|
}, [setItems, setProperty]);
|
|
2709
2706
|
return /*#__PURE__*/React.createElement(DndContext, {
|
|
2710
|
-
|
|
2707
|
+
accessibility: {
|
|
2708
|
+
announcements: announcements
|
|
2709
|
+
} // announcements={announcements}
|
|
2710
|
+
,
|
|
2711
2711
|
sensors: sensors,
|
|
2712
2712
|
collisionDetection: closestCenter,
|
|
2713
2713
|
measuring: measuring,
|
package/lib/index.js
CHANGED
|
@@ -1843,12 +1843,9 @@ function buildTree(flattenedItems) {
|
|
|
1843
1843
|
|
|
1844
1844
|
nodes[id] = {
|
|
1845
1845
|
id: id,
|
|
1846
|
-
children: children
|
|
1847
|
-
index: indexes[parentId]
|
|
1846
|
+
children: children
|
|
1848
1847
|
};
|
|
1849
|
-
parent.children.push(_objectSpread__default["default"](
|
|
1850
|
-
index: indexes[parentId]
|
|
1851
|
-
}));
|
|
1848
|
+
parent.children.push(_objectSpread__default["default"]({}, item));
|
|
1852
1849
|
}
|
|
1853
1850
|
} catch (err) {
|
|
1854
1851
|
_iterator.e(err);
|
|
@@ -2727,7 +2724,10 @@ var SortableTree = function SortableTree(_ref2) {
|
|
|
2727
2724
|
});
|
|
2728
2725
|
}, [setItems, setProperty]);
|
|
2729
2726
|
return /*#__PURE__*/React__default["default"].createElement(core$1.DndContext, {
|
|
2730
|
-
|
|
2727
|
+
accessibility: {
|
|
2728
|
+
announcements: announcements
|
|
2729
|
+
} // announcements={announcements}
|
|
2730
|
+
,
|
|
2731
2731
|
sensors: sensors,
|
|
2732
2732
|
collisionDetection: core$1.closestCenter,
|
|
2733
2733
|
measuring: measuring,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.313",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@micromag/elements": "^0.3.311",
|
|
67
67
|
"@micromag/fields": "^0.3.311",
|
|
68
68
|
"@micromag/screens": "^0.3.311",
|
|
69
|
-
"@micromag/viewer": "^0.3.
|
|
69
|
+
"@micromag/viewer": "^0.3.312",
|
|
70
70
|
"classnames": "^2.2.6",
|
|
71
71
|
"lodash": "^4.17.21",
|
|
72
72
|
"prop-types": "^15.7.2",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "dfd750df11bb0f5141358069679da991694bc886"
|
|
85
85
|
}
|