From c4afe0ca206c7ac95deb9460cfa478a3cf91c5d8 Mon Sep 17 00:00:00 2001 From: James Mejia Date: Wed, 20 Nov 2024 10:56:15 -0600 Subject: [PATCH 1/2] "Install feature branch uswds/uswds#5878" --- package-lock.json | 15 +++++++++++---- package.json | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8cc496b4..788e3223d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@uswds/compile": "1.2.0", - "@uswds/uswds": "3.10.0" + "@uswds/uswds": "github:jhancock532/uswds#fix-in-page-navigation-scroll-bug" }, "devDependencies": { "@18f/identity-stylelint-config": "^2.0.0", @@ -1031,11 +1031,12 @@ } }, "node_modules/@uswds/uswds": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@uswds/uswds/-/uswds-3.10.0.tgz", - "integrity": "sha512-LWFTQzp4e3kqtnD/Wsyfx9uGTkn5GEpzhscNWJMIsdWBGKtiu96QT99oRJUmcsB6HbGhR0Th0FtlK/Zzx2WghA==", + "version": "3.8.0", + "resolved": "git+ssh://git@github.com/jhancock532/uswds.git#e20f51369d473c132664bc785badf978e12d2780", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { + "classlist-polyfill": "1.2.0", + "object-assign": "4.1.1", "receptor": "1.0.0", "resolve-id-refs": "0.1.0" }, @@ -2275,6 +2276,12 @@ "safe-buffer": "^5.0.1" } }, + "node_modules/classlist-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz", + "integrity": "sha512-GzIjNdcEtH4ieA2S8NmrSxv7DfEV5fmixQeyTmqmRmRJPGpRBaSnA2a0VrCjyT8iW8JjEdMbKzDotAJf+ajgaQ==", + "license": "Unlicense" + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", diff --git a/package.json b/package.json index 346e236c6..07fc9437c 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,6 @@ "snyk": true, "dependencies": { "@uswds/compile": "1.2.0", - "@uswds/uswds": "3.10.0" + "@uswds/uswds": "github:jhancock532/uswds#fix-in-page-navigation-scroll-bug" } } From 256c5653933a65016eaed8816c32e85326984aa7 Mon Sep 17 00:00:00 2001 From: James Mejia Date: Wed, 20 Nov 2024 11:28:39 -0600 Subject: [PATCH 2/2] Update offset from sticky nav to make headers appear at the top --- _layouts/styleguide.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/styleguide.html b/_layouts/styleguide.html index 923f769d3..68a579ea0 100644 --- a/_layouts/styleguide.html +++ b/_layouts/styleguide.html @@ -15,7 +15,7 @@