-
Notifications
You must be signed in to change notification settings - Fork 129
Rename Popover to ActionMenu #2914
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
Conversation
🦋 Changeset detectedLatest commit: bbab9a1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Size Change: +9 B (0%) Total Size: 673 kB
ℹ️ View Unchanged
|
2fd91c1 to
5f9f346
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2914 +/- ##
==========================================
- Coverage 87.98% 87.98% -0.01%
==========================================
Files 227 227
Lines 13097 13095 -2
Branches 1794 1794
==========================================
- Hits 11524 11522 -2
Misses 1519 1519
Partials 54 54
|
.changeset/silent-moles-guess.md
Outdated
| "@sumup-oss/eslint-plugin-circuit-ui": patch | ||
| --- | ||
|
|
||
| Added a new ESLint rule to flag and replace renamed components. |
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.
| Added a new ESLint rule to flag and replace renamed components. | |
| Added a new `no-renamed-components` ESLint rule to flag and replace renamed components. |
| <Props /> | ||
|
|
||
| - The reference element, which triggers ActionMenu, can be primary, secondary, tertiary buttons, an overflow icon, or components with embedded buttons such as the [ImageInput](Forms/ImageInput) component. | ||
| - Each ActionMenu action item is represented by an appropriate HTML element (e.g., a button element or an anchor element). |
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.
Rendering the appropriate semantic element is handled internally. What's relevant to developers is that they should include href and/or onClick props.
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.
I just realized that this is the existing documentation for the Popover component 😬
It would be wonderful if you could take the opportunity to improve it, but this isn't a blocker for the pull request.
5f9f346 to
a080e81
Compare
connor-baer
left a comment
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.
Nicely done!
a080e81 to
bbab9a1
Compare
Addresses DSYS-913
Purpose
In order to introduce a real Popover component that can accept and display any kind of content, we need to first rename the current Popover to something that reflects its purpose. We settled on ActionMenu.
Approach and changes
Definition of done