Skip to content

fix(calendar): update default mode in Calendar component#686

Merged
pasqualevitiello merged 2 commits intomainfrom
pasquale/cui-128-improve-calendar-component
Feb 16, 2026
Merged

fix(calendar): update default mode in Calendar component#686
pasqualevitiello merged 2 commits intomainfrom
pasquale/cui-128-improve-calendar-component

Conversation

@pasqualevitiello
Copy link
Contributor

@pasqualevitiello pasqualevitiello commented Feb 14, 2026

This PR fixes a few ts errors when used in cal.com


Summary by cubic

Set a default selection mode ("single") for the Calendar and allow overriding via the mode prop to fix TypeScript issues and improve cal.com compatibility.

  • Bug Fixes
    • Typed DayPicker formatters and consolidated props into a typed object to resolve TS errors.
    • Accept a mode prop (default "single"); removed the hardcoded mode in DayPicker.
    • Updated the date picker particle to use SelectButton; refreshed docs and fixed the DayPicker link.

Written for commit 1f36d9c. Summary will update on new commits.

@vercel
Copy link

vercel bot commented Feb 14, 2026

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

Project Deployment Actions Updated (UTC)
coss-com Ready Ready Preview, Comment Feb 16, 2026 1:12pm
coss-com-ui Ready Ready Preview, Comment Feb 16, 2026 1:12pm
coss-examples-calcom Ready Ready Preview, Comment Feb 16, 2026 1:12pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
coss-com-origin Skipped Skipped Feb 16, 2026 1:12pm

Request Review

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 6 files

@pasqualevitiello pasqualevitiello merged commit 54df97f into main Feb 16, 2026
15 checks passed
@pasqualevitiello pasqualevitiello deleted the pasquale/cui-128-improve-calendar-component branch February 16, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants