# All files / js/components/ui/navigation-menu index.ts

0% Statements 0/1
100% Branches 0/0
100% Functions 0/0
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

     import { cva } from 'class-variance-authority'

    export { default as NavigationMenu } from './NavigationMenu.vue'
    export { default as NavigationMenuContent } from './NavigationMenuContent.vue'
    export { default as NavigationMenuIndicator } from './NavigationMenuIndicator.vue'
    export { default as NavigationMenuItem } from './NavigationMenuItem.vue'
    export { default as NavigationMenuLink } from './NavigationMenuLink.vue'
    export { default as NavigationMenuList } from './NavigationMenuList.vue'
    export { default as NavigationMenuTrigger } from './NavigationMenuTrigger.vue'
    export { default as NavigationMenuViewport } from './NavigationMenuViewport.vue'

    export const navigationMenuTriggerStyle = cva(
      'group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1',
    )