|
31 | 31 | bind:this={ref} |
32 | 32 | data-slot="input" |
33 | 33 | class={cn( |
34 | | - 'selection:bg-primary dark:bg-input/30 selection:text-primary-foreground border-input ring-offset-background placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
35 | | - 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]', |
36 | | - 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', |
| 34 | + 'dark:bg-input/30 selection:text-primary-foreground border-input placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
37 | 35 | className |
38 | 36 | )} |
39 | 37 | type="file" |
|
45 | 43 | <textarea |
46 | 44 | data-slot="textarea" |
47 | 45 | class={cn( |
48 | | - 'selection:bg-primary resize-none dark:bg-input/30 selection:text-primary-foreground border-input ring-offset-background placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
49 | | - 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]', |
50 | | - 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', |
| 46 | + 'dark:bg-input/30 selection:text-primary-foreground border-input placeholder:text-muted-foreground flex h-9 w-full min-w-0 resize-none rounded-md border bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
51 | 47 | className |
52 | 48 | )} |
53 | 49 | bind:value |
|
58 | 54 | bind:this={ref} |
59 | 55 | data-slot="input" |
60 | 56 | class={cn( |
61 | | - 'border-input bg-background selection:bg-primary dark:bg-input/30 selection:text-primary-foreground ring-offset-background placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
62 | | - 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]', |
63 | | - 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', |
| 57 | + 'border-input bg-background dark:bg-input/30 selection:text-primary-foreground placeholder:text-muted-foreground flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', |
64 | 58 | className |
65 | 59 | )} |
66 | 60 | {type} |
|
0 commit comments