Visitar URL original
USWDS 2.10.1 by thisisdano · Pull Request #4004 · uswds/uswds · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
6ee8051
update address form to follow USPS standards
Sep 16, 2020
225e09c
update state select to combo box and move to own line to better view …
Sep 21, 2020
ac45d12
Added descriptor and asterisks for required labels on Name form.
mejiaj Nov 12, 2020
77afd61
Added required form hints on Address form.
mejiaj Nov 12, 2020
fa16f5c
Update select default.
mejiaj Nov 16, 2020
347a8f3
Label required fields.
mejiaj Nov 16, 2020
cd1b307
Add combobox to address line 2.
mejiaj Nov 23, 2020
a3c9cf7
Add abbreviation to States.
mejiaj Nov 23, 2020
f7a05a5
Update unavailable and sort.
mejiaj Nov 23, 2020
acd2119
Add `other` to 2nd address input.
mejiaj Nov 23, 2020
da6a3e4
Alphabetize by full name.
mejiaj Nov 23, 2020
40f6a42
Merge pull request #3902 from uswds/master
thisisdano Dec 17, 2020
5f24e5f
Update file input markup for USWDS Site.
Dec 17, 2020
aa76da4
Keep whitespace infront of multiple.
Dec 17, 2020
f2575ab
Consistent aria hint and error.
Dec 17, 2020
8d7143b
Adjust whitespace and use nunjucks comment.
Dec 18, 2020
8337846
Test reducing indents on additional attributes.
Dec 18, 2020
2e8ba0c
Update spacing on hint and disabled attribute.
Dec 18, 2020
50ecf08
Merge branch 'develop' of github.com:uswds/uswds into cc-address-form
Dec 18, 2020
c805ede
Set ID on combobox label.
Dec 18, 2020
55bc18c
Closes #3900 — set label for combo label and ul.
Dec 21, 2020
5b6fce3
Get combo label from parent and add comment to time picker unit test.
Dec 21, 2020
59c3c37
Update street, unit label, and sentence case.
Dec 21, 2020
5a7a90e
Add grid row to unit type and number.
Dec 21, 2020
5503977
necodeURI skipnav
Dec 21, 2020
c5dd77c
Remove default styling from the usa-collection__calendar-date class a…
mitchmoccia Jan 5, 2021
59e0827
Fix radio and checkbox focus outline on FF.
Jan 5, 2021
5ee3703
[security] Update to most recent LTS
thisisdano Jan 5, 2021
b7339f0
Merge pull request #3918 from uswds/jm-ff-input-focus
thisisdano Jan 5, 2021
a683079
Merge pull request #3919 from uswds/dw-nvm-security
Jan 7, 2021
02a7c7b
Merge branch 'develop' of github.com:uswds/uswds into jm-required-fields
Jan 7, 2021
fa03870
skypack fixes
Jan 7, 2021
2e0b420
add files keyword on package.json
Jan 7, 2021
7359e6c
Issue 3904: Changes the markup tag from an h3 to a p.
Jan 7, 2021
8291fc0
remove skypack dependency
Jan 7, 2021
6421954
Issue #3925: Add instagram social icon
smustgrave Jan 8, 2021
17a89bc
Update ZIP code label.
Jan 8, 2021
6c721aa
Display the form preview in a framed template
thisisdano Jan 11, 2021
4ec38a8
Clarify the required asterisk language. Use `required` hint formatting.
thisisdano Jan 11, 2021
68dc243
Use large legend
thisisdano Jan 11, 2021
480fa34
Merge pull request #3629 from uswds/cc-address-form
thisisdano Jan 11, 2021
88930d5
Fix radio and checkbox focus outline on FF.
Jan 5, 2021
77e6558
[security] Update to most recent LTS
thisisdano Jan 5, 2021
5263b17
Merge branch 'develop' of github.com:mobomo/uswds into develop
Jan 11, 2021
4968fa6
Support $theme-alert-icon-size
sawyerh Jan 12, 2021
d598534
Use new icon size as variable values
sawyerh Jan 12, 2021
7ad838d
found a hotfix for babel transpiler issue with svg4everybody, this is…
Jan 14, 2021
f9a98ed
Merge branch 'develop' of github.com:uswds/uswds into jm-required-fields
Jan 15, 2021
8758a39
Fix indents in address form.
Jan 15, 2021
e3ba96a
Add required modifier to name form.
Jan 15, 2021
9270d8f
Add primary link style to Identifier.
Jan 12, 2021
2d41ef1
Assign `$theme-color-base-ink` to "ink".
Jan 12, 2021
3a07674
Move custom color check to own function.
mejiaj Jan 19, 2021
94fff38
Create custom color functions for getting split and family values.
Jan 19, 2021
ef262ad
Create get-custom-color-grade().
Jan 20, 2021
3442dc1
Update vraiable names for custom color split.
Jan 20, 2021
99f627a
Issue uswds#3944: Fix incorrect padding-left applied to anchors in us…
fsierra Jan 20, 2021
06335d1
Swap check for custom colors, default to system tokens.
Jan 20, 2021
7cca1bc
issue#3826: Fix Card Component - Card Group - Flag layout responsiven…
Jan 20, 2021
65db3b9
Create functions for custom lighter & darker color grades.
Jan 20, 2021
c9fd154
Updated import path to correct components file
Jan 21, 2021
0e0741a
Add comments to custom color functions.
Jan 22, 2021
a5df8e3
Add closest-to-number().
Jan 22, 2021
a5486dc
Create stub for fallback color selection.
Jan 22, 2021
42b1cb0
Default to white for hover tokens less than 0.
mejiaj Jan 24, 2021
defb8fa
Create new closest number test.
mejiaj Jan 24, 2021
607f325
Start rewriting link color setting function.
mejiaj Jan 25, 2021
7f51ee0
Update check on custom color family for accent.
Jan 25, 2021
ef60715
Update get-link-tokens-from-bg().
Jan 25, 2021
9dc770f
Run prettier to fix mangled spacing from VS Code.
Jan 25, 2021
404fe69
Check if custom color family is ink.
Jan 25, 2021
53f03e7
Check if grade is higher than target otherwise use closest.
Jan 25, 2021
de76456
Set better fallbacks for Identifier links.
Jan 25, 2021
b53b816
Run prettier on _functions.scss.
Jan 26, 2021
84b49cf
Update snyk
thisisdano Jan 26, 2021
925a812
Run npm audit
thisisdano Jan 26, 2021
e59a80a
Merge pull request #3905 from uswds/jm-file-input-template
thisisdano Jan 26, 2021
5d465bf
Merge pull request #3908 from uswds/js-encodeURL
thisisdano Jan 26, 2021
cf4127f
Merge pull request #3959 from uswds/dw-update-snyk
Jan 26, 2021
e0c08cb
Merge branch 'develop' into js-svg4everybody-hotfix
thisisdano Jan 26, 2021
270532f
Merge pull request #3955 from mobomo/issue-3964-icon-import-fix
thisisdano Jan 26, 2021
08d0120
Align secondary nav and search with flex to prevent a Safari display bug
thisisdano Jan 26, 2021
8bef030
Merge pull request #3952 from mobomo/issue-3826--card-component--card…
thisisdano Jan 26, 2021
8c19194
Merge pull request #3951 from mobomo/issue-3944-incorrect-padding-lef…
thisisdano Jan 26, 2021
41e2950
Merge pull request #3943 from uswds/js-svg4everybody-hotfix
thisisdano Jan 26, 2021
9d709c4
Merge branch 'develop' into jm-color-contrast-3906
thisisdano Jan 26, 2021
c94c7bd
Add sass-true for sass unit testing and add a test script
thisisdano Jan 27, 2021
26c4686
Add a function to output errors as strings for testing, and apply to …
thisisdano Jan 27, 2021
1c74d64
Start to create some sass unit tests
thisisdano Jan 27, 2021
9e37ce9
Merge pull request #3960 from uswds/dw-secondary-nav-safari
Jan 27, 2021
1fe52dd
Add check for found color.
Jan 27, 2021
bd2944c
Clarify function by using $custom-color instead of $color
thisisdano Jan 27, 2021
a55b923
Rewrite get-color-token-assignment() to be simpler and provide more r…
thisisdano Jan 27, 2021
2de9e0d
Reorganize luminance ranges be be clearer, and move linearly from low…
thisisdano Jan 27, 2021
9a0f516
Disallow transparent in grade calculations
thisisdano Jan 27, 2021
07ebd7d
[see details]
thisisdano Jan 27, 2021
7e325c2
Update tests to reflect current get-color-grade() output
thisisdano Jan 27, 2021
3090bf3
Add simple functions for checking color tokens and returning errors
thisisdano Jan 27, 2021
a2c5b62
Clarify custom-color-assignment function
thisisdano Jan 27, 2021
a2e46d5
Clarify decompose() function
thisisdano Jan 27, 2021
06a73d7
[see details]
thisisdano Jan 27, 2021
acdfb77
Add a magic-number() function
thisisdano Jan 28, 2021
62f4b58
Use color function in set-text-from-bg()
thisisdano Jan 28, 2021
1cd7d94
Clarify get-token-from-bg() and remove get-color-from-bg() to preserv…
thisisdano Jan 28, 2021
1a95023
Move magic numbners out of funcs and into vars
thisisdano Jan 28, 2021
9955628
Sketch out basic function flow
thisisdano Jan 28, 2021
da35d44
Assure that decompose function processes all color tokens properly
thisisdano Jan 28, 2021
b323868
Complete link color picker and tests
thisisdano Feb 1, 2021
72a95c1
Add context text to banner functions
thisisdano Feb 1, 2021
a4972cc
Add context to get-color-token-from-bg()
thisisdano Feb 1, 2021
211d0b4
Comment and simplify functions
thisisdano Feb 2, 2021
482225f
Add context to components
thisisdano Feb 2, 2021
60b2b87
Add is-accessible-magic-number() tests
thisisdano Feb 2, 2021
2dc3a6a
Add color-variant() tests
thisisdano Feb 2, 2021
420a7e6
Use calculate-grade() instead of color-grade(); build out tests
thisisdano Feb 2, 2021
5879889
Use get-color-token-from-bg() in get-link-tokens-from-bg()
thisisdano Feb 2, 2021
15b16a8
Write get-color-token-from-bg() tests
thisisdano Feb 2, 2021
35b0629
Add transparency tests
thisisdano Feb 2, 2021
426a973
Improve grade function names
thisisdano Feb 2, 2021
4d34915
Rename sass tests to exclude from standard tests
thisisdano Feb 2, 2021
af777de
Improve common error function; make color functions more efficient
thisisdano Feb 2, 2021
37593af
Merge branch 'jm-color-contrast-3906' into dw-color-functions
thisisdano Feb 2, 2021
13e915d
Add more docs to get-link-tokens-from-bg()
thisisdano Feb 2, 2021
a4dc2b0
Remove unnecessary decompose tasks
thisisdano Feb 2, 2021
f10d252
Normalize color token function names
thisisdano Feb 2, 2021
b923d0f
Update color-token-grade() name
thisisdano Feb 2, 2021
dcdd5ef
[see details]
thisisdano Feb 2, 2021
4ee8e66
Use `default` for identifier primary link setting
thisisdano Feb 2, 2021
21f7dfd
Use default link hover if accessible token value == default
thisisdano Feb 2, 2021
b52b0a1
[see details]
thisisdano Feb 2, 2021
593db16
Properly set default values
thisisdano Feb 2, 2021
a514e33
Use defaults for set-link function and mixin
thisisdano Feb 2, 2021
47559aa
Add settings for body bg and text/reverse
thisisdano Feb 3, 2021
2ba5244
Add settings for alert text and link colors
thisisdano Feb 3, 2021
ee70d2c
Use settings and autoformat on body element
thisisdano Feb 3, 2021
b5f1696
Use defaults in get-color function
thisisdano Feb 3, 2021
c19844d
Use consistent treatment for alert links
thisisdano Feb 3, 2021
a799cc5
Use defaults in set-text mixins
thisisdano Feb 3, 2021
a219c38
Allow "default" to be passed as a background color
thisisdano Feb 3, 2021
84db44c
Use default for breadcrumb background
thisisdano Feb 3, 2021
9276e21
Add a function to grab common project defaults
thisisdano Feb 3, 2021
eeaef37
Remove props from functions if duplicate defaults
thisisdano Feb 3, 2021
693a67a
Fix broken test
thisisdano Feb 3, 2021
610958e
Pass a `for` prop to improve error messaging
thisisdano Feb 3, 2021
02a7e2d
Fix alert content
thisisdano Feb 3, 2021
fa9b8b8
Use mixin instead of setting bg and text separately
thisisdano Feb 3, 2021
8c93557
Pick the best color token instead of the preferred, if none match
thisisdano Feb 3, 2021
5fa117b
Respect $theme-show-compile-warnings
thisisdano Feb 3, 2021
3cae33a
Update tests and add more WCAG level testing
thisisdano Feb 3, 2021
b18b43b
Merge pull request #3966 from uswds/dw-color-functions
thisisdano Feb 4, 2021
0001d96
Update theme grade min/max to current schema. Use "root" not "default"
thisisdano Feb 4, 2021
ea735e1
Use set-text-from-bg() on Identifier domain.
Feb 4, 2021
f9dfbc3
Use clear grade name for custom hex values
thisisdano Feb 4, 2021
51b383a
Fix typos
thisisdano Feb 4, 2021
230b33c
[see details]
thisisdano Feb 4, 2021
90801b3
Update var name for $system-wcag-magic-numbers
thisisdano Feb 4, 2021
64ee419
Use new function in set-link-from-bg() mixin
thisisdano Feb 4, 2021
6c8deed
Sync theme and settings files
thisisdano Feb 4, 2021
d6b38b3
Use error-not-token() in more cases
thisisdano Feb 4, 2021
c905c70
Simplify get-color-token-from-bg()
thisisdano Feb 5, 2021
e6c5c87
Fix small bugs
thisisdano Feb 5, 2021
0e2b566
Remove test code.
Feb 5, 2021
07f12be
Merge pull request #3949 from uswds/jm-color-contrast-3906
thisisdano Feb 5, 2021
65c3cc4
Merge pull request #3922 from uswds/js-skypack
thisisdano Feb 5, 2021
e521d23
Merge pull request #3942 from navapbc/sawyerh/support-alert-icon-var
thisisdano Feb 5, 2021
407b4a4
Merge pull request #3923 from mobomo/issue-3904-footer-logo-heading
thisisdano Feb 8, 2021
a7149a4
Merge pull request #3907 from uswds/jm-combobox-label
thisisdano Feb 8, 2021
ce55120
Merge pull request #3917 from uswds/accelerator/collection-improvements
thisisdano Feb 8, 2021
d992d25
Use bold weight for footer heading
thisisdano Feb 8, 2021
67bec58
Merge pull request #3983 from uswds/issue-3904-footer-logo-heading
Feb 8, 2021
acd3855
Merge branch 'develop' into mobomo-issue-3925-instagram-social-icon
thisisdano Feb 8, 2021
efad717
Merge pull request #3948 from uswds/mobomo-issue-3925-instagram-socia…
thisisdano Feb 8, 2021
f61654f
Update to new social icons in footer
thisisdano Feb 8, 2021
52ac513
Add new icons in conbo box
thisisdano Feb 8, 2021
93ae6dd
Update icons in date picker; add far_next and far_before icons
thisisdano Feb 9, 2021
4706d94
Update checks in checklist; add blue-60v check variant
thisisdano Feb 9, 2021
d68bbf1
Update standard and alternate outside link icons; add color variants
thisisdano Feb 9, 2021
ceef37f
Use new icons for header close button
thisisdano Feb 9, 2021
e1ef045
Use new close icon in banner
thisisdano Feb 9, 2021
9a76000
Expose all files for USWDS-Site.
Feb 9, 2021
7db8e0a
Merge pull request #3987 from uswds/jm-remove-files-entry
thisisdano Feb 9, 2021
a0dd988
add new custom icons
jaredcunha Feb 10, 2021
a933aee
Add required attribute to Address form.
Feb 10, 2021
3f43b8e
Select combobox label based on `for`.
Feb 10, 2021
0ef0c6d
Fix indents.
Feb 10, 2021
aab2b44
update meta, add construction worker and sort arrows
jaredcunha Feb 10, 2021
4fd5194
Merge pull request #3990 from uswds/jm-patch-combobox
thisisdano Feb 11, 2021
36dd1e2
Merge branch 'develop' into jm-required-fields
thisisdano Feb 11, 2021
0593e1f
Use two-letter t-shirt size for input variants (keep old for backward…
thisisdano Feb 11, 2021
cff1db2
Add new t-shirt widths for inputs based on character size, not absolu…
thisisdano Feb 11, 2021
9bc7f2c
Use framed templates for readability
thisisdano Feb 11, 2021
174a763
Use large legends
thisisdano Feb 11, 2021
5ef712c
[see details]
thisisdano Feb 11, 2021
56561f4
Merge pull request #3828 from uswds/jm-required-fields
thisisdano Feb 11, 2021
92d8dcb
Use updated icon in breadcrumb
thisisdano Feb 11, 2021
2995aed
Add new icon to dropdown
thisisdano Feb 12, 2021
aa2b7da
Use new icon in header nav buttons
thisisdano Feb 12, 2021
6745d66
Fix validation icon position
thisisdano Feb 12, 2021
5b55314
Merge pull request #3988 from uswds/accelerator-3886/custom-icons
thisisdano Feb 12, 2021
a23621f
Move breadcrumb wrap variant styles.
Feb 17, 2021
ebc5622
Set wrap list items to inline block for #3997.
Feb 17, 2021
f8140fb
Merge pull request #4000 from uswds/jm-breadcrumb-wrapping
thisisdano Feb 19, 2021
3cf7dcb
Make combo box buttons full-height
thisisdano Feb 19, 2021
b5d4e0d
Update mobile breadcrumb back arrow
thisisdano Feb 19, 2021
a6409cc
Use link color for visited on dark backgrounds
thisisdano Feb 19, 2021
1a715a2
Update references to 2.10.1
thisisdano Feb 19, 2021
0cb920f
Update 2.10.1 notifications
thisisdano Feb 19, 2021
227c155
Merge pull request #4005 from uswds/dw-update-refs-2.10.1
thisisdano Feb 19, 2021
307fc8c
Add new icons to date picker year picker
thisisdano Feb 19, 2021
9995d8f
Add new icons to the mobile big footer
thisisdano Feb 19, 2021
add42ce
Add new icon metadata
thisisdano Feb 19, 2021
eb2d4d5
Update @frctl/fractal and @frctl/nunjucks.
Feb 19, 2021
a4d9d9b
Use navigate_ icons instead of chevron
thisisdano Feb 19, 2021
781b9d0
Merge pull request #3992 from uswds/dw-update-icons
thisisdano Feb 19, 2021
db32a42
Merge pull request #4014 from uswds/jm-update-fractal
thisisdano Feb 19, 2021
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.15.1
14.15.4
7 changes: 6 additions & 1 deletion .snyk
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
SNYK-JS-GLOBPARENT-1016905:
- del > globby > fast-glob > glob-parent:
reason: None given
expires: '2021-02-25T21:48:00.048Z'
patch: {}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ How you implement the design system depends on the needs of your project and you

### Download and install

1. Download the [USWDS zip file](https://github.com/uswds/uswds/releases/download/v2.10.0/uswds-2.10.0.zip) from the latest USWDS release and open that file.
1. Download the [USWDS zip file](https://github.com/uswds/uswds/releases/download/v2.10.1/uswds-2.10.1.zip) from the latest USWDS release and open that file.

After extracting the zip file you should see the following file and folder structure:

```
uswds-2.10.0/
uswds-2.10.1/
├── css/
│   ├── uswds.min.css.map
│   ├── uswds.min.css
Expand Down Expand Up @@ -98,7 +98,7 @@ How you implement the design system depends on the needs of your project and you
```
example-project/
├── assets/
│   ├── uswds-2.10.0/
│   ├── uswds-2.10.1/
│   ├── stylesheets/
│   ├── images/
│   └── javascript/
Expand All @@ -118,11 +118,11 @@ How you implement the design system depends on the needs of your project and you
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My Example Project</title>
<script src="assets/uswds-2.10.0/js/uswds-init.min.js"></script>
<link rel="stylesheet" href="assets/uswds-2.10.0/css/uswds.min.css" />
<script src="assets/uswds-2.10.1/js/uswds-init.min.js"></script>
<link rel="stylesheet" href="assets/uswds-2.10.1/css/uswds.min.css" />
</head>
<body>
<script src="assets/uswds-2.10.0/js/uswds.min.js"></script>
<script src="assets/uswds-2.10.1/js/uswds.min.js"></script>
</body>
</html>
```
Expand Down
Loading