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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compatibility/precision for badge styles #445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aduth
Copy link
Member

@aduth aduth commented May 7, 2024

馃洜 Summary of changes

Iterates on styles introduced in #442 targeting the badge icon.

The IdP has a novel implementation of icon component which does not render markup as an <svg /> element, but does implement the equivalent as with the usa-icon class. Since it would be preferable (more precise) to implement the class selector vs. an element selector, this improves compatibility as well as improving the general implementation.

As part of the changes here, I dropped the selector which was deprecated as part of the work in #442, with the expectation this can be included in the next major release.

A patch release is not planned, and a temporary workaround will be added to the IdP instead.

馃摐 Testing Plan

Repeat testing plan from #442.

馃憖 Screenshots

There is not expected to be any visual impact of these changes, to be validated by the visual regression specs.

@aduth aduth added the breaking change Backwards-incompatible change to be included in a major version release label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Backwards-incompatible change to be included in a major version release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants