veza/apps/web/dist_verification/assets/input-DL1WY4HG.js

2 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-02-07 19:36:48 +00:00
import{a as o,j as e}from"./vendor-react-YMhRUmcb.js";import{d as l}from"./index-D2uzyr9g.js";import{S as p}from"./vendor-icons-DINCNwpk.js";const n=o.forwardRef(({className:r,...t},s)=>e.jsx("label",{ref:s,className:l("text-sm font-medium leading-none text-kodo-content-dim peer-disabled:cursor-not-allowed peer-disabled:opacity-70",r),...t}));n.displayName="Label";const d=o.forwardRef(({className:r,type:t,icon:s,label:a,id:i,...c},m)=>e.jsxs("div",{className:"space-y-2 w-full",children:[a&&e.jsx(n,{htmlFor:i,className:"text-xs font-mono text-muted-foreground uppercase tracking-widest",children:a}),e.jsxs("div",{className:"relative group",children:[s&&e.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground group-focus-within:text-primary transition-colors pointer-events-none",children:s}),e.jsx("input",{id:i,type:t,className:l("flex h-11 w-full rounded-xl border border-white/10 bg-black/40 px-3 py-2 text-sm text-white placeholder:text-muted-foreground/50 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:cursor-not-allowed disabled:opacity-50","backdrop-blur-sm transition-all duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary/50","hover:bg-white/5 hover:border-white/20",s&&"pl-10",r),ref:m,...c})]})]}));d.displayName="Input";const u=o.forwardRef((r,t)=>e.jsx(d,{...r,ref:t,icon:e.jsx(p,{className:"w-4 h-4"})}));u.displayName="SearchInput";export{d as I,n as L,u as S};