Component roadmap: Phase 1 (v1.0) vs future work #8
abbybowman
started this conversation in
General
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Tracks which components ship in HDS Core v1.0 and what's deferred. Cross-references HDS Figma guidance, USWDS components, and HDS Core SCSS files.
Guiding principles
HDS Core v1.0 is a CSS/Sass theme layer on USWDS. Phase 1 covers components that are already styled in CSS and need Storybook documentation, plus a small set of new components that are essential for an MVP v1.0 launch.
Utility classes: HDS Core introduces minimal utility classes beyond USWDS. Currently:
.hds-print-visible(opt-in print visibility for elements hidden by default in print, e.g., critical site alerts).JavaScript: HDS Core ships no custom JS. Components that use USWDS JS (accordion, banner, date picker, modal, tooltip, etc.) work out of the box when
uswds.jsis loaded. Components needing custom JS are deferred or ship as CSS-only shells with a note.Navigation terminology: HDS Figma, USWDS, and HDS Core use overlapping names for navigation components. See DESIGN.md § Navigation Component Mapping for the canonical terminology reference.
Phase 1 — Ship in v1.0
Done: Styled in CSS and documented in Storybook
Form controls (Checkbox, Radio, Select, Text Input) share
_form.scss. List and Table have bare element fallbacks inbase/_elements.scss. All other components follow the_component-name.scssconvention.All foundation pages are complete — see Storybook sidebar for the full list.
Close: Already styled in CSS, needs Storybook stories and testing
Needs CSS + Storybook stories (essential for v1.0)
.usa-tagserves a different purpose.Phase 2 — Post-v1.0 (future contributors / phases)
Navigation (Header, Footer, Secondary Navigation) is the top Phase 2 priority; it's the highest-complexity, highest-impact component set remaining after v1.0.
Architecture review: Five pre-1.0 architecture decisions are under discussion with adopting teams (see GitHub Discussion). Outcomes may reshape Phase 2 priorities — particularly selective USWDS loading, JavaScript strategy, and USWDS migration compatibility.
High priority: Essential components needing design + build
Many of these are already styled in the HDS Core WordPress theme and/or on production flagship sites, and just need to be reviewed for best practices/compatibility and ported in.
_navigation.scssexists (Phase 2 stub). Includes Global Navigation (Murphy Bed menu, dropdowns, logo link, NASA TV), Secondary Navigation (horizontal bar beneath header with breadcrumb/title scroll swap, light/dark themes, optional dropdown menus), and Footer. The vanilla WP HDS theme had 4 nav variants (agency/explore/external/internal) each with header + footer. Needs custom JS for Murphy Bed menu, scroll effects, and hover interactions. HIGH COMPLEXITY — top Phase 2 priority._banner.scssexists (Phase 2 stub) — inherited styles are not fully HDS-themed. No HDS Figma design. USWDS default works acceptably with HDS theming (colors and fonts apply automatically). Needs creative director review before HDS-specific styling. Uses USWDS JS for expand/collapse. Not the same as HDS Figma "Banners" — see Site Alert._grid-utilities.scssexists. Responsive reverse, horizontal lists. Refinements to the core USWDS grid, which works fine for v1.0. No JS needed.Med priority: Components with narrower use cases
.hds-captionclass already exists and works. Phase 2 scope: Storybook story + credit line variant at end of caption. No JS needed.Med priority: Deferred aspects of v1.0 components with broad use cases
When an aspect of a Phase 1.0 component needs more time and attention post-1.0 to implement properly (and/or requires creative director review), we track it as a task in GitHub Issues or as an Idea in GitHub Discussions. Priorities shaped by community upvotes.
_pagination.scss(pagination arrows)._icon-button.scssneeds matching implementation for all roles. See DESIGN.md § Creative Director Review for blue/midtone palette questions.--lgis 40px but Figma XXL is 36px. SVG padding (24×24 vs Figma 20×20) affects glyph-to-container ratio. Accordion chevron circle (24px / 1.5em) also needs this--mdsize. See DESIGN.md § Creative Director Review.$hds-extended-palettemap exists in_hds-tokens.scssbut$global-color-palettesexpects palette name strings, not a Sass map. Needs research into USWDS 3.x custom color registration API.usa-alertnotusa-site-alert. Uses archive icon. See Figma CSS specs in session notes..usa-table--stacked,.usa-table--stacked-header) untested with HDS overrides. Figma also shows different text sizes for small vs M-XL viewports. Needs testing, likely CSS fixes, and creative director review for mobile typography..usa-form-group--error, Figma doesn't show it) and error inline icon (red circle exclamation present in Figma, absent in USWDS). Next session TODO.arrow-chevron-down. Requires palette-aware SVG approach or custom dropdown component.<select>can't be styled.Low priority: Deferred aspects of v1.0 components
.usa-accordion--borderedis not restyled by HDS. Pending creative director review. See DESIGN.md § Accordion.hds-buttons/interactive-*.svgfixed-color graphics.--socialrole exists with gray styling.$theme-input-select-sizecan't express 2.25 units. Monitor for side effects.Low priority: Unstyled components
USWDS components not listed above (Alert, Button group, Card, Collection, Combo box, Character count, Date range picker, Icon list, Identifier, Input mask, Input prefix/suffix, Language selector, Memorable date, Process list, Side navigation, Summary box, Time picker) work with HDS theming but have no HDS-specific designs. Use USWDS defaults.
HDS Figma components with no USWDS equivalent are deferred. Needs custom JS: Audio Player, Carousel Thumbnails, Countdown, Filters & Sorts, Live Event Ticker, Loaders (complex variants), Quick Facts Carousel, Scroll Hint, Tabs, Video Player. CSS-only: Gallery Thumbnails, Image with Caption, Sign Ups & Subscribe, Social Media, Vitals.
Beta Was this translation helpful? Give feedback.
All reactions