fix(autocomplete): missing popover props except content#4496
Conversation
🦋 Changeset detectedLatest commit: 82588c7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 ↗︎
|
WalkthroughThis pull request addresses an issue with the Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/components/autocomplete/src/use-autocomplete.ts (1)
Line range hint
485-491: Ensure compatibility when merging classNames.Merging
classNamesfromslotsProps.popoverPropsis a good step for better styling flexibility. However, be cautious about potential naming collisions or specificity issues. Make sure that when user-defined classes and default classes overlap, the intended styling always takes precedence.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.changeset/seven-news-melt.md(1 hunks)packages/components/autocomplete/src/use-autocomplete.ts(1 hunks)
🔇 Additional comments (1)
.changeset/seven-news-melt.md (1)
1-5: Changeset patch looks good.The changeset correctly patches the
@nextui-org/autocompletepackage to address the missing popover properties. This is a straightforward implementation with no apparent issues.
Closes #4484
📝 Description
Currently when users pass
popoverPropsin Autocomplete, onlycontentis passed. This PR is to include other popover props.⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information
Summary by CodeRabbit
@nextui-org/autocompletepackage by adding missing popover properties