-
Notifications
You must be signed in to change notification settings - Fork 561
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
SelectPanel2: Props for docs page #3961
Conversation
siddharthkp
commented
Nov 21, 2023
•
edited
Loading
edited
- Follow up for SelectPanel2: Types! #3929 (can be merged independently)
- Preview: https://primer-33758cc5e6-13348165.drafts.github.io/drafts/SelectPanel
- Stories/examples are not in this PR, need to clean up stories before I can add them :)
This comment was marked as resolved.
This comment was marked as resolved.
size-limit report 📦
|
|
||
import data from '../../../src/drafts/SelectPanel2/SelectPanel.docs.json' | ||
|
||
A `SelectPanel` provides an anchor that will open an overlay with a list of selectable items, and a text input to filter the selectable items |
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.
Is this a good place to describe more differences between this vs ActionMenu
and that this component replaces FilteredList
?
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.
Not anymore :)
That job is now done by the design guidelines: https://primer.style/components/selectpanel
SelectPanel.mdx in this repo is temporary because primer/react docs wouldn't be around for much longer
@@ -168,6 +168,8 @@ | |||
url: /drafts/MarkdownViewer | |||
- title: PageHeader | |||
url: /drafts/PageHeader | |||
- title: SelectPanel v2 |
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.
exciting ✨