-
-
Notifications
You must be signed in to change notification settings - Fork 264
Fix item order issues in multi-api components (#12653) #12659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
msynk
wants to merge
17
commits into
bitfoundation:develop
Choose a base branch
from
msynk:12653-blazorui-multiapi-issues
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
85accf6
fix item order issues in multi-api components #12653
msynk 61a8334
resolve review comments
msynk 968cb00
resolve review comments II
msynk e1f9bd8
resolve review comments III
msynk 84fe06a
resolve review comments IV
msynk dd3c58f
Merge branch 'develop' into 12653-blazorui-multiapi-issues
msynk dbdba32
fix tests
msynk 7c13de6
resolve review comments V
msynk b890a6b
resolve review comments VI
msynk e7270d2
resolve review comments VII
msynk 97543e4
resolve review comments VIII
msynk d237433
resolve review comments IX
msynk 8418244
resolve review comments X
msynk fc42fa9
resolve review comments XI
msynk 1a1dca9
resolve review comments XII
msynk c2af108
resolve review comments XIII
msynk fcf3837
resolve review comments XIV
msynk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
26 changes: 26 additions & 0 deletions
26
src/BlazorUI/Bit.BlazorUI.Extras/Components/AccordionList/_BitAccordionListItem.razor
This file contains hidden or 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,26 @@ | ||
| @namespace Bit.BlazorUI | ||
| @typeparam TItem where TItem : class | ||
|
|
||
| @{ | ||
| var isEnabled = AccordionList.IsEnabled && AccordionList.GetIsEnabled(Item); | ||
| var headerTemplate = AccordionList.GetItemHeaderTemplate(Item); | ||
| } | ||
|
|
||
| <BitAccordion Background="AccordionList.Background" | ||
| Border="AccordionList.Border" | ||
| Class="@AccordionList.GetClass(Item)" | ||
| Style="@AccordionList.GetStyle(Item)" | ||
| Classes="AccordionList._itemClasses" | ||
| Styles="AccordionList._itemStyles" | ||
| Dir="AccordionList.Dir" | ||
| IsEnabled="isEnabled" | ||
| NoBorder="AccordionList.NoBorder" | ||
| Title="@AccordionList.GetTitle(Item)" | ||
| Description="@AccordionList.GetDescription(Item)" | ||
| ExpanderIcon="AccordionList.GetItemExpanderIcon(Item)" | ||
| ExpanderIconName="@AccordionList.GetItemExpanderIconName(Item)" | ||
| HeaderTemplate="headerTemplate" | ||
| IsExpanded="AccordionList.IsItemExpanded(Item)" | ||
| OnClick="() => AccordionList.HandleOnItemClick(Item)"> | ||
| @AccordionList.GetItemBody(Item) | ||
| </BitAccordion> |
8 changes: 8 additions & 0 deletions
8
src/BlazorUI/Bit.BlazorUI.Extras/Components/AccordionList/_BitAccordionListItem.razor.cs
This file contains hidden or 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,8 @@ | ||
| namespace Bit.BlazorUI; | ||
|
|
||
| public partial class _BitAccordionListItem<TItem> : ComponentBase where TItem : class | ||
| { | ||
| [Parameter] public TItem Item { get; set; } = default!; | ||
|
|
||
| [Parameter] public BitAccordionList<TItem> AccordionList { get; set; } = default!; | ||
| } |
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.