Visitar URL original
USWDS - Time picker: Add combobox style dependency by IHIutch · Pull Request #6634 · uswds/uswds · GitHub
Skip to content

USWDS - Time picker: Add combobox style dependency - #6634

Merged
msbtterswrth merged 3 commits into
uswds:developfrom
IHIutch:fix-time-picker-combobox-dep
May 21, 2026
Merged

msbtterswrth merged 3 commits into
uswds:developfrom
IHIutch:fix-time-picker-combobox-dep

Conversation

@IHIutch

@IHIutch IHIutch commented May 6, 2026 •

Copy link
Copy Markdown
Contributor

Adds missing style dependency to the time picker package. SCSS dedupes the forward, so no compiled CSS changes when importing the full SCSS

Breaking change

This is not a breaking change.

Related issue

Closes #6560

Related pull requests

uswds/uswds-site#3200

Problem statement

When importing the time-picker scss directly, the component is unstyled because it depends on styling from the combobox package.

unstyled, broken looking time picker

Solution

When @forward "usa-combo-box"; is added to packages/usa-time-picker/_index.scss, the time-picker is styled correctly.

time picker correctly styled, sharing combobox styling

Testing and review

Visual testing, storybook


  • Confirm that this code follows the 18F Front End Coding Style Guide and Accessibility Guide.
  • Run git pull origin [base branch] to pull in the most recent updates from your base and check for merge conflicts. (Often, the base branch is develop).
  • Run npm run prettier:sass to format any Sass updates.
  • Run npm test and confirm that all tests pass.
  • Run your code through HTML_CodeSniffer and make sure it’s error free.

@msbtterswrth

Copy link
Copy Markdown
Contributor

@IHIutch you've got some failing tests here, could you take a look?

@msbtterswrth msbtterswrth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@msbtterswrth
msbtterswrth merged commit db89945 into uswds:develop May 21, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Fed Final Review in USWDS Core Project Data May 21, 2026
@chandracarney chandracarney moved this from Fed Final Review to Done in USWDS Core Project Data Jul 20, 2026
@ethangardner ethangardner added this to the uswds 3.14.0 - Aug 2026 milestone Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Missing req in Time Picker component documentation

4 participants