-
-
Notifications
You must be signed in to change notification settings - Fork 328
[combobox][autocomplete] Add side and empty state attributes to Trigger
#3491
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
[combobox][autocomplete] Add side and empty state attributes to Trigger
#3491
Conversation
commit: |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
75aa715 to
75d422b
Compare
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
75d422b to
d88aed4
Compare
|
thanks! |
LukasTy
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.
Works beautifully, nice work. 👍
| "data-popup-side": { | ||
| "description": "Indicates which side the corresponding popup is positioned relative to its anchor.", | ||
| "type": "'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | null" | ||
| }, | ||
| "data-list-empty": { | ||
| "description": "Present when the corresponding items list is empty." | ||
| }, |
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.
Maybe we should add these to the Autocomplete.Trigger as well? 🤔
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.
<Autocomplete.Trigger> is a re-export of <Combobox.Trigger>, so it inherits these already
These already exist on
InputCloses #3438