Update templates and javascript to use the Bootstrap 5 library

Enable module on a project with a Bootstrap 5 theme enabled.

Currently all templates are using markup for bootstrap 3. Update templates to use the Bootstrap 5 markup and also remove any dependencies on jquery from the javascript files. Rewrite the output of background color variables to begin with bg- to match the new bootstrap 5 background color naming conventions.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kerrymick created an issue. See original summary.

Stockfoot’s picture

Assigned: Unassigned » Stockfoot

I am this to myself to begin work on the issue

Stockfoot’s picture

Assigned: Stockfoot » Unassigned
Status: Active » Needs review

I have created a merge request - https://git.drupalcode.org/project/bootstrap_paragraphs/-/merge_requests/17

This merge request updates all the templates, the width variable on all the templates, and rewrites the accordion javascript to use Vanilla JS instead of jQuery.
This JS file also now properly targets the new template elements and removes a lot of unused variables from the old jQuery version.

Moving to "Needs Review" and unassigning myself from the issue, thanks!

kerrymick’s picture

kerrymick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.