Skip to content

Releases: chanan/BlazorStrap

V5.2.100-Preview3

27 Jun 13:43
Compare
Choose a tag to compare
V5.2.100-Preview3 Pre-release
Pre-release

Warning: Contains breaking changes for Interop if you were calling it directly moved to IBlazorStrap.JavascriptInterop
Warning: Contains breaking changes for ThemeSwitcher now takes an Enum of the default themes or URI to the CSS file.

While this is still a preview release, it should be stable and able to be used in production. Committing your code before updating and testing after the update is always highly recommended.

Minor Update BlazorStrap 5.2.100-Preview3a

  • Fixes placeholder logic in BSImage

Default behavior changes

  • Modals, OffCanvas, Poppover, Toolips. No longer render HTML until open. Change ContentAlwaysRendered =true if you do not want this behavior.

Fixes

  • IsMouseOver for dropdowns
  • Width was not removed from Horizontal Collapse
  • Removes a rogue Console.Writeline

Added

  • PopperOptions to BSTooltip, BSPopover, BSDropDown

Steps to update from V5.1.102

  • Remove all references to blazorstrap.js. This is now loaded in as a module
  • In your MainLayout, unless required to be placed in a specific location with your template. Remove <BSToaster/>
  • In your MainLayout after @Body add <BSCore/>. Use <BSCore HasToaster="false" /> instead if your keeping <BSToaster/>

V5.2.100-Preview1

03 Jun 05:22
Compare
Choose a tag to compare
V5.2.100-Preview1 Pre-release
Pre-release

Warning: Contains breaking changes for Interop if you were calling it directly moved to IBlazorStrap.JavascriptInterop
Warning: Contains breaking changes for ThemeSwitcher now takes an Enum of the default themes or URI to the CSS file.
Note: This is the first release with the new interop. Test before using it in production.

To upgrade, remove blazorstrap.js script from _host.cshtml or index.html. Then it's recommended to replace <BSToaster/> with <BSCore/>. Placing it after your @Body in your main layout. If you're placing the toaster, in a specific location use <BSCore HasToaster="false" /> keeping your <BSToaser/> where you like.

Note. is also responsible for rendering the backdrop now. If omitted, the backdrop will not be shown. BSCore also preloads the javascript module so it's ready when called by components.

<script src="_content/BlazorStrap/popper.min.js"></script> is still required.

Changes:

  • Rewritten: Interop was completely replaced.
  • Adds: IsMouseOver to drop downs.
  • Changes: Tooltips, Popovers, Modals, OffCanvas will no longer render on the page unless opened by default.

5.1.102.51723

17 May 19:41
f402aaf
Compare
Choose a tag to compare

Minor update completely optional

Adds

  • ContainerClass to BSInputSwitch. @LockTar

    NOTE: BSInputCheckbox uses the same base type as BSInputSwitch if used on BSInputCheckbox it dumps the values into the Class
    parameter.

  • Adds bool/bool? null support for InputType.Switch.

    NOTE:

    <option value="">Null</option>
    <option value="true">True</option>
    <option value="false">False</option>

BlazorStrap 5.1.102.50923

10 May 00:07
Compare
Choose a tag to compare

Fixes Human Error...

https://www.nuget.org/packages/BlazorStrap/5.1.102.50923

First, my apologies. I introduced a deadlock on BSCollapse with last minute fix for a rendering issue. This release fixes that issue.
You only need to update the core package BlazorStrap to this version.
You do not need to update the BlazorStrap.V4/BlazorStrap.V5 from 5.1.102

BlazorStrap 5.1.102

09 May 21:16
Compare
Choose a tag to compare

Fixes/Changes

  • Fixed an access issue with BSToast collection. Thanks, @EMaderbacher
  • Fixed an issue where context was not shown correctly on BSModal Thanks, @EMaderbacher
  • Fixed a rendering lock issue with BSCollapse. That could cause a race condition with StateHasChanged causing improper display of the element.
  • Added: ModalContentClass to BSModel. ContentClass marked as obsolete to be removed later @EMaderbacher
  • Adds HasIcon for BSToast
  • Adds Invoke to BSNavitem
  • Adds: Adds NoClickEvent to BSPopover to prevent the default javascript click event on the target from being created
  • Adds: Horizontal Collapse to both V4 and V5
  • Performance improvements: for BSModal, BSDropdown, BSOffcanvas on server side.
  • Misc improvements and fixes

https://www.nuget.org/packages/BlazorStrap/5.1.102.50923
https://www.nuget.org/packages/BlazorStrap.V4/5.1.102
https://www.nuget.org/packages/BlazorStrap.V5/5.1.102

BlazorStrap 5.1.101

16 Mar 07:11
Compare
Choose a tag to compare

