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

            Line data    Source code
       1              : import type { VariantProps } from 'cva'
       2              : import { cva } from 'cva'
       3              : 
       4           14 : export const fieldVariants = cva({
       5              :   base: 'group/field flex w-full gap-3 data-[invalid=true]:text-destructive',
       6              :   variants: {
       7              :     orientation: {
       8              :       vertical: 'flex-col *:w-full [&>.sr-only]:w-auto',
       9              :       horizontal: 'flex-row items-center *:data-[slot=field-label]:flex-auto'
      10              :     }
      11              :   },
      12              :   defaultVariants: { orientation: 'vertical' }
      13              : })
      14              : 
      15              : export type FieldVariants = VariantProps<typeof fieldVariants>
        

Generated by: LCOV version 2.0-1