-
Notifications
You must be signed in to change notification settings - Fork 201
feat(progressbar): s2 migration #2659
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
Conversation
@@ -53,7 +53,7 @@ export const withContextWrapper = makeDecorator({ | |||
// Change background color when demonstrating static color options. | |||
if (args.staticColor === "black") { | |||
container.style.background = "var(--spectrum-examples-gradient-static-black)"; | |||
} else if (args.staticColor === "white") { | |||
} else if (args.staticColor === "white" || args.isStaticWhite === "true") { |
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.
In the case of Progress Bar, only Static White is supported. I didn't want to make folks use a dropdown in the Storybook controls when there's only one option, so I expanded this to accommodate for isStaticWhite as a boolean option.
🚀 Deployed on https://pr-2659--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.32 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailsprogressbar
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
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 tried out all the various options, static white, and high contrast mode, and this is looking great. I see you brought up the side label question with design already.
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.
This is looking good! The testing preview shows all the variants (including Static White), which match the design spec, which I can also access through the Storybook controls, and WHCM looks good as well!
6b74834
to
55fb881
Compare
f3dd9ff
to
9931a8e
Compare
6dbc850
to
ae7aedd
Compare
b037ee9
to
92b9f11
Compare
🦋 Changeset detectedLatest commit: 5f582df The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
7d5bcfb
to
53917df
Compare
53917df
to
5f582df
Compare
Description
Migrates Progress Bar to Spectrum 2 (design spec). Includes:
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
@jawinn
Regression testing
Validate:
To-do list