Repository navigation
fix(calendar): forward outside-day opt-in (0.0.5 preparation) - #172
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
elonehoo
marked this pull request as ready for review
November 10, 2026 01:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft: not ready to merge or publish
Depends on destyler/destyler#365 and the published Calendar 0.3.5 package. The catalog/lockfile currently still resolve ^0.3.4. Before release, raise Calendar's minimum dependency to ^0.3.5 and regenerate the lockfile against the real published package. Do not ship this draft as-is.
Changes
Verified
No packages or production sites have been published.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Note
Medium Risk
Calendar selection/focus semantics change when consumers opt in, and the release hard-requires aligned core 0.3.5 types; static tests do not cover runtime interactions.
Overview
Prepares UI 0.0.5 and threads an opt-in
allowOutsideDaysprop through Calendar Root /useCalendarin React, Vue, Solid, and Svelte. Omitted orfalsekeeps today’s behavior; enabling it needs@destyler/calendar^0.3.5, which the prod catalog and lockfile are bumped to across@destyler/*.Framework changes are mostly wiring: whitelist/split props, public hook/types (Vue
RootProps+allowOutsideDays: undefineddefaults), with no adapters defaulting the flag totrue.Release notes in
docs/calendar-outside-days.mdspell out click/range-hover navigation when outside-month days are selectable.test:calendar-contract(wired intotest:ci) adds source-level contract checks; core-compat gates now target 0.3.5. Browser behavior is still explicitly out of scope for these tests.Reviewed by Cursor Bugbot for commit 1a603c1. Bugbot is set up for automated code reviews on this repo. Configure here.