MenuTitle: new component & MenuSeparator: remove title and set correct style #348
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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](https://private-user-images.githubusercontent.com/1554582/314763702-ec0a3a21-ecb6-44a7-b105-414a9596cb8a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MjQwMDAsIm5iZiI6MTcyMTkyMzcwMCwicGF0aCI6Ii8xNTU0NTgyLzMxNDc2MzcwMi1lYzBhM2EyMS1lY2I2LTQ0YTctYjEwNS00MTRhOTU5NmNiOGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjVUMTYwODIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjgzN2E4YjRhYTMwMjAwY2MwNWFlYTYxM2I2MzE4MjQxYjY3YjU0NzBhMTRhMDI1NjAxMGQ3ZTQ4NGJjYjNlYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.p5JX-2p3DFoA6XvVQoyxYsS1EvzG8yrXGBhJf0-D79M)
![image](https://private-user-images.githubusercontent.com/1554582/314763798-34f5167c-a5ca-427a-b498-c0c8426a3013.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MjQwMDAsIm5iZiI6MTcyMTkyMzcwMCwicGF0aCI6Ii8xNTU0NTgyLzMxNDc2Mzc5OC0zNGY1MTY3Yy1hNWNhLTQyN2EtYjQ5OC1jMGM4NDI2YTMwMTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjVUMTYwODIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTVjOGIxZTc4MjcyMTM2NjUzZjAyZTA5MDY1NDg5YWY2ZDFlOGIxZDhiZmM2ZDYzODdmMTdjMDBhZDgzMzEwOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.pu7TbkXeTqGdrGxECdjRP-VPH5q9x1K87ir8ObOMB5s)
In my use-case it looks like that
Dropdown with a simple MenuTitle and a single MenuSeparator
![image](https://private-user-images.githubusercontent.com/1554582/314764265-1ea0a5fb-279e-433e-b897-19fe96521fbf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MjQwMDAsIm5iZiI6MTcyMTkyMzcwMCwicGF0aCI6Ii8xNTU0NTgyLzMxNDc2NDI2NS0xZWEwYTVmYi0yNzllLTQzM2UtYjg5Ny0xOWZlOTY1MjFmYmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjVUMTYwODIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDQxOWFjYjcwZjFiODg5YTI2Mjg1ODg5YjEyNzRjMDNkZTE2NTRiMTI5YWU4M2IwNTY1MTcxZTdiMjllMmJiNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.liYme3yUazJpY0xqYw8zemGOd1RtNeRCp37Ix6mGXNY)
P.S.: mary-ui.com change/PR is coming too ;)