-
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): add vertical progress indicator to react #5146
feat(progress-indicator): add vertical progress indicator to react #5146
Conversation
Question for @laurenmrice, did we want to reduce the padding between Vertical steps? |
042db72
to
17fb59d
Compare
Deploy preview for the-carbon-components ready! Built with commit 042db72 https://deploy-preview-5146--the-carbon-components.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 042db72 |
Deploy preview for carbon-components-react failed. Built with commit 042db72 https://app.netlify.com/sites/carbon-components-react/deploys/5e28dc3ea94ab900077455fa |
Deploy preview for carbon-components-react failed. Built with commit 97efab4 https://app.netlify.com/sites/carbon-components-react/deploys/5e2a0edcad01c40173946afd |
Deploy preview for the-carbon-components ready! Built with commit 97efab4 https://deploy-preview-5146--the-carbon-components.netlify.com |
Deploy preview for carbon-elements failed. Built with commit 97efab4 https://app.netlify.com/sites/carbon-elements/deploys/5e29f194bf97c10009fa4b8a |
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.
Thank you for jumping in @tw15egan! I wonder vertical
thing can be a knob, but I'm open for either way.
@tw15egan I think it just needs to always have that 24px of padding-bottom and not a set height incase there are more lines in which case the text would wrap. |
4c3d90f
to
b05f46c
Compare
d81db0a
to
6904c54
Compare
@asudoh updated and changed it to a knob. Also added in another knob for the Label text so that it is easier to test long text blocks. |
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
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 good to me. Checked it out on Edge, Firefox, and Chrome latest on Windows 10
Thanks @tw15egan for the update! |
Closes #5141
Adds in the vertical
ProgressIndicator
variation to React. Enabled by passing invertical
to theProgressIndicator
component.Changelog
New
ProgressIndicator
Changed
div
in the React markup ofProgressIndicator
Testing / Reviewing
Check the Storybook and ensure the Vertical variation looks the same as the Vanilla version.