Skip to content

Commit 983abb9

Browse files
authored
Merge branch 'main' into pr-chartjs-plugins
2 parents f121f49 + 2abb78f commit 983abb9

File tree

274 files changed

+10767
-3587
lines changed

Some content is hidden

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

274 files changed

+10767
-3587
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ labels: ''
66
assignees: ''
77
---
88

9+
> NOTE: We do not look at .zip attachments for issue investigation.
10+
911
**Describe the bug**
1012
A clear and concise description of what the bug is.
1113

@@ -23,7 +25,7 @@ A clear and concise description of what you expected to happen.
2325
If applicable, add screenshots to help explain your problem.
2426

2527
**Versions (please complete the following information):**
26-
- .NET Version: [e.g. .NET 6, .NET 7, .NET 8]
28+
- .NET Version: [e.g. .NET 6, .NET 7, .NET 8, .NET 9]
2729
- BlazorBootstrap: [e.g. 2.0.0, 2.1.0, 2.2.0]
2830
- Blazor WebAssembly / Server: [e.g. WebAssembly, Server]
2931
- Blazor Interactive Render Mode: [e.g. Auto, Server, WebAssembly, None]

.github/workflows/static-web-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
- name: Setup .NET Core SDK
3030
uses: actions/setup-dotnet@v1
3131
with:
32-
dotnet-version: '8.0.x'
32+
dotnet-version: '9.0.x'
3333

3434
- name: Build And Deploy
3535
id: builddeploy
3636
uses: Azure/static-web-apps-deploy@v1
3737
with:
38-
dotnet-version: '8.0.x'
38+
dotnet-version: '9.0.x'
3939
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_WAVE_0E4848710 }}
4040
skip_deploy_on_missing_secrets: true
4141
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)

.github/workflows/web-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121

22-
- name: Set up .NET 8.0.x
22+
- name: Set up .NET 9.0.x
2323
uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: '8.0.x'
25+
dotnet-version: '9.0.x'
2626
include-prerelease: false
2727

2828
- name: Build
@@ -32,7 +32,7 @@ jobs:
3232
run: dotnet publish ./BlazorBootstrap.Demo.Server/BlazorBootstrap.Demo.Server.csproj -c Release -o ${{env.DOTNET_ROOT}}/myapp
3333

3434
- name: Upload artifact for deployment job
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: .net-app
3838
path: ${{env.DOTNET_ROOT}}/myapp
@@ -47,7 +47,7 @@ jobs:
4747

4848
steps:
4949
- name: Download artifact from build job
50-
uses: actions/download-artifact@v2
50+
uses: actions/download-artifact@v4
5151
with:
5252
name: .net-app
5353

BlazorBootstrap.Demo.Hosted/Client/BlazorBootstrap.Demo.Hosted.Client.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
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.4" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.4" PrivateAssets="all" />
12-
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
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="System.Net.Http.Json" Version="9.0.0" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"version": "3.0.0",
2+
"version": "3.3.1",
33
"release": {
4-
"short_description": "New Carousel, Google Map, Image, Polar Area Chart, Radar Chart, Scatter Chart components, and other improvements!!!"
4+
"short_description": "New CheckboxInput, PasswordInput, RadioInput, TextInput, TextAreaInput components, along with other enhancements!!!"
55
},
66
"urls": {
77
"docs": "//docs.blazorbootstrap.com/docs/getting-started/blazor-webassembly",
@@ -13,5 +13,6 @@
1313
"github_issues": "//github.com/vikramlearning/blazorbootstrap/issues",
1414
"github_discussions": "//github.com/vikramlearning/blazorbootstrap/discussions",
1515
"stackoverflow": "//stackoverflow.com/questions/tagged/blazor-bootstrap"
16-
}
16+
},
17+
"dotNetVersion": "9.0.0"
1718
}

BlazorBootstrap.Demo.Hosted/Server/BlazorBootstrap.Demo.Hosted.Server.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<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="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.4" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

