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
Release 2.11.2 #4169
Merged
Merged
Release 2.11.2 #4169
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ked and disabled. added styles for the --tile version.
…ides The unstyled button mixin customizes the hover and active appearance of a button, but only applies this with the browser-native `:hover` and `:active` modifiers, and not with USWDS' explicit `usa-button--hover` and `usa-button--active` modifier classes.
Changes from responding to resize event with conditions on current viewport size, to event-based matchMedia. Why: - Fewer runtime dependencies, reducing bundle size and maintenance overhead - Faster response time of viewport changes, since viewport-specific logic is run immediately, without a debounce delay - Simpler tests, due to the absence of timer scheduling accounting for debounce - Less computationally-intensive, since resize events are no longer handled, regardless whether they're debounced
Co-authored-by: Dan O. Williams <11464021+thisisdano@users.noreply.github.com>
Sync 2.11.1
The unstyled button resets font smoothing which may have been applied by e.g. disabled button styling. However, the reset is opinionated and assumes a specific default font smoothing. This can cause some inconsistency between the appearance of links and unstyled buttons if the page's default font smoothing does not match the opinionated reset styling. Instead, reset using the "inherit" keyword to inherit what would be the normal font smoothing behavior absent smoothing applied by the "add-knockout-font-smoothing" mixin.
Use 24px icons only (+ small icon updates)
- Remove extra example - Move radio tile checked back to 1st item
…unchecked-when-disabled-even-when-checked
- Remove duplicate entry - Add missing summary box - Sort alphabetically - Add icon and icon list - Add site alert - Add collection
USWDS - Footer Component updates test spec
…abled-even-when-checked USWDS - Checkbox & Radio: Display state when disabled and checked.
USWDS - Variables: Deprecate site-max-width variable.
Buttons: Use "inherit" for font smoothing reset
USWDS - Packages: Add summary box and update imports list.
Button: Include explicit state classes in unstyled hover, active overrides
USWDS - Side navigation: Fix current color link color.
This will enable any user overrides in subsequent code
…nges" This reverts commit 75d974f.
Final 2.11.2 updates
mejiaj
approved these changes
Apr 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new in USWDS 2.11.2
Bugfixes
Checked radio buttons remain checked in disabled state. Now the visual checked state of a checked checkbox does not change if that element is later disabled. (#4160)
Fixed incorrect variable usage ($theme-site-max-width). We updated our docs and settings to remove the
$theme-site-max-width
variable, which was in the docs and in the settings, but not in the code itself. In its place, use$theme-grid-container-max-width
.$theme-site-max-width
is marked for deprecation. (uswds/uswds-site#1198)Added missing Summary Box package. Now you can add a Summary Box package to your project with
packages/usa-summary-box
. (#4162)Fixed unstyled button styling. We updated and strengthened the styling of unstyled buttons to prevent any unwanted style leakage from conventional buttons, especially is used in conjunction with
usa-button--hover
andusa-button--active
classes. Thanks @aduth! (#4077)Fixed color of active parents in the side navigation. We fixed a regression where the parent items in the side navigation no longer received the
primary
color. Thanks @asarazor! (#4163)thumb_down_off_alt
withthumb_down_off
in our icon sprite for consistency with itsthumb_up
pair. (#4139)remove_red_eye
icon fromusa-icons
and sprite. Use ofvisibility
instead. (#4139)Dependencies and security
REMOVED
0
vulnerabilities in regular dependencies (dependencies for USWDS projects installed withnpm install uswds
)6 low, 2 high
vulnerabilities in devDependencies (development dependencies)Release ZIP SHA-256 hash:
688ddc5a0807eb202093f435b9949a5b29ebef9a7d6e7d073279d28ffd83e9a8