Skip to content

Commit

Permalink
Merge pull request #6361 from bitfoundation/develop
Browse files Browse the repository at this point in the history
Version 8.5.0 (#6359)
  • Loading branch information
msynk authored Dec 20, 2023
2 parents b12a5a0 + baaa19f commit b92c327
Show file tree
Hide file tree
Showing 145 changed files with 3,483 additions and 779 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bit.full.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
cd ../../../
dotnet build TodoBPSqlite/TodoBPSqlite.sln -c Release -p:RunAOTCompilation=false
- name: Release build empty sample + no database
- name: Release build empty sample + offline db + Win exe
run: |
dotnet new bit-bp --name EmptyBP --database other --sample none --pipeline azure
dotnet build EmptyBP/EmptyBP.sln -c Release -p:RunAOTCompilation=false
dotnet new bit-bp --name EmptyBP --database other --sample none --pipeline azure --offlineDb --winExe
dotnet build EmptyBP/EmptyBP.sln -c Release -p:RunAOTCompilation=false -p:EnableWindowsTargeting=true
- name: Release build admin panel sample + SqlServer database
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/Bit.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<PackageProjectUrl>https://github.com/bitfoundation/bitplatform</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/22663390</PackageIconUrl>

<ReleaseVersion>8.4.0</ReleaseVersion>
<ReleaseVersion>8.5.0</ReleaseVersion>

<PackageReleaseNotes>https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)</PackageReleaseNotes>
<PackageVersion>$(ReleaseVersion)</PackageVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="bunit.web" Version="1.24.10" />
<PackageReference Include="bunit.web" Version="1.25.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,85 @@
id="@_Id"
style="@StyleBuilder.Value"
class="@ClassBuilder.Value">
<div style="@Styles?.SearchIconContainer" class="bit-srb-ict @Classes?.SearchIconContainer" aria-hidden="true">
<i style="@Styles?.SearchIcon" class="bit-icon bit-icon--@IconName @Classes?.SearchIcon" aria-hidden="true" />
<div class="bit-srb-cnt @Classes?.Container" style="@Styles?.Container">
<div style="@Styles?.SearchIconContainer" class="bit-srb-ict @Classes?.SearchIconContainer" aria-hidden="true">
<i style="@Styles?.SearchIcon" class="bit-icon bit-icon--@IconName @Classes?.SearchIcon" aria-hidden="true" />
</div>
<input @ref="_inputRef" @attributes="InputHtmlAttributes" @onkeydown="@((k) => HandleOnKeyDown(k))" @onfocusin="HandleInputFocusIn" @onfocusout="HandleInputFocusOut" @oninput="@HandleOnChange"
id="@_inputId"
style="@Styles?.Input"
class="bit-srb-inp @Classes?.Input"
type="text"
role="searchbox"
value="@CurrentValue"
aria-label="@AriaLabel"
placeholder="@Placeholder"
autocomplete="@Autocomplete"
disabled="@(IsEnabled is false)" />
@if (CurrentValue.HasValue())
{
<div style="@Styles?.ClearButtonContainer" class="bit-srb-cbc @Classes?.ClearButtonContainer">
<button @onclick="HandleOnClear"
style="@Styles?.ClearButton"
class="bit-srb-cbt @Classes?.ClearButton"
type="button"
aria-hidden="true"
aria-label="Clear text"
disabled="@(CurrentValue.HasNoValue())">
<span style="@Styles?.ClearButtonIconContainer" class="@Classes?.ClearButtonIconContainer">
<i style="@Styles?.ClearButtonIcon" class="bit-icon bit-icon--Cancel @Classes?.ClearButtonIcon" aria-hidden="true" />
</span>
</button>
</div>
}
</div>
<input @ref="_inputRef" @attributes="InputHtmlAttributes" @onkeydown="@((k) => HandleOnKeyDown(k))" @onfocusin="HandleInputFocusIn" @onfocusout="HandleInputFocusOut" @oninput="@HandleOnChange"
id="@_inputId"
style="@Styles?.Input"
class="bit-srb-inp @Classes?.Input"
type="text"
role="searchbox"
value="@CurrentValue"
aria-label="@AriaLabel"
placeholder="@Placeholder"
autocomplete="@Autocomplete"
disabled="@(IsEnabled is false)" />
@if (CurrentValue.HasValue())

@if ((SuggestItems?.Any() ?? false) || SuggestItemProvider is not null)
{
<div style="@Styles?.ClearButtonContainer" class="bit-srb-cbc @Classes?.ClearButtonContainer">
<button @onclick="HandleOnClear"
style="@Styles?.ClearButton"
class="bit-srb-cbt @Classes?.ClearButton"
type="button"
aria-hidden="true"
aria-label="Clear text"
disabled="@(CurrentValue.HasNoValue())">
<span style="@Styles?.ClearButtonIconContainer" class="@Classes?.ClearButtonIconContainer">
<i style="@Styles?.ClearButtonIcon" class="bit-icon bit-icon--Cancel @Classes?.ClearButtonIcon" aria-hidden="true" />
</span>
</button>
<div @onclick="CloseCallout"
style="display:@(isOpen ? "block" : "none");@Styles?.Overlay"
class="bit-srb-ovl @Classes?.Overlay"></div>

<div id="@_calloutId"
tabindex="0"
role="listbox"
style="@Styles?.Callout"
class="bit-srb-cal @Classes?.Callout">

<div id="@_scrollContainerId"
style="@Styles?.ScrollContainer"
class="bit-srb-scn @Classes?.ScrollContainer">
@foreach (var text in _searchItems)
{
var isSelected = GetIsSelected(text);
<div style="@Styles?.SuggestItemWrapper" class="@Classes?.SuggestItemWrapper">
<button @onclick="()=> HandleOnItemClick(text)"
type="button"
role="option"
title="@text"
tabindex="0"
style="@Styles?.SuggestItemButton"
class="bit-srb-itm@(isSelected ? " bit-srb-sel" : "") @Classes?.SuggestItemButton"
aria-label="@text"
aria-setsize="@GetTotalItems()"
aria-selected="@(isSelected ? "true" : "false")"
aria-posinset="@GetItemPosInSet(text)">
@if (SuggestItemTemplate is not null)
{
@SuggestItemTemplate(text)
}
else
{
<span class="@Classes?.SuggestItemText"
style="@Styles?.SuggestItemText">
@text
</span>
}
</button>
</div>
}
</div>

</div>
}
</div>
</div>
Loading

0 comments on commit b92c327

Please sign in to comment.