Modal

A powerful and customizable modal implementation for Blazor applications.

MIT License

Stars
775
Committers
38

Bot releases are visible (Hide)

Modal - v7.3.1 Latest Release

Published by github-actions[bot] 8 months ago

What's Changed

🐛 Bug Fixes

  • (#559) Use computed style to consider the real values - Thanks to @0ptim
  • (#560) Removed markup and logic used for previous debugging - Thanks to @chrissainty
Modal - v7.3.0

Published by github-actions[bot] 8 months ago

What's Changed

🚀 Features

  • (#453) Added two new animation types - Thanks to @Quickz

🐛 Bug Fixes

  • (#556) Swap to CSS grid for position middle - Thanks to @chrissainty
  • (#530) Fix for scroll position going to Top when using multple modals - Thanks to @00anwi

🧰 Maintenance

  • (#555) Updates project to target .NET 8 - Thanks to @chrissainty

📖 Documentation

  • (#554) Upgraded docusaurus to latest version and updated custom overlay doc - Thanks to @chrissainty
Modal - v7.2.0

Published by github-actions[bot] 9 months ago

What's Changed

  • (#539) Bump Microsoft.AspNetCore.Components from 6.0.3 to 6.0.25 in /src/Blazored.Modal - Thanks to @dependabot
  • (#545) Bump follow-redirects from 1.15.1 to 1.15.4 in /docs - Thanks to @dependabot
  • (#535) Bump @babel/traverse from 7.18.13 to 7.23.2 in /docs - Thanks to @dependabot
  • (#533) Bump postcss from 8.4.16 to 8.4.31 in /docs - Thanks to @dependabot
  • (#525) Bump semver from 5.7.1 to 5.7.2 in /docs - Thanks to @dependabot
  • (#509) Bump webpack from 5.74.0 to 5.76.1 in /docs - Thanks to @dependabot
  • (#496) Bump eta, @docusaurus/core and @docusaurus/preset-classic in /docs - Thanks to @dependabot
  • (#499) Bump @sideway/formula from 3.0.0 to 3.0.1 in /docs - Thanks to @dependabot
  • (#495) Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs - Thanks to @dependabot
  • (#493) Bump ua-parser-js from 0.7.31 to 0.7.33 in /docs - Thanks to @dependabot
  • (#487) Bump json5 from 2.2.1 to 2.2.3 in /docs - Thanks to @dependabot
  • (#474) Fix modal docs - Thanks to @lofcz
  • (#472) Bump loader-utils from 2.0.2 to 2.0.4 in /docs - Thanks to @dependabot

🚀 Features

  • (#532) Added Show methods without title parameter - Thanks to @chrissainty

🐛 Bug Fixes

  • (#516) better support for nulls in ModalParameters + stronger type-checking - Thanks to @BenMakesGames
  • (#523) Control background click mouse events - Thanks to @gian7sm
  • (#475) Fix body padding - Thanks to @lofcz

🧰 Maintenance

  • (#473) Bump minimatch, recursive-readdir and serve-handler in /docs - Thanks to @dependabot

📖 Documentation

  • (#483) Need cascading to be part of the tag - Thanks to @Mark-Phillipson
Modal - v7.1.0

Published by github-actions[bot] about 2 years ago

What's Changed

🚀 Features

  • (#464) Added automatic ModalSize option - Thanks to @chrissainty

🐛 Bug Fixes

  • (#463) Surpressed JSDisconnectException for Blazor Server scenarios - Thanks to @chrissainty
  • (#461) Fixed cascaded value to stop unnecessary child component rerenders - Thanks to @chrissainty
Modal - v7.0.0

Published by github-actions[bot] about 2 years ago

What's Changed

🚀 Features

  • (#359) Update to .net 6 - Thanks to @larsk2009
  • (#375) Collection initialization support for ModalParameters - Thanks to @MichelJansson
  • (#391) Added Confirmed property to ModalResult and added payload overload to ModalResult.Cancelled - Thanks to @chrissainty
  • (#410) Restructure of markup and overhaul of styling - Thanks to @chrissainty
  • (#414) fluent "add" for modal parameters - Thanks to @erinnmclaughlin

🐛 Bug Fixes

  • (#436) Disabled rerenders when background click is disabled - Thanks to @chrissainty
  • (#419) Proposed tweaks for FocusTrap - Thanks to @DannyRichardsonWG
  • (#367) Set up key to BlazoredModalInstance component to get proper updates - Thanks to @crui3er
  • (#292) Change FocusFirstElement to ActivateFocusTrap - Thanks to @larsk2009
  • (#293) Detect multiple modals on deactiveFocusTrap - Thanks to @georgeemr
  • (#408) Added TaskCreationOptions.RunContinuationsAsynchronously to ModalRefence - Thanks to @chrissainty
  • (#396) Fixes for sample projects - Thanks to @chrissainty
  • (#417) Added null checks for JS interop calls - Thanks to @chrissainty

🧰 Maintenance

  • (#434) Move to Docusaurus - Thanks to @chrissainty
  • (#424) Changed ModalService events from Action to Func - Thanks to @chrissainty
  • (#365) Remove docs/src files - Thanks to @aterbo
  • (#370) Add selected animations to overlay - Thanks to @aterbo
  • (#407) Improvements to CI build on main - Thanks to @chrissainty
  • (#406) Added Fixed=true to cascaded blazored modal service - Thanks to @chrissainty
  • (#389) Blazor native focus trap - Thanks to @chrissainty
Modal - v7.0.0-preview.4

Published by github-actions[bot] about 2 years ago

What's Changed

  • (#414) fluent "add" for modal parameters - Thanks to @erinnmclaughlin

🐛 Bug Fixes

  • (#418) Prefixed CSS classes with bm - Thanks to @chrissainty
  • (#417) Added null checks for JS interop calls - Thanks to @chrissainty
Modal - v7.0.0-preview.3

Published by github-actions[bot] over 2 years ago

What's Changed

🚀 Features

  • (#410) Restructure of markup and overhaul of styling - Thanks to @chrissainty

🐛 Bug Fixes

  • (#408) Added TaskCreationOptions.RunContinuationsAsynchronously to ModalRefence - Thanks to @chrissainty
  • (#396) Fixes for sample projects - Thanks to @chrissainty

🧰 Maintenance

  • (#407) Improvements to CI build on main - Thanks to @chrissainty
  • (#406) Added Fixed=true to cascaded blazored modal service - Thanks to @chrissainty
Modal - v7.0.0-preview.2

Published by github-actions[bot] over 2 years ago

What's Changed

🚀 Features

  • (#391) Added Confirmed property to ModalResult and added payload overload to ModalResult.Cancelled - Thanks to @chrissainty
Modal - v7.0.0-preview.1

Published by github-actions[bot] over 2 years ago

What's Changed

  • (#359) Update to .net 6 - Thanks to @larsk2009
  • (#370) Add selected animations to overlay - Thanks to @aterbo
  • (#364) Clarify Custom Style Wiki and Samples - Thanks to @aterbo
  • (#365) Remove docs/src files - Thanks to @aterbo
  • (#356) Fix typo in README.md - Thanks to @edouardberthe

🚀 Features

  • (#375) Collection initialization support for ModalParameters - Thanks to @MichelJansson

🐛 Bug Fixes

  • (#367) Set up key to BlazoredModalInstance component to get proper updates - Thanks to @crui3er
  • (#292) Change FocusFirstElement to ActivateFocusTrap - Thanks to @larsk2009
  • (#293) Detect multiple modals on deactiveFocusTrap - Thanks to @georgeemr

🧰 Maintenance

  • (#389) Blazor native focus trap - Thanks to @chrissainty
Modal - v6.0.1

Published by github-actions[bot] almost 4 years ago

What's Changed

🐛 Bug Fixes

  • (#281) Change generated javascript to enable IE11 usage again - Thanks to @larsk2009

📖 Documentation

  • (#282) Readme improvements - Thanks to @larsk2009
Modal - v6.0.0

Published by github-actions[bot] almost 4 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
Modal - v5.1.0

Published by github-actions[bot] about 4 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
Modal - v5.0.3

Published by github-actions[bot] about 4 years ago

What's Changed

🐛 Bug Fixes

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

Published by github-actions[bot] over 4 years ago

What's Changed

🐛 Bug Fixes

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

Published by github-actions[bot] over 4 years ago

What's Changed

🐛 Bug Fixes

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

Published by github-actions[bot] over 4 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
Modal - v4.1.0

Published by github-actions[bot] over 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
Modal - v4.0.0

Published by release-drafter[bot] over 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
Modal - v3.1.0

Published by chrissainty over 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.
Modal - Blazored Modal v3.0.0

Published by chrissainty almost 5 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; }
Package Rankings
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Nuget version Nuget downloads