v0.7.1 #51
abbybowman
announced in
Announcements
v0.7.1
#51
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This will be the first published release of HDS Core. It introduces a new build system, a three-bundle CSS architecture, and significant improvements to component theming and accessibility. Note there are breaking changes from the previous version (v0.6.0).
Highlights
New build system. Replaced Gulp + @uswds/compile with native Dart Sass + PostCSS. The USWDS gulp ecosystem depends on the deprecated Dart Sass Legacy JS API. This migration puts HDS Core on a modern, sustainable compilation pipeline.
Three-bundle architecture. HDS Core now ships three CSS bundles instead of one:
hds.css- selective USWDS components + all HDS theming (279 KB / 27 KB gzipped)hds-uswds.css- remaining USWDS components and utilities (696 KB / 74 KB gzipped)hds-dataviz.css- data visualization color tokens and custom properties (small today, designed to grow as HDS dataviz patterns expand)New sites load only
hds.cssfor a 70% smaller payload compared to the previous single 895 KB bundle. Sites that need full USWDS coverage addhds-uswds.css. Sites with charts or data visualizations addhds-dataviz.css.Design tokens. HDS Core now ships
tokens.jsonin the W3C Design Tokens Community Group (DTCG) 2025.10 format. 309 tokens across seven domain groups (color, spacing, breakpoint, border, focus, layout, dataviz). Token$descriptionfields include machine-readable usage constraints for design tooling and AI-assisted development workflows. A Style Dictionary example configuration is included for teams running custom token pipelines.Accessibility improvements. Focus states migrated from
:focusto:focus-visibleacross all components. Focus ring system standardized via shared tokens and mixins. Chromatic visual regression testing added for palette accessibility verification across all six HDS color palettes. Focus ring contrast values are under active review for WCAG 1.4.11 compliance (Issue #40).Breaking Changes
If upgrading from v0.6.0, the following changes require action:
CSS bundle renamed and split.
styles.cssis removed. Replace withhds.css. Sites needing full USWDS coverage must also loadhds-uswds.cssbeforehds.css(load order determines cascade priority).Typography utilities consolidated.
.hds-labeland.hds-eyebrowremoved. Replace with.hds-overline.Focus states changed. All
:focuspseudo-classes migrated to:focus-visible. No code changes required but interactive elements will no longer show focus rings on mouse click, only on keyboard navigation.Link underlines. Global link underline style changed from dotted to dashed, matching NASA.gov production styling.
Build system. Gulp tasks removed. Use
npm run buildfor all compilation. See ARCHITECTURE.md for details.Added
tokens.json) in W3C DTCG 2025.10 formattools/sd-example/)Changed
Fixed
Internal
This discussion was created from the release v0.7.1.
Beta Was this translation helpful? Give feedback.
All reactions