Skip to content

Commit

Permalink
Merge pull request #4169 from uswds/release-2.11.2
Browse files Browse the repository at this point in the history
Release 2.11.2
  • Loading branch information
mejiaj committed Apr 28, 2021
2 parents af0bc5c + c92b052 commit de44902
Show file tree
Hide file tree
Showing 253 changed files with 4,831 additions and 2,365 deletions.
6 changes: 3 additions & 3 deletions .snyk
@@ -1,9 +1,9 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
version: v1.19.0
# 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-04-02T06:38:47.102Z'
reason: No direct upgrade or patch.
expires: '2021-05-19T20:56:10.239Z'
patch: {}
12 changes: 6 additions & 6 deletions README.md
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.11.1/uswds-2.11.1.zip) from the latest USWDS release and open that file.
1. Download the [USWDS zip file](https://github.com/uswds/uswds/releases/download/v2.11.2/uswds-2.11.2.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.11.1/
uswds-2.11.2/
├── 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.11.1/
│   ├── uswds-2.11.2/
│   ├── 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.11.1/js/uswds-init.min.js"></script>
<link rel="stylesheet" href="assets/uswds-2.11.1/css/uswds.min.css" />
<script src="assets/uswds-2.11.2/js/uswds-init.min.js"></script>
<link rel="stylesheet" href="assets/uswds-2.11.2/css/uswds.min.css" />
</head>
<body>
<script src="assets/uswds-2.11.1/js/uswds.min.js"></script>
<script src="assets/uswds-2.11.2/js/uswds.min.js"></script>
</body>
</html>
```
Expand Down
29 changes: 29 additions & 0 deletions config/rename-material-icons.sh
@@ -0,0 +1,29 @@
#!/bin/bash

#Save current directory so we can restore it later
cur=$PWD

#Save command line arguments so functions can access it
args=("$@")​

#Process the file names when called from the loop below
function dir_command {
cd $1;
for f in `find . -name '24px.svg'`
do
filename=`echo $f|awk -F'/' '{SL = NF-1; TL = NF-2; print $SL "/" $TL ".svg"}'`
cp $f ./processed/$filename
done
cd ..;
}

#Declare the top level directory names
declare -a dirs=("action" "alert" "av" "communication" "content" "device" "editor" "file" "hardware" "home" "image" "maps" "navigation" "notification" "places" "social" "toggle")

#Loop through each directory and call the dir_command above
for dir in "${dirs[@]}"; do
dir_command "$dir/"
done

#Restore the folder
cd "$cur"

0 comments on commit de44902

Please sign in to comment.