-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DateInput, DateRangeInput): add prop onCalendarOpenChanged
#7878
feat(DateInput, DateRangeInput): add prop onCalendarOpenChanged
#7878
Conversation
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
e2e tests
|
👀 Docs deployed
Commit 685009d |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7878 +/- ##
==========================================
+ Coverage 95.17% 95.18% +0.01%
==========================================
Files 376 376
Lines 11041 11049 +8
Branches 3664 3668 +4
==========================================
+ Hits 10508 10517 +9
+ Misses 533 532 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
onCalendarOpenChanged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥 🔥 👏 👏 👏
Черри-пикнешь в 6.7-stable, пожалуйста, после мержа?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
в Release notes надо поправить заголовок BREAKING CHANGE на Улучшения, т.к. не вижу, чтобы это было ломающее изменение
) * feat(DateInput, DateRangeInput): add prop onCalendarClose * feat(DateInput): replace onCalendarClose to onCalendarOpenChanged (cherry picked from commit be68ee8)
Описание
Нужно для компонентов
DateInput
,DateRangeInput
добавить свойствоonCalendarOpenChanged
колбэк, который будет срабатывать при изменении состояния открытости календаряИзменения
Добавил свойство
onCalendarOpenChanged
для компонентовDateInput
,DateRangeInput
Release notes
Улучшения
onCalendarOpenChanged
- колбэк, срабатывающий при открытии/закрытии календаряonCalendarOpenChanged
- колбэк, срабатывающий при открытии/закрытии календаря