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
314
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.11.0 to 5.12.0

1

es/NodeList.d.ts

@@ -37,2 +37,3 @@ /**

virtual?: boolean;
scrollWidth?: number;
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;

@@ -39,0 +40,0 @@ onFocus?: React.FocusEventHandler<HTMLDivElement>;

4

es/NodeList.js

@@ -5,3 +5,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["prefixCls", "data", "selectable", "checkable", "expandedKeys", "selectedKeys", "checkedKeys", "loadedKeys", "loadingKeys", "halfCheckedKeys", "keyEntities", "disabled", "dragging", "dragOverNodeKey", "dropPosition", "motion", "height", "itemHeight", "virtual", "focusable", "activeItem", "focused", "tabIndex", "onKeyDown", "onFocus", "onBlur", "onActiveChange", "onListChangeStart", "onListChangeEnd"];
var _excluded = ["prefixCls", "data", "selectable", "checkable", "expandedKeys", "selectedKeys", "checkedKeys", "loadedKeys", "loadingKeys", "halfCheckedKeys", "keyEntities", "disabled", "dragging", "dragOverNodeKey", "dropPosition", "motion", "height", "itemHeight", "virtual", "scrollWidth", "focusable", "activeItem", "focused", "tabIndex", "onKeyDown", "onFocus", "onBlur", "onActiveChange", "onListChangeStart", "onListChangeEnd"];
/**

@@ -94,2 +94,3 @@ * Handle virtual list of the TreeNodes.

virtual = props.virtual,
scrollWidth = props.scrollWidth,
focusable = props.focusable,

@@ -246,2 +247,3 @@ activeItem = props.activeItem,

itemHeight: itemHeight,
scrollWidth: scrollWidth,
prefixCls: "".concat(prefixCls, "-list"),

@@ -248,0 +250,0 @@ ref: listRef,

@@ -129,2 +129,3 @@ import * as React from 'react';

itemHeight?: number;
scrollWidth?: number;
itemScrollOffset?: number;

@@ -131,0 +132,0 @@ virtual?: boolean;

@@ -960,2 +960,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

itemHeight = _this$props12.itemHeight,
scrollWidth = _this$props12.scrollWidth,
virtual = _this$props12.virtual,

@@ -1054,3 +1055,4 @@ titleRender = _this$props12.titleRender,

onContextMenu: onContextMenu,
onScroll: onScroll
onScroll: onScroll,
scrollWidth: scrollWidth
}, this.getTreeNodeRequiredProps(), domProps))));

@@ -1057,0 +1059,0 @@ }

@@ -37,2 +37,3 @@ /**

virtual?: boolean;
scrollWidth?: number;
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;

@@ -39,0 +40,0 @@ onFocus?: React.FocusEventHandler<HTMLDivElement>;

@@ -20,3 +20,3 @@ "use strict";

var _treeUtil = require("./utils/treeUtil");
var _excluded = ["prefixCls", "data", "selectable", "checkable", "expandedKeys", "selectedKeys", "checkedKeys", "loadedKeys", "loadingKeys", "halfCheckedKeys", "keyEntities", "disabled", "dragging", "dragOverNodeKey", "dropPosition", "motion", "height", "itemHeight", "virtual", "focusable", "activeItem", "focused", "tabIndex", "onKeyDown", "onFocus", "onBlur", "onActiveChange", "onListChangeStart", "onListChangeEnd"];
var _excluded = ["prefixCls", "data", "selectable", "checkable", "expandedKeys", "selectedKeys", "checkedKeys", "loadedKeys", "loadingKeys", "halfCheckedKeys", "keyEntities", "disabled", "dragging", "dragOverNodeKey", "dropPosition", "motion", "height", "itemHeight", "virtual", "scrollWidth", "focusable", "activeItem", "focused", "tabIndex", "onKeyDown", "onFocus", "onBlur", "onActiveChange", "onListChangeStart", "onListChangeEnd"];
/**

@@ -104,2 +104,3 @@ * Handle virtual list of the TreeNodes.

virtual = props.virtual,
scrollWidth = props.scrollWidth,
focusable = props.focusable,

@@ -256,2 +257,3 @@ activeItem = props.activeItem,

itemHeight: itemHeight,
scrollWidth: scrollWidth,
prefixCls: "".concat(prefixCls, "-list"),

@@ -258,0 +260,0 @@ ref: listRef,

@@ -129,2 +129,3 @@ import * as React from 'react';

itemHeight?: number;
scrollWidth?: number;
itemScrollOffset?: number;

@@ -131,0 +132,0 @@ virtual?: boolean;

@@ -970,2 +970,3 @@ "use strict";

itemHeight = _this$props12.itemHeight,
scrollWidth = _this$props12.scrollWidth,
virtual = _this$props12.virtual,

@@ -1064,3 +1065,4 @@ titleRender = _this$props12.titleRender,

onContextMenu: onContextMenu,
onScroll: onScroll
onScroll: onScroll,
scrollWidth: scrollWidth
}, this.getTreeNodeRequiredProps(), domProps))));

@@ -1067,0 +1069,0 @@ }

{
"name": "rc-tree",
"version": "5.11.0",
"version": "5.12.0",
"description": "tree ui component for react",

@@ -55,7 +55,7 @@ "engines": {

"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^15.0.7",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.10",
"@types/node": "^22.7.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.2.17",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@types/warning": "^3.0.0",

@@ -66,3 +66,3 @@ "@umijs/fabric": "^4.0.1",

"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-unicorn": "^53.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"father": "^4.4.0",

@@ -69,0 +69,0 @@ "gh-pages": "^6.1.1",

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