Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS-Site: Documentation updates for 3.12.0 #3039

Open
wants to merge 114 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
da0c358
changelog for 6192 radio buttons.
cathybaptista Nov 8, 2024
b36510c
Added summary additional field.
cathybaptista Nov 8, 2024
66a1d20
Add changelog for 6205
mlloydbixal Dec 6, 2024
24fd514
move lines
mlloydbixal Dec 6, 2024
7fda7e9
add N.N.N version
mlloydbixal Dec 6, 2024
c114736
Update 3.11.0 references -> 3.12.0
amyleadem Jan 3, 2025
9d9a018
Create changelog for #6035
amyleadem Jan 3, 2025
c59a639
cb: updated summaries and fixed repo.
cathybaptista Jan 6, 2025
1757572
Update summary on 6035
amyleadem Jan 6, 2025
07a2b42
Remove line about using tooltip on non-interactive elements
amyleadem Jan 6, 2025
64ebceb
Restore and update "affordances" guidance
amyleadem Jan 9, 2025
cbc8d4b
Merge branch 'main' of https://github.com/uswds/uswds-site into relea…
amyleadem Jan 9, 2025
a693c60
Merge branch 'main' of https://github.com/uswds/uswds-site into al-ch…
amyleadem Jan 9, 2025
cb3a578
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 9, 2025
578241b
Create changelog for 5878
amyleadem Jan 13, 2025
ad90bfe
Merge branch 'main' of https://github.com/uswds/uswds-site into relea…
amyleadem Jan 13, 2025
199ae3a
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 13, 2025
58c588d
Add changelogs for 6308
amyleadem Jan 16, 2025
a4969cb
Add changelog for 5679
amyleadem Jan 22, 2025
f1e144b
Tweak summary for 5679
amyleadem Jan 22, 2025
2b0112a
Tweak summaries for 6192
amyleadem Jan 22, 2025
af55dd9
copy updates
mlloydbixal Jan 22, 2025
464f531
add new data attribute to initialization properties table
mlloydbixal Jan 22, 2025
ce35526
Merge branch 'main' of https://github.com/uswds/uswds-site into relea…
amyleadem Jan 22, 2025
55e1ace
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 22, 2025
f37b02a
Merge pull request #3040 from uswds/al-changelog-6035
amyleadem Jan 22, 2025
a9736aa
Tweak summaries
amyleadem Jan 22, 2025
da15718
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 22, 2025
0f5a29c
Merge pull request #2961 from uswds/cb-changelog-6192
amyleadem Jan 22, 2025
75ce9ff
Merge pull request #3065 from uswds/al-changelog-6308
amyleadem Jan 22, 2025
254da29
Remove affectsSettings from 6205
amyleadem Jan 22, 2025
c366cea
Add affectsStyles to 6205
amyleadem Jan 22, 2025
daddd81
Merge pull request #3000 from uswds/ml-changelog-6205
amyleadem Jan 22, 2025
487b647
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 22, 2025
6da993b
Update summary for 5679
amyleadem Jan 22, 2025
aa65488
Merge pull request #3070 from uswds/al-changelog-5679
amyleadem Jan 22, 2025
0bebb9e
Tweak summary for 6205
amyleadem Jan 22, 2025
24fcc3c
Add affectsJavascript to 6192
amyleadem Jan 22, 2025
752e3db
Revert "Add affectsJavascript to 6192"
amyleadem Jan 22, 2025
88cfc86
Ad affectsJavascript to 6205
amyleadem Jan 22, 2025
b752f78
Install develop branch
amyleadem Jan 22, 2025
63e30b3
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 22, 2025
3af18aa
Remove in_page_nav_headings: false from pages w/no headings
amyleadem Jan 23, 2025
f45b9d4
changelog for 6192 radio buttons.
cathybaptista Nov 8, 2024
a802b0f
Added summary additional field.
cathybaptista Nov 8, 2024
072313b
cb: updated summaries and fixed repo.
cathybaptista Jan 6, 2025
fe2b89a
Tweak summaries for 6192
amyleadem Jan 22, 2025
14b13d1
Update 3.11.0 references -> 3.12.0
amyleadem Jan 3, 2025
6b797cf
Create changelog for #6035
amyleadem Jan 3, 2025
b7a43fc
Update summary on 6035
amyleadem Jan 6, 2025
3a7e59b
Remove line about using tooltip on non-interactive elements
amyleadem Jan 6, 2025
9ce0f97
Restore and update "affordances" guidance
amyleadem Jan 9, 2025
99df575
Add changelogs for 6308
amyleadem Jan 16, 2025
4448c06
Add changelog for 6205
mlloydbixal Dec 6, 2024
548ebe6
move lines
mlloydbixal Dec 6, 2024
8757a70
add N.N.N version
mlloydbixal Dec 6, 2024
c155f62
copy updates
mlloydbixal Jan 22, 2025
18700fb
add new data attribute to initialization properties table
mlloydbixal Jan 22, 2025
1cb76cd
Tweak summaries
amyleadem Jan 22, 2025
9072ee7
Remove affectsSettings from 6205
amyleadem Jan 22, 2025
351c750
Add affectsStyles to 6205
amyleadem Jan 22, 2025
76ea885
Update summary for 5679
amyleadem Jan 22, 2025
4ee01be
Tweak summary for 6205
amyleadem Jan 22, 2025
cbc8387
Add affectsJavascript to 6192
amyleadem Jan 22, 2025
9a50edb
Revert "Add affectsJavascript to 6192"
amyleadem Jan 22, 2025
e80f0c0
Install develop branch
amyleadem Jan 22, 2025
a9b28aa
Ad affectsJavascript to 6205
amyleadem Jan 22, 2025
b44ff16
Remove in_page_nav_headings: false from pages w/no headings
amyleadem Jan 23, 2025
942a9b0
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 23, 2025
e9b84e2
Formatting fixes
mejiaj Jan 23, 2025
7f6ccf2
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 23, 2025
811eae7
Merge branch 'main' of https://github.com/uswds/uswds-site into relea…
amyleadem Jan 23, 2025
e32430e
Add changelog for 5679
amyleadem Jan 22, 2025
d0279ac
Tweak summary for 5679
amyleadem Jan 22, 2025
c5e4f9e
changelog for 6192 radio buttons.
cathybaptista Nov 8, 2024
e942524
Added summary additional field.
cathybaptista Nov 8, 2024
5341b21
cb: updated summaries and fixed repo.
cathybaptista Jan 6, 2025
3d8a59a
Tweak summaries for 6192
amyleadem Jan 22, 2025
3dda600
Update 3.11.0 references -> 3.12.0
amyleadem Jan 3, 2025
76d7dd3
Create changelog for #6035
amyleadem Jan 3, 2025
c001f5c
Update summary on 6035
amyleadem Jan 6, 2025
44eefdc
Remove line about using tooltip on non-interactive elements
amyleadem Jan 6, 2025
9c81540
Restore and update "affordances" guidance
amyleadem Jan 9, 2025
36eb270
Add changelogs for 6308
amyleadem Jan 16, 2025
95d6f6a
Add changelog for 6205
mlloydbixal Dec 6, 2024
60643f9
move lines
mlloydbixal Dec 6, 2024
1135af9
add N.N.N version
mlloydbixal Dec 6, 2024
95c8b83
copy updates
mlloydbixal Jan 22, 2025
3ea172c
add new data attribute to initialization properties table
mlloydbixal Jan 22, 2025
ec4052d
Tweak summaries
amyleadem Jan 22, 2025
c9baca6
Remove affectsSettings from 6205
amyleadem Jan 22, 2025
3fdae9c
Add affectsStyles to 6205
amyleadem Jan 22, 2025
090a52b
Update summary for 5679
amyleadem Jan 22, 2025
e3a4388
Tweak summary for 6205
amyleadem Jan 22, 2025
ae003f3
Add affectsJavascript to 6192
amyleadem Jan 22, 2025
73c6750
Revert "Add affectsJavascript to 6192"
amyleadem Jan 22, 2025
43bb993
Install develop branch
amyleadem Jan 22, 2025
ac617c0
Ad affectsJavascript to 6205
amyleadem Jan 22, 2025
047cae3
Remove in_page_nav_headings: false from pages w/no headings
amyleadem Jan 23, 2025
1da24d1
Remove line about using tooltip on non-interactive elements
amyleadem Jan 6, 2025
8e39e90
Add changelog for 6205
mlloydbixal Dec 6, 2024
79c5daf
move lines
mlloydbixal Dec 6, 2024
95c8f40
Add affectsJavascript to 6192
amyleadem Jan 22, 2025
bcd59b0
Revert "Add affectsJavascript to 6192"
amyleadem Jan 22, 2025
c87dd59
Formatting fixes
mejiaj Jan 23, 2025
c15fd4c
Merge branch 'main' of https://github.com/uswds/uswds-site into al-ch…
amyleadem Jan 24, 2025
ec52969
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 24, 2025
bbd41b3
Merge branch 'main' of https://github.com/uswds/uswds-site into relea…
amyleadem Jan 24, 2025
bae3718
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 24, 2025
7c8ce26
Update offset from sticky nav to make headers appear at the top
mejiaj Nov 20, 2024
ae96e61
Merge pull request #3061 from uswds/al-changelog-5878
amyleadem Jan 28, 2025
45a5ca6
Update package-lock
amyleadem Jan 28, 2025
b96c9fa
Merge branch 'release-3.12.0' of https://github.com/uswds/uswds-site …
amyleadem Jan 28, 2025
6647a9b
Change data-scroll-offset in pattern.html
amyleadem Jan 28, 2025
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
3 changes: 3 additions & 0 deletions _components/in-page-navigation/in-page-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ implementation:
- property: "`data-threshold`"
description: Percentage of the scrolling section that must be in the observed area before the current section is triggered. Use a value between 0 and 1.
default: "1"
- property: "`data-minimum-heading-count`"
description: The minimum number of headings needed in the content region for the component to build on the page. If the content region does not meet this minimum heading count, the component will not initialize.
default: '`2`'
title: In-page navigation
type: component
changelog:
Expand Down
4 changes: 2 additions & 2 deletions _components/tooltip/guidance/usability.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- **Use affordances.** A hidden tooltip is unusable. Use tooltips only on elements that appear interactive, like buttons or links.
- **Make tooltips discoverable.** A hidden tooltip is unusable. Use tooltips only on elements that appear interactive, like buttons or links.
- **Avoid collisions.** Be careful not introduce conflicting hover or focus events.
- **Use consistently.** If using tooltips in one context, use in all similar contexts.
- **Don’t block content.** Use the `data-position` attribute to prevent the tooltip from covering other page elements.
- **Don’t block content.** Use the `data-position` attribute to prevent the tooltip from covering other page elements.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: U.S. Web Design System (USWDS)
description: USWDS makes it easier to build accessible, mobile-friendly government websites.
google_analytics_ua: UA-48605964-43
uswds_version: 3.11.0
uswds_version: 3.12.0
uswds_email: [email protected]
federalist_base: "https://federalist-3b6ba08e-0df4-44c9-ac73-6fc193b0e19c.sites.pages.cloud.gov/preview/uswds/uswds"
federalist_component_preview: "iframe.html?id="
Expand Down Expand Up @@ -44,7 +44,7 @@ jekyll_get:
json: "https://api.github.com/repos/uswds/uswds/contents/SECURITY.md"
decode_content: true
- data: hash
json: "https://api.github.com/repos/uswds/uswds/contents/security/uswds-3.11.0-zip-hash.txt?ref=main"
json: "https://api.github.com/repos/uswds/uswds/contents/security/uswds-3.12.0-zip-hash.txt?ref=main"
decode_content: true

repos:
Expand Down
7 changes: 7 additions & 0 deletions _data/changelogs/component-checkbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ title: Checkbox
type: component
changelogURL:
items:
- date: NNNN-NN-NN
summary: Updated the width of the label's target area to match the width of the content.
summaryAdditional: Previously, the interactive area extended the full width of the container.
affectsStyles: true
githubPr: 6192
githubRepo: uswds
versionUswds: N.N.N
- date: 2024-11-13
summary: Removed style tags from indeterminate checkbox SVGs.
summaryAdditional: |
Expand Down
9 changes: 8 additions & 1 deletion _data/changelogs/component-date-picker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ title: Date picker
type: component
changelogURL:
items:
- date: NNNN-NN-NN
summary: Enabled native JavaScript translation for calendar labels.
summaryAdditional: The calendar now uses the `Date.toLocaleString` API to automatically build translated labels based on the document's `lang` attribute.
affectsJavascript: true
githubPr: 5679
githubRepo: uswds
versionUswds: N.N.N
- date: 2025-01-14
summary: Added WCAG compliance tag and accessibility test status section.
affectsGuidance: true
Expand All @@ -14,7 +21,7 @@ items:
githubRepo: uswds-site
- date: 2024-10-04
summary: Fixed a bug that caused `mouseover` events to prevent keyboard navigation.
summaryAdditional: Now when you hover your mouse over the date picker buttons, only the hover state will be triggered.
summaryAdditional: Now when you hover your mouse over the date picker buttons, only the hover state will be triggered.
affectsAccessibility: true
affectsJavascript: true
githubPr: 5774
Expand Down
15 changes: 15 additions & 0 deletions _data/changelogs/component-in-page-navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ title: In-page navigation
type: component
changelogURL:
items:
- date: NNNN-NN-NN
summary: Fixed a bug that prevented in-page navigation from scrolling to nested headings.
summaryAdditional: The in-page navigation can now smooth scroll to headings within components like card and summary box.
affectsJavascript: true
githubRepo: uswds
githubPr: 5878
versionUswds: N.N.N
- date: NNNN-NN-NN
summary: Added the `data-minimum-heading-count` property.
summaryAdditional: This property hides the component when the content region does not contain the designated minimum number of headings. By default, this property hides the in-page navigation component when there are fewer than two headings in the content region. Teams should customize the value of this property based on their content needs.
affectsStyles: true
amyleadem marked this conversation as resolved.
Show resolved Hide resolved
affectsJavascript: true
githubPr: 6205
githubRepo: uswds
versionUswds: N.N.N
- date: 2024-10-16
summary: Added WCAG compliance tag and accessibility test status section.
affectsGuidance: true
Expand Down
Loading