Skip to content

Commit 3851f6c

Browse files
authored
3.0.0-preview.1 release updates (#744)
1 parent 242417e commit 3851f6c

22 files changed

+98
-25
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": "2.2.1",
2+
"version": "3.0.0-preview.1",
33
"release": {
4-
"short_description": "Confirm Dialog, Grid Updates, and Demo Projects Upgraded to .NET 8!!!"
4+
"short_description": "Grid, Modal, Sidebar, Sidebar2 updates, and other improvements!!!"
55
},
66
"urls": {
77
"docs": "//docs.blazorbootstrap.com/docs/getting-started/blazor-webassembly",

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": "2.2.1",
9+
"version": "3.0.0-preview.1",
1010
"release": {
11-
"short_description": "Confirm Dialog, Grid Updates, and Demo Projects Upgraded to .NET 8!!!"
11+
"short_description": "Grid, Modal, Sidebar, Sidebar2 updates, 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": "2.2.1",
2+
"version": "3.0.0-preview.1",
33
"release": {
4-
"short_description": "Confirm Dialog, Grid Updates, and Demo Projects Upgraded to .NET 8!!!"
4+
"short_description": "Grid, Modal, Sidebar, Sidebar2 updates, and other improvements!!!"
55
},
66
"urls": {
77
"docs": "//docs.blazorbootstrap.com/getting-started/blazor-webassembly-net-8",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
## Install
4343

44-
Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.2.1`
44+
Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1`
4545

4646
## Install Blazor Bootstrap templates
4747

blazorbootstrap/BlazorBootstrap.csproj

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

55
<PackageId>Blazor.Bootstrap</PackageId>
6-
<Version>2.2.1</Version>
7-
<PackageVersion>2.2.1</PackageVersion>
6+
<Version>3.0.0-preview.1</Version>
7+
<PackageVersion>3.0.0-preview.1</PackageVersion>
88

99
<!--<PackageIconUrl></PackageIconUrl>-->
1010
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>

blazorbootstrap/Components/Sidebar/Sidebar.razor.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ private string GetNavMenuCssClass()
152152
/// Gets or sets the Href.
153153
/// </summary>
154154
/// <remarks>
155-
/// Default value is null.
155+
/// Default value is <see cref="string.Empty" />.
156156
/// </remarks>
157157
[Parameter]
158-
public string? Href { get; set; }
158+
public string? Href { get; set; } = string.Empty;
159159

160160
/// <summary>
161161
/// Gets or sets the IconName.

blazorbootstrap/Components/Sidebar2/Sidebar2.razor.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ private string GetNavMenuCssClass()
153153
/// Gets or sets the Href.
154154
/// </summary>
155155
/// <remarks>
156-
/// Default value is null.
156+
/// Default value is <see cref="string.Empty" />.
157157
/// </remarks>
158158
[Parameter]
159-
public string? Href { get; set; }
159+
public string? Href { get; set; } = string.Empty;
160160

161161
/// <summary>
162162
/// Gets or sets the IconName.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Blazor Bootstrap v3.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: [v3.0.0, blazor, bootstrap, blazorbootstrap, accordion, button, callout, dropdown, grid, modal, ribbon, tab, sidebar, sidebar2]
9+
---
10+
11+
We are excited to release version 3.0.0, which includes a Grid, Modal, Sidebar, Sidebar2 updates, and other improvements!!!
12+
13+
![image](https://i.imgur.com/XG4Wv17.png "Blazor Bootstrap: Grid Component - Column class")
14+
15+
<!--truncate-->
16+
17+
## What's changed
18+
19+
- `Grid` component
20+
- New parameter **FilterButtonColor** added to change the filter button color.
21+
- New parameter **FilterButtonCSSClass** added to apply custom CSS classes.
22+
- Grid filters - Supports `DoesNotContain` filter.
23+
- Grid filters - **Enum** support added.
24+
- Grid filters - **Guid** support added.
25+
26+
- `Modal` component
27+
- Bootstrtap 5.3.3 fixes: Modal close button alignment issue fixed.
28+
29+
- `Sidebar` component
30+
- **Href** parameter added.
31+
32+
- `Sidebar2` component
33+
- **Href** parameter added.
34+
35+
- BlazorBootstrtap component library targets .NET 6 and .NET 8 frameworks.
36+
37+
- Demos & Docs updated.
38+
39+
## Breaking changes
40+
41+
- `AccordionItem`
42+
- **IsActive** parameter renamed to **Active**.
43+
44+
- `Button`
45+
- **Size**'s parameter data type changed from **Size** to **ButtonSize**.
46+
47+
- `Callout`
48+
- **Type** parameter changed to **Color**.
49+
50+
- `Dropdown`
51+
- Set the dropdown color on `Dropdown` component only instead of setting on the `DropdownActionButton` and `DropdownToggleButton`.
52+
- **Size**'s parameter data type changed from **Size** to **DropdownSize**.
53+
54+
- `DropdownActionButton`
55+
- **Color** parameter removed.
56+
57+
- `DropdownToggleButton`
58+
- **Color** parameter removed.
59+
60+
- `DropdownItem`
61+
- **Type**'s parameter data type changed from **ButtonType** to **DropdownItemType**.
62+
63+
- `RibbonTab`
64+
- **IsActive** parameter renamed to **Active**.
65+
66+
- `Tab`
67+
- **IsActive** parameter renamed to **Active**.
68+
69+
## Links
70+
- [Demo Website - Blazor Server](https://demos.blazorbootstrap.com/)
71+
- [Demo Website - Blazor WebAssembly](https://demos.getblazorbootstrap.com/)

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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
23+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
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 2.2.1
21+
Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1
2222
```
2323

2424
## Add CSS references

docs/docs/02-layout/getting-started-server.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Remove all the CSS content from the **Shared/MainLayout.razor.css** file.
3434
<div class="bb-page">
3535
3636
<Sidebar @ref="sidebar"
37+
Href="/"
3738
IconName="IconName.BootstrapFill"
3839
Title="Blazor Bootstrap"
3940
DataProvider="SidebarDataProvider" />

docs/docs/02-layout/getting-started-webassembly.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Remove all the CSS content from the **Shared/MainLayout.razor.css** file.
3434
<div class="bb-page">
3535
3636
<Sidebar @ref="sidebar"
37+
Href="/"
3738
IconName="IconName.BootstrapFill"
3839
Title="Blazor Bootstrap"
3940
DataProvider="SidebarDataProvider" />

docs/docs/05-components/sidebar.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Use the Blazor Bootstrap Sidebar component to show consistent cross-browser, res
2424
| BadgeText | `string?` | null | | Gets or sets the badge text. | 1.4.0 |
2525
| CustomIconName | `string?` | null | | Gets or sets the custom icon name. | 1.4.0 |
2626
| DataProvider | `SidebarDataProviderDelegate` | null | ✔️ | Gets or sets the data provider. | 1.4.0 |
27-
| Href | `string?` | null | | Gets or sets the Href. | 3.0.0 |
27+
| Href | `string?` | `string.Empty` | | Gets or sets the Href. | 3.0.0 |
2828
| IconName | `IconName` | `IconName.None` | | Gets or sets the IconName. | 1.4.0 |
2929
| ImageSrc | `string?` | null | | Gets or sets the sidebar logo. | 1.4.0 |
3030
| Title | `string?` | null | ✔️ | Gets or sets the sidebar title. | 1.4.0 |

docs/docs/05-components/sidebar2.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Use the Blazor Bootstrap Sidebar2 component to display consistent, cross-browser
2424
| BadgeText | `string?` | null | | Gets or sets the badge text. | 2.1.0 |
2525
| CustomIconName | `string?` | null | | Gets or sets the custom icon name. | 2.1.0 |
2626
| DataProvider | `Sidebar2DataProviderDelegate?` | | ✔️ | Gets or sets the data provider. | 2.1.0 |
27-
| Href | `string?` | null | | Gets or sets the Href. | 3.0.0 |
27+
| Href | `string?` | `string.Empty` | | Gets or sets the Href. | 3.0.0 |
2828
| IconName | `IconName` | `IconName.None` | | Gets or sets the IconName. | 2.1.0 |
2929
| ImageSrc | `string?` | null | | Gets or sets the logo. | 2.1.0 |
3030
| Title | `string?` | null | ✔️ | Gets or sets the title. | 2.1.0 |

nuget/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Get started any way you want
1919

2020
- Clone the repo: `git clone https://github.com/vikramlearning/blazorbootstrap.git`
21-
- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 2.2.1`
21+
- Install with [NuGet](https://www.nuget.org/): `Install-Package Blazor.Bootstrap -Version 3.0.0-preview.1`
2222
- Install [Blazor Bootstrap templates](https://github.com/vikramlearning/blazorbootstrap-project-templates) with **.NET CLI**: `dotnet new install Blazor.Bootstrap.Templates::1.10.0`
2323

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

0 commit comments

Comments
 (0)