From b7d0deba12b551a6b98a6d9b070081b1eda34f0b Mon Sep 17 00:00:00 2001 From: Vikram Reddy Date: Fri, 15 Sep 2023 23:31:41 +0530 Subject: [PATCH] 1.10.2 updates (#362) * BlazorBootstrap 1.10.2 updates --- .../Client/wwwroot/appsettings.json | 4 +- BlazorBootstrap.Demo.Server/appsettings.json | 4 +- BlazorBootstrap.Demo/wwwroot/appsettings.json | 4 +- README.md | 2 +- blazorbootstrap/BlazorBootstrap.csproj | 4 +- .../blog/2023-09-17-blazorbootstrap-1.10.2.md | 12 ++- .../getting-started-maui-blazor.md | 95 +++++++++++++++++++ .../getting-started-server.md | 2 +- .../getting-started-webassembly.md | 2 +- nuget/README.md | 2 +- 10 files changed, 114 insertions(+), 17 deletions(-) create mode 100644 docs/docs/01-getting-started/getting-started-maui-blazor.md diff --git a/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json b/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json index 5a81a1cab..2a93a523e 100644 --- a/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json +++ b/BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json @@ -1,7 +1,7 @@ { - "version": "1.10.1", + "version": "1.10.2", "release": { - "short_description": "Base component improvements and chart updates!!!" + "short_description": "Enhancements to autocomplete, charts, confirmation dialog, sidebar, and others!!!" }, "urls": { "docs": "//getblazorbootstrap.com/docs/getting-started/blazor-webassembly", diff --git a/BlazorBootstrap.Demo.Server/appsettings.json b/BlazorBootstrap.Demo.Server/appsettings.json index 0008c329b..34d546ae4 100644 --- a/BlazorBootstrap.Demo.Server/appsettings.json +++ b/BlazorBootstrap.Demo.Server/appsettings.json @@ -6,9 +6,9 @@ } }, "AllowedHosts": "*", - "version": "1.10.1", + "version": "1.10.2", "release": { - "short_description": "Base component improvements and chart updates!!!" + "short_description": "Enhancements to autocomplete, charts, confirmation dialog, sidebar, and others!!!" }, "urls": { "docs": "//getblazorbootstrap.com/docs/getting-started/blazor-webassembly", diff --git a/BlazorBootstrap.Demo/wwwroot/appsettings.json b/BlazorBootstrap.Demo/wwwroot/appsettings.json index 5a81a1cab..2a93a523e 100644 --- a/BlazorBootstrap.Demo/wwwroot/appsettings.json +++ b/BlazorBootstrap.Demo/wwwroot/appsettings.json @@ -1,7 +1,7 @@ { - "version": "1.10.1", + "version": "1.10.2", "release": { - "short_description": "Base component improvements and chart updates!!!" + "short_description": "Enhancements to autocomplete, charts, confirmation dialog, sidebar, and others!!!" }, "urls": { "docs": "//getblazorbootstrap.com/docs/getting-started/blazor-webassembly", diff --git a/README.md b/README.md index 8592376e3..5317f6e01 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Get started any way you want - Clone the repo: `git clone https://github.com/vikramlearning/blazorbootstrap.git` -- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.10.1` +- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.10.2` - Install [Blazor Bootstrap templates](https://github.com/vikramlearning/blazorbootstrap-project-templates) with **.NET CLI**: `dotnet new install Blazor.Bootstrap.Templates::1.10.0` ![image](https://user-images.githubusercontent.com/2337067/233800604-43986ae7-27dd-4f17-9af6-c2f1a6f07097.png) diff --git a/blazorbootstrap/BlazorBootstrap.csproj b/blazorbootstrap/BlazorBootstrap.csproj index 6da9b269a..adc405f01 100644 --- a/blazorbootstrap/BlazorBootstrap.csproj +++ b/blazorbootstrap/BlazorBootstrap.csproj @@ -3,8 +3,8 @@ Blazor.Bootstrap - 1.10.1 - 1.10.1 + 1.10.2 + 1.10.2 Apache-2.0 diff --git a/docs/blog/2023-09-17-blazorbootstrap-1.10.2.md b/docs/blog/2023-09-17-blazorbootstrap-1.10.2.md index 8312529e1..9aa8fb6cf 100644 --- a/docs/blog/2023-09-17-blazorbootstrap-1.10.2.md +++ b/docs/blog/2023-09-17-blazorbootstrap-1.10.2.md @@ -5,17 +5,20 @@ authors: title: Creator url: https://github.com/gvreddy04 image_url: https://avatars.githubusercontent.com/u/2337067 -tags: [v1.10.2, blazor, bootstrap, bootstrap5, blazorbootstrap] +tags: [v1.10.2, blazor, bootstrap, bootstrap5, blazorbootstrap, autocomplete, blazorautocomplete, confirmdialog, blazorconfirmdialog, modal, blazormodal, modalservice, tooltip, blazortooltip, sidebar, blazorsidebar, chart, blazorchart, docs] --- -We are excited to release 1.10.2 with base component improvements and chart updates!!! +We are excited to release 1.10.2 with enhancements to autocomplete, charts, confirmation dialog, sidebar, and others!!! -![image](https://i.imgur.com/jMIvDFZ.png "Blazor Bootstrap: BarChart Component") +![image](https://i.imgur.com/xEPhAsW.png "Blazor Bootstrap: Doughnut Chart Component") ## What's changed +- `AutoComplete` component + - Autocomplete shows "No Records Found" Before Search is finished [#352](https://github.com/vikramlearning/blazorbootstrap/issues/352) + - `Confirm Dialog` component - Confirm Dialog - No fade animation [#334](https://github.com/vikramlearning/blazorbootstrap/issues/334) @@ -31,8 +34,7 @@ We are excited to release 1.10.2 with base component improvements and chart upda - We have made improvements to all the charts to support data labels [#317](https://github.com/vikramlearning/blazorbootstrap/issues/317) - `Bar Chart`, `Doughnut Chart`, `Line Chart`, and `Pie Chart` -- `AutoComplete` component - - Autocomplete shows "No Records Found" Before Search is finished [#352](https://github.com/vikramlearning/blazorbootstrap/issues/352) +- MAUI Blazor App - Getting started docs added ## Links - [Demo Website - Blazor Server](https://demos.blazorbootstrap.com/) diff --git a/docs/docs/01-getting-started/getting-started-maui-blazor.md b/docs/docs/01-getting-started/getting-started-maui-blazor.md new file mode 100644 index 000000000..bcbf42c0e --- /dev/null +++ b/docs/docs/01-getting-started/getting-started-maui-blazor.md @@ -0,0 +1,95 @@ +--- +id: maui-blazor +sidebar_label: MAUI Blazor +sidebar_position: 3 +title: MAUI Blazor +--- + +# Getting started - MAUI Blazor App + +Get started with the Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS framework. + +## Install Nuget Package + +Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager. + +```shell +Install-Package Blazor.Bootstrap -Version 1.10.2 +``` + +## Add CSS references + +Add the following references to the `head` section in the **wwwroot/index.html**. + +```html showLineNumbers + + + +``` + +## Add script references + +Add the following references to the `body` section in the **wwwroot/index.html** after the **_framework/blazor.webview.js** reference. + +``` js showLineNumbers + + + +``` + +:::tip +**chart.js** reference is optional. Add when the **Chart** components are used in the application. +::: + +## Register services + +Add Blazor Bootstrap service in the **MauiProgram.cs** + +```cs showLineNumbers +using BlazorBootstrap; // Add this line + +... + +builder.Services.AddBlazorBootstrap(); // Add this line +``` + +Register tag helpers in **_Imports.razor** + +```razor showLineNumbers +@using BlazorBootstrap; +``` + +## Remove default references + +In the **wwwroot/index.html** file, the default blazor template includes demonstration code, icons, and Bootstrap. +These files are no longer needed. + +``` html showLineNumbers + + +``` + +Delete the default **bootstrap** and **open-iconic** folders from the **wwwroot** folder. + +1. wwwroot/css/bootstrap +1. wwwroot/css/open-iconic + +Either remove or keep the **app.css** file but make sure you clear it out of any content when the [Sidebar](/docs/components/sidebar#full-layout-with-sidebar) component with full layout is used. + +## Starter templates + +### .NET 6 + +1. [Blazor Bootstrap - Blazor WebAssembly App](https://github.com/vikramlearning/blazorbootstrap-starter-templates/tree/master/src/BlazorBootstrap.Templates.Starter/NET6.BlazorWebAssemblyApp) + + Blazor Bootstrap - Blazor WebAssembly App + +### .NET 7 + +1. [Blazor Bootstrap - Blazor WebAssembly App](https://github.com/vikramlearning/blazorbootstrap-starter-templates/tree/master/src/BlazorBootstrap.Templates.Starter/NET7.BlazorWebAssemblyApp) + + Blazor Bootstrap - Blazor WebAssembly App + +1. [Blazor Bootstrap - Blazor Empty WebAssembly App](https://github.com/vikramlearning/blazorbootstrap-starter-templates/tree/master/src/BlazorBootstrap.Templates.Starter/NET7.BlazorWebAssemblyAppEmpty) + + Blazor Bootstrap - Blazor Empty WebAssembly App diff --git a/docs/docs/01-getting-started/getting-started-server.md b/docs/docs/01-getting-started/getting-started-server.md index 9cd508008..98e1a29b7 100644 --- a/docs/docs/01-getting-started/getting-started-server.md +++ b/docs/docs/01-getting-started/getting-started-server.md @@ -14,7 +14,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager. ```shell -Install-Package Blazor.Bootstrap -Version 1.10.1 +Install-Package Blazor.Bootstrap -Version 1.10.2 ``` ## Add CSS references diff --git a/docs/docs/01-getting-started/getting-started-webassembly.md b/docs/docs/01-getting-started/getting-started-webassembly.md index 3bdedbdbf..a1d04380f 100644 --- a/docs/docs/01-getting-started/getting-started-webassembly.md +++ b/docs/docs/01-getting-started/getting-started-webassembly.md @@ -14,7 +14,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager. ```shell -Install-Package Blazor.Bootstrap -Version 1.10.1 +Install-Package Blazor.Bootstrap -Version 1.10.2 ``` ## Add CSS references diff --git a/nuget/README.md b/nuget/README.md index dbd83b60b..cf2fca3e5 100644 --- a/nuget/README.md +++ b/nuget/README.md @@ -16,7 +16,7 @@ Get started any way you want - Clone the repo: `git clone https://github.com/vikramlearning/blazorbootstrap.git` -- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.10.1` +- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.10.2` - Install [Blazor Bootstrap templates](https://github.com/vikramlearning/blazorbootstrap-project-templates) with **.NET CLI**: `dotnet new install Blazor.Bootstrap.Templates::1.10.0` ![image](https://user-images.githubusercontent.com/2337067/233800604-43986ae7-27dd-4f17-9af6-c2f1a6f07097.png)