BlazorBootstrap.Demo.Hosted/Server/Pages/_Host.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<!-- CSS only -->
1616
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
1717
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" integrity="sha512-tN7Ec6zAFaVSG3TpNAKtk4DOHNpSwKHxxrsiw4GHKESGPs5njn/0sMCUMl2svV4wo4BK/rCP7juYz+zx+l6oeQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
18-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-vs.min.css" integrity="sha512-Jn4HzkCnzA7Bc+lbSQHAMeen0EhSTy71o9yJbXZtQx9VvozKVBV/2zfR3VyuDFIxGvHgbOMMNvb80l+jxFBC1Q==" crossorigin="anonymous" referrerpolicy="no-referrer" />
1918
<link href="_content/Blazor.Bootstrap/blazor.bootstrap.css" rel="stylesheet" asp-append-version="true" />
2019
<link href="_content/BlazorBootstrap.Demo.RCL/css/blazorbootstrap.demo.rcl.css" rel="stylesheet" asp-append-version="true" />
2120
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" rel="stylesheet" />
@@ -50,15 +49,16 @@
5049
<script src="_framework/blazor.webassembly.js" autostart="false" asp-append-version="true"></script>
5150
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
5251
<!-- Add chart.js reference if chart components are used in your application. -->
53-
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.0.1/chart.umd.js" integrity="sha512-gQhCDsnnnUfaRzD8k1L5llCCV6O9HN09zClIzzeJ8OJ9MpGmIlCxm+pdCkqTwqJ4JcjbojFr79rl2F1mzcoLMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
52+
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.js" integrity="sha512-ZwR1/gSZM3ai6vCdI+LVF1zSq/5HznD3ZSTk7kajkaj4D292NLuduDCO1c/NT8Id+jE58KYLKT7hXnbtryGmMg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
5453
<!-- Add chartjs-plugin-datalabels.min.js reference if chart components with data label feature is used in your application. -->
5554
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartjs-plugin-datalabels/2.2.0/chartjs-plugin-datalabels.min.js" integrity="sha512-JPcRR8yFa8mmCsfrw4TNte1ZvF1e3+1SdGMslZvmrzDYxS69J7J49vkFL8u6u8PlPJK+H3voElBtUCzaXj+6ig==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
5655
<!-- Add sortable.js reference if SortableList component is used in your application. -->
5756
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
5857
<script src="_content/Blazor.Bootstrap/blazor.bootstrap.js" asp-append-version="true"></script>
59-
<script src="_content/BlazorBootstrap.Demo.RCL/js/blazorbootstrap.demo.rcl.js" asp-append-version="true"></script>
6058
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js" integrity="sha512-7Z9J3l1+EYfeaPKcGXu3MS/7T+w19WtKQY/n+xzmw4hZhJ9tyYmcUS+4QqAlzhicE5LAfMQSF3iFTK9bQdTxXg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
6159
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js" integrity="sha512-SkmBfuA2hqjzEVpmnMt/LINrjop3GKWqsuLSSB3e7iBmYK7JuWw4ldmmxwD9mdm2IRTTi0OxSAfEGvgEi0i2Kw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
60+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/custom-class/prism-custom-class.min.js" integrity="sha512-7uKPAecn+SrAT5xVovlVdFCkXTM9LzNzjaK3yzb3ht22SwjnUTjWHNAp7dq3OPFmPb+DCAFjWnDT8Qrf256GeQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
61+
<script src="_content/BlazorBootstrap.Demo.RCL/js/blazorbootstrap.demo.rcl.js" asp-append-version="true"></script>
6262
<script>
6363
Blazor.start();
6464
</script>

BlazorBootstrap.Demo.RCL/BlazorBootstrap.Demo.RCL.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
@@ -11,8 +11,8 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.4" />
15-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" />
15+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
1616
</ItemGroup>
1717

1818
<ItemGroup>
Lines changed: 19 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
@namespace BlazorBootstrap.Demo.RCL
2-
3-
@inherits LayoutComponentBase
2+
@inherits MainLayoutBase
43

54
<Skippy Url="https://github.com/vikramlearning/blazorbootstrap">
65
<i class="bi bi-star-fill"></i>
@@ -64,6 +63,13 @@
6463
<small class="d-lg-none ms-2">Open Collective</small>
6564
</a>
6665
</li>
66+
<li class="nav-item py-2 py-lg-1 col-12 col-lg-auto">
67+
<div class="vr d-none d-lg-flex h-100 mx-lg-2 text-white"></div>
68+
<hr class="d-lg-none my-2 text-white-50">
69+
</li>
70+
<li class="nav-item">
71+
<ThemeSwitcher Position="DropdownMenuPosition.End" />
72+
</li>
6773
</ul>
6874
</div>
6975
</div>
@@ -74,79 +80,14 @@
7480
@Body
7581
</main>
7682

