-
Notifications
You must be signed in to change notification settings - Fork 4
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(close-button): remove close button #931
Conversation
This pull request has been linked to Shortcut Story #187521: Remove CloseButton component. |
Codecov Report
@@ Coverage Diff @@
## main #931 +/- ##
==========================================
- Coverage 95.86% 95.78% -0.09%
==========================================
Files 142 140 -2
Lines 1162 1138 -24
Branches 181 173 -8
==========================================
- Hits 1114 1090 -24
Misses 47 47
Partials 1 1
Continue to review full report at Codecov.
|
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.
size-limit report
Path | Size |
---|---|
components | 71.66 KB (-1.92% 🔽) |
styles | 4.49 KB (0%) |
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.
👋
Summary:
BREAKING CHANGE:
The
CloseButton
is kind of a snowflake because it has a hover effect for the icon button that we don't use anywhere else. I talked to Sean and we're good to remove it to make the close buttons consistent with our other icon buttons.This PR removes the component entirely. These are the PRs removing its callsites (they've been approved and merged):
Test Plan:
All the tests pass, and there's no reference to this
CloseButton
intraject
except for the flow types.