-
Notifications
You must be signed in to change notification settings - Fork 129
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
Remove the legacy calendar components #2677
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: fe31692 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Change: -8.81 kB (-1.36%) Total Size: 639 kB
ℹ️ View Unchanged
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2677 +/- ##
==========================================
+ Coverage 87.82% 88.45% +0.62%
==========================================
Files 218 210 -8
Lines 12621 12312 -309
Branches 1698 1678 -20
==========================================
- Hits 11085 10891 -194
+ Misses 1486 1371 -115
Partials 50 50
|
"@types/react-dom": "^18.3.0", | ||
"@types/react-modal": "^3.16.3", | ||
"jest-axe": "^9.0.0", | ||
"moment": "^2.29.4", |
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.
❤️ 🥹
73543e1
to
b62465a
Compare
b62465a
to
fe31692
Compare
Purpose
The legacy calendar components are inaccessible and use
react-dates
which depends on the legacymoment.js
. Together, these two dependencies make up 54.7% of Circuit UI's bundle size 😱A new Calendar component based on the upcoming Temporal API was added in v8.8. The new DateInput component will be released as part of v9, with a DateRangeInput to follow shortly after. This means the legacy calendar components are fully obsolete and can be removed.
Approach and changes
Definition of done