Skip to content

chore(knip): add knip config and CI lint check#267

Draft
ValeraS wants to merge 5 commits intomainfrom
codex/knip-config
Draft

chore(knip): add knip config and CI lint check#267
ValeraS wants to merge 5 commits intomainfrom
codex/knip-config

Conversation

@ValeraS
Copy link
Collaborator

@ValeraS ValeraS commented Feb 7, 2026

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

Temporarily allow incomplete or invalid date inputs—where some fields
are empty or the entered date/time doesn’t exist (for example, February
31 or 2:00am during a forward DST shift). Rather than forcing the value
to be valid while the user is typing, we hold these intermediate values
internally and don’t emit them via onChange until the user blurs the
field. On blur, we normalize the input to a valid date/time.This makes
it easier to edit dates that are briefly invalid during normal typing
(like changing the day before updating the month). We still emit
onChange in real time whenever we can, but not when the displayed value
is incomplete or invalid.

BREAKING CHANGES:
 - state returned by `useDateFieldState`/`useRangeDateFieldState` is
   changed;
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.

2 participants