BlazorStrap

Bootstrap 4 Components for Blazor Framework

UNLICENSE License

Stars
916
Committers
56

Bot releases are hidden (Show)

BlazorStrap - V1.0.0

Published by jbomhold3 about 5 years ago

BlazorStrap 1.0.0 release

.Net Core 3.0.0

Changes

PR #205

  • BSBasicInput now supports bindings of T.
    • You are required to use Value="foo" or @bind-Value="foo" because of this change.
BlazorStrap - v1.0.0-RC1-04

Published by jbomhold3 about 5 years ago

PR #204

  • Fixes #202
  • Adds Animations for Carousels
  • Adds Animations for Modals
BlazorStrap - v1.0.0-RC1-03

Published by jbomhold3 about 5 years ago

@EMaderbacher
PR #200

  • Fixes System.InvalidOperationException when EditContext is configured

@jbomhold3
PR #201

  • Removed thrown exception when using @ref and bool together.
  • Allows @bind-IsOpen to allow users to mix @ref and manual operations.
  • You may continue to use IsOpen without binding it. But any @ref changes will be ignored. Such as Hide, Close, Toggle.
  • Obsolete IsOpen on BSDropdownToggle no longer required.
BlazorStrap - v1.0.0-RC1-01

Published by jbomhold3 about 5 years ago

Removed InputValue from BSInput. This never should have been there and was causing confusion.

BlazorStrap - v1.0.0-preview9-05

Published by jbomhold3 about 5 years ago

Adds Support in BSInput for nullable types. PR #189

BlazorStrap - v1.0.0-preview9-04

Published by jbomhold3 about 5 years ago

PR #185 (@chucker)

  • Workaround for WASM and Safari

PR #181

  • Fix for Href in BSListGroupItem

PR #186

  • Fixes Binding issue for checkboxes.
  • Fixes Invoke on wrong thread issue on BSTab
BlazorStrap - v1.0.0-preview9-03

Published by jbomhold3 about 5 years ago

  • Fixes InputType.Date error.
  • Adds: BSFormRow
  • Fixes: BSValidationSummary was in the wrong namespace.
  • Fixes: Validation now will validate on blur to prevent false positives.
  • Fixes: Bind issue with DateTime properties using InputType.Date
BlazorStrap -

Published by chanan about 5 years ago

  • Update to preview9
  • Validation Summary component #156
  • Support for Datetime in BSInput #173
  • A PR by @herbertmilhomme #174 fixing some issues in alerts and toast
BlazorStrap -

Published by chanan about 5 years ago

  • Fixed #168 Which assigns the Class attribute to the div and adds HeadingClass to the heading
  • Misc bug fixes #167
BlazorStrap -

Published by chanan about 5 years ago

  • Support for aspnet preview8
  • PR #160 by @EMaderbacher Optimizing performance for data validations
  • PR #159 also by @EMaderbacher Fixing two bugs with BSForm
BlazorStrap -

Published by chanan about 5 years ago

  • Added manual validation

Fixes:

  • An issue with ChildContent in BSInput #153
  • Fixed an issue with removing tabs #154
  • Misc bug fixes in PR #155
BlazorStrap -

Published by chanan about 5 years ago

This release includes fix for form validation

Also added a way to deal with custom validation #150

BlazorStrap -

Published by chanan about 5 years ago

Improved data binding is here!

  • Validation improvements #119
  • Model binding (EditForm)! #50

Other fixes:

  • BSNavLink has active class now #147
  • Better iOS support #62
  • Button tooltips work inside a modal #136
  • other minor fixes

Big internal changes:

  • This won't change anything externally but we are happy about it! Since preview7 added the "splat" feature we were able to remove one extra class from our code: #133

Example data binding:

