Skip to content

Commit 397f1fe

Browse files
authored
2.0.0 release (#590)
* v2.0.0 updates
1 parent e3dc23c commit 397f1fe

23 files changed

+108
-27
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"version": "1.11.1",
2+
"version": "2.0.0",
33
"release": {
4-
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
4+
"short_description": "Core updates, Spinner Component, and other improvements!!!"
55
},
66
"urls": {
77
"docs": "//docs.blazorbootstrap.com/docs/getting-started/blazor-webassembly",

BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
@inherits LayoutComponentBase
44

5+
<div class="d-block px-3 py-2 text-center text-bold bg-danger-subtle">
6+
<a href="https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0" class="text-danger-emphasis text-decoration-none"><i class="bi bi-exclamation-triangle-fill"></i> We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. Read more...</a>
7+
</div>
8+
59
<header class="navbar navbar-expand-lg navbar-dark bd-navbar sticky-top">
610
<nav class="container-xxl bd-gutter flex-wrap flex-lg-nowrap" aria-label="Main navigation">
711
<div class="d-lg-none" style="width: 1.5rem;"></div>

BlazorBootstrap.Demo.RCL/Shared/MainLayout.razor

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
DataProvider="SidebarDataProvider" />
1212

1313
<main class="bb-scrollbar">
14+
<div class="py-3 px-4 d-flex justify-content-center bg-danger-subtle">
15+
<a href="https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0" class="text-danger-emphasis text-decoration-none"><i class="bi bi-exclamation-triangle-fill"></i> We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. Read more...</a>
16+
</div>
1417
<div class="content my-4 my-md-4 px-4">
1518
@Body
1619
</div>
@@ -19,4 +22,4 @@
1922

2023
<Modal IsServiceModal="true" />
2124
<Preload LoadingText="Loading..." />
22-
<Toasts class="p-3" AutoHide="true" Delay="4000" Placement="ToastsPlacement.TopRight" />
25+
<Toasts class="p-3" AutoHide="true" Delay="4000" Placement="ToastsPlacement.TopRight" />

BlazorBootstrap.Demo.RCL/wwwroot/blazorbootstrap.demo.rcl.css

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ h1:focus-visible {
1717
outline: inherit !important;
1818
}
1919

20+
.skippy {
21+
background-color: #4c0bce;
22+
}
23+
2024
.bd-navbar {
2125
padding: .75rem 0;
2226
background-color: transparent;

BlazorBootstrap.Demo.Server/appsettings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
}
77
},
88
"AllowedHosts": "*",
9-
"version": "1.11.1",
9+
"version": "2.0.0",
1010
"release": {
11-
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
11+
"short_description": "Core updates, Spinner Component, and other improvements!!!"
1212
},
1313
"urls": {
1414
"docs": "//docs.blazorbootstrap.com/getting-started/blazor-webassembly-net-8",

BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"version": "1.11.1",
2+
"version": "2.0.0",
33
"release": {
4-
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
4+
"short_description": "Core updates, Spinner Component, and other improvements!!!"
55
},
66
"urls": {
77
"docs": "//docs.blazorbootstrap.com/getting-started/blazor-webassembly-net-8",

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<br>
1414
</p>
1515

16+
<br>
17+
18+
**NOTE:** We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. [Read more...](https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0)
19+
1620
## Status
1721

1822
[![NuGet](https://img.shields.io/nuget/vpre/blazor.bootstrap)](https://www.nuget.org/packages/blazor.bootstrap/absoluteLatest)
@@ -35,7 +39,7 @@
3539

3640
## Install
3741

38-
Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.11.1`
42+
Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.0.0`
3943

4044
## Install Blazor Bootstrap templates
4145

blazorbootstrap/BlazorBootstrap.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<PropertyGroup>
44

55
<PackageId>Blazor.Bootstrap</PackageId>
6-
<Version>1.11.1</Version>
7-
<PackageVersion>1.11.1</PackageVersion>
6+
<Version>2.0.0</Version>
7+
<PackageVersion>2.0.0</PackageVersion>
88

99
<!--<PackageIconUrl></PackageIconUrl>-->
1010
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
@@ -14,7 +14,7 @@
1414
<Description>Blazor Bootstrap is a component library built on top of Blazor and Bootstrap5 CSS framework.</Description>
1515
<Authors>Vikram Reddy</Authors>
1616
<!--<Company>your_company</Company>-->
17-
<Copyright>Copyright © 2023 Blazor Bootstrap</Copyright>
17+
<Copyright>Copyright © 2024 Blazor Bootstrap</Copyright>
1818

1919
<TargetFramework>net6.0</TargetFramework>
2020
<Nullable>enable</Nullable>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Blazor Bootstrap v2.0.0
3+
authors:
4+
name: Vikram Reddy
5+
title: Creator
6+
url: https://github.com/gvreddy04
7+
image_url: https://avatars.githubusercontent.com/u/2337067
8+
tags: [v2.0.0, blazor, bootstrap, bootstrap5, blazorbootstrap, button, callout, clipboard, spinner]
9+
---
10+
11+
We are excited to release 2.0.0 with Core updates, Spinner Component, and other improvements!!!
12+
13+
![image](https://i.imgur.com/bJwpAFS.png "Blazor Bootstrap: Spinner Component")
14+
15+
<!--truncate-->
16+
17+
## What's New
18+
19+
- `Spinner` component
20+
21+
## What's changed
22+
23+
- We have made improvements to the base components
24+
25+
- `Button` component
26+
27+
- `Callout` component
28+
29+
- Documentation: clipboard support added
30+
31+
## Links
32+
- [Demo Website - Blazor Server](https://demos.blazorbootstrap.com/)
33+
- [Demo Website - Blazor WebAssembly](https://demos.getblazorbootstrap.com/)
34+
- [Blazor Chart Components Documentation](https://getblazorbootstrap.com/docs/components/charts)
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Upgrade to v2.0.0
3+
authors:
4+
name: Vikram Reddy
5+
title: Creator
6+
url: https://github.com/gvreddy04
7+
image_url: https://avatars.githubusercontent.com/u/2337067
8+
---
9+
10+
### Recommendation
11+
12+
We strongly recommend all `BlazorBootstrap` users migrate to version **2.0.0**.
13+
14+
If you are using version `1.x.x` for non-commercial purposes, you may continue using them, but upgrading to version `2.0.0` is strongly recommended.
15+
16+
If you are using version `1.x.x` for commercial purposes, you are no longer permitted to do so due to code usage concerns regarding Blazorise's ClassBuilder and StyleBuilder classes.
17+
18+
### Background of ClassBuilder & StyleBuilder References
19+
20+
In March 2021, we created a component library proof-of-concept (POC) using `ClassBuilder` and `StyleBuilder` from Blazorise. At that time, Blazorise was under the MIT license. We inadvertently neglected to re-verify the Blazorise project's license later.
21+
22+
On February 12th, 2024, Blazorise contacted us regarding a potential licensing concern with both `ClassBuilder` and `StyleBuilder` classes. We respect Blazorise's dedication to open-source software and responsible licensing.
23+
24+
We have now removed all references to ClassBuilder and StyleBuilder from our codebase.
25+
26+
:::danger IMPORTANT
27+
If you wish to continue using version `1.x.x` for commercial purposes, please reach out to the Blazorise team for licensing.
28+
:::

docs/docs/01-getting-started/01-a-getting-started-webassembly-NET-8.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/01-b-getting-started-webapp-server-global-NET-8.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/01-c-getting-started-webapp-auto-global-NET-8.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
2020
Use NuGet package manager.
2121

2222
```shell
23-
Install-Package Blazor.Bootstrap -Version 1.11.1
23+
Install-Package Blazor.Bootstrap -Version 2.0.0
2424
```
2525

2626
### Add CSS references

docs/docs/01-getting-started/01-d-getting-started-maui-blazor-NET-8.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/02-a-getting-started-webassembly-NET-7.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/02-b-getting-started-server-NET-7.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/02-c-getting-started-maui-blazor-NET-7.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/03-a-getting-started-webassembly-NET-6.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/01-getting-started/03-b-getting-started-server-NET-6.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
1818
Looking to quickly add **Blazor Bootstrap** to your project? Use NuGet package manager.
1919

2020
```shell
21-
Install-Package Blazor.Bootstrap -Version 1.11.1
21+
Install-Package Blazor.Bootstrap -Version 2.0.0
2222
```
2323

2424
## Add CSS references

docs/docs/05-components/callout.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Blazor Bootstrap callout component provides content presentation in a visually d
2121
|:--|:--|:--|:--|:--|:--|
2222
| ChildContent | RenderFragment | | ✔️ | Specifies the content to be rendered inside this. | 1.0.0 |
2323
| Heading | string | null | | Gets or sets the callout heading. | 1.0.0 |
24-
| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 1.12.0 |
24+
| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 2.0.0 |
2525
| Type | `CalloutType` | `CalloutType.Default` | | Use `CalloutType.Default` or `CalloutType.Info` or `CalloutType.Warning` or `CalloutType.Danger` or `CalloutType.Tip` | 1.0.0 |
2626

2727
## Examples

docs/docusaurus.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ const config = {
4848
({
4949
announcementBar: {
5050
id: 'support_us',
51-
content: '⭐️ If you like Blazor Bootstrap, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/vikramlearning/blazorbootstrap">GitHub</a>! ⭐️',
52-
//backgroundColor: '#fafbfc',
53-
//textColor: '#091E42',
51+
content: '🚨 We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. <a target="_blank" rel="noopener noreferrer" href="/blog/2024/02/25/upgrade-to-v2.0.0">Read more...</a>',
52+
backgroundColor: '#f1aeb5',
53+
textColor: '#58151c',
5454
isCloseable: true,
5555
},
5656
navbar: {

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blazorbootstrap",
3-
"version": "1.10.4",
3+
"version": "2.0.0",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

nuget/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Blazor Bootstrap Component Library
22

3-
### Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS framework.
3+
### An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
4+
5+
<br>
6+
7+
**NOTE:** We strongly recommend all BlazorBootstrap users migrate to version 2.0.0. [Read more...](https://docs.blazorbootstrap.com/blog/2024/02/25/upgrade-to-v2.0.0)
48

59
## Table of contents
610

@@ -16,7 +20,7 @@
1620
Get started any way you want
1721

1822
- Clone the repo: `git clone https://github.com/vikramlearning/blazorbootstrap.git`
19-
- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 1.11.1`
23+
- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.0.0`
2024
- Install [Blazor Bootstrap templates](https://github.com/vikramlearning/blazorbootstrap-project-templates) with **.NET CLI**: `dotnet new install Blazor.Bootstrap.Templates::1.10.0`
2125

2226
![image](https://user-images.githubusercontent.com/2337067/233800604-43986ae7-27dd-4f17-9af6-c2f1a6f07097.png)

0 commit comments

Comments
 (0)