Comparing version 5.4.4 to 5.5.0
@@ -129,2 +129,4 @@ import * as React from 'react'; | ||
direction?: Direction; | ||
rootClassName?: string; | ||
rootStyle?: React.CSSProperties; | ||
} | ||
@@ -131,0 +133,0 @@ interface TreeState<TreeDataType extends BasicDataNode = DataNode> { |
@@ -1018,3 +1018,5 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
onScroll = _this$props8.onScroll, | ||
direction = _this$props8.direction; | ||
direction = _this$props8.direction, | ||
rootClassName = _this$props8.rootClassName, | ||
rootStyle = _this$props8.rootStyle; | ||
var domProps = pickAttrs(this.props, { | ||
@@ -1081,3 +1083,4 @@ aria: true, | ||
role: "tree", | ||
className: classNames(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-show-line"), showLine), _defineProperty(_classNames, "".concat(prefixCls, "-focused"), focused), _defineProperty(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames)) | ||
className: classNames(prefixCls, className, rootClassName, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-show-line"), showLine), _defineProperty(_classNames, "".concat(prefixCls, "-focused"), focused), _defineProperty(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames)), | ||
style: rootStyle | ||
}, /*#__PURE__*/React.createElement(NodeList, _extends({ | ||
@@ -1084,0 +1087,0 @@ ref: this.listRef, |
@@ -129,2 +129,4 @@ import * as React from 'react'; | ||
direction?: Direction; | ||
rootClassName?: string; | ||
rootStyle?: React.CSSProperties; | ||
} | ||
@@ -131,0 +133,0 @@ interface TreeState<TreeDataType extends BasicDataNode = DataNode> { |
@@ -1047,3 +1047,5 @@ "use strict"; | ||
onScroll = _this$props8.onScroll, | ||
direction = _this$props8.direction; | ||
direction = _this$props8.direction, | ||
rootClassName = _this$props8.rootClassName, | ||
rootStyle = _this$props8.rootStyle; | ||
var domProps = (0, _pickAttrs.default)(this.props, { | ||
@@ -1110,3 +1112,4 @@ aria: true, | ||
role: "tree", | ||
className: (0, _classnames.default)(prefixCls, className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-show-line"), showLine), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-focused"), focused), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames)) | ||
className: (0, _classnames.default)(prefixCls, className, rootClassName, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-show-line"), showLine), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-focused"), focused), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames)), | ||
style: rootStyle | ||
}, /*#__PURE__*/React.createElement(_NodeList.default, (0, _extends2.default)({ | ||
@@ -1113,0 +1116,0 @@ ref: this.listRef, |
{ | ||
"name": "rc-tree", | ||
"version": "5.4.4", | ||
"version": "5.5.0", | ||
"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
343821
7288