-
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(Calendar): rename onClose
prop to onDoneButtonClick
#7880
feat(Calendar): rename onClose
prop to onDoneButtonClick
#7880
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 e95e660 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7880 +/- ##
=======================================
Coverage 95.17% 95.17%
=======================================
Files 376 376
Lines 11041 11041
Branches 3664 3664
=======================================
Hits 10508 10508
Misses 533 533
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
✅ v7.0.0-beta.2 🎉 |
✅ v7.0.0 🎉 |
Описание
Сейчас у компонента
Calendar
есть свойствоonClose
- колбэк, который срабатыват при нажатии на кнопку"Done"
. Данное название свойства нужно переименовать. Почему?onClose
слишком конкретное название, получается чтоCalendar
знает о том, что он может закрыться, а так быть не должно, сам по себе календарь, если он не используется вDateInput
не обязательно должен закрываться. Нужно придумать более абстрактное название для этого свойстваИзменения
В компоненте
Calendar
переименовал свойствоonClose
наonDoneButtonClick
Release notes
BREAKING CHANGE
onClose
переименовано наonDoneButtonClick