Visitar URL original
USWDS 3.1.0 by thisisdano · Pull Request #4904 · uswds/uswds · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
e5b6d4e
Set span groundwork
May 9, 2022
a357def
Change validation event handler from keyup to input change
May 11, 2022
20662d6
Updated for loop to add span element
May 11, 2022
30d27f6
createSpan() edit
May 12, 2022
56c20ef
Add button type to non-form buttons
May 16, 2022
28b0e79
remove preventDefault on button click event
May 16, 2022
863da24
Add controls with related props and initProps
May 17, 2022
d153f87
resolve accessibility errors
May 17, 2022
91966d4
Adds complete to validated items
mahoneycm May 17, 2022
616dc6b
Move type control to story argType
May 18, 2022
154d1d2
Convert type attribute control to radio button
May 18, 2022
712cdc4
Adds validation complete and incomplete queues for screen readers
mahoneycm May 26, 2022
971dd4b
Change if else statement to ternary operator
mahoneycm May 26, 2022
f372458
Creates multiple select styling
mahoneycm Jun 2, 2022
6d8e739
Begin creating test environment
mahoneycm Jun 2, 2022
47413c9
Merge branch 'develop' of github.com:uswds/uswds into cm-validation-a11y
mahoneycm Jun 2, 2022
7c8034f
Added options to test multiple select
mahoneycm Jun 3, 2022
d9cd14b
Merge branch 'develop' of https://github.com/uswds/uswds into al-date…
Jun 3, 2022
200b49a
Run prettier on Validation template
Jun 4, 2022
359aacc
Remove unnecessary references from validate utility
Jun 4, 2022
a4db2e1
Refactor validation JS
Jun 4, 2022
b430dd9
Update storybook names and argTypes
Jun 7, 2022
a18fe63
Extend :disabled styles to include aria-disabled
Jun 7, 2022
02e182a
Adds aria-live=polite to usa-checklist in validation components
mahoneycm Jun 8, 2022
e20363e
Switched aria live to validation checklist items
mahoneycm Jun 8, 2022
6cb6540
Merge branch 'develop' of https://github.com/uswds/uswds into al-date…
Jun 8, 2022
d80f0e9
Update controls on date picker
Jun 8, 2022
e6ef46b
Add clarity to control names and variables
Jun 9, 2022
e764357
Moves multiple select to it's own story
mahoneycm Jun 10, 2022
82e0b70
Removed checked class from initial validation state
mahoneycm Jun 13, 2022
23a5c3f
Updates initialization on validation component
mahoneycm Jun 13, 2022
aff2aea
Refactored multiple select settings
mahoneycm Jun 13, 2022
3ca9f90
Moved multiple select to a test patterns directory
mahoneycm Jun 13, 2022
c7ad17d
Set button group to align items center
Jun 14, 2022
a9ebeec
Rename test story
mahoneycm Jun 14, 2022
6c53309
Remove extra lines
mahoneycm Jun 14, 2022
b6be528
Add aspect ratio test story and twig
Jun 14, 2022
581276b
Use CSS aspect-ratio property
Jun 14, 2022
b308691
Repair a11y issues
Jun 14, 2022
d526b09
Update story styles
Jun 14, 2022
c8fa4cb
Add max-width to aspect utility
Jun 14, 2022
cb11c0b
Add whitespace to end of file
Jun 15, 2022
e6f1817
Add navigation to doc template
Jun 15, 2022
d805212
Change template brackets from square to angle
Jun 15, 2022
9c0653c
Adjust stacking order for header
Jun 15, 2022
9f315e7
Wrap twig markup with .grid-container
Jun 16, 2022
4a3222d
Add more test scenarios
Jun 16, 2022
9e541a5
Update add-aspect mixin and project-aspect-ratios
Jun 16, 2022
44a5973
Use new aspect-ratio-children mixin to utilities
Jun 16, 2022
b31d7ed
Repair aspect mixin and variables
Jun 16, 2022
4b08bfd
Add max-width to aspect 1x1 utility
Jun 16, 2022
c331f3b
Improve formatting
Jun 17, 2022
11e5691
Add additional test cases with explanations of browser inconsistencies
Jun 17, 2022
baa9c98
Use add-aspect mixin in .usa-embed-container
Jun 17, 2022
b956813
Repair a11y failures
Jun 17, 2022
2ebc716
Update youtube link to USWDS video
Jun 17, 2022
7f9b37a
Add default width for when added directly to img element
Jun 17, 2022
0ddf354
Add position:relative to hero grid-container (preserves callout posit…
Jun 17, 2022
f0f2370
Remove closing img tag on test
Jun 17, 2022
7857fdd
Comment out mixin test markup
Jun 17, 2022
5b2b538
Add overflow: hidden to add-aspect (Safari fix)
Jun 17, 2022
286a440
Merge pull request #4825 from uswds/main
thisisdano Jun 17, 2022
3d30ec0
Merge branch 'develop' of https://github.com/uswds/uswds into cm-sele…
Jun 23, 2022
e884254
Update more :disabled styles to include aria-disabled
Jun 24, 2022
23c42e0
Add aria-disabled to date picker and button stories
Jun 24, 2022
6852493
Repair missing curly bracket
Jun 27, 2022
8f31e2f
Add add-to-project GitHub action
Jun 27, 2022
7581073
Merge pull request #4830 from uswds/al-add-to-project
Jun 28, 2022
d050097
Update github-token and pin action version
Jun 28, 2022
9d65377
Merge pull request #4833 from uswds/al-update-secret
Jun 29, 2022
a81fa89
Add story controls for aria-disabled (for testing)
Jun 29, 2022
782dd16
Add cursor:auto to button-disabled styles
Jun 29, 2022
a1ab8a8
Add disabled styling to aria-disabled usa-date-picker_button
Jun 29, 2022
babbf34
Repair border styles on disabled buttons
Jun 29, 2022
78c2a08
Standardize disabled hover states for button variants
Jun 29, 2022
5d08b5b
Merge branch 'develop' of https://github.com/uswds/uswds into al-aria…
Jun 29, 2022
888677f
Run prettier
Jun 29, 2022
7db47bf
Restore some not([disabled]) styles
Jun 29, 2022
ea7953a
Repair date-picker scss
Jun 29, 2022
1bf37f9
Run prettier
Jun 29, 2022
43f604b
Restore previous focus.scss
Jun 29, 2022
8211b00
Run prettier
Jun 29, 2022
f5600c8
Update prettier:scss pointed directory to ./packages
Jun 30, 2022
e901bc6
Run prettier
Jun 30, 2022
14d9b41
Merge pull request #4838 from uswds/al-update-prettier
Jun 30, 2022
c032651
Install @types/eslint@8.4.3 (resolve install error)
Jun 30, 2022
bedd200
Merge pull request #4841 from uswds/al-pin-eslint
thisisdano Jun 30, 2022
9f3daff
Merge pull request #4812 from uswds/al-button-group-align
thisisdano Jul 5, 2022
5a3c8c4
Merge pull request #4696 from uswds/al-date-range-picker
thisisdano Jul 5, 2022
a6d6cf4
Merge pull request #4766 from uswds/cm-select-multiple
thisisdano Jul 5, 2022
c1d1ce2
Replace template language tags in _max.twig
Jul 5, 2022
93c1054
Add LinkedIn icons
thisisdano Jul 5, 2022
681cecf
Remove old directories from icons script
thisisdano Jul 5, 2022
31606bf
Normalize icon markup with svgo
thisisdano Jul 5, 2022
745ab56
Use linkedin instead of linked_in
thisisdano Jul 5, 2022
2000891
Update storybook metadata
thisisdano Jul 5, 2022
efcd4ed
Replace usa-form__note <a> with <button>
Jul 6, 2022
bffade1
Export with proper svgo settings
thisisdano Jul 6, 2022
5b54dcd
Add circle variant
thisisdano Jul 6, 2022
b9f79ed
Update img#{&} interpolation
Jul 6, 2022
18f7bca
Simplify :where function selectors
Jul 6, 2022
5b59cde
Remove outdated notes on browser support (issues fixed)
Jul 7, 2022
bab3c7d
Use @each to emit extra rules for .add-aspect-
Jul 7, 2022
381a9f9
Merge branch 'develop' of https://github.com/uswds/uswds into al-aspe…
Jul 7, 2022
40ba31e
Run prettier
Jul 7, 2022
df04652
Fix typo
Jul 7, 2022
73446d1
Add proper version of each social icon
thisisdano Jul 7, 2022
a26e192
Add type='button'
Jul 11, 2022
a75fe0e
Add $ project-aspect-padding (simplify utility builder)
Jul 11, 2022
acba6d3
Use @supports(preserve styles in older browsers)
Jul 11, 2022
790effc
Use add-aspect mixin for utility builder, use @supports
Jul 11, 2022
03006d4
Run prettier
Jul 11, 2022
ff81dd4
Move position:relative to default styles
Jul 11, 2022
93f8307
Define padding-bottom instead of padding
Jul 11, 2022
06c910d
Add type='button'
Jul 11, 2022
ad2bcfc
Format code
Jul 11, 2022
8e5d7ba
Add button classes to toggle test
Jul 11, 2022
7515f51
Merge develop
Jul 11, 2022
54f1a9f
Remove @types/eslint from devDependencies
Jul 11, 2022
8e500c5
Add quotes to {{size}}
Jul 12, 2022
855072b
Set show_disabled to true
Jul 12, 2022
60ca1d3
Return child styles (for older browsers)
Jul 12, 2022
304147a
Merge pull request #4862 from uswds/al-repair-select-size
Jul 12, 2022
e381e13
Update package-lock
Jul 12, 2022
b4f7a17
Merge branch 'develop' of https://github.com/uswds/uswds into al-remo…
Jul 12, 2022
75643d7
Incorporate :where
Jul 13, 2022
65ab2af
Remove usa-form__note from button
Jul 14, 2022
5ab4e36
Merge branch 'develop' of https://github.com/uswds/uswds into al-pass…
Jul 14, 2022
1293e5f
Remove usa-button classes from markup
Jul 14, 2022
4d4ed11
Deprecate @mixin embed-container
Jul 14, 2022
d5f2167
Move padding-y to grid-container
Jul 14, 2022
61ac0c1
Run prettier
Jul 14, 2022
beecb2f
Format code
Jul 15, 2022
de783f3
Move aria-disabled to conditional in existing elements
Jul 15, 2022
af9e8e2
Reorder disabled big button
Jul 15, 2022
2cc1bb3
Repair disabled hover styles
Jul 15, 2022
ea3389e
Repair datepicker disabled/aria-disabled stories
Jul 15, 2022
acd1289
Move aria-disabled to conditional in existing elements (Radio)
Jul 15, 2022
a7494a5
Add name to aria_disabled (Button)
Jul 15, 2022
01dafee
Restructure button-group twig and json to apply aria-disabled to elem…
Jul 15, 2022
c94c74a
Add aria-disabled to elements (radio tile)
Jul 15, 2022
e8e37c7
Merge pull request #4811 from uswds/al-aspect-ratio-use
thisisdano Jul 18, 2022
c461638
Merge pull request #4857 from uswds/al-remove-types-eslint
thisisdano Jul 18, 2022
65b1480
Merge pull request #4817 from uswds/jm-mobile-menu-shaded
thisisdano Jul 18, 2022
f39d798
Run prettier
Jul 18, 2022
a0cbcc9
Move aria-disabled demo next to disabled
Jul 18, 2022
0419688
Use radio button control for disabled states
Jul 18, 2022
a68ef1f
Revert to initial Big Footer settings
thisisdano Jul 20, 2022
52cdc2e
Remove LinkedIn circle icon
thisisdano Jul 20, 2022
3abdf52
Update material icons directory from outlined to filled
Jul 20, 2022
6273140
Merge pull request #4873 from uswds/al-icon-outline
thisisdano Jul 21, 2022
af3c60e
Remove disabled attribute from link button demo
Jul 22, 2022
6dfc468
Merge pull request #4872 from uswds/dw-update-social-icons
thisisdano Jul 27, 2022
f710952
Add optimized jpg and webp hero image files
thisisdano Jul 27, 2022
c4d0f4d
Exclude images with an _ prefix (originals) from the dist
thisisdano Jul 27, 2022
0528750
Add original hero image as an excluded image
thisisdano Jul 27, 2022
3bf2177
Use optimized JPG in the hero component
thisisdano Jul 27, 2022
9099ffe
Merge pull request #4783 from uswds/al-aria-disabled
thisisdano Jul 27, 2022
bd78578
Remove usa-show-multipassword in favor of usa-show-password
Jul 28, 2022
c4c93c8
Merge pull request #4847 from uswds/al-password-button
thisisdano Jul 28, 2022
71a4993
Merge pull request #4885 from uswds/dw-hero-image
thisisdano Jul 28, 2022
b81eae9
Remove `#` from validation element
thisisdano Jul 28, 2022
588d195
Merge branch 'develop' into al-button-type
thisisdano Jul 28, 2022
ef15adb
Add missing comma
thisisdano Jul 28, 2022
3d99838
Remove unused modifiers
thisisdano Jul 28, 2022
26008a4
Disable only part of the segmented button group
thisisdano Jul 28, 2022
ece7613
Reinstate modifiers
thisisdano Jul 28, 2022
77f4106
Add button type to segmented button group buttons
thisisdano Jul 29, 2022
0b0e03f
Merge pull request #4719 from uswds/cm-validation-a11y
thisisdano Jul 29, 2022
aa119d4
Merge pull request #4695 from uswds/al-button-type
thisisdano Jul 29, 2022
d6bceb1
Update references from 3.0.2 → 3.1.0
thisisdano Jul 29, 2022
05117fc
Update notifications with breaking changes from 3.1.0
thisisdano Jul 29, 2022
0b971ce
Add deprecation notice for embed-container()
thisisdano Jul 29, 2022
5dc9749
Remove stray space
thisisdano Jul 29, 2022
f2752b2
Merge pull request #4891 from uswds/dw-3.1.0-release-updates-2
thisisdano Aug 1, 2022
86dfb29
Update broken links
Aug 4, 2022
b6fdf09
3.1.0
thisisdano Aug 5, 2022
28c30d7
Create uswds-3.1.0-zip-hash.txt
thisisdano Aug 5, 2022
7b3cb67
Merge pull request #4902 from uswds/al-htmlproofer
thisisdano Aug 5, 2022
dc5a6fd
Merge branch 'develop' into release-3.1.0
thisisdano Aug 5, 2022
fc572d8
Revert "USWDS - Validation: Adds complete/incomplete labels for scree…
Aug 5, 2022
60fa5d7
Merge pull request #4906 from uswds/revert-4719-cm-validation-a11y
thisisdano Aug 5, 2022
93436f8
Merge branch 'develop' into release-3.1.0
thisisdano Aug 5, 2022
08ac8bb
Update release package hash
thisisdano Aug 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add all issues to project board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.1.0
with:
project-url: https://github.com/orgs/uswds/projects/8
github-token: ${{ secrets.ADD_TO_PROJECT }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ The `@uswds/uswds` module is now installed as a dependency. You can use the comp
### Install the package directly from GitHub
If you’re using a framework or package manager that doesn’t support npm, you can find the source files in this repository and use them in your project. Otherwise, we recommend that you follow the steps outlined in this section.

1. Download the [USWDS package](https://github.com/uswds/uswds/releases/download/v3.0.2/uswds-uswds-3.0.2.tgz) directly from the latest USWDS release and uncompress that file.
1. Download the [USWDS package](https://github.com/uswds/uswds/releases/download/v3.1.0/uswds-uswds-3.1.0.tgz) directly from the latest USWDS release and uncompress that file.

2. Copy these files and folders into a relevant place in your project's code base. Here is an example structure for how this might look:

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We include a security and vulnerability report with every USWDS release, and rel
We encourage you to verify the security and status of the USWDS package:

1. **Check the vulnerability badge.** Confirm the vulnerability badge in the [USWDS Github code repository](https://github.com/uswds/uswds) says there are `0` vulnerabilities.
1. **Download the package via npm.** We recommend using the [npm package](https://designsystem.digital.gov/documentation/developers/#install-using-npm) instead of the [zip file](https://designsystem.digital.gov/documentation/developers/#download-and-install), whenever possible. Using npm makes it easier to stay up-to-date and use the latest USWDS version as a project dependency, and is a secure and reliable way to download USWDS source code.
1. **Download the package via npm.** We recommend using the [npm package](https://designsystem.digital.gov/documentation/developers/#install-using-node-and-npm) instead of the [zip file](https://designsystem.digital.gov/documentation/developers/#install-the-package-directly-from-github), whenever possible. Using npm makes it easier to stay up-to-date and use the latest USWDS version as a project dependency, and is a secure and reliable way to download USWDS source code.

## Report a security issue

Expand Down
15 changes: 2 additions & 13 deletions docs/WHO_IS_USING_USWDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [18F Front End Guide](https://frontend.18f.gov/)
- [Accessibility for Teams](https://accessibility.digital.gov/)
- [Advanced Distributed Learning (ADL) Initiative](https://adlnet.gov)
- [Agricultural Marketing Service - USDA](http://gipsa.usda.gov/)
- [Agricultural Marketing Service - USDA](https://www.ams.usda.gov/)
- [Agricultural Research Service - USDA](https://www.ars.usda.gov/)
- [Scientific Discoveries - Agricultural Research Service - USDA](https://scientificdiscoveries.ars.usda.gov/)
- [America’s Seed Fund - National Science Foundation](https://seedfund.nsf.gov/)
Expand All @@ -21,7 +21,6 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [Be Tobacco Free - HHS](https://betobaccofree.hhs.gov/)
- [The Centers for Medicare and Medicaid Services (CMS) Blue Button API Docs](https://bluebutton.cms.gov/developers/)
- [Centers of Excellence (GSA)](https://coe.gsa.gov/)
- [Christmas Tree Permits - U.S. Forest Service](https://openforest.fs.usda.gov/christmas-trees/forests)
- [CitizenScience.gov](https://www.citizenscience.gov/)
- [ClinicalTrials.gov](https://clinicaltrials.gov/)
- [cloud.gov](https://cloud.gov/)
Expand All @@ -44,8 +43,6 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [DotGov](https://home.dotgov.gov/)
- [EPA.gov - U.S. Environmental Protection Agency](https://www.epa.gov/)
- [EPA Clean Water Jurisdictional Determinations](https://watersgeo.epa.gov/cwa/CWA-JDs/)
- [EPA eRegs Notice & Comment](https://epa-notice.usa.gov/)
- [FAR Data Collection Pilot](https://fardatacollection.sam.gov)
- [Farm Credit Administration](https://www.fca.gov/)
- [Farm Credit System Insurance Corporation](https://www.fcsic.gov/)
- [Federal Data Strategy](https://strategy.data.gov/)
Expand All @@ -57,19 +54,16 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [Federal Privacy Council](https://www.fpc.gov/)
- [Federal Public Key Infrastructure Guides](https://fpki.idmanagement.gov/)
- [Federalist](https://federalist.18f.gov/)
- [Federalist Report Template](https://federalist-report-template.18f.gov/)
- [FedRAMP](https://www.fedramp.gov/)
- [FedRAMP Marketplace](https://marketplace.fedramp.gov/)
- [FedRAMP Tailored](https://tailored.fedramp.gov/)
- [feedback.usa.gov](https://feedback.usa.gov/)
- [FHA Single Family Policy Library](https://hud-digital-services.github.io/single-family-policy-handbook/)
- [FOIA](https://www.foia.gov/)
- [Foster Youth Experience Map](https://github.com/presidential-innovation-fellows/fyem-jekyll)
- [General Services Administration](https://gsa.gov)
- [General Services Administration - Tech at GSA](https://tech.gsa.gov/)
- [GI Bill Comparison Tool (Vets.gov)](https://www.vets.gov/gi-bill-comparison-tool)
- [GSA Grace Hopper Day Hackathon](https://open.gsa.gov/events/grace-hopper-hackathon/)
- [GSA Open IAE (Integrated Award Environment)](http://gsa.github.io/openIAE/)
- [openGSA - GSA Open Technology](https://open.gsa.gov/)
- [HealthCare.gov](https://www.healthcare.gov/)
- [Hack the Pay Gap](https://paygap.pif.gov/)
Expand All @@ -79,14 +73,12 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [Institute of Museum and Library Services](https://imls.gov/)
- [Interagency Working Group on U.S. Government-Sponsored International Exchanges and Training (IAWG)](https://iawg.gov/)
- [IT Dashboard](https://itdashboard.gov/)
- [JobKit](https://jobkit.data.gov/)
- [Join an NIEHS Study - National Institute of Environmental Health Sciences](https://joinastudy.niehs.nih.gov/)
- [LINCS - Adult Education and Literacy - U.S. Department of Education](https://lincs.ed.gov/)
- [Legislative Branch Innovation Hub](https://usgpo.github.io/innovation/)
- [Login.gov](https://www.login.gov/)
- [Manufacturing USA](https://www.manufacturing.gov/)
- [Medicaid](https://www.medicaid.gov/)
- [Medical Expenditure Panel Survey (MEPS) summary tables](https://meps.ahrq.gov/mepstrends/home/index.html)
- [Method Cards - 18F](https://methods.18f.gov/)
- [Move.mil — Official DOD Moving Portal](https://www.move.mil/)
- [MyMedicare](https://www.mymedicare.gov/)
Expand All @@ -107,7 +99,6 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [Oak Ridge Institute for Science and Education (ORISE)](https://orise.orau.gov/)
- [Office of Evaluation Sciences](https://oes.gsa.gov/)
- [Office of the Historian - Department of State](https://history.state.gov/)
- [OMB Policy Library](https://omb-eregs-demo.app.cloud.gov/)
- [OpenFDA](https://open.fda.gov/)
- [Open Opportunities](https://openopps.usajobs.gov/)
- [Open Source @ NSA (National Security Administration)](https://code.nsa.gov/)
Expand All @@ -124,15 +115,13 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [SAM Web Design Standards](https://github.com/GSA/sam-design-system-site)
- [SBA Brand Guide](https://www.sba.gov)
- [SBA Certify - U.S. Small Business Administration](https://certify.sba.gov/)
- [SBNA Membership Application - Small Business Network of the Americas](https://match.state.gov/)
- [Search.gov](https://search.gov/)
- [Small Business Administration (SBA)](https://www.sba.gov/brand/)
- [Social and Behavioral Sciences](https://sbst.gov/)
- [StopBullying.gov](https://www.stopbullying.gov/)
- [Supreme Court of the United States](https://www.supremecourt.gov/)
- [TechFAR Hub](https://techfarhub.cio.gov/)
- [Technology Modernization Fund](https://tmf.cio.gov/)
- [Template Tool](http://alexose.github.io/experiments/correspondence/)
- [Touchpoints](https://touchpoints.digital.gov/)
- [Transportation Security Administration (TSA)](https://www.tsa.gov/)
- [U.S. Access Board](https://www.access-board.gov)
Expand Down Expand Up @@ -179,4 +168,4 @@ Below are a list of websites and applications currently using the U.S. Web Desig
- [We the People (Petition the White House)](https://petitions.whitehouse.gov/)
- [The White House](https://www.whitehouse.gov/)
- [WIC Works Resource System - USDA](https://wicworks.fns.usda.gov/)
- [Worker.gov](http://worker.gov/)
- [Worker.gov](https://www.worker.gov/)
Loading