Provides a new "dialogNative" JavaScript library as replacement for the original jQuery UI based dialog.js in Drupal core.
The dialogNative library uses the native HTML5 <dialog> element and thereby removes the jQuery UI Dialog dependencies 🎉
The module implements a dialogAdapter library, which should bridge all existing Drupal.dialog() calls to use the new dialogNative library until all use's of Drupal.dialog() are replaced by Drupal.dalogNative() in Drupal Core and Contrib modules.
In the future, large parts will hopefully be make it into Drupal Core: #2158943: Add a native dialog element to deprecate the jQuery UI dialog.
This module is heavy WIP and not ready for production! Please help us to push things forward and get rid of jQuery UI Dialog in Core! 💪
Plan / further steps
- Review and polish the module implementations
- Move dialogNative library into Drupal Core (#2158943: Add a native dialog element to deprecate the jQuery UI dialog)
- Eventually move dialogAdapter library into Drupal Core to replace old core/drupal.dialog library (
Drupal.dialog()) - Deprecate core/drupal.dialog
- Replace core/drupal.dialog implementations with core/drupal.dialogNative
- Remove core/drupal.dialog with its jQuery UI dependencies
Please help us making progress! 🚀
Why?
- Get rid of jQuery UI
- Instead, use the native
<dialog>Element - Drupal Dialog / Modal API and Drupal AJAX Dialog Boxes are still super cool features!
Supporting this module
Support DROWL's ♥ FOSS work on this module on OpenCollective!
Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!
We're committed to building and maintaining Drupal modules that benefit the entire community.
Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!
If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.
Support our FOSS development ♥️
You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!
Let's make Drupal even better, together!
Project information
- Project categories: Accessibility, Content display, Developer tools
- Created by grevil on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Adds native dialog element support replacing jquery-ui dialogs💬
Development version: 1.0.x-dev updated 17 Jan 2024 at 12:24 UTC






