Repository navigation
docs(DateInput): deprecate nativePicker shorthands - #6239
Merged
cixzhang merged 1 commit intoSep 11, 2026
Merged
Conversation
cixzhang
requested review from
imdreamrunner and
josephfarina
as code owners
September 11, 2026 01:44
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
cixzhang
force-pushed
the
deprecate-date-native-picker
branch
from
September 11, 2026 01:54
dda28d3 to
9da925e
Compare
This branch was successfully deployed
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.
Why
adaptationsnow expresses the full picker-surface policy forDateInputandDateTimeInput, including SSR and ordered width/pointer rules. KeepingnativePickeras a recommended shorthand would leave two public ways to own the same decision.What
nativePickerprops and their exported value types as deprecated while preserving every existing runtime behaviortouch,always, andnever, the intentional active-interaction latching difference, and legacy mixed-surface cases that cannot migrate exactlyNo codemod is included because no prop is renamed or removed; the release policy requires one when a deprecated prop is removed.
This PR is stacked on #6133 and targets its feature branch. It updates that proposal stack only; #6133 still requires AST-031 approval before it can merge to
main.Risk
Low. Runtime selection code is unchanged. Existing
nativePickercalls remain supported; consumers receive editor and docs guidance only.Testing