feat(NavigationMenu): handle children on vertical orientation (#2384)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Sandro Circi
2024-10-22 22:52:38 +02:00
committed by GitHub
parent 69d7b57825
commit 34bddd45be
22 changed files with 277 additions and 154 deletions

View File

@@ -8,7 +8,7 @@ describe('Collapsible', () => {
it.each([
// Props
['with open', { props }],
['with class', { props: { ...props, class: 'gap-4' } }],
['with class', { props: { ...props, class: 'flex flex-col gap-2 w-48' } }],
['with ui', { props: { ...props, ui: { content: 'bg-[var(--ui-bg-elevated)]' } } }],
// Slots
['with default slot', { props, slots: { default: () => 'Default slot' } }],