Comparing version 5.3.4 to 5.3.5
@@ -10,3 +10,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _createSuper from "@babel/runtime/helpers/esm/createSuper"; | ||
var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove"]; | ||
var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"]; | ||
import * as React from 'react'; | ||
@@ -451,2 +451,3 @@ import classNames from 'classnames'; | ||
onMouseMove = _this$props8.onMouseMove, | ||
selectable = _this$props8.selectable, | ||
otherProps = _objectWithoutProperties(_this$props8, _excluded); | ||
@@ -474,2 +475,5 @@ | ||
var dragging = draggingNodeKey === eventKey; | ||
var ariaSelected = selectable !== undefined ? { | ||
'aria-selected': !!selectable | ||
} : undefined; | ||
return /*#__PURE__*/React.createElement("div", _extends({ | ||
@@ -490,3 +494,3 @@ ref: domRef, | ||
onMouseMove: onMouseMove | ||
}, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(Indent, { | ||
}, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(Indent, { | ||
prefixCls: prefixCls, | ||
@@ -493,0 +497,0 @@ level: level, |
@@ -42,3 +42,3 @@ "use strict"; | ||
var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove"]; | ||
var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"]; | ||
var ICON_OPEN = 'open'; | ||
@@ -476,2 +476,3 @@ var ICON_CLOSE = 'close'; | ||
onMouseMove = _this$props8.onMouseMove, | ||
selectable = _this$props8.selectable, | ||
otherProps = (0, _objectWithoutProperties2.default)(_this$props8, _excluded); | ||
@@ -498,2 +499,5 @@ var _this$props$context5 = this.props.context, | ||
var dragging = draggingNodeKey === eventKey; | ||
var ariaSelected = selectable !== undefined ? { | ||
'aria-selected': !!selectable | ||
} : undefined; | ||
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({ | ||
@@ -514,3 +518,3 @@ ref: domRef, | ||
onMouseMove: onMouseMove | ||
}, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(_Indent.default, { | ||
}, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(_Indent.default, { | ||
prefixCls: prefixCls, | ||
@@ -517,0 +521,0 @@ level: level, |
{ | ||
"name": "rc-tree", | ||
"version": "5.3.4", | ||
"version": "5.3.5", | ||
"description": "tree ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
343917
7302