77-
<footer class="bd-footer py-4 py-md-5 mt-5 bg-light">
78-
<div class="container py-4 py-md-5 px-4 px-md-3">
79-
<div class="row">
80-
<div class="col-lg-4 mb-3">
81-
<a class="d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href="/" aria-label="Bootstrap">
82-
<img src="/images/logo/logo-color.svg" width="40" height="32" class="d-block me-2" alt="Blazor Bootstrap" />
83-
<span class="fs-5">Blazor Bootstrap</span>
84-
</a>
85-
<ul class="list-unstyled small text-muted">
86-
<li class="mb-2">Designed and built with all the love in the world by the <strong><a href="https://www.nuget.org/packages/Blazor.Bootstrap">Blazor Bootstrap</a></strong> team with the help of our contributors.</li>
87-
<li class="mb-2">Code licensed <a href="https://github.com/vikramlearning/blazorbootstrap/blob/main/LICENSE.txt" target="_blank" rel="license noopener">Apache License 2.0</a>.</li>
88-
<li class="mb-2">Currently @version.</li>
89-
</ul>
90-
</div>
91-
<div class="col-6 col-lg-2 offset-lg-1 mb-3">
92-
<h5>Links</h5>
93-
<ul class="list-unstyled">
94-
<li class="mb-2"><a href="/">Home</a></li>
95-
<li class="mb-2"><a href="@docsUrl" target="_blank" rel="noopener">Docs</a></li>
96-
<li class="mb-2"><a href="@blogUrl" target="_blank" rel="noopener">Blog</a></li>
97-
<li class="mb-2"><a href="@githubUrl" target="_blank" rel="noopener">Github</a></li>
98-
</ul>
99-
</div>
100-
<div class="col-6 col-lg-2 mb-3">
101-
<h5>Guides</h5>
102-
<ul class="list-unstyled">
103-
<li class="mb-2"><a href="/getting-started/blazor-webassembly">Getting started</a></li>
104-
<li class="mb-2"><a href="/getting-started#install-nuget-package">Install Nuget</a></li>
105-
<li class="mb-2"><a href="https://github.com/vikramlearning/blazorbootstrap-starter-templates" target="_blank">Starter templates</a></li>
106-
</ul>
107-
</div>
108-
<div class="col-6 col-lg-2 mb-3">
109-
<h5>Community</h5>
110-
<ul class="list-unstyled">
111-
<li class="mb-2"><a href="@githubIssuesUrl" target="_blank" rel="noopener">Issues</a></li>
112-
<li class="mb-2"><a href="@githubDiscussionsUrl" target="_blank" rel="noopener">Discussions</a></li>
113-
<li class="mb-2"><a href="@openCollectiveUrl" target="_blank" rel="noopener">Open Collective</a></li>
114-
<li class="mb-2"><a href="@stackoverflowUrl" target="_blank" rel="noopener">Stack Overflow</a></li>
115-
</ul>
116-
</div>
117-
<div class="col-6 col-lg-2 mb-3">
118-
</div>
119-
</div>
120-
</div>
121-
</footer>
122-
123-
@code {
124-
private string version = default!;
125-
private string docsUrl = default!;
126-
private string blogUrl = default!;
127-
private string githubUrl = default!;
128-
private string twitterUrl = default!;
129-
private string linkedInUrl = default!;
130-
private string openCollectiveUrl = default!;
131-
private string githubIssuesUrl = default!;
132-
private string githubDiscussionsUrl = default!;
133-
private string stackoverflowUrl = default!;
134-
135-
[Inject] public IConfiguration Configuration { get; set; } = default!;
136-
137-
protected override void OnInitialized()
138-
{
139-
version = $"v{Configuration["version"]}"; // example: v0.6.1
140-
docsUrl = $"{Configuration["urls:docs"]}";
141-
blogUrl = $"{Configuration["urls:blog"]}";
142-
githubUrl = $"{Configuration["urls:github"]}";
143-
twitterUrl = $"{Configuration["urls:twitter"]}";
144-
linkedInUrl = $"{Configuration["urls:linkedin"]}";
145-
openCollectiveUrl = $"{Configuration["urls:opencollective"]}";
146-
githubIssuesUrl = $"{Configuration["urls:github_issues"]}";
147-
githubDiscussionsUrl = $"{Configuration["urls:github_discussions"]}";
148-
stackoverflowUrl = $"{Configuration["urls:stackoverflow"]}";
149-
150-
base.OnInitialized();
151-
}
152-
}
83+
<MainLayoutBaseFooter Version="@Version"
84+
DotNetVersion="@DotNetVersion"
85+
DocsUrl="@DocsUrl"
86+
BlogUrl="@BlogUrl"
87+
GithubUrl="@GithubUrl"
88+
TwitterUrl="@TwitterUrl"
89+
LinkedInUrl="@LinkedInUrl"
90+
OpenCollectiveUrl="@OpenCollectiveUrl"
91+
GithubIssuesUrl="@GithubIssuesUrl"
92+
GithubDiscussionsUrl="@GithubDiscussionsUrl"
93+
StackoverflowUrl="@StackoverflowUrl" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace BlazorBootstrap.Demo.RCL;
2+
3+
public partial class EmptyLayout : MainLayoutBase
4+
{
5+
}

0 commit comments

Comments
 (0)