-
Notifications
You must be signed in to change notification settings - Fork 202
feat(in-line-alert): S2 migration #3659
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
🦋 Changeset detectedLatest commit: 178bbe3 The changes in this PR will be included in the next version bump. 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 |
File metricsSummaryTotal size: 1.38 MB*
inlinealert
* An ASCII character in UTF-8 is 8 bits or 1 byte. |
🚀 Deployed on https://pr-3659--spectrum-css.netlify.app |
6c58d44
to
5938b6a
Compare
d488b5f
to
c3d9962
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.
Added a few questions, loving this update
6e044d6
to
24aa091
Compare
f124162
to
178bbe3
Compare
@cdransf In-line alert migration looks beautiful! I love the colors and the CSS is well structured. The only thing I'd probably add is the Link child component. It looks like every border variant the Link is |
178bbe3
to
9444ae6
Compare
…ather than selectors
…header story control
Co-authored-by: [ Cassondra ] <castastrophe@users.noreply.github.com>
…ld + markup examples
0c22272
to
24725ff
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.
Nice work! One last update and then I'm good to approve.
Co-authored-by: Josh Winn <965114+jawinn@users.noreply.github.com>
Description
CSS-710
This migrates the
in-line alert
component to Spectrum 2. Custom properties have been updated and added per the design specification.Subtle and bold treatments have been added for each badge variant.
To use the subtle treatment, you will need to apply the
spectrum-InLineAlert--subtle
class:To use the bold treatment (which is reserved for high-attention alerts only), you will need to apply the
spectrum-InLineAlert--bold
class:Because subtle and bold treatments draw a similar level of attention you should choose only one to use consistently within a single product.
New mods
--mod-inlinealert-border-and-icon-color-neutral
--mod-inlinealert-min-spacing-header-to-icon
--mod-inlinealert-spacing-content-link-button
--mod-inlinealert-spacing-header-content
Removed mods
--mod-inlinealert-spacing-header-content-button
--mod-inlinealert-spacing-header-to-icon
New custom properties
--spectrum-inlinealert-min-spacing-header-to-icon
--spectrum-inlinealert-spacing-content-link-button
--spectrum-inlinealert-spacing-header-content
Removed custom properties
--spectrum-inlinealert-spacing-header-content-button
--spectrum-inlinealert-spacing-header-to-icon
Validation steps
Screenshots
To-do list