Skip to content

Commit 6980c30

Browse files
authored
Merge pull request #5315 from bitfoundation/develop
Version 5.6.0 (#5314)
2 parents 0c3ebd3 + 5fe5588 commit 6980c30

File tree

353 files changed

+10439
-4330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+10439
-4330
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ body:
5555
label: Anything else?
5656
description: |
5757
- Developer's machine Operating System? For example `Windows 10 19041`
58-
- .NET Sdk version? For example `7.0.400`
58+
- .NET Sdk version? For example `7.0.401`
5959
- IDE / Version? For example `Visual Studio 17.8 Preview 1`
6060
- Bit.BlazorUI nuget package's version? (If applicable) For example `5.3.0`
6161
- Bit.TodoTemplate nuget package's version? (If applicable) For example `4.0.0`

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
There are many ways to contribute
22

33
* Fork / Star this project 😊
4+
* Give us a try and use bit platform in your apps
45
* Submit [bugs](https://github.com/bitfoundation/bitplatform/issues/new?template=bug_report.yml) & [feature requests](https://github.com/bitfoundation/bitplatform/issues/new?template=feature_request.yml)
5-
* Checkout our list of [issues](https://github.com/bitfoundation/bitplatform/issues) and submit new PRs 🤩
6-
* Engage with other developers on [stackoverflow](https://stackoverflow.com/questions/tagged/bitplatform)
6+
* Check out our [reddit](https://www.reddit.com/r/bitplatform/) to stay up to date on the hottest news of .NET and bit platform

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ The following apps are our open-source projects powered by the bit platform show
4141
There are many ways to contribute
4242

4343
* Fork / Star this project 😊
44+
* Give us a try and use bit platform in your apps
4445
* Submit [bugs](https://github.com/bitfoundation/bitplatform/issues/new?template=bug_report.yml) & [feature requests](https://github.com/bitfoundation/bitplatform/issues/new?template=feature_request.yml)
45-
* Checkout our list of [issues](https://github.com/bitfoundation/bitplatform/issues) and submit new PRs 🤩
46-
* Engage with other developers on [stackoverflow](https://stackoverflow.com/questions/tagged/bitplatform)
46+
* Check out our [reddit](https://www.reddit.com/r/bitplatform/) to stay up to date on the hottest news of .NET and bit platform
4747

4848
## **Contributions**
4949

src/Bit.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<PackageProjectUrl>https://github.com/bitfoundation/bitplatform</PackageProjectUrl>
2626
<PackageIconUrl>https://avatars.githubusercontent.com/u/22663390</PackageIconUrl>
2727

28-
<ReleaseVersion>5.5.0</ReleaseVersion>
28+
<ReleaseVersion>5.6.0</ReleaseVersion>
2929

3030
<PackageReleaseNotes>https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)</PackageReleaseNotes>
3131
<PackageVersion>$(ReleaseVersion)</PackageVersion>
@@ -37,7 +37,7 @@
3737
<NeutralLanguage>en</NeutralLanguage>
3838
<LangVersion>preview</LangVersion>
3939
<Nullable>enable</Nullable>
40-
<NoWarn>$(NoWarn);NU1605;CS1591;NU1701;NU1605;CA1303;CA1308;CA2007;CA1014;CA2227;BL0007;CA1056</NoWarn>
40+
<NoWarn>$(NoWarn);NU1605;CS1591;NU1701;NU1605;CA1303;CA1308;CA2007;CA1014;CA2227;BL0007;CA1056;BL0005</NoWarn>
4141
<!-- https://stackoverflow.com/a/46815541/2720104 -->
4242
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
4343
</PropertyGroup>

src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="bunit.web" Version="1.22.19" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
10+
<PackageReference Include="bunit.web" Version="1.23.9" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
1212
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
1313
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
1414
<PackageReference Include="coverlet.collector" Version="6.0.0">

src/BlazorUI/Bit.BlazorUI.Tests/Dropdown/BitDropdownMultiSelectTestModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ public class BitDropdownMultiSelectTestModel
88
[Required]
99
[MaxLength(2)]
1010
[MinLength(2)]
11-
public List<string> Values { get; set; }
11+
public ICollection<string> Values { get; set; }
1212
}

src/BlazorUI/Bit.BlazorUI.Tests/Dropdown/BitDropdownMultiSelectValidationTest.razor

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
Title="@Title"
1616
IsReselectable="IsReselectable"
1717
OnSelectItem="HandleSelectItem"
18-
IsRequired="IsRequired">
18+
IsRequired="IsRequired"
19+
TItem="BitDropdownItem<string>"
20+
TValue="string">
1921
<LabelTemplate>
2022
@LabelTemplate
2123
</LabelTemplate>
@@ -28,7 +30,7 @@
2830
[Parameter] public bool IsEnabled { get; set; }
2931
[Parameter] public bool IsRequired { get; set; }
3032
[Parameter] public bool IsOpen { get; set; }
31-
[Parameter] public List<BitDropdownItem> Items { get; set; } = new List<BitDropdownItem>();
33+
[Parameter] public List<BitDropdownItem<string>> Items { get; set; } = new();
3234
[Parameter] public BitDropdownMultiSelectTestModel TestModel { get; set; }
3335
[Parameter] public List<string> DefaultValues { get; set; } = new List<string>();
3436
[Parameter] public string DefaultValue { get; set; }
@@ -37,7 +39,7 @@
3739
[Parameter] public string Title { get; set; }
3840
[Parameter] public string MultiSelectDelimiter { get; set; } = ", ";
3941
[Parameter] public EventCallback<MouseEventArgs> OnClick { get; set; }
40-
[Parameter] public EventCallback<BitDropdownItem> OnSelectItem { get; set; }
42+
[Parameter] public EventCallback<BitDropdownItem<string>> OnSelectItem { get; set; }
4143
[Parameter] public bool IsReselectable { get; set; } = false;
4244
[Parameter] public RenderFragment LabelTemplate { get; set; }
4345

@@ -51,7 +53,7 @@
5153
Counter++;
5254
}
5355

54-
public void HandleSelectItem(BitDropdownItem item)
56+
public void HandleSelectItem(BitDropdownItem<string> item)
5557
{
5658
SelectItemCounter++;
5759
}

0 commit comments

Comments
 (0)