This commit is contained in:
izbz wh 2019-05-16 07:53:43 +08:00
commit b18ec77cdc
10 changed files with 436 additions and 469 deletions

View File

@ -1,3 +1,13 @@
<a name="2.0.11"></a>
## [2.0.11](https://github.com/tinper-bee/bee-tree/compare/v2.0.10...v2.0.11) (2019-04-26)
<a name="2.0.10"></a>
## [2.0.10](https://github.com/tinper-bee/bee-tree/compare/v2.0.9...v2.0.10) (2019-04-25)
<a name="2.0.9"></a>
## [2.0.9](https://github.com/tinper-bee/bee-tree/compare/v2.0.8...v2.0.9) (2019-04-10)

View File

@ -126,7 +126,7 @@
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease; }
.u-tree li a.u-tree-node-content-wrapper {
width: calc(100% - 18px); }
width: calc(100% - 40px); }
.u-tree li a:hover {
background-color: rgb(235, 236, 240); }
.u-tree li a.u-tree-node-selected {
@ -288,8 +288,8 @@
-ms-transform: rotate(270deg) scale(0.6);
transform: rotate(270deg) scale(0.6); }
/**
* 自定义switcher图标
/**
* 自定义switcher图标
*/
.u-tree li span.u-tree-switcher.icon-none:after {
content: ""; }

File diff suppressed because one or more lines are too long

13
dist/demo.css vendored
View File

@ -114,7 +114,7 @@
color: #212121;
transition: all 0.3s ease; }
.u-tree li a.u-tree-node-content-wrapper {
width: calc(100% - 18px); }
width: calc(100% - 40px); }
.u-tree li a:hover {
background-color: rgb(235, 236, 240); }
.u-tree li a.u-tree-node-selected {
@ -261,8 +261,8 @@
.u-tree li span.u-tree-switcher.u-tree-noline_close:after {
transform: rotate(270deg) scale(0.6); }
/**
* 自定义switcher图标
/**
* 自定义switcher图标
*/
.u-tree li span.u-tree-switcher.icon-none:after {
content: ""; }
@ -306,11 +306,4 @@
.title-con {
min-width: 150px; }
.demo2.u-tree {
height: 300px;
overflow: scroll; }
.u-modal {
height: 500px; }
/*# sourceMappingURL=demo.css.map */

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

74
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@ import 'bee-tree/build/Tree.css';
|openIcon|自定义展开节点图标的名称[参考这里](http://bee.tinper.org/bee-icon)String[]|-
|closeIcon|自定义关闭节点图标的名称[参考这里](http://bee.tinper.org/bee-icon)String[]|-
|onExpand|当打开或关闭树节点触发的方法|function(expandedKeys, {expanded: bool, node})|-
|onCheck|当选择事件发生触发的方法|function(checkedKeys, e:{checked: bool, checkedNodes, node, event})|-
|onCheck|当用户点击复选框checkbox触发的回调方法|function(checkedKeys, e:{checked: bool, checkedNodes, node, event})|-
|onSelect|当用户选择树节点触发的回调函数|function(selectedKeys, e:{selected: bool, selectedNodes, node, event})|-
|filterTreeNode|过滤树节点的方法highlight,当返回true,相关联的节点会高亮|function(node)|-
|loadData|异步加载数据|function(node)|-

View File

@ -1,6 +1,6 @@
{
"name": "bee-tree",
"version": "2.0.10-beta.1",
"version": "2.0.11",
"description": "Tree ui component for react",
"keywords": [
"react",
@ -67,4 +67,4 @@
"react-addons-test-utils": "15.6.2",
"react-dom": "16.8.3"
}
}
}

File diff suppressed because one or more lines are too long