publish 2.0.4

This commit is contained in:
“jonyshi” 2019-03-07 16:28:31 +08:00
parent 86b3927c6d
commit bbcf089550
6 changed files with 1641 additions and 1575 deletions

File diff suppressed because one or more lines are too long

200
dist/demo.css vendored
View File

@ -2181,12 +2181,12 @@
.text-accent-contrast {
color: rgb(255,255,255) !important; }
/*
* 保护有用的浏览器默认样式而不是完全去掉它们
* 一般化的样式为大部分HTML元素提供
* 修复浏览器自身的bug并保证各浏览器的一致性
* 优化CSS可用性用一些小技巧
* 解释代码用注释和详细的文档来
/*
* 保护有用的浏览器默认样式而不是完全去掉它们
* 一般化的样式为大部分HTML元素提供
* 修复浏览器自身的bug并保证各浏览器的一致性
* 优化CSS可用性用一些小技巧
* 解释代码用注释和详细的文档来
*/
html {
width: 100%;
@ -2196,25 +2196,25 @@ html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; }
/*
* 使body占据整个屏幕删除body边距因此布局容器不会导致额外的溢出
* 去掉默认的margin
/*
* 使body占据整个屏幕删除body边距因此布局容器不会导致额外的溢出
* 去掉默认的margin
*/
body {
margin: 0;
width: 100%;
height: 100%; }
/*
* 主显示屏复位为IE支持
* Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
/*
* 主显示屏复位为IE支持
* Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011
*/
main {
display: block; }
/*
* 对具有hidden属性的元素不应用显示
* IE 9 and 10 support.
/*
* 对具有hidden属性的元素不应用显示
* IE 9 and 10 support.
*/
*[hidden] {
display: none !important; }
@ -2415,15 +2415,15 @@ body {
i.uf {
padding: 0 5px; }
/*
* 选择时删除文本阴影及设置默认选中颜色
/*
* 选择时删除文本阴影及设置默认选中颜色
*/
::selection {
background: rgb(187,222,251);
text-shadow: none; }
/*
* 默认水平规则
/*
* 默认水平规则
*/
hr {
display: block;
@ -2433,8 +2433,8 @@ hr {
margin: 1em 0;
padding: 0; }
/*
* 删除音频画布iframes图像视频和其容器底部之间的差距
/*
* 删除音频画布iframes图像视频和其容器底部之间的差距
*/
audio,
canvas,
@ -2444,14 +2444,14 @@ svg,
video {
vertical-align: middle; }
/*
* 仅允许垂直调整textareas的大小
/*
* 仅允许垂直调整textareas的大小
*/
textarea {
resize: vertical; }
/* ==========================================================================
浏览器升级提示
/* ==========================================================================
浏览器升级提示
========================================================================== */
.browserupgrade {
margin: 0.2em 0;
@ -2459,8 +2459,8 @@ textarea {
color: #000;
padding: 0.2em 0; }
/*
* 适用于屏幕阅读器的隐藏
/*
* 适用于屏幕阅读器的隐藏
*/
.visuallyhidden {
border: 0;
@ -2472,9 +2472,9 @@ textarea {
position: absolute;
width: 1px; }
/*
* 扩展.visuallyhidden类以允许元素在通过键盘导航时是可对焦的
* https://www.drupal.org/node/897638
/*
* 扩展.visuallyhidden类以允许元素在通过键盘导航时是可对焦的
* https://www.drupal.org/node/897638
*/
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
@ -2485,9 +2485,9 @@ textarea {
position: static;
width: auto; }
/* ==========================================================================
打印样式内联以避免额外的HTTP请求
/* ==========================================================================
打印样式内联以避免额外的HTTP请求
========================================================================== */
@media print {
*,
@ -2507,9 +2507,9 @@ textarea {
content: " (" attr(href) ")"; }
abbr[title]:after {
content: " (" attr(title) ")"; }
/*
* 不显示片段标识符的链接
* 或使用`javascript`伪协议
/*
* 不显示片段标识符的链接
* 或使用`javascript`伪协议
*/
a[href^="#"]:after,
a[href^="javascript:"]:after {
@ -2518,9 +2518,9 @@ textarea {
blockquote {
border: 1px solid #999;
page-break-inside: avoid; }
/*
* 打印表格:
* http://css-discuss.incutio.com/wiki/Printing_Tables
/*
* 打印表格:
* http://css-discuss.incutio.com/wiki/Printing_Tables
*/
thead {
display: table-header-group; }
@ -2538,8 +2538,8 @@ textarea {
h3 {
page-break-after: avoid; } }
/*
*删除FAB按钮周围的不需要的框 ,主要兼容ios的safari和部分android
/*
*删除FAB按钮周围的不需要的框 ,主要兼容ios的safari和部分android
**/
a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
.mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab {
@ -5635,8 +5635,8 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
.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: ""; }
@ -5683,7 +5683,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px; }
border-radius: 3px; }
.u-panel .u-panel-heading {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
@ -6381,7 +6381,7 @@ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
background: rgb(224,224,224);
border: 1px solid rgb(224,224,224);
border-radius: 3px;
color: rgb(0,0,0);
color: rgb(33,33,33);
position: relative;
min-width: 72px;
padding: 4px 13px;
@ -6458,15 +6458,15 @@ input.u-button[type="submit"] {
border-color: #adadad; }
.u-button-border {
color: rgb(0,0,0);
color: rgb(33,33,33);
border: 1px solid rgb(165, 173, 186);
background: rgb(255,255,255); }
.u-button-border:hover {
color: rgb(0,0,0);
color: rgb(33,33,33);
background-color: rgb(238,238,238);
border-color: rgb(165, 173, 186); }
.u-button-border:active {
color: rgb(0,0,0);
color: rgb(33,33,33);
background-color: rgb(238,238,238);
border-color: rgb(165, 173, 186); }
@ -6474,20 +6474,26 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(245, 60, 50);
border: 1px rgb(245, 60, 50) solid; }
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus, .u-button.u-button-primary:hover {
.u-button.u-button-primary:hover {
background-color: rgb(230, 0, 18);
border-color: rgb(230, 0, 18); }
.u-button.u-button-primary.focus, .u-button.u-button-primary:focus:hover {
background-color: rgb(245, 60, 50);
border-color: rgb(245, 60, 50); }
.u-button.u-button-primary.active, .u-button.u-button-primary:active {
background-color: rgb(230, 0, 18);
border-color: rgb(230, 0, 18); }
.u-button.u-button-secondary {
color: rgb(0,0,0);
color: rgb(33,33,33);
background-color: rgb(224,224,224);
border: 1px rgb(224,224,224) solid; }
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus, .u-button.u-button-secondary:hover {
.u-button.u-button-secondary:hover {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189); }
.u-button.u-button-secondary.focus, .u-button.u-button-secondary:focus:hover {
background-color: rgb(224,224,224);
border-color: rgb(224,224,224); }
.u-button.u-button-secondary.active, .u-button.u-button-secondary:active {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189); }
@ -6496,9 +6502,12 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(244,67,54);
border: 1px rgb(244,67,54) solid; }
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus, .u-button.u-button-danger:hover {
.u-button.u-button-danger:hover {
background-color: rgb(211,47,47);
border-color: rgb(211,47,47); }
.u-button.u-button-danger.focus, .u-button.u-button-danger:focus:hover {
background-color: rgb(244,67,54);
border-color: rgb(244,67,54); }
.u-button.u-button-danger.active, .u-button.u-button-danger:active {
background-color: rgb(211,47,47);
border-color: rgb(211,47,47); }
@ -6507,9 +6516,12 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(0,188,212);
border: 1px rgb(0,188,212) solid; }
.u-button.u-button-info.focus, .u-button.u-button-info:focus, .u-button.u-button-info:hover {
.u-button.u-button-info:hover {
background-color: rgb(0,151,167);
border-color: rgb(0,151,167); }
.u-button.u-button-info.focus, .u-button.u-button-info:focus:hover {
background-color: rgb(0,188,212);
border-color: rgb(0,188,212); }
.u-button.u-button-info.active, .u-button.u-button-info:active {
background-color: rgb(0,151,167);
border-color: rgb(0,151,167); }
@ -6518,9 +6530,12 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(255,152,0);
border: 1px rgb(255,152,0) solid; }
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus, .u-button.u-button-warning:hover {
.u-button.u-button-warning:hover {
background-color: rgb(245,124,0);
border-color: rgb(245,124,0); }
.u-button.u-button-warning.focus, .u-button.u-button-warning:focus:hover {
background-color: rgb(255,152,0);
border-color: rgb(255,152,0); }
.u-button.u-button-warning.active, .u-button.u-button-warning:active {
background-color: rgb(245,124,0);
border-color: rgb(245,124,0); }
@ -6529,9 +6544,12 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(76,175,80);
border: 1px rgb(76,175,80) solid; }
.u-button.u-button-success.focus, .u-button.u-button-success:focus, .u-button.u-button-success:hover {
.u-button.u-button-success:hover {
background-color: rgb(56,142,60);
border-color: rgb(56,142,60); }
.u-button.u-button-success.focus, .u-button.u-button-success:focus:hover {
background-color: rgb(76,175,80);
border-color: rgb(76,175,80); }
.u-button.u-button-success.active, .u-button.u-button-success:active {
background-color: rgb(56,142,60);
border-color: rgb(56,142,60); }
@ -6540,9 +6558,12 @@ input.u-button[type="submit"] {
color: rgb(255,255,255);
background-color: rgb(97,97,97);
border: 1px rgb(97,97,97) solid; }
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus, .u-button.u-button-dark:hover {
.u-button.u-button-dark:hover {
background-color: rgb(66,66,66);
border-color: rgb(66,66,66); }
.u-button.u-button-dark.focus, .u-button.u-button-dark:focus:hover {
background-color: rgb(97,97,97);
border-color: rgb(97,97,97); }
.u-button.u-button-dark.active, .u-button.u-button-dark:active {
background-color: rgb(66,66,66);
border-color: rgb(66,66,66); }
@ -6551,9 +6572,12 @@ input.u-button[type="submit"] {
color: rgb(97,97,97);
background-color: rgb(255,255,255);
border: 1px rgb(255,255,255) solid; }
.u-button.u-button-light.focus, .u-button.u-button-light:focus, .u-button.u-button-light:hover {
.u-button.u-button-light:hover {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189); }
.u-button.u-button-light.focus, .u-button.u-button-light:focus:hover {
background-color: rgb(255,255,255);
border-color: rgb(255,255,255); }
.u-button.u-button-light.active, .u-button.u-button-light:active {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189); }
@ -6562,10 +6586,14 @@ input.u-button[type="submit"] {
color: rgb(76,175,80);
background-color: #fff;
border: 1px rgb(76,175,80) solid; }
.u-button-border.u-button-success.focus, .u-button-border.u-button-success:focus, .u-button-border.u-button-success:hover {
.u-button-border.u-button-success:hover {
background-color: rgb(56,142,60);
border-color: rgb(56,142,60);
color: #fff; }
.u-button-border.u-button-success.focus, .u-button-border.u-button-success:focus:hover {
color: rgb(76,175,80);
background-color: #fff;
border-color: rgb(76,175,80); }
.u-button-border.u-button-success.active, .u-button-border.u-button-success:active {
color: #fff;
background-color: rgb(56,142,60);
@ -6575,10 +6603,14 @@ input.u-button[type="submit"] {
color: rgb(255,152,0);
background-color: #fff;
border: 1px rgb(255,152,0) solid; }
.u-button-border.u-button-warning.focus, .u-button-border.u-button-warning:focus, .u-button-border.u-button-warning:hover {
.u-button-border.u-button-warning:hover {
background-color: rgb(245,124,0);
border-color: rgb(245,124,0);
color: #fff; }
.u-button-border.u-button-warning.focus, .u-button-border.u-button-warning:focus:hover {
color: rgb(255,152,0);
background-color: #fff;
border-color: rgb(255,152,0); }
.u-button-border.u-button-warning.active, .u-button-border.u-button-warning:active {
color: #fff;
background-color: rgb(245,124,0);
@ -6588,10 +6620,14 @@ input.u-button[type="submit"] {
color: rgb(244,67,54);
background-color: #fff;
border: 1px rgb(244,67,54) solid; }
.u-button-border.u-button-danger.focus, .u-button-border.u-button-danger:focus, .u-button-border.u-button-danger:hover {
.u-button-border.u-button-danger:hover {
background-color: rgb(211,47,47);
border-color: rgb(211,47,47);
color: #fff; }
.u-button-border.u-button-danger.focus, .u-button-border.u-button-danger:focus:hover {
color: rgb(244,67,54);
background-color: #fff;
border-color: rgb(244,67,54); }
.u-button-border.u-button-danger.active, .u-button-border.u-button-danger:active {
color: #fff;
background-color: rgb(211,47,47);
@ -6601,10 +6637,14 @@ input.u-button[type="submit"] {
color: rgb(0,188,212);
background-color: #fff;
border: 1px rgb(0,188,212) solid; }
.u-button-border.u-button-info.focus, .u-button-border.u-button-info:focus, .u-button-border.u-button-info:hover {
.u-button-border.u-button-info:hover {
background-color: rgb(0,151,167);
border-color: rgb(0,151,167);
color: #fff; }
.u-button-border.u-button-info.focus, .u-button-border.u-button-info:focus:hover {
color: rgb(0,188,212);
background-color: #fff;
border-color: rgb(0,188,212); }
.u-button-border.u-button-info.active, .u-button-border.u-button-info:active {
color: #fff;
background-color: rgb(0,151,167);
@ -6614,10 +6654,14 @@ input.u-button[type="submit"] {
color: rgb(245, 60, 50);
background-color: #fff;
border: 1px rgb(245, 60, 50) solid; }
.u-button-border.u-button-primary.focus, .u-button-border.u-button-primary:focus, .u-button-border.u-button-primary:hover {
.u-button-border.u-button-primary:hover {
background-color: rgb(230, 0, 18);
border-color: rgb(230, 0, 18);
color: #fff; }
.u-button-border.u-button-primary.focus, .u-button-border.u-button-primary:focus:hover {
color: rgb(245, 60, 50);
background-color: #fff;
border-color: rgb(245, 60, 50); }
.u-button-border.u-button-primary.active, .u-button-border.u-button-primary:active {
color: #fff;
background-color: rgb(230, 0, 18);
@ -6627,10 +6671,14 @@ input.u-button[type="submit"] {
color: rgb(224,224,224);
background-color: #fff;
border: 1px rgb(224,224,224) solid; }
.u-button-border.u-button-secondary.focus, .u-button-border.u-button-secondary:focus, .u-button-border.u-button-secondary:hover {
.u-button-border.u-button-secondary:hover {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189);
color: #fff; }
.u-button-border.u-button-secondary.focus, .u-button-border.u-button-secondary:focus:hover {
color: rgb(224,224,224);
background-color: #fff;
border-color: rgb(224,224,224); }
.u-button-border.u-button-secondary.active, .u-button-border.u-button-secondary:active {
color: #fff;
background-color: rgb(189,189,189);
@ -6640,10 +6688,14 @@ input.u-button[type="submit"] {
color: rgb(97,97,97);
background-color: #fff;
border: 1px rgb(97,97,97) solid; }
.u-button-border.u-button-dark.focus, .u-button-border.u-button-dark:focus, .u-button-border.u-button-dark:hover {
.u-button-border.u-button-dark:hover {
background-color: rgb(66,66,66);
border-color: rgb(66,66,66);
color: #fff; }
.u-button-border.u-button-dark.focus, .u-button-border.u-button-dark:focus:hover {
color: rgb(97,97,97);
background-color: #fff;
border-color: rgb(97,97,97); }
.u-button-border.u-button-dark.active, .u-button-border.u-button-dark:active {
color: #fff;
background-color: rgb(66,66,66);
@ -6653,10 +6705,14 @@ input.u-button[type="submit"] {
color: rgb(97,97,97);
background-color: #fff;
border: 1px rgb(255,255,255) solid; }
.u-button-border.u-button-light.focus, .u-button-border.u-button-light:focus, .u-button-border.u-button-light:hover {
.u-button-border.u-button-light:hover {
background-color: rgb(189,189,189);
border-color: rgb(189,189,189);
color: #fff; }
.u-button-border.u-button-light.focus, .u-button-border.u-button-light:focus:hover {
color: rgb(97,97,97);
background-color: #fff;
border-color: rgb(255,255,255); }
.u-button-border.u-button-light.active, .u-button-border.u-button-light:active {
color: #fff;
background-color: rgb(189,189,189);
@ -6727,14 +6783,14 @@ input.u-button[type="submit"] {
display: inline-block;
padding: 0 12px;
width: 100%;
height: 30px;
height: 32px;
cursor: text;
font-size: 14px;
line-height: 1.5;
color: #424242;
background-color: #fff;
background-image: none;
border: 1px solid #bdbdbd;
border: 1px solid rgb(165, 173, 186);
border-radius: 3px;
transition: all .3s; }
.u-form-control:focus {
@ -6744,18 +6800,18 @@ input.u-button[type="submit"] {
display: none; }
.u-form-control[disabled] {
background: #eee;
border-color: #e0e0e0;
color: #BDBDBD;
background: #F7F9FB;
border-color: #DFE1E6;
color: #909090;
cursor: not-allowed; }
.u-form-control.lg {
height: 38px;
height: 40px;
font-size: 14px; }
.u-form-control.sm {
font-size: 12px;
height: 24px; }
height: 26px; }
.u-form-control-search-wrapper {
position: absolute;

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

3004
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

@ -1,6 +1,6 @@
{
"name": "bee-tree",
"version": "2.0.3",
"version": "2.0.4",
"description": "Tree ui component for react",
"keywords": [
"react",
@ -39,7 +39,7 @@
"dependencies": {
"babel-runtime": "^6.23.0",
"bee-animate": "^1.0.0",
"bee-checkbox": "^2.0.1",
"bee-checkbox": "latest",
"classnames": "^2.2.5",
"tinper-bee-core": "latest"
},
@ -53,7 +53,7 @@
"bee-button": "latest",
"bee-layout": "latest",
"bee-panel": "latest",
"bee-icon": "1.0.3",
"bee-icon": "latest",
"chai": "^3.5.0",
"console-polyfill": "~0.2.1",
"cz-conventional-changelog": "^2.1.0",