Skip to content

Remove deprecated hint class, update Memorable Date guidance#337

Merged
aduth merged 1 commit intomainfrom
aduth-rm-deprecated-hint
Apr 17, 2023
Merged

Remove deprecated hint class, update Memorable Date guidance#337
aduth merged 1 commit intomainfrom
aduth-rm-deprecated-hint

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 14, 2023

This removes the .usa-form-hint class, which was deprecated in USWDS v2 (documentation). See 18F/identity-dashboard#634 for removal of the only downstream usage I could find.

The class was also used internally in the Memorable Date component guidance. I took the opportunity to update the markup to align to the new select-based dropdown. This documentation may be short-lived anyways, what with https://design.design.gov slated for deprecation.

Before After
image image

@aduth aduth requested a review from nickttng April 14, 2023 21:05
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit 807006b into main Apr 17, 2023
@aduth aduth deleted the aduth-rm-deprecated-hint branch April 17, 2023 18:00
@aduth aduth mentioned this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants