LCOV - code coverage report
Current view: top level - packages/design-system/src/components/dialog - DialogOverlay.vue Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 4 4
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1           16 : <script setup lang="ts">
       2              : import type { DialogOverlayProps } from 'reka-ui'
       3              : import { DialogOverlay } from 'reka-ui'
       4              : import type { HTMLAttributes } from 'vue'
       5              : 
       6              : import { cn } from '@comfyorg/tailwind-utils'
       7              : 
       8         3136 : const { class: customClass = '', ...delegated } = defineProps<
       9         3136 :   DialogOverlayProps & { class?: HTMLAttributes['class'] }
      10              : >()
      11              : </script>
      12              : 
      13              : <template>
      14         3136 :   <DialogOverlay
      15              :     v-bind="delegated"
      16              :     data-slot="dialog-overlay"
      17              :     data-testid="dialog-overlay"
      18              :     :class="
      19              :       cn(
      20              :         'fixed inset-0 bg-black/70 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0',
      21              :         customClass
      22              :       )
      23              :     "
      24              :   />
      25              : </template>
        

Generated by: LCOV version 2.0-1