Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BlazorBootstrap.Demo.Hosted/Client/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.11.1",
"version": "2.0.0",
"release": {
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
"short_description": "Core updates, Spinner Component, and other improvements!!!"
},
"urls": {
"docs": "//docs.blazorbootstrap.com/docs/getting-started/blazor-webassembly",
Expand Down
4 changes: 4 additions & 0 deletions BlazorBootstrap.Demo.RCL/Shared/EmptyLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

@inherits LayoutComponentBase

<div class="d-block px-3 py-2 text-center text-bold bg-danger-subtle">
<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>
</div>

<header class="navbar navbar-expand-lg navbar-dark bd-navbar sticky-top">
<nav class="container-xxl bd-gutter flex-wrap flex-lg-nowrap" aria-label="Main navigation">
<div class="d-lg-none" style="width: 1.5rem;"></div>
Expand Down
5 changes: 4 additions & 1 deletion BlazorBootstrap.Demo.RCL/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
DataProvider="SidebarDataProvider" />

<main class="bb-scrollbar">
<div class="py-3 px-4 d-flex justify-content-center bg-danger-subtle">
<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>
</div>
<div class="content my-4 my-md-4 px-4">
@Body
</div>
Expand All @@ -19,4 +22,4 @@

<Modal IsServiceModal="true" />
<Preload LoadingText="Loading..." />
<Toasts class="p-3" AutoHide="true" Delay="4000" Placement="ToastsPlacement.TopRight" />
<Toasts class="p-3" AutoHide="true" Delay="4000" Placement="ToastsPlacement.TopRight" />
4 changes: 4 additions & 0 deletions BlazorBootstrap.Demo.RCL/wwwroot/blazorbootstrap.demo.rcl.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ h1:focus-visible {
outline: inherit !important;
}

.skippy {
background-color: #4c0bce;
}

.bd-navbar {
padding: .75rem 0;
background-color: transparent;
Expand Down
4 changes: 2 additions & 2 deletions BlazorBootstrap.Demo.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
}
},
"AllowedHosts": "*",
"version": "1.11.1",
"version": "2.0.0",
"release": {
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
"short_description": "Core updates, Spinner Component, and other improvements!!!"
},
"urls": {
"docs": "//docs.blazorbootstrap.com/getting-started/blazor-webassembly-net-8",
Expand Down
4 changes: 2 additions & 2 deletions BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.11.1",
"version": "2.0.0",
"release": {
"short_description": "New PDF Viewer, Range Input and Script Loader components!!!"
"short_description": "Core updates, Spinner Component, and other improvements!!!"
},
"urls": {
"docs": "//docs.blazorbootstrap.com/getting-started/blazor-webassembly-net-8",
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<br>
</p>

<br>

**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)

## Status

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

## Install

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

## Install Blazor Bootstrap templates

Expand Down
6 changes: 3 additions & 3 deletions blazorbootstrap/BlazorBootstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>

<PackageId>Blazor.Bootstrap</PackageId>
<Version>1.11.1</Version>
<PackageVersion>1.11.1</PackageVersion>
<Version>2.0.0</Version>
<PackageVersion>2.0.0</PackageVersion>

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

<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
Expand Down
34 changes: 34 additions & 0 deletions docs/blog/2024-02-25-blazorbootstrap-2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Blazor Bootstrap v2.0.0
authors:
name: Vikram Reddy
title: Creator
url: https://github.com/gvreddy04
image_url: https://avatars.githubusercontent.com/u/2337067
tags: [v2.0.0, blazor, bootstrap, bootstrap5, blazorbootstrap, button, callout, clipboard, spinner]
---

We are excited to release 2.0.0 with Core updates, Spinner Component, and other improvements!!!

![image](https://i.imgur.com/bJwpAFS.png "Blazor Bootstrap: Spinner Component")

<!--truncate-->

## What's New

- `Spinner` component

## What's changed

- We have made improvements to the base components

- `Button` component

- `Callout` component

- Documentation: clipboard support added

## Links
- [Demo Website - Blazor Server](https://demos.blazorbootstrap.com/)
- [Demo Website - Blazor WebAssembly](https://demos.getblazorbootstrap.com/)
- [Blazor Chart Components Documentation](https://getblazorbootstrap.com/docs/components/charts)
28 changes: 28 additions & 0 deletions docs/blog/2024-02-25-upgrade-to-v2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Upgrade to v2.0.0
authors:
name: Vikram Reddy
title: Creator
url: https://github.com/gvreddy04
image_url: https://avatars.githubusercontent.com/u/2337067
---

### Recommendation

We strongly recommend all `BlazorBootstrap` users migrate to version **2.0.0**.

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.

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.

### Background of ClassBuilder & StyleBuilder References

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.

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.

We have now removed all references to ClassBuilder and StyleBuilder from our codebase.

:::danger IMPORTANT
If you wish to continue using version `1.x.x` for commercial purposes, please reach out to the Blazorise team for licensing.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Get started with the Enterprise-class Blazor Bootstrap Component library built o
Use NuGet package manager.

```shell
Install-Package Blazor.Bootstrap -Version 1.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

### Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11.1
Install-Package Blazor.Bootstrap -Version 2.0.0
```

## Add CSS references
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/05-components/callout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Blazor Bootstrap callout component provides content presentation in a visually d
|:--|:--|:--|:--|:--|:--|
| ChildContent | RenderFragment | | ✔️ | Specifies the content to be rendered inside this. | 1.0.0 |
| Heading | string | null | | Gets or sets the callout heading. | 1.0.0 |
| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 1.12.0 |
| HideHeading | bool | false | | Gets or sets a value indicating whether to hide the callout heading. | 2.0.0 |
| Type | `CalloutType` | `CalloutType.Default` | | Use `CalloutType.Default` or `CalloutType.Info` or `CalloutType.Warning` or `CalloutType.Danger` or `CalloutType.Tip` | 1.0.0 |

## Examples
Expand Down
6 changes: 3 additions & 3 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ const config = {
({
announcementBar: {
id: 'support_us',
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>! ⭐️',
//backgroundColor: '#fafbfc',
//textColor: '#091E42',
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>',
backgroundColor: '#f1aeb5',
textColor: '#58151c',
isCloseable: true,
},
navbar: {
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blazorbootstrap",
"version": "1.10.4",
"version": "2.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
8 changes: 6 additions & 2 deletions nuget/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Blazor Bootstrap Component Library

### Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS framework.
### An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.

<br>

**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)

## Table of contents

Expand All @@ -16,7 +20,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.11.1`
- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.0.0`
- 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)
Expand Down