Very Small update.

  • Adds OnValueChange to inputs (testing)
  • Fixed: Ignores case on enum for the current theme.
  • PR #574 Thanks @jonsaich
  • PR #571 Thanks @amunk

BlazorStrap 5.1.100

25 Dec 18:32
Compare
Choose a tag to compare

5.1.100

Warning : BlazorStrap and BlazorStrap.V# packages must be the same version.

Warning : BSModal Content now has a Context it might be necessary to rename it when upgrading.

The following steps will help you upgrade from both existing versions of BlazorStrap.
V5.0 to V5.1

  • Add <PackageReference Include="BlazorStrap.V5" Version="5.1.100" /> to csproj
  • Add @using BlazorStrap.V5 to your _imports.razor

V1 To V5.1
There is no direct upgrade path as some components and parameters have been renamed. However, to get started do the following actions. Assuming you're still targeting Bootstrap 4

  • Add <PackageReference Include="BlazorStrap.V4" Version="5.1.100" /> to csproj
  • Add @using BlazorStrap.V4 to your _imports.razor

Fixes/Changes

  • BSInputCheckbox and BSInputRadio will now trigger EditContext.OnFieldChanged when toggled
  • OnReset now is of type IBSForm.
  • ShowAsync/HideAsync/ToggleAsync now awaits for the animation to complete or timeout before completing the task.
  • ShowAsync/HideAsync/ToggleAsync also has a new event queuing system.

These changes affect the following components

  • BSModal
  • BSOffCanvas
  • BSAccordionItem
  • BSCollapseBase

Adds

  • Reset method to BSForm. This will unmark the form as modified, removing validation messages and resetting the field to the value given when the component was initialized.
  • BSModal/BSForm
    • BSModal now has HideOnSubmit and HideOnValidSubmit parameters. When true BSForm will auto-hide the Modal.
  • BSToaster
    • Adds Position, ZIndex parameters allow you to better control where your toasts are projected. Defaults are now position fixed, 1025

5.1.100-Preview6

06 Dec 02:44
Compare
Choose a tag to compare
5.1.100-Preview6 Pre-release
Pre-release

5.1.100-Preview6

Note: This should be the last preview before release.

Warning : BlazorStrap and BlazorStrap.V# packages must be the same version.

The following steps will help you upgrade from both existing versions of BlazorStrap.
V5.0 to V5.1

  • Add <PackageReference Include="BlazorStrap.V5" Version="5.1.100-Preview6" /> to csproj
  • Add @using BlazorStrap.V5 to your _imports.razor

V1 To V5.1
There is no direct upgrade path as some components and parameters have been renamed. However, to get started do the following actions. Assuming you're still targeting Bootstrap 4

  • Add <PackageReference Include="BlazorStrap.V4" Version="5.1.100-Preview6" /> to csproj
  • Add @using BlazorStrap.V4 to your _imports.razor

Warning : BSModal Content now has a Context it might be necessary to rename it you may have to rename it when upgrading.

Fixes/Changes

  • BSInputCheckbox and BSInputRadio will now trigger EditContext.OnFieldChanged when toggled
  • OnReset now is of type IBSForm.
  • ShowAsync/HideAsync/ToggleAsync now awaits for the animation to complete or timeout before completing the task.
  • ShowAsync/HideAsync/ToggleAsync also has a new event queuing system.

These changes affect the following components

  • BSModal
  • BSOffCanvas
  • BSAccordionItem
  • BSCollapseBase

Adds

  • Reset method to BSForm. This will unmark the form as modified, removing validation messages and resetting the field to the value given when the component was initialized.
  • BSModal/BSForm
    • BSModal now has HideOnSubmit and HideOnValidSubmit parameters. When true BSForm will auto-hide the Modal.
  • BSToaster
    • Adds Position, ZIndex parameters allow you to better control where your toasts are projected. Defaults are now position fixed, 1025

5.1.100-Preview5

02 Dec 12:55
Compare
Choose a tag to compare
5.1.100-Preview5 Pre-release
Pre-release

5.1.100-Preview5

Fixes/Changes

  • BSModal now uses a new Show/Hide style.
    • Fixes modal getting stuck in odd states.
  • BSOffCanvas now uses the same new Show/Hide style

Adds

BSModal/BSForm

  • BSModal now has HideOnSubmit and HideOnValidSubmit parameters. When true BSForm will auto-hide the Modal.

BlazorStrap 5.1.100-Beta2

06 Aug 03:59
Compare
Choose a tag to compare
Pre-release

Docs https://blazorstrap.io/Beta/

  • Change: BSInputCheckbox and BSInputRadio will now trigger EditContext.OnFieldChanged when toggled
  • Change: OnReset now is of type IBSForm.
  • Added: Reset method to BSForm. This will unmark the form as modified, removing validation messages and resetting the field to the value given when the component was initialized.