-
-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(split): support pane collapsible (#4138)
* feat(split): support pane collapsible * modify css * modify css * beautify and fix bugs * adjust parameter * modify unit tests * modify unit tests * coverage * modify css * fix bugs * wip: test modify PR * add document * fix bugs * modify some description * fix bugs * refactor: 调整 bar 样式 * style: 调整垂直样式 * style: 增加垂直布局样式 * style: 增加 handler 样式 * style: 更新垂直布局样式 * refactor: 增加 IsCollapsible 参数 * refactor: 增加按钮支持 * style: 微调样式 * doc: 精简 dom 结构 * style: 微调样式适配收起动画 * feat: 更新脚本实现收起展开动画特效 * style: 颜色变量化 * style: 增加动画效果 * doc: 更新文档说明 * test: 更新单元测试 * feat: 增加 OnCollapsedAsync 回调方法 * feat: 实现 OnCollapsedAsync 逻辑 * test: 增加单元测试 * doc: 移除不需要的本地化设置 * chore: bump version 8.8.5-beta03 * style: 增加暗黑主题颜色 * style: 更正暗黑主题变量 --------- Co-authored-by: Argo Zhang <argo@live.ca>
- Loading branch information
Showing
13 changed files
with
542 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
@namespace BootstrapBlazor.Components | ||
@inherits BootstrapModuleComponentBase | ||
@attribute [BootstrapModuleAutoLoader] | ||
@attribute [BootstrapModuleAutoLoader(JSObjectReference = true)] | ||
|
||
<div @attributes="@AdditionalAttributes" id="@Id" class="@ClassString" role="group"> | ||
<div class="@WrapperClassString"> | ||
<div class="split-pane split-left" style="@StyleString"> | ||
@FirstPaneTemplate | ||
</div> | ||
<div class="split-pane split-bar"> | ||
<div class="split-trigger"> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
<i class="split-trigger-bar"></i> | ||
</div> | ||
</div> | ||
<div class="split-pane split-right" style="flex: 1;"> | ||
@SecondPaneTemplate | ||
<div class="split-pane split-left" style="@StyleString"> | ||
@FirstPaneTemplate | ||
</div> | ||
<div class="split-pane split-right"> | ||
@SecondPaneTemplate | ||
</div> | ||
<div class="split-pane split-bar"> | ||
@if (IsCollapsible) | ||
{ | ||
<button tabindex="-1" type="button" class="split-bar-arrow split-bar-arrow-left"></button> | ||
} | ||
<div class="split-bar-handler"> | ||
<div></div> | ||
<div></div> | ||
</div> | ||
@if (IsCollapsible) | ||
{ | ||
<button tabindex="-1" type="button" class="split-bar-arrow split-bar-arrow-right"></button> | ||
} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.