Skip to content

Add date range span constraints - #594

Merged
czarandy merged 1 commit into
mainfrom
feat/578-range-span
Aug 26, 2026
Merged

Add date range span constraints#594
czarandy merged 1 commit into
mainfrom
feat/578-range-span

Conversation

@czarandy

Copy link
Copy Markdown
Owner

Summary

  • add Temporal.Duration minRangeSpan and maxRangeSpan props to Calendar range mode and DateRangeInput
  • disable invalid end dates after the range start is selected, composing span limits with min, max, and custom disabled dates
  • keep constrained range selection keyboard-accessible by skipping disabled dates
  • add Calendar and DateRangeInput coverage plus a max-14-day Storybook example

Tests

  • pnpm test (166 files, 3592 tests)
  • pnpm lint
  • pnpm typecheck
  • pnpm format:check
  • pnpm build
  • pnpm build:storybook

Closes #578

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
silver-ui-site Ready Ready Preview Aug 26, 2026 12:10am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
silver-ui Ignored Ignored Preview Aug 26, 2026 12:10am

@czarandy
czarandy merged commit 9078a3a into main Aug 26, 2026
4 checks passed
@czarandy
czarandy deleted the feat/578-range-span branch August 26, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DateRangeInput/Calendar: minRangeSpan and maxRangeSpan to constrain range length

1 participant