Skip to content

LG-3865: Update React button component prop names to align to design system#4815

Merged
aduth merged 2 commits intomainfrom
aduth-lg-3865-rename-button-props
Mar 23, 2021
Merged

LG-3865: Update React button component prop names to align to design system#4815
aduth merged 2 commits intomainfrom
aduth-lg-3865-rename-button-props

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Mar 22, 2021

This pull request seeks only to update the React <Button /> component's prop names semantics to align to current design system guidance. It's not intended to include any visual changes. The implementation still uses BassCSS, but this will reduce the impact of future revisions to migrate to design system CSS classes.

Reference: https://design.login.gov/components/buttons/

Why: As part of LG-3865, what's currently referenced as "primary" is the default appearance of a button, and is not tied to the wide appearance of a button.

Why: As part of LG-3865, "secondary" button type is called "outline". This is purely a naming change, where the visual appearance of "outline" and "secondary" are expected to be identical.

aduth added 2 commits March 22, 2021 09:17
**Why**: As part of LG-3865, what's currently referenced as "primary" is the default appearance of a button, and is not tied to the wide appearance of a button.
**Why**: As part of LG-3865, "secondary" button type is called "outline". This is purely a naming change, where the visual appearance of "outline" and "secondary" are expected to be identical.
@aduth aduth merged commit ce7608a into main Mar 23, 2021
@aduth aduth deleted the aduth-lg-3865-rename-button-props branch March 23, 2021 13:07
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.

2 participants