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

            Line data    Source code
       1           16 : <script setup lang="ts">
       2              : import type { PrimitiveProps } from 'reka-ui'
       3              : import { Primitive, injectDialogRootContext } from 'reka-ui'
       4              : import type { HTMLAttributes } from 'vue'
       5              : 
       6              : import { cn } from '@comfyorg/tailwind-utils'
       7              : 
       8              : const {
       9              :   class: customClass = '',
      10              :   as = 'h2',
      11              :   asChild
      12              : } = defineProps<PrimitiveProps & { class?: HTMLAttributes['class'] }>()
      13              : 
      14          623 : const dialogRoot = injectDialogRootContext(null)
      15              : </script>
      16              : 
      17              : <template>
      18              :   <Primitive
      19              :     :id="dialogRoot?.titleId"
      20              :     :as
      21              :     :as-child
      22              :     :class="
      23              :       cn(
      24              :         'min-w-0 text-base font-semibold wrap-break-word text-foreground',
      25              :         customClass
      26              :       )
      27              :     "
      28              :   >
      29              :     <slot />
      30              :   </Primitive>
      31              : </template>
        

Generated by: LCOV version 2.0-1