Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-tree

Package Overview
Dependencies
Maintainers
11
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree - npm Package Compare versions

Comparing version 5.4.4 to 5.5.0

2

es/Tree.d.ts

@@ -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> {

7

es/Tree.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc