Skip to content

Add DateRangeInput component - #2738

Draft
connor-baer wants to merge 4 commits into
mainfrom
feature/date-range-input
Draft

Add DateRangeInput component#2738
connor-baer wants to merge 4 commits into
mainfrom
feature/date-range-input

Copy unit tests from DateInput

fc1ad27
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 30, 2026 in 0s

88.18% (+0.25%) compared to 737e1b8

View this Pull Request on Codecov

88.18% (+0.25%) compared to 737e1b8

Details

Codecov Report

❌ Patch coverage is 98.43750% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.18%. Comparing base (737e1b8) to head (fc1ad27).
⚠️ Report is 806 commits behind head on main.

Files with missing lines Patch % Lines
...circuit-ui/components/DateInput/DateRangeInput.tsx 98.33% 5 Missing ⚠️
...ponents/DateInput/components/PlainDateSegments.tsx 98.21% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2738      +/-   ##
==========================================
+ Coverage   87.93%   88.18%   +0.25%     
==========================================
  Files         223      225       +2     
  Lines       12933    13254     +321     
  Branches     1747     1784      +37     
==========================================
+ Hits        11372    11688     +316     
- Misses       1506     1511       +5     
  Partials       55       55              
Files with missing lines Coverage Δ
...ages/circuit-ui/components/DateInput/DateInput.tsx 98.23% <100.00%> (+0.10%) ⬆️
...ircuit-ui/components/DateInput/DateInputService.ts 100.00% <100.00%> (ø)
...ui/components/DateInput/hooks/usePlainDateState.ts 97.10% <100.00%> (+0.02%) ⬆️
...ponents/DateInput/components/PlainDateSegments.tsx 98.21% <98.21%> (ø)
...circuit-ui/components/DateInput/DateRangeInput.tsx 98.33% <98.33%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.