@atlaskit/tree
Advanced tools
Comparing version 3.0.2 to 3.0.3
# @atlaskit/tree | ||
## 3.0.3 | ||
- [patch] Collapsing parent automatically when last child moved out [f4992db](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f4992db) | ||
## 3.0.2 | ||
@@ -4,0 +7,0 @@ - [patch] Fixing issue of not calling onDragStart when drag&drop starts [d7be874](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7be874) |
@@ -130,3 +130,5 @@ 'use strict'; | ||
var newTree = mutateTree(tree, position.parentId, { | ||
children: newSourceChildren | ||
children: newSourceChildren, | ||
hasChildren: newSourceChildren.length > 0, | ||
isExpanded: newSourceChildren.length > 0 && sourceParent.isExpanded | ||
}); | ||
@@ -133,0 +135,0 @@ return { |
@@ -111,3 +111,5 @@ import _getIterator from 'babel-runtime/core-js/get-iterator'; | ||
var newTree = mutateTree(tree, position.parentId, { | ||
children: newSourceChildren | ||
children: newSourceChildren, | ||
hasChildren: newSourceChildren.length > 0, | ||
isExpanded: newSourceChildren.length > 0 && sourceParent.isExpanded | ||
}); | ||
@@ -114,0 +116,0 @@ return { |
{ | ||
"name": "@atlaskit/tree", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/tree", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "A React Component for displaying expandable and sortable tree hierarchies", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111279
1315