Draft: USWDS Layout Builder Configuration: Drupal 11 Compatibility

This was to get a working version of this module that was Drupal 10 and 11 compatible. Things to note:

  • This was a branch created from the work by kul.pratap and as a result contains all of that work.
  • There were many features in the Drupal 10 version of the module that were not working correctly. This branch includes fixes to:
    • Turning on/off Style options for blocks and sections.
    • Settings under the Animations panel.
    • Items under the Settings configuration tab (Hide "Advanced Settings", Enable responsive, etc).
    • The spacing preview for margin/padding when editing a section/block.
    • How a local version of the AOS.js could be added to a theme and used instead of loading the CDN.
  • Updated the Sass/CSS to:
    • Fix for the new off canvas ID: #drupal-off-canvas-wrapper.
    • Updating the spacing and border styles included in the module to use USWDS 3 values that original USWDS did not have - this was needed to fix the spacing preview when editing section/block.
  • Misc fixes to typos, deprecated code, etc.

Please note: I removed Drupal 9 compatibility as I am not able to test against that and it has reached end of life.

Merge request reports

Loading