-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Select): revert Select component update (#4844)
* refactor: 增加级联参数 * doc: 更新示例文档 * doc: 更改示例文件名 * doc: 增加原 Select 组件文档 * test: 增加 SelectGeneric 组件单元测试 * revert: 撤销忽略单元测试标签 * revert: 撤销单元测试更新 * revert: 恢复支持泛型逻辑 * test: 更新单元测试 * refactor: 更改可见性 * refactor: 移动组件到独立包 * chore: bump version 9.1.3-beta07 * revert: 撤销泛型更改
- Loading branch information
Showing
20 changed files
with
1,116 additions
and
1,499 deletions.
There are no files selected for viewing
441 changes: 441 additions & 0 deletions
441
src/BootstrapBlazor.Shared/Components/Samples/SelectGenerics.razor
Large diffs are not rendered by default.
Oops, something went wrong.
405 changes: 405 additions & 0 deletions
405
src/BootstrapBlazor.Shared/Components/Samples/SelectGenerics.razor.cs
Large diffs are not rendered by default.
Oops, something went wrong.
62 changes: 62 additions & 0 deletions
62
src/BootstrapBlazor.Shared/Components/Samples/SelectGenerics.razor.css
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.select-custom ::deep .dropdown-menu { | ||
--bs-dropdown-link-active-bg: var(--bs-secondary); | ||
--bs-dropdown-link-active-color: var(--bs-body-color); | ||
--bb-dropdown-max-height: 540px; | ||
} | ||
|
||
.select-custom ::deep .divider { | ||
--bb-divider-margin: 1rem 0; | ||
--bb-divider-bg: #c0c4cc; | ||
} | ||
|
||
.dropdown-item-demo { | ||
border-radius: var(--bs-dropdown-border-radius); | ||
border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color); | ||
padding: .5rem; | ||
flex-direction: column; | ||
} | ||
|
||
.select-custom-header { | ||
display: flex; | ||
align-items: center; | ||
margin-top: .5rem; | ||
} | ||
|
||
.select-custom-header .id { | ||
background-color: var(--bs-success); | ||
padding: .25rem .5rem; | ||
border-radius: var(--bs-dropdown-border-radius); | ||
} | ||
|
||
.select-custom-header .name { | ||
padding: .25rem .5rem; | ||
margin: 0 1rem; | ||
flex: 1; | ||
font-weight: bold; | ||
} | ||
|
||
.select-custom-header .status { | ||
} | ||
|
||
.select-custom-body { | ||
display: flex; | ||
} | ||
|
||
.select-custom-body ::deep .progress { | ||
height: 6px; | ||
margin-bottom: .5rem; | ||
} | ||
|
||
.select-custom-body .bb-avatar { | ||
width: 102px; | ||
border: 2px solid var(--bs-info); | ||
} | ||
|
||
.select-custom-detail { | ||
flex: 1; | ||
margin-inline-start: 2rem; | ||
} | ||
|
||
.select-custom-detail > div { | ||
margin-bottom: .5rem; | ||
} |
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
18 changes: 0 additions & 18 deletions
18
src/BootstrapBlazor/Components/SelectGeneric/ISelectGeneric.cs
This file was deleted.
Oops, something went wrong.
115 changes: 0 additions & 115 deletions
115
src/BootstrapBlazor/Components/SelectGeneric/SelectGeneric.razor
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.