<BSForm Model="@formsModel">
    <BSFormGroup>
        <BSLabel For="exampleInputEmail1">Email address</BSLabel>
        <BSInput Id="exampleInputEmail1" InputType="InputType.Email" PlaceHolder="Enter email" @bind-Value="formsModel.Blank" />
        <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
    </BSFormGroup>
    <BSFormGroup>
        <BSLabel For="exampleInputPassword1">Password</BSLabel>
        <BSInput Id="exampleInputPassword1" InputType="InputType.Password" PlaceHolder="Password" @bind-Value="formsModel.Blank" />
    </BSFormGroup>
    <BSFormGroup IsCheck="true">
        <BSInput Id="exampleCheck1" InputType="InputType.Checkbox" @bind-Value="formsModel.Blank" />
        <BSLabel IsCheck="true" For="exampleCheck1">Check me out</BSLabel>
    </BSFormGroup>
    <BSButton Color="Color.Primary" ButtonType="ButtonType.Submit">Submit</BSButton>
</BSForm>

@code {
    private FormsModel formsModel = new FormsModel();
    
    public class FormsModel
    {

        public string Valid { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "Oh noes! that name is already taken")]
        public string InValid { get; set; }
        public string Blank { get; set; }
        public string Email { get; set; } = "[email protected]";

    }
}
BlazorStrap -

Published by chanan about 5 years ago

The one with events!

  • @jbomhold3 added events to the components #142 - many can be seen here #125
  • Hamburger menus now close automatically #121
BlazorStrap -

Published by chanan about 5 years ago

Lots of changes in this release!

  • Thanks to a PR (#129) by @myhaimyh as well as work by @jbomhold3 BlazorStrap is updated to aspnet core 3.0.0-preview7.19365.7
  • @jbomhold3 also got all components are now prefixed with BS #44
  • @jbomhold3 also updated the DropDownManager to be similar to the TabManager #115
  • And the biggest change is behind the scenes, the code for the project is organised better now and uses "code behinds" for all controls, setting up BlazorStrap for the future! (again thanks to @jbomhold3 )
BlazorStrap -

Published by chanan over 5 years ago

This is a big release!

First, I would like to thank @jbomhold3 for coming onboard as a project maintainer!

Next, we overhauled the docs site and it has a new home: https://blazorstrap.io/. It has a nice new design (gone is the default template look) and it uses the new themes switcher added in this release. So look for the Themes dropdown on the top nav and try it out! (Yes, the dark themes still need some CSS love)

Now for the changes:

  • BlazorStrap now comes with a way to manage the bootstrap CSS file for you (#28)
  • And as mentioned if you use that you can also use bootswatch themes and allow your user to switch themes on the fly
  • Awesome new feature: TabManager - you now longer need to control the active tab yourself - take it for a spin! #106
  • An issue with DropdownItem fixed #95
  • Two controls (button and NavLink) stopped allowing for custom classes - Fixed #107
  • Added support to NavBar to allow an Inverted color on dropdowns #97
  • You used to be able to click on a "disabled" NavLink - not anymore #13

NOTE: In a future release (likely 1.0.0-preview7-01) we will be changing over to use "BS" as a prefix to all components, so BlazorButton will become BSButton, Card will be BSCard, etc. This is obviously a breaking change and we are warning you now

BlazorStrap -

Published by chanan over 5 years ago

  • PR (#102) by @peterblazejewicz which fixes tooltip arrow colors
  • PR(#100) by @jbomhold3 which fixes an issue with the managed dropdown
  • Updated CssBuilder to latest release which removed a workaround that was needed due to a bug in CssBuilder
  • Fixed #95 - Dropdown Nav link wasn't working
BlazorStrap -

Published by chanan over 5 years ago

BlazorStrap -

Published by chanan over 5 years ago

A PR (#91 ) by @jbomhold3 fixes:

  • Whitespace causes a compile error: #87
  • An issue with the dropdown manager: #89
BlazorStrap -

Published by chanan over 5 years ago

Another PR by @jbomhold3 (#86 ) adds Show/Hide/Toggle methods to controls that can be toggled.