New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Bootstrap 5 #1494
Comments
This change *pretends* that BS5 components require the same markup as BS4. This should be true for many components, but not all. Follow up PRs will be created to address the later cases, see #1494. But at least this is better than what we had before, as the macros checks for only 4 or 5 would leave the markup for BS5 broken basically everywhere. And allows us to iterate step by step on fixing the remaining issues, with BS5 already enjoying full CI coverage.
Also, modal dialog's close button changed the class from I have a script with more of the changes to bootstrap classes listed at https://github.com/vlascik/bootstrap4-to-5-migrator , might be of some use to you. |
Thanks @vlascik, I'll look into it! Or do you have time for a PR? 😀 |
#1614 should fix this. |
Seems we are done here! 🎉 Wondering if we should make BS5 the default for our upcoming v5? 🤔 Changing the default is not really a breaking change I think, as the version is "pinned" in |
I agree. |
Fully agree. Let's switch to Bootstrap 5. 👍 |
Quick feedback, FWIW: I have been using v5.0.0-beta.0 on BS5 for the last few days. I did not notice any regressions or errors so far, at least not due to |
BTW, I started working migrating the docs app (ember-bootstrap.com) to BS5, and noticed some missing margins for forms. So some minor issues still need to be sorted out... |
@simonihmig Got it, thanks! Will report anything we bump into. |
beta.0 still requires "@ember/render-modifiers": "^1.0.2", can we drop it and use 2.0.0 instead so we remove
message ? 2.0.0 render-modifier was released just recently |
@martinbarilik sure! I have yet to setup a successor to dependabot here, that would do these dependency updates automatically. But if you have the time, a PR would certainly be welcome! :) |
Trying to summarize what the minimum changes are to support Bootstrap 5.
--bootstrap-version=5
in the default blueprint (with v4 still being the default for now) PR: Support Bootstrap5 in default blueprint #1497.btn-block
support for Bootstrap 5 #1537ember-popper
hasn't been maintained much, https://github.com/alexlafroscia/ember-popper-modifier seems like a more modern and up to date solution, and uses v2.Probablyin our v5,maybe including requiring Ember 4.0 as the minimum version then?Drop IE11 support #1596.sr-only
to.visually-hidden
Any kind of contributions (PRs, documentation, testing) highly welcome! Just comment here if you are interested in helping out!
/cc @jelhan
The text was updated successfully, but these errors were encountered: