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

MenuTitle: new component & MenuSeparator: remove title and set correct style #348

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

REJack
Copy link
Contributor

@REJack REJack commented Mar 20, 2024

I've added a new component MenuTitle & removed the title from MenuSeparator.

I've removed your default uppercase class to comply with daisyUI default style and it's hard to remove it if you don't want it (like me).

Example Images from maryUI-Docs - Left (modified) / Right (current)
image image
image image

In my use-case it looks like that

Dropdown with a simple MenuTitle and a single MenuSeparator
image

P.S.: mary-ui.com change/PR is coming too ;)

@robsontenorio
Copy link
Owner

robsontenorio commented Mar 20, 2024

@REJack

Why not modify the current x-menu-separator to have better look and feel? As I can see it would be just the "divider" style and upper case title.

It currently has all necessary attributes (optional), so we would not need a new component.

@REJack
Copy link
Contributor Author

REJack commented Mar 20, 2024

I've updated my PR, with that change my docs PR is not needed too, now I've updated the style + we keep the old title icon feature but with usage of my new MenuTitle.

What you think about that?

I would still prefer a MenuTitle component to only have a title without separator/divider 😄.

@robsontenorio
Copy link
Owner

Agreed. Reverted to the first commit. Thanks!

@robsontenorio robsontenorio merged commit 3b75787 into robsontenorio:main Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants