Visitar URL original
USWDS-Site: Documentation updates for release 3.8.0 by amyleadem · Pull Request #2509 · uswds/uswds-site · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
4c6dcf4
Add changelog entry for uswds/uswds#5359
Jul 21, 2023
9afa3e4
Add .usa-table--sticky-header variant
Aug 4, 2023
b6adae5
Added changelogs for 5420
Aug 4, 2023
c8e574c
Add info for $theme-table-sticky-top-offset
Aug 4, 2023
a575b53
Fix typo
Aug 4, 2023
8420eb5
Install al-sticky-table-header branch
Aug 9, 2023
7abb6ce
Add sticky header variant to component previews
Aug 9, 2023
d3a6c67
Adjust top value usa-table--sticky-header thead
Aug 10, 2023
cdc87f8
Merge branch 'release-3.6.0' of https://github.com/uswds/uswds-site i…
Aug 14, 2023
e99f2bc
Update default for $theme-table-background-color
Aug 14, 2023
060f724
Revert changes from 3.6.0 release
Aug 14, 2023
74e679e
Update package-lock
Aug 14, 2023
08f7aaf
Install al-in-page-nav-header-select branch
Aug 17, 2023
8226309
Create entry for #5444
Aug 17, 2023
1652778
Add documentation for data-header-selector
Aug 17, 2023
177803e
Tweak copy
Aug 17, 2023
64e9a3d
Create changelog
mahoneycm Aug 21, 2023
a9dabcf
Update "header" language to "heading"
Aug 22, 2023
c86d6c7
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Aug 23, 2023
9d092ed
Apply suggestions from code review
Sep 25, 2023
293dd00
Updated component entry & added entry to settings page
Sep 25, 2023
13052f8
Merge branch 'main' of github.com:uswds/uswds-site into jm-enhancemen…
Sep 25, 2023
1922ea6
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Sep 27, 2023
8c634f8
Update copy to reflect flexible header selections
Sep 27, 2023
ff0464a
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Oct 23, 2023
ca4255c
Revert package-lock
Oct 23, 2023
54fed99
Merge branch 'main' of github.com:uswds/uswds-site into jm-enhancemen…
Nov 20, 2023
275c305
Merge branch 'main' into cm-disabled-color-contrast-changelog
Dec 12, 2023
c240f06
Update top position on sticky table header example
Jan 10, 2024
8df5813
Update package-lock
Jan 10, 2024
6eed4aa
Add changelog
mahoneycm Feb 9, 2024
f0fdc54
Add changelog
mahoneycm Feb 9, 2024
85a1cab
Create changelog entry for uswds/uswds#5681.
Feb 20, 2024
afb926f
Adjust changelog note based on comment from https://github.com/uswds/…
Feb 20, 2024
3ac67dd
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Feb 20, 2024
b1cf731
Update _data/changelogs/component-date-picker.yml
Feb 20, 2024
6030468
Create changelog entry for uswds/uswds#5233
Feb 20, 2024
8ed10eb
Remove extra period from text input guidance
Feb 20, 2024
f2d2509
Add changelog entry for uswds/uswds#5657
Feb 20, 2024
b6dd786
Update _data/changelogs/component-footer.yml
Feb 21, 2024
9fc875e
Changelog entry for uswds/uswds#5783
Feb 23, 2024
9e86125
Update release version in changelog entry
Feb 23, 2024
aab2c48
Update _data/changelogs/component-table.yml
Feb 26, 2024
095c12d
Revert package.json and package-lock
Feb 27, 2024
c1ade14
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Feb 27, 2024
ee51af6
Install uswds develop branch
Feb 27, 2024
a54e82c
Match sticky table header top to site-nav height
Feb 27, 2024
c098857
Add detail for $theme-table-sticky-top-offset setting
Feb 27, 2024
0e34a9d
Updated summaries for #5420
Feb 27, 2024
4b0f7ac
Merge branch 'main' of https://github.com/uswds/uswds-site into al-do…
Feb 28, 2024
5dcc4a1
Change quote type for data-heading-selector
Feb 28, 2024
0793a68
Remove known issue
mahoneycm Feb 28, 2024
0bc3e5e
Update federalist links --> cloud.gov Pages
Feb 28, 2024
85bbeda
Remove 404 practicemakesprogress link
Feb 28, 2024
d29abdf
Update _data/changelogs/docs-settings.yml
Feb 28, 2024
3587206
Update _data/changelogs/docs-settings.yml
Feb 28, 2024
898266b
Update package-lock to remove snyk error
Feb 28, 2024
ac298bf
Merge pull request #2501 from uswds/jm-changelog-table-demo
amyleadem Feb 28, 2024
6bbb8ac
Merge pull request #2483 from uswds/cm-changelog-5701
amyleadem Feb 28, 2024
c0578e8
Merge pull request #2484 from uswds/cm-changelog-5675
amyleadem Feb 28, 2024
05e3c19
Update _data/settings/components/button.yml
Feb 28, 2024
2d1e74b
Update _data/changelogs/docs-settings.yml
Feb 28, 2024
edcf6b4
Update _data/changelogs/docs-settings.yml
Feb 28, 2024
7cd24ff
Update _data/changelogs/component-button.yml
Feb 28, 2024
de4cec1
Separate alignment and setting entries
Feb 28, 2024
13b4f51
Update _data/changelogs/component-button-group.yml
Feb 28, 2024
d90140e
Merge branch 'release-3.8.0' into jm-enhancement-button-icons
Feb 29, 2024
fc0d9a9
Merge pull request #2207 from uswds/jm-enhancement-button-icons
amyleadem Feb 29, 2024
4a4f532
Merge pull request #2498 from uswds/jm-changelog-button-group
amyleadem Feb 29, 2024
0eec171
Merge branch 'release-3.8.0' of https://github.com/uswds/uswds-site i…
Feb 29, 2024
7bc4801
Merge pull request #2252 from uswds/al-docs-5444
amyleadem Feb 29, 2024
df90921
Add forms chagnelog entry; updated versionUswds
mahoneycm Feb 29, 2024
db4d2cb
Merge branch 'main' of github.com:uswds/uswds-site into cm-disabled-c…
mahoneycm Feb 29, 2024
f7f00a3
Merge branch 'release-3.8.0' of github.com:uswds/uswds-site into cm-d…
mahoneycm Feb 29, 2024
78f0ef1
Add repo and version for #5455
amyleadem Feb 29, 2024
4f45c6b
Update version to 3.8.0
Feb 29, 2024
ec7d03c
Update sentence structure for 5233
amyleadem Feb 29, 2024
78cf901
Merge pull request #2254 from uswds/cm-disabled-color-contrast-changelog
amyleadem Mar 1, 2024
d3c4024
Update summaryAdditional to match new approach
mahoneycm Mar 1, 2024
f32e5fa
Remove settings from 5233
Mar 1, 2024
4ce3d63
Merge pull request #2497 from uswds/jm-changelog-validation-text-input
amyleadem Mar 1, 2024
6e88675
Merge branch 'release-3.8.0' of https://github.com/uswds/uswds-site i…
Mar 4, 2024
abf171e
Revert to uswds 3.7.1
Mar 5, 2024
5cbebd9
Run prettier
Mar 5, 2024
c04a821
Merge branch 'release-3.8.0' of https://github.com/uswds/uswds-site i…
Mar 5, 2024
a813c13
Merge pull request #2229 from uswds/al-documentation-5420
amyleadem Mar 6, 2024
68f6fe0
Install develop branch
Mar 6, 2024
d4554af
Merge branch 'release-3.8.0' of https://github.com/uswds/uswds-site i…
Mar 6, 2024
24d3644
Update package-lock
Mar 6, 2024
161d84c
Apply suggestions from code review
Mar 6, 2024
b26cbf2
Update _data/changelogs/template-documentation.yml
Mar 6, 2024
d9709ad
Add changelog entries for uswds/uswds#5809
Mar 8, 2024
f074b2b
Merge branch 'release-3.8.0' of github.com:uswds/uswds-site into jm-c…
Mar 8, 2024
de14f27
Merge pull request #2495 from uswds/jm-changelog-doc-template
thisisdano Mar 11, 2024
c5b8d6d
Merge branch 'main' into release-3.8.0
thisisdano Mar 11, 2024
7fe0756
Fix changelog date
thisisdano Mar 11, 2024
fdf867f
Merge branch 'main' of github.com:uswds/uswds-site into release-3.8.0
Mar 11, 2024
1a6ed18
Update dates and releases
thisisdano Mar 11, 2024
b69ce2e
Use USWDS 3.8.0
thisisdano Mar 11, 2024
7791983
Remove dead link
thisisdano Mar 11, 2024
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This documentation site showcases USWDS components by pulling in pre-built HTML

### Deployment and previews

This site is deployed on [cloud.gov Pages](https://cloud.gov/pages/), which automatically builds the public site whenever commits are pushed to `main`. Federalist also builds public previews for each branch pushed to GitHub.
This site is deployed on [cloud.gov Pages](https://cloud.gov/pages/), which automatically builds the public site whenever commits are pushed to `main`. Pages also builds public previews for each branch pushed to GitHub.

⚠️ When generating new sections, sometimes they fail to build on Pages. You can clear the cache by running a simple `bundle update`, which will trigger a fresh build.

Expand Down
3 changes: 2 additions & 1 deletion _components/in-page-navigation/guidance/implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Implementing the in-page navigation component requires a few additions and adjus
```

- **Initialization properties.** You can customize how the component builds during initialization by adding any of the following properties to the `usa-in-page-nav` element. These properties must be set _before_ the component is initialized.
- **Custom main content region.** The main content selector property (`data-main-content-selector`) allows you to define which element the component will look in to pull its list of headers. Set the property's value to the `class` or `id` of your page's main content region (for example, `data-main-content-selector=".main-content"` or `data-main-content-selector="#main-content"`). By default, the component will pull headers from the `<main>` element.
- **Custom main content region selector.** The main content selector property (`data-main-content-selector`) allows you to define which element the component will look in to pull its list of headings. Set the property's value to the `class` or `id` of your page's main content region (for example, `data-main-content-selector=".main-content"` or `data-main-content-selector="#main-content"`). By default, the component will pull headings from the `<main>` element.
- **Custom heading selector.** The heading selector property (`data-heading-selector`) allows you to list which heading levels you would like the component to pull into the component link list. By default, the component will include `h2` and `h3` headings.
- **Root margin.** The root margin property (`data-root-margin`) is a string that allows you to define the observable area. This set of values grows or shrinks the observable area from each side of the root element's bounding box before computing intersections. It can accept values similar to the CSS margin property, and can be percentages. By default, the in-page navigation component is set to `0px 0px 0px 0px`.
- **Threshold.** The threshold property (`data-threshold`) determines how much of the observable section must be present in the observed area before the nav's item is set to current. The default is `1`, which means 100% of the observables must be in the observed section. You can set `data-threshold` to any integer between 0 and 1.

Expand Down
2 changes: 1 addition & 1 deletion _components/in-page-navigation/guidance/usability.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- **Make it stand out.** Site visitors should be able to quickly and easily distinguish in-page navigation from other landmarks on the page. Include borders and well-defined link active states to clearly convey the utility and purpose of the section. Define a consistent width for the in-page navigation component that is sufficiently wide and does not change based on text length.

- **Use language that matches section headings.** The text of the links displayed within the in-page navigation `aside` should match the heading text of the target sections. Our component scans the page for `h2` and `h3` elements within the `main` element, automatically creates the in-page navigation block, and dynamically inserts the text to match the section headings.
- **Use language that matches section headings.** The text of the links displayed within the in-page navigation `aside` should match the heading text of the target sections. By default, the component scans the page for `h2` and `h3` elements within the `main` element, automatically creates the in-page navigation block, and dynamically inserts the text to match the section headings.

- **Don't include the page `h1` in the navigation.** Each page should have a single `h1` to describe its contents. It would be redundant to include this heading level in the in-page navigation.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- **Short pages.** For pages that require little or no scrolling, in-page navigation is not necessary.
- **Unstructured content.** Pages that lack hierarchical structures (`h2` and `h3` elements in the `main`) cannot use the in-page navigation component.
- **Unstructured content.** Pages that lack heading-based hierarchical structures cannot use the in-page navigation component.
- **Infinite scrolling.** For pages that feature infinite scrolling, in-page navigation is neither a practical nor feasible feature.
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 @@ -40,6 +40,9 @@ tags:
- nav
implementation:
initProps:
- property: "`data-heading-selector`"
description: The list of header levels that should be included in the link list.
default: '`h2 h3`'
- property: "`data-main-content-selector`"
description: The element the component pulls headers from.
default: '`<main>`'
Expand Down
15 changes: 15 additions & 0 deletions _components/table/07-stickyheader-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
component:
status: ready
package: usa-table
dependencies:
variant: stickyheader
guidancePath: guidance/variants/stickyheader
layout: styleguide
lead: Sticky table headers keep tabular data in context by sticking table headers to the top of the page as the user scrolls.
order: 07
parent: Table
sitemap: false
title: Sticky table headers
---
{% include component-preview-and-code.html level="h3" %}
7 changes: 6 additions & 1 deletion _components/table/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ subnav:
href: '#responsive-stacked-table'
- text: Sortable table rows
href: '#sortable-table-rows'
- text: Sticky table headers
href: '#sticky-table-headers'
- text: Guidance
href: '#table-guidance'
- text: Package
Expand All @@ -41,6 +43,7 @@ tags:
- borderless
- scrollable
- scrolling
- sticky
title: Table
type: component
variants:
Expand All @@ -51,9 +54,11 @@ variants:
- variant: "`.usa-table-container--scrollable > .usa-table`"
description: Add the `usa-table-container--scrollable` class to a container around any `usa-table` to apply a horizontal scrollbar if the columns exceed the available width. Ideal for dense tables with many columns.
- variant: "`.usa-table--stacked`"
description: Stacks the table cells on narrow screens. Ideal for tables that contain more text information than numerical data. If you use this variant, you must ensure there is a data-label attribute on each cell of the table that matches the column header.
description: Stacks the table cells on narrow screens. Ideal for tables that contain more text information than numerical data. If you use this variant, you must ensure there is a `data-label` attribute on each cell of the table that matches the column header.
- variant: "`.usa-table--stacked-header`"
description: Stacks the table cells on narrow screens and visually promotes the first cell of every row into a “header” for that group. Preferred for directories and other lists where the first cell of every row is a name. If you use this variant, you must ensure there is a data-label attribute on each cell of the table that matches the column header.
- variant: "`.usa-table--sticky-header`"
description: Allows the table header element to stick to the top of the page as the user scrolls. Preferred for long tables with many rows. This variant is not compatible with the scrollable and stacked table variants.
- variant: "`.usa-table--striped`"
description: Applies alternating horizontal striping to help the eye track across table rows. Pairs well with the scrollable variant for tables with many columns.
changelog:
Expand Down
1 change: 0 additions & 1 deletion _components/text-input/guidance/usability.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
- **Consider the mobile context.** Text inputs are among the easiest type of input for desktop users but are more difficult for mobile users.
- **Wait to validate.** Only show error validation messages or stylings after a user has interacted with a particular field.
- **Avoid placeholder text.** Avoid using placeholder text that appears within a text field before a user starts typing. If placeholder text is no longer visible after a user clicks into the field, users will no longer have that text available when they need to review their entries. (People who have cognitive or visual disabilities have additional problems with placeholder text.)
.
15 changes: 15 additions & 0 deletions _data/changelogs/component-button-group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ title: Button group
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Improved the appearance of button groups when text wraps to multiple lines.
summaryAdditional: Now, every button in the group will be the same height.
isBreaking: false
affectsAccessibility:
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript:
affectsMarkup: false
affectsSettings: false
affectsStyles: true
githubPr: 5657
githubRepo: uswds
versionUswds: 3.8.0
- date: 2022-08-05
summary: Styled aria-disabled to match disabled.
summaryAdditional: Now disabled styling is applied whether you use `disabled` (disabled and hidden from screen readers) or `aria-disabled` (disabled and visible to screen readers).
Expand Down
15 changes: 15 additions & 0 deletions _data/changelogs/component-button.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ title: Button
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Added a new setting to adjust the gap between the button's text and icon.
summaryAdditional: Gap between elements can be adjusted using the `$theme-button-icon-gap` setting.
affectsStyles: true
affectsSettings: true
githubPr: 5398
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Improved the vertical alignment of `usa-icon` when placed inside of `usa-button`.
affectsStyles: true
affectsSettings: true
githubPr: 5398
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-01-17
summary: Added WCAG compliance tag and accessibility test status section.
affectsGuidance: true
Expand Down
8 changes: 8 additions & 0 deletions _data/changelogs/component-date-picker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ title: Date picker
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Added focus styles to calendar button in high contrast mode.
summaryAdditional: Now, the calendar icon changes to the `highlight` high contrast token on focus.
affectsAccessibility: true
affectsStyles: true
githubPr: 5701
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-11-20
summary: Added known issues section.
summaryAdditional:
Expand Down
7 changes: 7 additions & 0 deletions _data/changelogs/component-footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ title: Footer
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Fixed a bug that caused some grid utility classes to be ignored when used inside `usa-footer`.
summaryAdditional:
affectsStyles: true
githubPr: 5675
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-12-08
summary: Removed the `usa-layout-grid` dependency.
summaryAdditional: This update reduces the footer package size. If you notice changes in your layout after making this update, add the `usa-layout-grid` package to your [Sass entry point](https://designsystem.digital.gov/documentation/migration/#using-component-packages).
Expand Down
8 changes: 8 additions & 0 deletions _data/changelogs/component-form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ title: Form
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Added color contrast checks for disabled tokens.
summaryAdditional: On compilation, USWDS will test disabled element color contrast and provide a fallback color if minimum contrast is not met. If the fallback does not meet minimum requirements, USWDS will provide a warning in the terminal.
affectsAccessibility: true
affectsStyles: true
githubPr: 5455
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-08-23
summary: Fixed a bug that caused some form inputs to show disabled styles when in forced colors mode.
summaryAdditional:
Expand Down
10 changes: 9 additions & 1 deletion _data/changelogs/component-in-page-navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ title: In-page navigation
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Added the optional `data-heading-selector` attribute.
summaryAdditional: This attribute allows users to list the heading levels that should be included in the component link list.
affectsJavascript: true
affectsStyles: true
githubRepo: uswds
githubPr: 5444
versionUswds: 3.8.0
- date: 2023-08-23
summary: Updated JavaScript to exclude headers that have a style of `display:none` or `visibility:hidden` from the component link list.
summaryAdditional:
summaryAdditional:
affectsJavascript: true
githubRepo: uswds
githubPr: 5393
Expand Down
16 changes: 16 additions & 0 deletions _data/changelogs/component-side-navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ title: Side navigation
type: component
changelogURL:
items:
# 3.8.0 release
- date: 2024-03-11
summary: Added a new fallback setting for sidenavs in Documentation template.
summaryAdditional: The new setting `$theme-sidenav-reorder` reorders the sidenav with CSS. Users should follow new markup recommendation in Documentation template's code example to avoid accessibility issues.
isBreaking: false
affectsAccessibility: true
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript:
affectsMarkup:
affectsSettings: true
affectsStyles: true
githubPr: 5809
githubRepo: uswds
versionUswds: 3.8.0
# 3.1.0 release
- date: 2022-08-05
summary: Added `type="button"` to all non-form buttons to prevent default submit behaviors.
Expand Down
24 changes: 24 additions & 0 deletions _data/changelogs/component-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ type: component
changelogURL:

items:
- date: 2024-03-11
summary: Created the `.usa-table--sticky-header` variant to allow sticky positioning on table headers.
summaryAdditional: Also added the `$theme-table-sticky-top-offset` setting, which controls the top position of sticky headers.
affectsStyles: true
affectsSettings: true
githubPr: 5420
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Added the `$theme-table-background-color` setting.
summaryAdditional: Use this setting to declare the table background color at a theme level.
affectsStyles: true
affectsSettings: true
githubPr: 5420
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Simplified the structure of the scrollable table component example.
summaryAdditional: Empty headers in the complex table example were causing accessibility issues.
isBreaking: false
affectsContent: true
githubPr: 5783
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-09-29
summary: Fixed a bug that prevented VoiceOver from reading stacked table content while using Safari.
affectsAccessibility: true
Expand Down
10 changes: 10 additions & 0 deletions _data/changelogs/component-text-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ type: component
changelogURL:

items:
- date: 2024-03-11
summary: Added `textarea` support to the validation component.
summaryAdditional:
isBreaking: false
affectsJavascript: true
affectsMarkup: true
affectsStyles:
githubPr: 5233
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-11-16
summary: Updated the listed values for `.usa-input--[width]`.
affectsGuidance: true
Expand Down
9 changes: 9 additions & 0 deletions _data/changelogs/component-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ title: Validation
type: component
changelogURL:
items:
- date: 2024-03-11
summary: Added `textarea` support to the validation component.
isBreaking: false
affectsAccessibility: false
affectsJavascript: true
affectsMarkup: true
githubPr: 5233
githubRepo: uswds
versionUswds: 3.8.0
- date: 2022-12-21
summary: Clarified implementation guidance and removed the `#` from the example `data-validation-element` value.
summaryAdditional:
Expand Down
39 changes: 39 additions & 0 deletions _data/changelogs/docs-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@ title: Settings
type: utility
changelogURL:
items:
- date: 2024-03-11
summary: Added new sidenav setting to temporarily address visual regression in new markup guidance.
summaryAdditional: The new setting `$theme-sidenav-reorder` allows users to temporarily reorder the sidenav with CSS. Users should follow new markup recommendation in code example to avoid accessibility issues.
isBreaking: false
affectsAccessibility: true
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript:
affectsMarkup:
affectsSettings: true
affectsStyles: true
githubPr: 5809
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Added `$theme-table-background-color` and `$theme-table-sticky-top-offset` settings.
summaryAdditional:
affectsStyles: true
affectsSettings: true
githubPr: 5420
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Added color contrast checks for disabled tokens.
summaryAdditional: On compilation, USWDS will test disabled element color contrast and provide a fallback color if minimum contrast is not met. If the fallback does not meet minimum requirements, USWDS will provide a warning in the terminal.
affectsAccessibility: true
affectsStyles: true
githubPr: 5455
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Added button icon gap setting.
summaryAdditional: You can now customize the size of the gap between a button's text and icon with `$theme-button-icon-gap`.
affectsStyles: true
affectsSettings: true
githubPr: 5398
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-12-08
summary: Fixed a bug that prevented `$theme-max-header-width` from accepting a value of "none".
affectsStyles: true
Expand Down
2 changes: 1 addition & 1 deletion _data/changelogs/pattern-user-profile-pronouns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Pronouns
type: pattern
changelogURL:
items:
- date: 2024-03-06
- date: 2024-03-11
summary: Replaced dead hyperlink with archived copy.
summaryAdditional: Replaced reference to `practicemakesprogress.org` with plain text and a link to the archived page on archive.org.
githubRepo: uswds-site
Expand Down
31 changes: 31 additions & 0 deletions _data/changelogs/template-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
title: Documentation page
type: template
items:
- date: 2024-03-11
summary: Added a fallback theme setting for reordering sidenav in Documentation template.
summaryAdditional: A new setting `$theme-sidenav-reorder` allows users to reorder the sidenav to avoid visual regressions. Users should follow new markup recommendation in code example to avoid accessibility issues.
isBreaking: false
affectsAccessibility: true
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript:
affectsMarkup:
affectsSettings: true
affectsStyles: true
githubPr: 5809
githubRepo: uswds
versionUswds: 3.8.0
- date: 2024-03-11
summary: Updated the order of the side navigation markup to match the visual order.
summaryAdditional:
isBreaking: true
affectsAccessibility: true
affectsAssets:
affectsGuidance:
affectsJavascript:
affectsMarkup: true
affectsStyles: true
githubPr: 5794
githubRepo: uswds
versionUswds: 3.8.0
2 changes: 1 addition & 1 deletion _data/implementations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
author:
name: Broadcasting Board of Governors (BBG)
url: https://github.com/BBGInnovate
notes: "This is not a reusable WordPress theme, but an implementation of USWDS for [bbg.gov](https://www.bbg.gov/)."
notes: "This is not a reusable WordPress theme, but an implementation of USWDS for bbg.gov)."

- name: Benjamin
distribution: WordPress
Expand Down
7 changes: 0 additions & 7 deletions _data/issues/date-picker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,3 @@ items:
affectsScreenReaders: true
githubRepo: uswds
githubNumber: 5534
- date: 2023-09-29
summary: The focus indicator is not visible around the calendar icon in high contrast mode.
summaryAdditional:
affectsKeyboard: true
affectsHighContrast: true
githubRepo: uswds
githubNumber: 5535
Loading