-
Notifications
You must be signed in to change notification settings - Fork 3
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
USWDS-Proposals - ADR: Improve modularity in USWDS #24
base: main
Are you sure you want to change the base?
Conversation
f766615
to
ae2c670
Compare
|
||
## Consequences | ||
|
||
### Benefits |
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.
suggestion: may be good to explicitly call out performance and bundle size, since the hope is that increasing modularity will make it easier to make each package as small as possible
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.
@heymatthenry good idea. Tried to capture in f5e50e8.
|
||
| Date | Status | | ||
| ---------- | -------- | | ||
| 2024-12-19 | Proposed | |
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.
chore: Update status before merge.
| 2024-12-19 | Proposed | | |
| 2024-12-19 | Approved | |
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.
Couple of small wording suggestions.
@annepetersen Would you like to be included on ADR PRs for wordsmithing purposes?
|
||
## Context | ||
|
||
USWDS is becoming a set of products, in the form of tools and targets. To improve performance and provide flexibility to teams we should make USWDS more modular by offering products such as: |
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.
USWDS is becoming a set of products, in the form of tools and targets. To improve performance and provide flexibility to teams we should make USWDS more modular by offering products such as: | |
USWDS is becoming a set of products, in the form of tools and targets: targets, meaning the formats and code the system will generate, and tools meaning the system components that generate them. To improve performance and provide flexibility to teams we should make USWDS more modular by offering products such as: |
|
||
## Decision | ||
|
||
We'll create additional products and resources that teams can use individually, such as: utilities, tokens, SASS helpers, and HTML components. |
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.
We'll create additional products and resources that teams can use individually, such as: utilities, tokens, SASS helpers, and HTML components. | |
By refactoring existing code and creating new products, such as utilities, tokens, SASS helpers, and HTML components, we will support more modular, composable ways of working. |
Description
Proposal to improve modularity in USWDS. Breaking down the current USWDS package into smaller products will give teams greater flexibility and performance when building applications.
Closes #20.
Testing and review
Preview →