Fix wizard (#1222)

* options 支持配置 selectFirst 自动选择第一个

* 文档优化;修复 cxd 下 toast 展现不一致问题 (#1219)

* Panel 支持更多的 className 配置

* 修复 cxd 下向导多出的边框

Co-authored-by: 2betop <2betop.cn@gmail.com>
This commit is contained in:
吴多益 2020-12-22 10:47:54 +08:00 committed by GitHub
parent a6e658124a
commit 80e58e7f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -1286,7 +1286,7 @@
--Wizard-steps-li-onActive-arrow-bg: #fff;
--Wizard-steps-li-onActive-bg: #fff;
--Wizard-steps-li-onActive-color: var(--info);
--Wizard-steps-liAfterBorder: #{px2rem(20px)} solid transparent;
--Wizard-steps-liAfterContent: '';
--Wizard-steps-liVender: '';
--Wizard-steps-padding: 0;

View File

@ -413,3 +413,4 @@ $Form--horizontal-columns: 12;
$Table-strip-bg: lighten(#f6f8f8, 1%) !default;
$Toast-icon-fillHeight: true !default;
$Number-handler-mode: 'vertical';
$Wizard-steps-liAfterBorder: px2rem(20px) solid transparent !default;

View File

@ -173,7 +173,7 @@
position: absolute;
bottom: 0;
right: px2rem(-10px);
border: var(--Wizard-steps-liAfterBorder);
border: $Wizard-steps-liAfterBorder;
border-right: 0;
border-left: px2rem(10px) solid var(--borderColor);
border-left-color: rgba(0, 0, 0, 0.05);

View File

@ -19,12 +19,13 @@ $danger-bg: #fff5f5;
$body-bg: #ffffff;
$text-color: #666;
$Toast-icon-fillHeight: false;
$Button-onDisabled-bg: #f5f5f5;
$Button-onDisabled-borderColor: #ebebeb;
$Button-onDisabled-color: #aaa;
$Number-handler-mode: 'horizontal';
// css 变量似乎没法用 !important所以这里用 sass 变量
$Wizard-steps-liAfterBorder: none !important;
@import '../variables';
@import '../properties';
@ -343,7 +344,7 @@ $Number-handler-mode: 'horizontal';
--Wizard-steps-padding: #{px2rem(10)} 0;
--Wizard-steps-liVender: 'iconfont';
--Wizard-steps-liAfterContent: '\e6ee';
--Wizard-steps-liAfterBorder: 0 !important;
--Wizard-steps-li-onActive-color: #333333;
--Wizard-steps-bg--isComplete: #fff;
--Wizard-badge-size: #{px2rem(26px)};