teqo-backup/src/components/ui/input.tsx
Francisco Ignácio Fontoura Solla bcac665cb5 Ship /campanha nuclei MVP with RBAC, invites, and vote estimates.
Adds electoral nuclei, leaderships, updates, and WhatsApp invite flows behind campaign auth, plus the consolidated schema migration that Vercel applies on deploy.
2026-07-18 15:01:56 -03:00

18 lines
980 B
TypeScript

import { cn } from '@/lib/utils'
import { ComponentProps } from 'react'
function Input({ className, type, ...props }: ComponentProps<'input'>) {
return (
<input
type={type}
data-slot="input"
className={cn(
'h-8 w-full min-w-0 rounded-full border border-(--field-border) bg-(--field-background) p-4 py-5 text-base text-(--field-foreground) transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-(--field-foreground) placeholder:text-(--field-placeholder) focus-visible:border-primary focus-visible:ring-3 focus-visible:ring-primary/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-(--field-disabled-background) disabled:text-(--field-disabled-foreground) disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm',
className,
)}
{...props}
/>
)
}
export { Input }