Skip to content
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 Bootstrap Icons to alerts docs #33690

Merged
merged 4 commits into from Apr 25, 2021
Merged

Add Bootstrap Icons to alerts docs #33690

merged 4 commits into from Apr 25, 2021

Conversation

mdo
Copy link
Member

@mdo mdo commented Apr 19, 2021

Adds examples of using Bootstrap Icons in the alerts component with flexbox utilities. Takes it a small step further and suggests custom SVG sprites as well just in case folks use an extensive set of alert/icon combinations.

Closes #33536, fixes #33480.

Screen Shot 2021-04-19 at 9 02 44 AM

Preview: https://deploy-preview-33690--twbs-bootstrap.netlify.app/docs/5.0/components/alerts/#icons

@mdo mdo added this to In progress in v5.1.0 via automation Apr 19, 2021
@XhmikosR
Copy link
Member

@mdo we could add this in 5.0.0 if you prefer.

@devhoussam
Copy link
Contributor

@mdo we could add this in 5.0.0 if you prefer.

I hope so

Copy link
Member

@ffoodd ffoodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat examples :)

We may want to use aria-label on SVGs to convey state too, it's been requested on Boosted but not sure it's mandatory.

site/content/docs/5.0/components/alerts.md Outdated Show resolved Hide resolved
v5.1.0 automation moved this from In progress to Reviewer approved Apr 20, 2021
mdo and others added 2 commits April 20, 2021 12:13
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
@ffoodd
Copy link
Member

ffoodd commented Apr 20, 2021

Thanks for proofreading, @XhmikosR, my Bad!

@XhmikosR XhmikosR removed this from Reviewer approved in v5.1.0 Apr 25, 2021
@XhmikosR XhmikosR added this to Inbox in v5.0.0 via automation Apr 25, 2021
@XhmikosR XhmikosR merged commit 0fa8cb0 into main Apr 25, 2021
v5.0.0 automation moved this from Inbox to Done Apr 25, 2021
@XhmikosR XhmikosR deleted the alerts-icons branch April 25, 2021 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v5.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

V5 Alerts Component : Add the icon space
4 participants