Update demos and docs to Bootstrap 5.x #3300
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a proper refactoring of all the demos and the generated documentation so that it uses more up-to-date stuff, specifically Bootstrap 5.x, which #3295 and #3296 did incorrectly. The patch also updates font-awesome to 6.x, so it already includes (and actually expands, since there was stuff that was incorrect there too) #3298. Notice I will only do this for master: all the 0.x demo/docs will remain as they are.
This required a huge effort, since I first needed to migrate to Bootstrap 4.x (which took quite a while), and from there to 5.x (less problematic but still not a walk in the park). I tried testing all demos in multiple scenarios, but obviously I couldn't test everything, so please give them a go yourself too just to ensure I didn't break anything in the process. From a functional perspective, everything should be there.
Before merging, I'll try to also try and take advantage of a few things that Bootstrap has, but that we're relying on external libraries for, like spinners and toasts. Ideally that should help us getting closer to get rid of jQuery, even though that will take longer, and will done (in case) in a separate PR, since we depend on it for some stuff (BlockUI, all selectors, all html appends/prepends and maybe a few other things).
Feedback welcome!