Skip to content

Release 2.12.1#4291

Merged
thisisdano merged 71 commits into
mainfrom
release-2.12.1
Aug 18, 2021
Merged

Release 2.12.1#4291
thisisdano merged 71 commits into
mainfrom
release-2.12.1

Conversation

@thisisdano

@thisisdano thisisdano commented Aug 18, 2021

Copy link
Copy Markdown
Contributor

What's new in USWDS 2.12.1

Improvements and bug fixes

A big thank you to @aduth for all his work on many of the PRs in this release.

Security and dependencies

Dependencies

package old new
@babel/preset-env 7.14.5 7.15.0
@frctl/fractal 1.5.8 1.5.11
@frctl/nunjucks 2.0.10 2.0.13
@types/node 14.17.3 16.6.1
autoprefixer 10.2.6 10.3.1
axe-core 4.2.2 4.3.2
chrome-remote-interface 0.30.1 0.31.0
eslint 7.28.0 7.32.0
eslint-config-prettier 7.2.0 8.3.0
eslint-plugin-import 2.23.4 2.24.0
gulp-filter 6.0.0 7.0.0
jsdom 16.5.3 17.0.0
mocha 8.3.2 9.0.3
node-notifier 9.0.1 10.0.0
postcss 8.3.4 8.3.6
postcss-discard-comments 4.0.2 5.0.1
prettier 2.3.1 2.3.2
resemblejs 3.2.5 4.0.0
sass 1.35.1 1.38.0
sinon 9.2.4 11.1.2
snyk 1.634.0 1.683.0
stylelint-config-recommended-scss 4.2.0 4.3.0
stylelint-scss 3.19.0 3.20.1
typescript 4.3.2 4.3.5
typescript 16.1.1 17.1.1

0 vulnerabilities in regular dependencies (dependencies for USWDS projects installed with npm install uswds)

5 low, 5 moderate, 3 high vulnerabilities in devDependencies (development dependencies)

Release ZIP SHA-256 hash: 4492423dacfe6cf4f383cb2e436203c9f6b4caf302850b97bf8b6c81712312fa

seanpclark and others added 30 commits May 19, 2021 09:42
ANDI issue: Aria-hidden alerts.

The element is being hidden from screenreaders anyways. Using `sr-only` class here could be potentially confusing.
**Why**: It's expected to be a standalone script. Bundler adds overhead in compiled output.
Sync develop (2.12.0)
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
[USWDS]: Optimize initializer script
Account for cases where page content changes after initial script load, including:

- If USWDS script is loaded early in page content, all server-rendered content to follow will not be counted as non-modal content
- If any JavaScript alters the page after load, this will not be counted as non-modal content
USWDS - Range: add ARIA attribute.
Modal: Fix modal aria-hidden for non-modal content after script load
Date Picker / Combo Box: Use mouseover event instead of mousemove
USWDS: Breadcrumb - Changes negative margin from shorthand to left/right
- Added test case in navigation.spec.js
- Updated navigation.js to accept `Esc` key to close nav and dropdowns
- Eslint fix for config/gulp/test.js
- Close active navigation on focusout
- Add events to navigation tests for `focusout` and `escape`
- Add test for collapsing nav on focusout
thisisdano and others added 25 commits August 9, 2021 10:48
Avoids issues where HTML spacing is sensitive between the checkmark pseudo-element and label text.
Since otherwise the end-result could possibly be an invalid size token
USWDS - Navigation: Close actions.
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
So that checkbox positioning is accurate based on explicit font expectations
Checkbox / Radio Button: Improve HTML whitespace sensitivity
[USWDS] COMBOBOX | Fix textContent combobox
[USWDS] Modal | return early if no modal
@thisisdano thisisdano requested a review from mejiaj August 18, 2021 20:20
@thisisdano thisisdano changed the base branch from develop to main August 18, 2021 20:39
@thisisdano thisisdano merged commit f1144a0 into main Aug 18, 2021
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.

6 participants