-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(progress-indicator): update to use carbon icons #5122
feat(progress-indicator): update to use carbon icons #5122
Conversation
Deploy preview for the-carbon-components ready! Built with commit 0907c5a https://deploy-preview-5122--the-carbon-components.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 0907c5a |
Deploy preview for carbon-components-react failed. Built with commit 0907c5a https://app.netlify.com/sites/carbon-components-react/deploys/5e304132797c22000ae909d4 |
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 👍
Wondering if we should update the vanilla .hbs
files with the correct SVG assets as well.
fill: $interactive-01; | ||
margin-top: rem(9.5px); | ||
|
||
path:last-of-type { |
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.
Just curious, what is this selector being used for? 👀
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.
Looks like it is being used to fill in the circle by increasing the width of the checked circle
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.
yeah...I couldn't find a Filled Circle Icon in the carbon/icon library...so I'm improvised 😅
should I try to get a filled circle icon in the icon package instead?
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.
should I try to get a filled circle icon in the icon package instead?
👍
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.
cc @laurenmrice do you know of an icon we could use or will this work as is? 👀
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.
Yeah we do not have a filled circle icon. I think we can do this for now and I can talk with conrad about possibly adding one to our library for the future. @joshblack
@annawen1 thank you for doing this! I might be wrong but it seems like the filled blue circe looks a tiny bit bigger than the one we have right now |
@abbeyhrt I think that's because the current one is an incorrect |
Wait a minute we do have a |
@tw15egan makes sense! |
@laurenmrice the dotmark icon doesn't take up the entire svg, there's some white space around it. Is there anyway to change this? |
@laurenmrice @annawen1 I also tried using that icon when I tested this PR, but yeah it is sized smaller than the other 16px icons (makes sense, since it is a dot mark). We would need a full 16px circle |
Ahh okay I see. Alright I will still talk to Conrad about this to see the reason behind the dot mark size and if he can adjust that one to match the other circular icons, or if we need to make a separate icon. |
Update on filled icon for current state: Conrad is going to make a |
@laurenmrice awesome! |
@laurenmrice Does this mean this PR itself is good to go...? Thanks! |
@laurenmrice is this good to merge? |
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.
…wen1/carbon into feat/progressive-icon-props
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 thank you ! 🙌🏻
Closes #5086
Updates the
<ProgressIndicator />
to pull icons from the carbon icons package instead of hardcoding the svg paths. Used the<RadioButton16 />
and<RadioButtonChecked16 />
icons - I didn't notice any filled circle icons so I had to style the<RadioButtonChecked16 />
stroke.Changelog
New
<RadioButtonChecked16 />
for current progress step icon and<RadioButton16 />
for complete and disabled progress step iconsChanged
<RadioButtonChecked16 />
to produce the filled circle we need for complete-progress-step iconTesting / Reviewing
Testing should ensure
<ProgressIndicator />
is consistent with designs