Skip to content

Commit 603df3c

Browse files
authored
Merge pull request #5323 from uswds/release-3.5.0
USWDS 3.5.0
2 parents c397204 + 6ab68c3 commit 603df3c

File tree

226 files changed

+3029
-3433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+3029
-3433
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- run:
3535
name: Run test
3636
command: npm run test:ci
37+
- run:
38+
name: Check formatting
39+
command: npm run prettier:check
3740

3841
deploy:
3942
<<: *container

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ _Indicate if this update is a breaking change with **one** of the following stat
3939
This is not a breaking change.
4040
:warning: This is potentially a breaking change.
4141
:warning: This is a breaking change.
42-
<!-- If applicable, explain what actions are required for the user to remediate the break. -->
42+
<!--
43+
Breaking changes include:
44+
- Changes to the JavaScript API
45+
- Changes to markup or content in our components
46+
- Significant changes to the display of a component
47+
If applicable, explain what actions are required for the user to remediate the break.
48+
-->
4349

4450
## Related issue
4551

@@ -50,6 +56,22 @@ If no open issue exists, you can open one here:
5056
https://github.com/uswds/uswds/issues/new/choose.
5157
-->
5258

59+
## Related pull requests
60+
61+
_Indicate if there are other pull requests necessary to complete this issue._
62+
<!--
63+
Some changes to the USWDS codebase require a change to the documentation site,
64+
and need a pull request in the [uswds-site repo](https://github.com/uswds/uswds-site).
65+
66+
This could include:
67+
- New or updated component documentation,
68+
- New or updated settings documentation, or
69+
- Changelog entries.
70+
71+
Add links to any related PRs in this section. If this change requires an update
72+
to the uswds-site repo, but that PR does not yet exist, just make sure to note that here.
73+
-->
74+
5375
## Preview link
5476

5577
Preview link:
@@ -108,7 +130,7 @@ include a list of the changed dependencies and version numbers.
108130
Before opening this PR, make sure you’ve done whichever of these applies to you:
109131
- [ ] Confirm that this code follows the [18F Front End Coding Style Guide](https://pages.18f.gov/frontend/) and [Accessibility Guide](https://pages.18f.gov/accessibility/checklist/).
110132
- [ ] Run `git pull origin [base branch]` to pull in the most recent updates from your base and check for merge conflicts. (Often, the base branch is `develop`).
111-
- [ ] Run `npm run prettier:scss` to format any Sass updates.
133+
- [ ] Run `npm run prettier:sass` to format any Sass updates.
112134
- [ ] Run `npm test` and confirm that all tests pass.
113135
- [ ] Run your code through [HTML_CodeSniffer](http://squizlabs.github.io/HTML_CodeSniffer/) and make sure it’s error free.
114136
-->

.github/workflows/add-to-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
types:
66
- opened
77

8+
permissions: {}
89
jobs:
910
add-to-project:
1011
name: Add issue to project

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ on:
2525
schedule:
2626
- cron: "0 21 * * 1"
2727

28+
permissions:
29+
contents: read # to fetch code (actions/checkout)
30+
2831
jobs:
2932
analyze:
33+
permissions:
34+
contents: read # to fetch code (actions/checkout)
35+
security-events: write # (github/codeql-action/autobuild)
36+
3037
name: Analyze
3138
runs-on: ubuntu-latest
3239

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 16.18.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ The `@uswds/uswds` module is now installed as a dependency. You can use the comp
195195
### Install the package directly from GitHub
196196
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.
197197

198-
1. Download the [USWDS package](https://github.com/uswds/uswds/releases/download/v3.4.1/uswds-uswds-3.4.1.tgz) directly from the latest USWDS release and uncompress that file.
198+
1. Download the [USWDS package](https://github.com/uswds/uswds/releases/download/v3.5.0/uswds-uswds-3.5.0.tgz) directly from the latest USWDS release and uncompress that file.
199199

200200
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:
201201

@@ -355,7 +355,7 @@ Some components have additional methods based on that component's functionality.
355355
Importing a modular component.
356356
357357
```js
358-
import USWDS from "@uswds/uswds/src/js";
358+
import USWDS from "@uswds/uswds/js";
359359
const { characterCount, accordion } = USWDS; // deconstruct your components here
360360

361361
// Alternatively

0 commit comments

Comments
 (0)