Skip to content

Commit 89b7a76

Browse files
bump version & add support for .NET 9
1 parent 0892c89 commit 89b7a76

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET Core 🔧
1818
uses: actions/setup-dotnet@v1
1919
with:
20-
dotnet-version: 8.x
20+
dotnet-version: 9.x
2121

2222
- name: Install .NET WASM Build Tools
2323
run: dotnet workload install wasm-tools

samples/BlazorServer/BlazorServer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="MudBlazor" Version="6.12.0" />
10+
<PackageReference Include="MudBlazor" Version="7.15.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

samples/BlazorWasm/BlazorWasm.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
12-
<PackageReference Include="MudBlazor" Version="6.12.0" />
13-
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.1.1" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
12+
<PackageReference Include="MudBlazor" Version="7.15.0" />
13+
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="3.0.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

src/Tizzani.MudBlazor.HtmlEditor/MudHtmlViewer.razor

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55
</div>
66

77
@code {
8+
9+
/// <summary>
10+
/// The HTML content to render.
11+
/// </summary>
812
[Parameter, EditorRequired]
913
public string Html { get; set; } = "";
14+
15+
/// <summary>
16+
/// If <see langword="true" />, removes the default border from the HMTL content's container.
17+
/// Default is <see langword="false" />.
18+
/// </summary>
1019
[Parameter]
1120
public bool Borderless { get; set; } = false;
1221
}

src/Tizzani.MudBlazor.HtmlEditor/Tizzani.MudBlazor.HtmlEditor.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Title>$(AssemblyName)</Title>
88
<Authors>erinnmclaughlin</Authors>
99
<RepositoryUrl>https://github.com/erinnmclaughlin/MudBlazor.HtmlEditor</RepositoryUrl>
1010
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1111
<PackageReadmeFile>README.md</PackageReadmeFile>
12-
<Version>2.2.1</Version>
12+
<Version>2.3.0</Version>
1313
<Description>A customizable HTML editor component for MudBlazor, powered by QuillJS.</Description>
1414
<Copyright>2024 Erin McLaughlin</Copyright>
1515
<PackageProjectUrl>https://github.com/erinnmclaughlin/MudBlazor.HtmlEditor</PackageProjectUrl>
@@ -45,4 +45,7 @@
4545
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.*" />
4646
</ItemGroup>
4747

48+
<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
49+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.*" />
50+
</ItemGroup>
4851
</Project>

0 commit comments

Comments
 (0)