Skip to content
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(MenuV2): add search feature in menu #4604

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthprost
Copy link
Collaborator

Summary

Type

  • Enhancement

Summarise concisely:

What is expected?

  • New prop searchable, when set to true a search bar will appear on the MenuV2. This can be useful for searching for a specific items quick. The searchbar is focused automatically when menu appear.
  • New prop hideOnClickItem: this is to replace function as children being used to close the menu when an item is clicked.
  • Global refactoring of the folder structure and addition of a provider needed for state management

Relevant logs and/or screenshots

Menu with prop searchable and hideOnClickItem set to true:

Screen.Recording.2024-12-19.at.12.23.47.mov

@matthprost matthprost added the enhancement New feature or request label Dec 19, 2024
@matthprost matthprost requested review from mhervouet and a team December 19, 2024 11:50
@matthprost matthprost self-assigned this Dec 19, 2024
@matthprost matthprost removed the request for review from a team December 19, 2024 11:50
@matthprost matthprost requested a review from lisalupi as a code owner December 19, 2024 11:50
Copy link

changeset-bot bot commented Dec 19, 2024

🦋 Changeset detected

Latest commit: b4b3bcc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/ui Minor
@ultraviolet/form Patch
@ultraviolet/plus Patch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants