-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Add helpers to utilities bundle #32324
Add helpers to utilities bundle #32324
Conversation
152d31b
to
1194c75
Compare
Adds currently missing utilities classes which are located in scss/helpers to boostrap-utilities deliverable.
1194c75
to
6bde754
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm into it. Feels like a natural fit.
Shouldn't it be mentionned in the docs? |
@ffoodd like where? It seems utilities are already mentioned in https://getbootstrap.com/docs/5.0/getting-started/contents/#css-files. Feel free to push to this branch if you have any ideas. |
Don't really know, maybe we didn't mention helpers anywhere before? It should at least appear in the migration guide since people importing only our utilities in a custom build will now import helpers incidentally, what they might have done explicitly before. |
@mjansing can you please take care of the above comment? |
@XhmikosR I added a migration note. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Bootstrap bundles utility classes in a dedicated bootstrap-utilities deliverable (
bootstrap-utilities.css
) but the deliverable does not contain all utilities mentioned in the documentation (e.g..sticky-top
,.stretched-link
or.text-truncate
). These missing utilities are located inscss/helpers/
and currently not part of it. This PR adds them.