Blazored Modal Versions Save

A powerful and customizable modal implementation for Blazor applications.

v6.0.0

3 years ago

What's Changed

🚀 Features

  • (#272) Change ComponentBase to IComponent - Thanks to @larsk2009
  • (#248) Adds ability to define a custom overlay class - Thanks to @chrissainty
  • (#245) Able to optionally set focus to first element to false - Thanks to @David-Moreira
  • (#238) Add basic ARIA attributes to modal - Thanks to @larsk2009

🐛 Bug Fixes

  • (#267) Bootstrap custom modal background clicks - Thanks to @larsk2009

🧰 Maintenance

  • (#260) Adds missing options to GlobalOptions - Thanks to @larsk2009
  • (#247) Update to use the full bootstrap modal in the sample - Thanks to @chrissainty
  • (#239) Link to Nuget and Build Status in readme badges - Thanks to @Epictek
  • (#268) Bump ini from 1.3.5 to 1.3.8 in /src/Blazored.Modal - Thanks to @dependabot
  • (#273) Change BlazoredModel to ModalInstance in readme to avoid confusion - Thanks to @larsk2009
  • (#258) Renamed BlazoredModalInstance Close and Cancel to CloseAsync and CancelAsync - Thanks to @David-Moreira

v5.1.0

3 years ago

What's Changed

  • (#229) Add Sample for ScrollableContent for Server-Side - Thanks to @lukepat

🚀 Features

  • (#222) Add option for setting if content of Modal is scrollable, this helps … - Thanks to @lukepat

🐛 Bug Fixes

  • (#226) Added allowOutsideClick to capture clicks outside the focus trap - Thanks to @rezasfl
  • (#233) [Bugfix] Fixes representation of animation duration when the current culture doesn't use a period as the decimal separator - Thanks to @AgWillow
  • (#231) [Bugfix] Navigate Away - Thanks to @larsk2009

🧰 Maintenance

  • (#227) Gracefully close modal when close is called - Thanks to @MichelJansson

v5.0.3

3 years ago

What's Changed

🐛 Bug Fixes

  • (#213) Focus traps are now deactivated when navigating from page - Thanks to @GisliSig

v5.0.2

3 years ago

What's Changed

🐛 Bug Fixes

  • (#202) Removed ability to dismiss the modal using escape - Thanks to @chrissainty

v5.0.1

3 years ago

What's Changed

🐛 Bug Fixes

  • (#194) Fixed extra content files being included in final package - Thanks to @chrissainty

v5.0.0

3 years ago

What's Changed

🚀 Features

  • (#193) Allows developers to customise the position of the modal - Thanks to @pablopioli
  • (#192) Replaces BlazoredModal component with CascadingBlazoredModal - Thanks to @chrissainty
  • (#189) Adds the ability to provide custom layouts for the modal such as Bootstrap - Thanks to @dfkeenan
  • (#179) Adds animation to modal open and close - Thanks to @larsk2009
  • (#186) Prevent page scrolling when the model is active - Thanks to @chrissainty
  • (#185) Adds a focus trap to the modal as well as the ability to dismiss the modal with the escape key - Thanks to @chrissainty
  • (#182) Add IE11 support - Thanks to @larsk2009
  • (#174) Modal service now returns IModalReference instead of ModalReference - Thanks to @chrissainty

🧰 Maintenance

  • (#176) Moved to GitHub Actions for CI - Thanks to @chrissainty
  • (#155) update to README: Parameter always must be public - Thanks to @rnielikki

v4.1.0

4 years ago

What's Changed

🚀 Features

  • (#143) Closing modal using ModalReference - Thanks to @larsk2009

🧰 Maintenance

  • (#147) Moved package versions to build.props and added some code improvements - Thanks to @chrissainty & @SimonCropp
  • (#121) Minor code improvements - Thanks to @SimonCropp
  • (#122) No point closed being an event - Thanks to @SimonCropp
  • (#119) Bugfix/modal cancel - Thanks to @larsk2009

📖 Documentation

  • (#130) Fixes "Improve this Doc" link - Thanks to @chrissainty
  • (#129) Fix for #128 - Thanks to @c0g1t8
  • (#123) Create Docs Site - Thanks to @chrissainty

v4.0.0

4 years ago

What's Changed

  • (#105) Change HTML to Razor language in markdown - Thanks to @larsk2009
  • (#98) Updated packages

🚀 Features

  • (#106) Moved to modal instances

🧰 Maintenance

  • (#113) Updated screenshot

v3.1.0

4 years ago

Features

  • #85 - If you're running multiple modals on the same page sharing the same close method. You can now identify which modal was closed via the ModalResult.ModalType property.
  • #91 - If you don't need to pass anything back when closing the modal. You can now use ModalService.Close() without the need to specify a ModalResult object. When using this overload, a default OK ModalResult will be returned.
  • #90 - Added overloads for ModalService.Show method to allow dynamic type usage for modal content.

v3.0.0

4 years ago

Breaking Changes

In this release the old method of showing a modal and having to pass in a type as an argument has been removed in favour of using generics.

This means code which looks like this:

Modal.Show("Sign Up Form", typeof(SignUpForm), parameters, options);

Will need to be updated to this:

Modal.Show<SignUpForm>("Sign Up Form", parameters, options);

New Features

  • #54 - We've removed the 50rem width from the blazored-model CSS class. The modal will now size to whatever size your content is.
  • #71 - It's now possible to remove the entire modal header by setting HideHeader to true either using ModalOptions or setting it via component parameters.
  • #74 - A new internal event has been added to close the modal before executing the current OnClose event which runs user code.
  • #73 - The title for the modal can now be set dynamically by the content component using the following cascading parameter and using the SetTitle(string title) method.
[CascadingParameter] BlazoredModal BlazoredModal { get; set; }