ivt
Version:
Ivt Components Library
1 lines • 1.16 kB
Source Map (JSON)
{"version":3,"file":"input-BEkvMaQp.mjs","sources":["../../src/components/ui/input/input.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\n\treturn (\n\t\t<input\n\t\t\ttype={type}\n\t\t\tdata-slot=\"input\"\n\t\t\tclassName={cn(\n\t\t\t\t\"border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n\nexport { Input };\n"],"names":["Input","className","type","props","React","input","data-slot","cn"],"mappings":";;;AAGA,SAASA,MAAM,EAAEC,SAAS,EAAEC,IAAI,EAAE,GAAGC,KAAAA,EAAsC,EAAA;AAC1E,IAAA,qBACCC,cAAA,CAAA,aAAA,CAACC,OAAAA,EAAAA;QACAH,IAAAA,EAAMA,IAAAA;QACNI,WAAAA,EAAU,OAAA;AACVL,QAAAA,SAAAA,EAAWM,GACV,0WAAA,EACAN,SAAAA,CAAAA;AAEA,QAAA,GAAGE;;AAGP;;;;"}